Searched refs:PyBytes_Check (Results 1 – 20 of 20) sorted by relevance
4 #define PyBytes_Check PyString_Check macro
31 #ifndef PyBytes_Check32 #define PyBytes_Check PyString_Check macro
623 } else if PyBytes_Check (obj) { in libxml_xmlXPathObjectPtrConvert()
293 } else if (PyBytes_Check(ret)) { in xmlPythonFileReadRaw()358 } else if (PyBytes_Check(ret)) { in xmlPythonFileRead()
481 if (!PyBytes_Check(readahead)) { in iobase_readline()521 if (!PyBytes_Check(b)) { in iobase_readline()850 if (!PyBytes_Check(data)) { in rawiobase_readall()
238 if (PyBytes_Check(nameobj) || PyByteArray_Check(nameobj)) { in fileio_init()258 if (!PyBytes_Check(stringobj)) { in fileio_init()
1437 if (!PyBytes_Check(input_chunk)) { in textiowrapper_read_chunk()1468 if (!PyBytes_Check(next_input)) { in textiowrapper_read_chunk()2138 if (!PyBytes_Check(input_chunk)) { in textiowrapper_seek()2239 assert (PyBytes_Check(next_input)); in textiowrapper_tell()
316 !PyBytes_Check(file) && in io_open()
50 if (!PyBytes_Check(data)) { in bufferediobase_readinto()1188 if (line && !PyBytes_Check(line)) { in buffered_iternext()1387 if (data != Py_None && !PyBytes_Check(data)) { in _bufferedreader_read_all()
782 if (PyBytes_Check(arg)) { in bytearray_init()788 assert(PyBytes_Check(encoded)); in bytearray_init()814 assert(PyBytes_Check(encoded)); in bytearray_init()2620 if (!PyByteArray_Check(obj) && !PyBytes_Check(obj)) { in bytearray_join()
913 if (PyBytes_Check(format_spec)) in complex__format__()
1259 if (PyBytes_Check(format_spec)) in int__format__()
1999 if (PyBytes_Check(format_spec)) in float__format__()
4117 if (PyBytes_Check(format_spec)) in long__format__()
7870 if (!(PyBytes_Check(format_spec) || PyUnicode_Check(format_spec))) { in unicode__format__()
634 if (PyBytes_Check(obj)) { in CheckAndGetInteger()658 if (!PyBytes_Check(arg) && !PyUnicode_Check(arg)) { in CheckAndGetInteger()673 } else if (!PyBytes_Check(arg)) { in CheckAndGetInteger()680 if (PyBytes_Check(arg)) { in CheckAndGetInteger()
111 if (PySequence_Check(arg) && !(PyBytes_Check(arg) || PyUnicode_Check(arg))) { in AssignItem()
118 #define PyBytes_Check PyString_Check macro430 else if (PyBytes_Check(keyobj)) { in make_key_dbt()1481 else if (PyBytes_Check(result)) { in _db_associateCallback()1514 if (!PyBytes_Check(PyList_GetItem(result, i))) in _db_associateCallback()
2566 } else if (PyBytes_Check(password)) { in _pwinfo_set()
979 :c:func:`PyBytes_Check`, :c:func:`PyBytes_FromStringAndSize`,