Home
last modified time | relevance | path

Searched refs:PyBuffer_FillInfo (Results 1 – 25 of 25) sorted by relevance

/external/python/cpython2/Python/
Dgetargs.c856 PyBuffer_FillInfo(p, arg, in convertsimple()
866 PyBuffer_FillInfo(p, arg, in convertsimple()
936 PyBuffer_FillInfo(p, NULL, NULL, 0, 1, 0); in convertsimple()
938 PyBuffer_FillInfo(p, arg, in convertsimple()
948 PyBuffer_FillInfo(p, arg, in convertsimple()
1330 PyBuffer_FillInfo((Py_buffer*)p, arg, res, count, 1, 0); in convertsimple()
1439 PyBuffer_FillInfo(view, arg, buf, count, 1, 0); in getbuffer()
/external/python/cpython3/Doc/data/
Drefcounts.dat53 PyBuffer_FillInfo:int:::
54 PyBuffer_FillInfo:Py_buffer*:view::
55 PyBuffer_FillInfo:PyObject*:exporter:0:
56 PyBuffer_FillInfo:void*:buf::
57 PyBuffer_FillInfo:Py_ssize_t:len::
58 PyBuffer_FillInfo:int:readonly::
59 PyBuffer_FillInfo:int:flags::
/external/python/cpython2/Include/
Dabstract.h608 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
/external/python/cpython3/Include/
Dabstract.h571 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
/external/python/cpython3/Modules/_io/
Dbytesio.c1063 (void)PyBuffer_FillInfo(view, (PyObject*)obj, in bytesiobuf_getbuffer()
Dbufferedio.c1468 if (PyBuffer_FillInfo(&buf, NULL, start, len, 0, PyBUF_CONTIG) == -1) in _bufferedreader_raw_read()
1815 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1) in _bufferedwriter_raw_write()
/external/python/cpython2/Objects/
Dbufferobject.c830 return PyBuffer_FillInfo(buf, (PyObject*)self, ptr, size, in buffer_getbuffer()
Dbytearrayobject.c116 ret = PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags); in bytearray_getbuffer()
Dbytesobject.c1734 return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self), in bytes_buffer_getbuffer()
Dabstract.c680 PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len, in PyBuffer_FillInfo() function
Dstringobject.c1407 return PyBuffer_FillInfo(view, (PyObject*)self, in string_buffer_getbuffer()
/external/python/cpython3/Doc/c-api/
Dbuffer.rst110 :c:func:`PyMemoryView_FromBuffer` or :c:func:`PyBuffer_FillInfo`
492 .. c:function:: int PyBuffer_FillInfo(Py_buffer *view, PyObject *exporter, void *buf, Py_ssize_t le…
Dtypeobj.rst1330 :c:func:`PyBuffer_FillInfo` provides an easy way of exposing a simple
/external/python/cpython2/Modules/_io/
Dbufferedio.c1289 if (PyBuffer_FillInfo(&buf, NULL, start, len, 0, PyBUF_CONTIG) == -1) in _bufferedreader_raw_read()
1713 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1) in _bufferedwriter_raw_write()
/external/python/cpython3/Python/
Dgetargs.c974 PyBuffer_FillInfo(p, NULL, NULL, 0, 1, 0); in convertsimple()
981 PyBuffer_FillInfo(p, arg, (void *)sarg, len, 1, 0); in convertsimple()
Dmarshal.c710 if (PyBuffer_FillInfo(&buf, NULL, p->buf, n, 0, PyBUF_CONTIG) == -1) in r_string()
/external/python/cpython3/Modules/
Dmmapmodule.c730 if (PyBuffer_FillInfo(view, (PyObject*)self, self->data, self->size, in mmap_buffer_getbuf()
D_testcapimodule.c2961 if (PyBuffer_FillInfo(&info, NULL, NULL, 1, 1, PyBUF_FULL_RO) < 0) in make_memoryview_from_NULL_pointer()
3028 ret = PyBuffer_FillInfo(NULL, NULL, dummy, 1, 0, PyBUF_SIMPLE); in test_pep3118_obsolete_write_locks()
/external/python/cpython2/Doc/c-api/
Dbuffer.rst288 .. c:function:: int PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len, in…
/external/python/cpython3/Objects/
Dbytearrayobject.c73 (void)PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags); in bytearray_getbuffer()
Dabstract.c645 PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len, in PyBuffer_FillInfo() function
Dmemoryobject.c733 (void)PyBuffer_FillInfo(&mbuf->master, NULL, mem, size, readonly, in PyMemoryView_FromMemory()
Dbytesobject.c1727 return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self), in bytes_buffer_getbuffer()
Dunicodeobject.c3232 if (PyBuffer_FillInfo(&info, NULL, (void *)s, size, 1, PyBUF_FULL_RO) < 0) in PyUnicode_Decode()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst5118 Remove obsolete support for view==NULL in PyBuffer_FillInfo(),