Home
last modified time | relevance | path

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

/third_party/python/Include/cpython/
Dabstract.h321 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
/third_party/python/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::
/third_party/python/Modules/clinic/
D_codecsmodule.c.h248 PyBuffer_FillInfo(&data, args[0], (void *)ptr, len, 1, 0); in _codecs_escape_decode()
1094 PyBuffer_FillInfo(&data, args[0], (void *)ptr, len, 1, 0); in _codecs_unicode_escape_decode()
1174 PyBuffer_FillInfo(&data, args[0], (void *)ptr, len, 1, 0); in _codecs_raw_unicode_escape_decode()
1671 PyBuffer_FillInfo(&data, args[0], (void *)ptr, len, 1, 0); in _codecs_readbuffer_encode()
D_ssl.c.h1030 PyBuffer_FillInfo(&view, args[0], (void *)ptr, len, 1, 0); in _ssl_RAND_add()
/third_party/python/Modules/_io/
Dbytesio.c1092 (void)PyBuffer_FillInfo(view, (PyObject*)obj, in bytesiobuf_getbuffer()
Dbufferedio.c1465 if (PyBuffer_FillInfo(&buf, NULL, start, len, 0, PyBUF_CONTIG) == -1) in _bufferedreader_raw_read()
1821 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1) in _bufferedwriter_raw_write()
/third_party/python/Doc/c-api/
Dbuffer.rst110 :c:func:`PyMemoryView_FromBuffer` or :c:func:`PyBuffer_FillInfo`
509 .. c:function:: int PyBuffer_FillInfo(Py_buffer *view, PyObject *exporter, void *buf, Py_ssize_t le…
Dtypeobj.rst2365 :c:func:`PyBuffer_FillInfo` provides an easy way of exposing a simple
/third_party/python/Python/
Dgetargs.c940 PyBuffer_FillInfo(p, NULL, NULL, 0, 1, 0); in convertsimple()
947 PyBuffer_FillInfo(p, arg, (void *)sarg, len, 1, 0); in convertsimple()
Dmarshal.c671 if (PyBuffer_FillInfo(&buf, NULL, p->buf, n, 0, PyBUF_CONTIG) == -1) in r_string()
/third_party/python/Modules/
Dmmapmodule.c863 if (PyBuffer_FillInfo(view, (PyObject*)self, self->data, self->size, in mmap_buffer_getbuf()
D_testcapimodule.c3470 if (PyBuffer_FillInfo(&info, NULL, NULL, 1, 1, PyBUF_FULL_RO) < 0) in make_memoryview_from_NULL_pointer()
3537 ret = PyBuffer_FillInfo(NULL, NULL, dummy, 1, 0, PyBUF_SIMPLE); in test_pep3118_obsolete_write_locks()
6743 return PyBuffer_FillInfo( in heapctypewithbuffer_getbuffer()
/third_party/python/Objects/
Dbytearrayobject.c53 (void)PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags); in bytearray_getbuffer()
Dmemoryobject.c743 (void)PyBuffer_FillInfo(&mbuf->master, NULL, mem, size, readonly, in PyMemoryView_FromMemory()
Dabstract.c713 PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len, in PyBuffer_FillInfo() function
Dbytesobject.c1663 return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self), in bytes_buffer_getbuffer()
Dunicodeobject.c3664 if (PyBuffer_FillInfo(&info, NULL, (void *)s, size, 1, PyBUF_FULL_RO) < 0) in PyUnicode_Decode()
/third_party/python/Misc/NEWS.d/
D3.5.0a1.rst5118 Remove obsolete support for view==NULL in PyBuffer_FillInfo(),