Searched refs:PyBuffer_FillInfo (Results 1 - 19 of 19) sorted by relevance

/external/python/cpython2/Python/
H A Dgetargs.c856 PyBuffer_FillInfo(p, arg,
866 PyBuffer_FillInfo(p, arg,
936 PyBuffer_FillInfo(p, NULL, NULL, 0, 1, 0);
938 PyBuffer_FillInfo(p, arg,
948 PyBuffer_FillInfo(p, arg,
1330 PyBuffer_FillInfo((Py_buffer*)p, arg, res, count, 1, 0);
1439 PyBuffer_FillInfo(view, arg, buf, count, 1, 0);
/external/python/cpython2/Include/
H A Dabstract.h608 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
/external/python/cpython2/Objects/
H A Dbufferobject.c811 return PyBuffer_FillInfo(buf, (PyObject*)self, ptr, size,
H A Dbytearrayobject.c116 ret = PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags);
H A Dabstract.c680 PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len, function
H A Dstringobject.c1401 return PyBuffer_FillInfo(view, (PyObject*)self,
/external/python/cpython3/Include/
H A Dabstract.h679 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
/external/python/cpython3/Modules/_io/
H A Dbytesio.c1110 (void)PyBuffer_FillInfo(view, (PyObject*)obj,
H A Dbufferedio.c1478 if (PyBuffer_FillInfo(&buf, NULL, start, len, 0, PyBUF_CONTIG) == -1)
1833 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1)
/external/python/cpython2/Modules/_io/
H A Dbufferedio.c1289 if (PyBuffer_FillInfo(&buf, NULL, start, len, 0, PyBUF_CONTIG) == -1)
1714 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1)
/external/python/cpython3/Python/
H A Dgetargs.c924 PyBuffer_FillInfo(p, NULL, NULL, 0, 1, 0);
931 PyBuffer_FillInfo(p, arg, sarg, len, 1, 0);
H A Dmarshal.c694 if (PyBuffer_FillInfo(&buf, NULL, p->buf, n, 0, PyBUF_CONTIG) == -1)
/external/python/cpython3/Modules/
H A Dmmapmodule.c758 if (PyBuffer_FillInfo(view, (PyObject*)self, self->data, self->size,
H A D_testcapimodule.c2842 if (PyBuffer_FillInfo(&info, NULL, NULL, 1, 1, PyBUF_FULL_RO) < 0)
2908 /* PyBuffer_FillInfo() */
2909 ret = PyBuffer_FillInfo(NULL, NULL, dummy, 1, 0, PyBUF_SIMPLE);
/external/python/cpython3/Objects/
H A Dbytearrayobject.c72 (void)PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags);
H A Dabstract.c618 PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len, function
623 "PyBuffer_FillInfo: view==NULL argument is obsolete");
H A Dbytesobject.c1719 return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self),
H A Dmemoryobject.c731 (void)PyBuffer_FillInfo(&mbuf->master, NULL, mem, size, readonly,
H A Dunicodeobject.c3209 if (PyBuffer_FillInfo(&info, NULL, (void *)s, size, 1, PyBUF_FULL_RO) < 0)

Completed in 585 milliseconds