Lines Matching refs:PVbuffer
1176 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()
1853 if (ALqueryparams(device, PVbuffer, length) >= 0 && in al_queryparams()
1856 PyList_SetItem(v, i, PyInt_FromLong(PVbuffer[i])); in al_queryparams()
1858 PyMem_DEL(PVbuffer); in al_queryparams()
1867 long *PVbuffer; in doParams() local
1874 PVbuffer = PyMem_NEW(long, length); in doParams()
1875 if (PVbuffer == NULL) in doParams()
1880 PyMem_DEL(PVbuffer); in doParams()
1884 PVbuffer[i] = PyInt_AsLong(v); in doParams()
1887 if ((*func)(device, PVbuffer, length) == -1) { in doParams()
1888 PyMem_DEL(PVbuffer); in doParams()
1894 PyList_SetItem(list, i, PyInt_FromLong(PVbuffer[i])); in doParams()
1897 PyMem_DEL(PVbuffer); in doParams()