Home
last modified time | relevance | path

Searched refs:PyObject_AsReadBuffer (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Doc/c-api/
Dobjbuffer.rst30 .. c:function:: int PyObject_AsReadBuffer(PyObject *obj, const void **buffer, Py_ssize_t *buffer_le…
/external/python/cpython2/Doc/c-api/
Dobjbuffer.rst31 .. c:function:: int PyObject_AsReadBuffer(PyObject *obj, const void **buffer, Py_ssize_t *buffer_le…
/external/python/cpython2/Modules/
D_codecsmodule.c224 if (PyObject_AsReadBuffer(obj, (const void **)&data, &size)) in unicode_internal_decode()
653 if (PyObject_AsReadBuffer(obj, (const void **)&data, &size)) in unicode_internal_encode()
/external/python/cpython2/Include/
Dabstract.h501 PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
/external/python/cpython3/Include/
Dabstract.h573 PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
/external/python/cpython3/PC/
Dpython3.def446 PyObject_AsReadBuffer=python36.PyObject_AsReadBuffer
/external/python/cpython2/PC/os2emx/
Dpython27.def128 "PyObject_AsReadBuffer"
/external/python/cpython3/Objects/
Dabstract.c259 return PyObject_AsReadBuffer(obj, (const void **)buffer, buffer_len); in PyObject_AsCharBuffer()
279 int PyObject_AsReadBuffer(PyObject *obj, in PyObject_AsReadBuffer() function
/external/python/cpython2/Objects/
Dfileobject.c1944 res = PyObject_AsReadBuffer(v, (const void**)&buffer, &len); in file_writelines()
Dabstract.c291 int PyObject_AsReadBuffer(PyObject *obj, in PyObject_AsReadBuffer() function
/external/python/cpython2/Python/
Dbltinmodule.c555 else if (!PyObject_AsReadBuffer(cmd, (const void **)&str, &length)) { in builtin_compile()
/external/protobuf/python/google/protobuf/pyext/
Dmessage.cc1923 if (PyObject_AsReadBuffer(arg, &data, &data_length) < 0) { in CheckAndGetInteger()
/external/python/cpython2/Modules/_ctypes/
D_ctypes.c577 if (-1 == PyObject_AsReadBuffer(obj, &buffer, &buffer_len)) in CDataType_from_buffer_copy()
/external/python/cpython3/Misc/
DNEWS6712 - Issue #22896: Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer()
DHISTORY959 - Issue #22896: Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer()