Home
last modified time | relevance | path

Searched refs:PVbuffer (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
Dclmodule.c311 int *PVbuffer; in doParams() local
325 PVbuffer = PyMem_NEW(int, length); in doParams()
326 if (PVbuffer == NULL) in doParams()
332 PVbuffer[i] = CL_TypeIsInt(number); in doParams()
334 PVbuffer[i] = PyInt_AsLong(v); in doParams()
336 param_type_is_float(self, PVbuffer[i-1]) > 0) { in doParams()
337 number = PVbuffer[i]; in doParams()
338 PVbuffer[i] = CL_TypeIsInt(number); in doParams()
341 PyMem_DEL(PVbuffer); in doParams()
348 (*func)(self->ob_compressorHdl, PVbuffer, length); in doParams()
[all …]
Dsvmodule.c736 long *PVbuffer = NULL; in doParams() local
751 PVbuffer = PyMem_NEW(long, length); in doParams()
752 if (PVbuffer == NULL) in doParams()
764 PVbuffer[i] = PyInt_AsLong(v); in doParams()
768 if (PVbuffer[i] == -1 && PyErr_Occurred()) in doParams()
772 if ((*func)(self->ob_svideo, PVbuffer, length)) { in doParams()
779 PyObject* v = PyInt_FromLong(PVbuffer[i]); in doParams()
789 PyMem_DEL(PVbuffer); in doParams()
Dalmodule.c1176 long *PVbuffer; in alp_getstatus() local
1183 PVbuffer = PyMem_NEW(long, length); in alp_getstatus()
1184 if (PVbuffer == NULL) in alp_getstatus()
1189 PyMem_DEL(PVbuffer); in alp_getstatus()
1193 PVbuffer[i] = PyInt_AsLong(v); in alp_getstatus()
1196 if (ALgetstatus(self->port, PVbuffer, length) == -1) in alp_getstatus()
1200 PyList_SetItem(list, i, PyInt_FromLong(PVbuffer[i])); in alp_getstatus()
1202 PyMem_DEL(PVbuffer); in alp_getstatus()
1842 long *PVbuffer; in al_queryparams() local
1851 if ((PVbuffer = PyMem_NEW(long, length)) == NULL) in al_queryparams()
[all …]