/third_party/python/Include/ |
H A D | pybuffer.h | 94 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
|
/third_party/python/Modules/ |
H A D | xxlimited.c | 238 int res = PyBuffer_FillInfo(view, (PyObject*)self, in Xxo_getbuffer()
|
H A D | mmapmodule.c | 934 if (PyBuffer_FillInfo(view, (PyObject*)self, self->data, self->size, in mmap_buffer_getbuf()
|
H A D | _testcapimodule.c | 3645 if (PyBuffer_FillInfo(&info, NULL, NULL, 1, 1, PyBUF_FULL_RO) < 0) in make_memoryview_from_NULL_pointer() 3711 /* PyBuffer_FillInfo() */ in test_pep3118_obsolete_write_locks() 3712 ret = PyBuffer_FillInfo(NULL, NULL, dummy, 1, 0, PyBUF_SIMPLE); in test_pep3118_obsolete_write_locks() 7583 return PyBuffer_FillInfo( in heapctypewithbuffer_getbuffer()
|
/third_party/python/Modules/clinic/ |
H A D | _codecsmodule.c.h | 248 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()
|
H A D | _ssl.c.h | 1033 PyBuffer_FillInfo(&view, args[0], (void *)ptr, len, 1, 0); in _ssl_RAND_add()
|
/third_party/python/Modules/_io/ |
H A D | bytesio.c | 1092 (void)PyBuffer_FillInfo(view, (PyObject*)obj, in bytesiobuf_getbuffer()
|
H A D | bufferedio.c | 1449 if (PyBuffer_FillInfo(&buf, NULL, start, len, 0, PyBUF_CONTIG) == -1) in _bufferedreader_raw_read() 1806 if (PyBuffer_FillInfo(&buf, NULL, start, len, 1, PyBUF_CONTIG_RO) == -1) in _bufferedwriter_raw_write()
|
/third_party/python/PC/ |
H A D | python3dll.c | 99 EXPORT_FUNC(PyBuffer_FillInfo)
|
/third_party/python/Modules/_sqlite/clinic/ |
H A D | connection.c.h | 1047 PyBuffer_FillInfo(&data, args[0], (void *)ptr, len, 1, 0); in deserialize()
|
/third_party/python/Objects/ |
H A D | bytearrayobject.c | 55 (void)PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags); in bytearray_getbuffer()
|
H A D | memoryobject.c | 741 (void)PyBuffer_FillInfo(&mbuf->master, NULL, mem, size, readonly, in PyMemoryView_FromMemory()
|
H A D | abstract.c | 716 PyBuffer_FillInfo(Py_buffer *view, PyObject *obj, void *buf, Py_ssize_t len, in PyBuffer_FillInfo() function 721 "PyBuffer_FillInfo: view==NULL argument is obsolete"); in PyBuffer_FillInfo()
|
H A D | bytesobject.c | 1664 return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self), in bytes_buffer_getbuffer()
|
H A D | unicodeobject.c | 3610 if (PyBuffer_FillInfo(&info, NULL, (void *)s, size, 1, PyBUF_FULL_RO) < 0) in PyUnicode_Decode()
|
/third_party/python/Python/ |
H A D | getargs.c | 941 PyBuffer_FillInfo(p, NULL, NULL, 0, 1, 0); in convertsimple() 948 PyBuffer_FillInfo(p, arg, (void *)sarg, len, 1, 0); in convertsimple()
|
H A D | marshal.c | 722 if (PyBuffer_FillInfo(&buf, NULL, p->buf, n, 0, PyBUF_CONTIG) == -1) in r_string()
|