Home
last modified time | relevance | path

Searched refs:PyObject_CheckBuffer (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython3/Modules/
Dhashlib.h14 if (!PyObject_CheckBuffer((obj))) { \
D_operator.c282 if (PyObject_CheckBuffer(a) == 0 && PyObject_CheckBuffer(b) == 0) { in compare_digest()
Dzlibmodule.c562 if (zdict != NULL && !PyObject_CheckBuffer(zdict)) { in zlib_decompressobj_impl()
D_testbuffer.c312 assert(PyObject_CheckBuffer(obj)); in pack_from_list()
1301 if (PyObject_CheckBuffer(v) && shape == NULL) { in ndarray_init()
Dposixmodule.c891 is_buffer = PyObject_CheckBuffer(o); in path_converter()
/external/python/cpython2/Objects/
Dmemoryobject.c78 if (!PyObject_CheckBuffer(base)) { in PyMemoryView_FromObject()
248 if (!PyObject_CheckBuffer(obj)) { in PyMemoryView_GetContiguous()
Dabstract.c362 if (!PyObject_CheckBuffer(obj)) { in PyObject_GetBuffer()
592 if (!PyObject_CheckBuffer(dest) || in PyObject_CopyData()
593 !PyObject_CheckBuffer(src)) { in PyObject_CopyData()
Dbytearrayobject.c852 if (PyObject_CheckBuffer(arg)) { in bytearray_init()
2289 if (PyObject_CheckBuffer(arg)) { in bytearray_extend()
/external/python/cpython2/Modules/
Doperator.c322 if (PyObject_CheckBuffer(a) == 0 && PyObject_CheckBuffer(b) == 0) { in compare_digest()
/external/python/cpython3/Modules/_sqlite/
Dstatement.c138 } else if (PyObject_CheckBuffer(parameter)) { in pysqlite_statement_bind_parameter()
Dconnection.c512 } else if (PyObject_CheckBuffer(py_val)) { in _pysqlite_set_result()
/external/python/cpython2/Include/
Dabstract.h534 #define PyObject_CheckBuffer(obj) \ macro
/external/python/cpython3/Include/
Dabstract.h605 #define PyObject_CheckBuffer(obj) \ macro
/external/python/cpython3/Objects/
Dbytearrayobject.c820 if (PyObject_CheckBuffer(arg)) { in bytearray_init()
1608 if (PyObject_CheckBuffer(iterable_of_ints)) { in bytearray_extend()
Dabstract.c530 if (!PyObject_CheckBuffer(dest) || in PyObject_CopyData()
531 !PyObject_CheckBuffer(src)) { in PyObject_CopyData()
Dmemoryobject.c785 else if (PyObject_CheckBuffer(v)) { in PyMemoryView_FromObject()
Dbytesobject.c2762 if (PyObject_CheckBuffer(x)) in PyBytes_FromObject()
Dunicodeobject.c3908 is_buffer = PyObject_CheckBuffer(arg); in PyUnicode_FSDecoder()
/external/python/cpython3/PC/
Dwinreg.c674 if (!PyObject_CheckBuffer(value)) { in Py2Reg()
/external/python/cpython2/Doc/c-api/
Dbuffer.rst144 .. c:function:: int PyObject_CheckBuffer(PyObject *obj)
/external/python/cpython3/Doc/c-api/
Dbuffer.rst428 .. c:function:: int PyObject_CheckBuffer(PyObject *obj)
/external/python/cpython3/Python/
Dmarshal.c551 else if (PyObject_CheckBuffer(v)) { in w_complex_object()