Searched refs:PyBytes_Size (Results 1 – 20 of 20) sorted by relevance
15 #define PyBytes_Size PyString_Size macro
58 PyAPI_FUNC(Py_ssize_t) PyBytes_Size(PyObject *);
127 .. c:function:: Py_ssize_t PyBytes_Size(PyObject *o)134 Macro form of :c:func:`PyBytes_Size` but without error checking.
33 #define PyBytes_Size PyString_Size macro
294 lenread = PyBytes_Size(ret); in xmlPythonFileReadRaw()314 lenread = PyBytes_Size(b); in xmlPythonFileReadRaw()359 lenread = PyBytes_Size(ret); in xmlPythonFileRead()379 lenread = PyBytes_Size(b); in xmlPythonFileRead()
1274 Py_ssize_t size = PyBytes_Size(data); in unmarshal_code()1333 buf = (char *)PyMem_Malloc(PyBytes_Size(source) + 2); in normalize_line_endings()
179 if (PyBytes_Check(v) && PyBytes_Size(v) == 1) in termios_tcsetattr()
876 if (! (PyBytes_Check(v) && PyBytes_Size(v)==1) ) { in mmap_ass_item()
214 if(PyBytes_Check(obj) && PyBytes_Size(obj) == 1) { in PyCurses_ConvertToChtype()307 else if(PyBytes_Check(obj) && PyBytes_Size(obj) == 1) { in PyCurses_ConvertToCchar_t()
549 if (!PyBytes_Check(v) || PyBytes_Size(v) != 1) { in np_char()
1490 len = PyBytes_Size(obj); in idna_converter()
35 PyBytes_Size=python36.PyBytes_Size
101 size = PyBytes_Size(p->str); in w_reserve()1601 wf.end = wf.ptr + PyBytes_Size(wf.str); in PyMarshal_WriteObjectToString()
841 if (PyBytes_Check(arg) && PyBytes_Size(arg) == 1) in convertsimple()
753 Py_ssize_t size = PyBytes_Size(co->co_lnotab) / 2; in PyCode_Addr2Line()
1257 PyBytes_Size(PyObject *op) in PyBytes_Size() function
7467 const Py_ssize_t n = PyBytes_Size(*outbytes); in encode_code_page_strict()7569 Py_ssize_t n = PyBytes_Size(*outbytes); in encode_code_page_errors()8482 Py_ssize_t outsize = PyBytes_Size(*res); in charmap_encoding_error()8484 repsize = PyBytes_Size(repunicode); in charmap_encoding_error()
87 For bytes, :c:func:`PyBytes_Size` returns its length and
1702 if (PyBytes_Size(pwrt) > 0) { in _multibytecodec_MultibyteStreamWriter_reset_impl()
1444 eof = (PyBytes_Size(input_chunk) == 0); in textiowrapper_read_chunk()