Home
last modified time | relevance | path

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

/external/python/cpython2/Include/
Dbytesobject.h15 #define PyBytes_Size PyString_Size macro
/external/python/cpython3/Include/
Dbytesobject.h44 PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *);
/external/python/cpython3/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.
/external/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()
/external/python/cpython3/Objects/
Dcodeobject.c283 Py_ssize_t co_size = PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT); in _PyCode_InitOpcache()
985 Py_ssize_t size = PyBytes_Size(co->co_lnotab) / 2; in PyCode_Addr2Line()
Dbytesobject.c1197 PyBytes_Size(PyObject *op) in PyBytes_Size() function
Dunicodeobject.c7688 const Py_ssize_t n = PyBytes_Size(*outbytes); in encode_code_page_strict()
7790 Py_ssize_t n = PyBytes_Size(*outbytes); in encode_code_page_errors()
8693 Py_ssize_t outsize = PyBytes_Size(*res); in charmap_encoding_error()
8695 repsize = PyBytes_Size(repunicode); in charmap_encoding_error()
/external/python/cpython3/Modules/
Dtermios.c200 if (PyBytes_Check(v) && PyBytes_Size(v) == 1) in termios_tcsetattr()
D_cursesmodule.c223 if(PyBytes_Check(obj) && PyBytes_Size(obj) == 1) { in PyCurses_ConvertToChtype()
316 else if(PyBytes_Check(obj) && PyBytes_Size(obj) == 1) { in PyCurses_ConvertToCchar_t()
Dmmapmodule.c935 if (! (PyBytes_Check(v) && PyBytes_Size(v)==1) ) { in mmap_ass_item()
D_struct.c564 if (!PyBytes_Check(v) || PyBytes_Size(v) != 1) { in np_char()
Dsocketmodule.c1649 len = PyBytes_Size(obj); in idna_converter()
/external/python/cpython3/PC/
Dpython3.def35 PyBytes_Size=python39.PyBytes_Size
/external/python/cpython3/Modules/cjkcodecs/
Dmultibytecodec.c1264 buffersize = PyBytes_Size(buffer); in _multibytecodec_MultibyteIncrementalDecoder_setstate_impl()
1870 if (PyBytes_Size(pwrt) > 0) { in _multibytecodec_MultibyteStreamWriter_reset_impl()
/external/python/pybind11/include/pybind11/detail/
Dcommon.h175 #define PYBIND11_BYTES_SIZE PyBytes_Size
/external/python/cpython3/Doc/faq/
Dextending.rst87 For bytes, :c:func:`PyBytes_Size` returns its length and
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.cpp314 return PyBytes_Size(m_py_obj); in GetSize()
/external/python/cpython3/Doc/data/
Drefcounts.dat153 PyBytes_Size:Py_ssize_t:::
154 PyBytes_Size:PyObject*:o:0:
/external/python/cpython2/Modules/_io/
Dtextio.c1448 eof = (PyBytes_Size(input_chunk) == 0); in textiowrapper_read_chunk()
/external/python/cpython3/Python/
Dgetargs.c914 if (PyBytes_Check(arg) && PyBytes_Size(arg) == 1) in convertsimple()
Dceval.c1342 PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT) + in _PyEval_EvalFrameDefault()
/external/python/cpython2/Objects/
Dbytesobject.c1272 PyBytes_Size(PyObject *op) in PyBytes_Size() function