Lines Matching refs:PyBytes_Check
491 if (PyBytes_Check(arg) && PyBytes_GET_SIZE(arg) == 1) { in byte_converter()
541 if (PyBytes_Check(v)) { in format_obj()
560 if (!PyBytes_Check(result)) { in format_obj()
627 !PyTuple_Check(args) && !PyBytes_Check(args) && !PyUnicode_Check(args) && in _PyBytes_FormatEx()
1107 assert(PyBytes_Check(w)); in _PyBytes_DecodeEscapeRecode()
1274 if (!PyBytes_Check(op)) { in PyBytes_Size()
1285 if (!PyBytes_Check(op)) { in PyBytes_AsString()
1303 if (!PyBytes_Check(obj)) { in PyBytes_AsStringAndSize()
1573 if (!(PyBytes_Check(a) && PyBytes_Check(b))) { in bytes_richcompare()
1913 assert(sep != NULL && PyBytes_Check(sep)); in _PyBytes_Join()
2117 if (PyBytes_Check(table)) { in bytes_translate_impl()
2140 if (PyBytes_Check(deletechars)) { in bytes_translate_impl()
2515 if (!PyBytes_Check(self)) { in bytes_mod()
2569 assert(PyBytes_Check(new)); in bytes_new()
2590 if (!PyBytes_Check(new)) { in bytes_new()
2811 assert(PyBytes_Check(tmp)); in bytes_subtype_new()
2960 if (!PyBytes_Check(v) || newsize < 0) { in _PyBytes_Resize()
3035 assert(PyBytes_Check(seq)); in striter_next()
3141 if (!PyBytes_Check(seq)) { in bytes_iter()