Searched refs:PyBytes_Size (Results 1 – 23 of 23) sorted by relevance
41 PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *);
130 .. c:function:: Py_ssize_t PyBytes_Size(PyObject *o)137 Macro form of :c:func:`PyBytes_Size` but without error checking.
33 #define PyBytes_Size PyString_Size macro
295 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()
199 if (PyBytes_Check(v) && PyBytes_Size(v) == 1) in termios_tcsetattr_impl()
234 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()
964 if (! (PyBytes_Check(v) && PyBytes_Size(v)==1) ) { in mmap_ass_item()
575 if (!PyBytes_Check(v) || PyBytes_Size(v) != 1) { in np_char()
1604 len = PyBytes_Size(obj); in idna_converter()
1261 buffersize = PyBytes_Size(buffer); in _multibytecodec_MultibyteIncrementalDecoder_setstate_impl()1816 if (PyBytes_Size(pwrt) > 0) { in _multibytecodec_MultibyteStreamWriter_reset_impl()
33 function,PyBytes_Size,3.2,
153 PyBytes_Size:Py_ssize_t:::154 PyBytes_Size:PyObject*:o:0:
119 EXPORT_FUNC(PyBytes_Size)
87 For bytes, :c:func:`PyBytes_Size` returns its length and
291 Py_ssize_t co_size = PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT); in _PyCode_InitOpcache()
1224 PyBytes_Size(PyObject *op) in PyBytes_Size() function
7947 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()
354 function PyBytes_Size
856 if (PyBytes_Check(arg) && PyBytes_Size(arg) == 1) in convertsimple()
1711 PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT) + in _PyEval_EvalFrameDefault()
758 #define PyString_Size(str) PyBytes_Size(str)
754 #define PyString_Size(str) PyBytes_Size(str)
311 PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *);