Searched refs:PyBytes_Size (Results 1 – 23 of 23) sorted by relevance
15 #define PyBytes_Size PyString_Size macro
44 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()
283 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()
1197 PyBytes_Size(PyObject *op) in PyBytes_Size() function
7688 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()
200 if (PyBytes_Check(v) && PyBytes_Size(v) == 1) in termios_tcsetattr()
223 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()
935 if (! (PyBytes_Check(v) && PyBytes_Size(v)==1) ) { in mmap_ass_item()
564 if (!PyBytes_Check(v) || PyBytes_Size(v) != 1) { in np_char()
1649 len = PyBytes_Size(obj); in idna_converter()
35 PyBytes_Size=python39.PyBytes_Size
1264 buffersize = PyBytes_Size(buffer); in _multibytecodec_MultibyteIncrementalDecoder_setstate_impl()1870 if (PyBytes_Size(pwrt) > 0) { in _multibytecodec_MultibyteStreamWriter_reset_impl()
175 #define PYBIND11_BYTES_SIZE PyBytes_Size
87 For bytes, :c:func:`PyBytes_Size` returns its length and
314 return PyBytes_Size(m_py_obj); in GetSize()
153 PyBytes_Size:Py_ssize_t:::154 PyBytes_Size:PyObject*:o:0:
1448 eof = (PyBytes_Size(input_chunk) == 0); in textiowrapper_read_chunk()
914 if (PyBytes_Check(arg) && PyBytes_Size(arg) == 1) in convertsimple()
1342 PyBytes_Size(co->co_code) / sizeof(_Py_CODEUNIT) + in _PyEval_EvalFrameDefault()
1272 PyBytes_Size(PyObject *op) in PyBytes_Size() function