Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
Dhashlib.h14 if (!PyObject_CheckBuffer((obj))) { \
D_operator.c832 if (PyObject_CheckBuffer(a) == 0 && PyObject_CheckBuffer(b) == 0) { in _operator__compare_digest_impl()
Dzlibmodule.c553 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.c975 is_buffer = PyObject_CheckBuffer(o); in path_converter()
3587 return_str = !PyObject_CheckBuffer(path->object); in _posix_listdir()
12089 if (!path->narrow || !PyObject_CheckBuffer(path->object)) { in DirEntry_from_posix_info()
/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.c873 if (PyObject_CheckBuffer(arg)) { in bytearray_init()
2301 if (PyObject_CheckBuffer(arg)) { in bytearray_extend()
Dbytesobject.c572 if (PyObject_CheckBuffer(v)) { in format_obj()
2777 if (PyObject_CheckBuffer(x)) in PyBytes_FromObject()
/external/python/cpython3/Modules/_sqlite/
Dstatement.c138 } else if (PyObject_CheckBuffer(parameter)) { in pysqlite_statement_bind_parameter()
Dconnection.c518 } else if (PyObject_CheckBuffer(py_val)) { in _pysqlite_set_result()
/external/python/cpython2/Modules/
Doperator.c322 if (PyObject_CheckBuffer(a) == 0 && PyObject_CheckBuffer(b) == 0) { in compare_digest()
/external/python/cpython2/Include/
Dabstract.h534 #define PyObject_CheckBuffer(obj) \ macro
/external/python/cpython3/Objects/
Dbytes_methods.c478 if (PyObject_CheckBuffer(tmp_subobj)) { in parse_args_finds_byte()
Dbytearrayobject.c842 if (PyObject_CheckBuffer(arg)) { in bytearray_init()
1620 if (PyObject_CheckBuffer(iterable_of_ints)) { in bytearray_extend()
Dabstract.c557 if (!PyObject_CheckBuffer(dest) || in PyObject_CopyData()
558 !PyObject_CheckBuffer(src)) { in PyObject_CopyData()
Dbytesobject.c578 if (PyObject_CheckBuffer(v)) { in format_obj()
2806 if (PyObject_CheckBuffer(x)) in PyBytes_FromObject()
Dmemoryobject.c787 else if (PyObject_CheckBuffer(v)) { in PyMemoryView_FromObject()
Dunicodeobject.c3750 is_buffer = PyObject_CheckBuffer(arg); in PyUnicode_FSDecoder()
/external/python/cpython3/Include/
Dabstract.h511 #define PyObject_CheckBuffer(obj) \ macro
/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/Python/
Dmarshal.c567 else if (PyObject_CheckBuffer(v)) { in w_complex_object()
/external/python/cpython3/Doc/c-api/
Dbuffer.rst428 .. c:function:: int PyObject_CheckBuffer(PyObject *obj)
/external/python/cpython3/Doc/data/
Drefcounts.dat1590 PyObject_CheckBuffer:int:::
1591 PyObject_CheckBuffer:PyObject*:obj:0: