Home
last modified time | relevance | path

Searched refs:PyBytes_Size (Results 1 – 23 of 23) sorted by relevance

/third_party/python/Include/
Dbytesobject.h41 PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *);
/third_party/python/Doc/c-api/
Dbytes.rst130 .. c:function:: Py_ssize_t PyBytes_Size(PyObject *o)
137 Macro form of :c:func:`PyBytes_Size` but without error checking.
/third_party/libxml2/python/
Dlibxml_wrap.h33 #define PyBytes_Size PyString_Size macro
Dlibxml.c295 lenread = PyBytes_Size(ret); in xmlPythonFileReadRaw()
315 lenread = PyBytes_Size(b); in xmlPythonFileReadRaw()
360 lenread = PyBytes_Size(ret); in xmlPythonFileRead()
380 lenread = PyBytes_Size(b); in xmlPythonFileRead()
/third_party/python/Modules/
Dtermios.c199 if (PyBytes_Check(v) && PyBytes_Size(v) == 1) in termios_tcsetattr_impl()
D_cursesmodule.c234 if(PyBytes_Check(obj) && PyBytes_Size(obj) == 1) { in PyCurses_ConvertToChtype()
327 else if(PyBytes_Check(obj) && PyBytes_Size(obj) == 1) { in PyCurses_ConvertToCchar_t()
Dmmapmodule.c964 if (! (PyBytes_Check(v) && PyBytes_Size(v)==1) ) { in mmap_ass_item()
D_struct.c575 if (!PyBytes_Check(v) || PyBytes_Size(v) != 1) { in np_char()
Dsocketmodule.c1604 len = PyBytes_Size(obj); in idna_converter()
/third_party/python/Modules/cjkcodecs/
Dmultibytecodec.c1261 buffersize = PyBytes_Size(buffer); in _multibytecodec_MultibyteIncrementalDecoder_setstate_impl()
1816 if (PyBytes_Size(pwrt) > 0) { in _multibytecodec_MultibyteStreamWriter_reset_impl()
/third_party/python/Doc/data/
Dstable_abi.dat33 function,PyBytes_Size,3.2,
Drefcounts.dat153 PyBytes_Size:Py_ssize_t:::
154 PyBytes_Size:PyObject*:o:0:
/third_party/python/PC/
Dpython3dll.c119 EXPORT_FUNC(PyBytes_Size)
/third_party/python/Doc/faq/
Dextending.rst87 For bytes, :c:func:`PyBytes_Size` returns its length and
/third_party/python/Objects/
Dcodeobject.c291 Py_ssize_t co_size = PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT); in _PyCode_InitOpcache()
Dbytesobject.c1224 PyBytes_Size(PyObject *op) in PyBytes_Size() function
Dunicodeobject.c7947 const Py_ssize_t n = PyBytes_Size(*outbytes); in encode_code_page_strict()
8057 Py_ssize_t n = PyBytes_Size(*outbytes); in encode_code_page_errors()
8962 Py_ssize_t outsize = PyBytes_Size(*res); in charmap_encoding_error()
8964 repsize = PyBytes_Size(repunicode); in charmap_encoding_error()
/third_party/python/Misc/
Dstable_abi.txt354 function PyBytes_Size
/third_party/python/Python/
Dgetargs.c856 if (PyBytes_Check(arg) && PyBytes_Size(arg) == 1) in convertsimple()
Dceval.c1711 PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT) + in _PyEval_EvalFrameDefault()
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c758 #define PyString_Size(str) PyBytes_Size(str)
/third_party/flutter/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c754 #define PyString_Size(str) PyBytes_Size(str)
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch311 PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *);