Home
last modified time | relevance | path

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

12

/third_party/python/Modules/
Dhashlib.h14 if (!PyObject_CheckBuffer((obj))) { \
D_operator.c847 if (PyObject_CheckBuffer(a) == 0 && PyObject_CheckBuffer(b) == 0) { in _operator__compare_digest_impl()
D_hashopenssl.c1998 if (PyObject_CheckBuffer(a) == 0 && PyObject_CheckBuffer(b) == 0) { in _hashlib_compare_digest_impl()
D_testbuffer.c312 assert(PyObject_CheckBuffer(obj)); in pack_from_list()
1301 if (PyObject_CheckBuffer(v) && shape == NULL) { in ndarray_init()
Dzlibmodule.c652 if (zdict != NULL && !PyObject_CheckBuffer(zdict)) { in zlib_decompressobj_impl()
Dposixmodule.c1170 is_buffer = PyObject_CheckBuffer(o); in path_converter()
4139 return_str = !PyObject_CheckBuffer(path->object); in _posix_listdir()
13953 if (!path->narrow || !PyObject_CheckBuffer(path->object)) { in DirEntry_from_posix_info()
D_ssl.c4069 else if (PyObject_CheckBuffer(cadata)) { in _ssl__SSLContext_load_verify_locations_impl()
/third_party/python/Include/cpython/
Dabstract.h263 PyAPI_FUNC(int) PyObject_CheckBuffer(PyObject *obj);
/third_party/python/Objects/
Dbytearrayobject.c830 if (PyObject_CheckBuffer(arg)) { in bytearray___init___impl()
1011 if (!PyObject_CheckBuffer(self) || !PyObject_CheckBuffer(other)) { in bytearray_richcompare()
1674 if (PyObject_CheckBuffer(iterable_of_ints)) { in bytearray_extend()
Dbytes_methods.c464 if (PyObject_CheckBuffer(tmp_subobj)) { in parse_args_finds_byte()
Dabstract.c289 PyObject_CheckBuffer(PyObject *obj) in PyObject_CheckBuffer() function
625 if (!PyObject_CheckBuffer(dest) || in PyObject_CopyData()
626 !PyObject_CheckBuffer(src)) { in PyObject_CopyData()
Dbytesobject.c591 if (PyObject_CheckBuffer(v)) { in format_obj()
2833 if (PyObject_CheckBuffer(x)) in PyBytes_FromObject()
Dmemoryobject.c797 else if (PyObject_CheckBuffer(v)) { in PyMemoryView_FromObject()
/third_party/python/Modules/_sqlite/
Dstatement.c160 } else if (PyObject_CheckBuffer(parameter)) { in pysqlite_statement_bind_parameter()
Dconnection.c568 } else if (PyObject_CheckBuffer(py_val)) { in _pysqlite_set_result()
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c4006 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeRGB()
4126 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeBGR()
4246 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeRGBA()
4366 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeBGRA()
4482 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeLosslessRGB()
4593 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeLosslessBGR()
4704 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeLosslessRGBA()
4815 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeLosslessBGRA()
Dlibwebp.swig80 if (!PyObject_CheckBuffer($input)) {
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c3969 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeRGB()
4089 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeBGR()
4209 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeRGBA()
4329 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeBGRA()
4445 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeLosslessRGB()
4556 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeLosslessBGR()
4667 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeLosslessRGBA()
4778 if (!PyObject_CheckBuffer(obj0)) { in _wrap_wrap_WebPEncodeLosslessBGRA()
Dlibwebp.swig77 if (!PyObject_CheckBuffer($input)) {
/third_party/python/PC/
Dwinreg.c702 if (!PyObject_CheckBuffer(value)) { in Py2Reg()
/third_party/python/Python/
Dmarshal.c529 else if (PyObject_CheckBuffer(v)) { in w_complex_object()
/third_party/python/Misc/NEWS.d/
D3.9.0a6.rst1188 Convert :c:func:`PyObject_CheckBuffer` macro to a function to hide
/third_party/python/Doc/c-api/
Dbuffer.rst430 .. c:function:: int PyObject_CheckBuffer(PyObject *obj)
/third_party/python/Doc/data/
Drefcounts.dat1621 PyObject_CheckBuffer:int:::
1622 PyObject_CheckBuffer:PyObject*:obj:0:
/third_party/python/Doc/whatsnew/
D3.9.rst1385 * :c:func:`PyObject_CheckBuffer` macro was converted to a function: the macro

12