Lines Matching refs:PyBytes_Check
497 if (PyBytes_Check(arg) && PyBytes_GET_SIZE(arg) == 1) { in byte_converter()
547 if (PyBytes_Check(v)) { in format_obj()
566 if (!PyBytes_Check(result)) { in format_obj()
633 !PyTuple_Check(args) && !PyBytes_Check(args) && !PyUnicode_Check(args) && in _PyBytes_FormatEx()
1113 assert(PyBytes_Check(w)); in _PyBytes_DecodeEscapeRecode()
1280 if (!PyBytes_Check(op)) { in PyBytes_Size()
1291 if (!PyBytes_Check(op)) { in PyBytes_AsString()
1309 if (!PyBytes_Check(obj)) { in PyBytes_AsStringAndSize()
1578 if (!(PyBytes_Check(a) && PyBytes_Check(b))) { in bytes_richcompare()
1906 assert(sep != NULL && PyBytes_Check(sep)); in _PyBytes_Join()
2110 if (PyBytes_Check(table)) { in bytes_translate_impl()
2133 if (PyBytes_Check(deletechars)) { in bytes_translate_impl()
2510 if (!PyBytes_Check(self)) { in bytes_mod()
2564 assert(PyBytes_Check(new)); in bytes_new()
2585 if (!PyBytes_Check(new)) { in bytes_new()
2843 assert(PyBytes_Check(tmp)); in bytes_subtype_new()
2992 if (!PyBytes_Check(v) || newsize < 0) { in _PyBytes_Resize()
3080 assert(PyBytes_Check(seq)); in striter_next()
3186 if (!PyBytes_Check(seq)) { in bytes_iter()