Home
last modified time | relevance | path

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

/third_party/python/Include/
H A Dpybuffer.h94 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
/third_party/python/Modules/
H A Dxxlimited.c238 int res = PyBuffer_FillInfo(view, (PyObject*)self, in Xxo_getbuffer()
H A Dmmapmodule.c934 if (PyBuffer_FillInfo(view, (PyObject*)self, self->data, self->size, in mmap_buffer_getbuf()
H A D_testcapimodule.c3645 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.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()
H A D_ssl.c.h1033 PyBuffer_FillInfo(&view, args[0], (void *)ptr, len, 1, 0); in _ssl_RAND_add()
/third_party/python/Modules/_io/
H A Dbytesio.c1092 (void)PyBuffer_FillInfo(view, (PyObject*)obj, in bytesiobuf_getbuffer()
H A Dbufferedio.c1449 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 Dpython3dll.c99 EXPORT_FUNC(PyBuffer_FillInfo)
/third_party/python/Modules/_sqlite/clinic/
H A Dconnection.c.h1047 PyBuffer_FillInfo(&data, args[0], (void *)ptr, len, 1, 0); in deserialize()
/third_party/python/Objects/
H A Dbytearrayobject.c55 (void)PyBuffer_FillInfo(view, (PyObject*)obj, ptr, Py_SIZE(obj), 0, flags); in bytearray_getbuffer()
H A Dmemoryobject.c741 (void)PyBuffer_FillInfo(&mbuf->master, NULL, mem, size, readonly, in PyMemoryView_FromMemory()
H A Dabstract.c716 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 Dbytesobject.c1664 return PyBuffer_FillInfo(view, (PyObject*)self, (void *)self->ob_sval, Py_SIZE(self), in bytes_buffer_getbuffer()
H A Dunicodeobject.c3610 if (PyBuffer_FillInfo(&info, NULL, (void *)s, size, 1, PyBUF_FULL_RO) < 0) in PyUnicode_Decode()
/third_party/python/Python/
H A Dgetargs.c941 PyBuffer_FillInfo(p, NULL, NULL, 0, 1, 0); in convertsimple()
948 PyBuffer_FillInfo(p, arg, (void *)sarg, len, 1, 0); in convertsimple()
H A Dmarshal.c722 if (PyBuffer_FillInfo(&buf, NULL, p->buf, n, 0, PyBUF_CONTIG) == -1) in r_string()

Completed in 63 milliseconds