Lines Matching refs:PyBytes_Check
484 if (PyBytes_Check(arg) && PyBytes_GET_SIZE(arg) == 1) { in byte_converter()
533 if (PyBytes_Check(v)) { in format_obj()
552 if (!PyBytes_Check(result)) { in format_obj()
619 !PyTuple_Check(args) && !PyBytes_Check(args) && !PyUnicode_Check(args) && in _PyBytes_FormatEx()
1199 if (!PyBytes_Check(op)) { in PyBytes_Size()
1210 if (!PyBytes_Check(op)) { in PyBytes_AsString()
1228 if (!PyBytes_Check(obj)) { in PyBytes_AsStringAndSize()
1500 if (!(PyBytes_Check(a) && PyBytes_Check(b))) { in bytes_richcompare()
1827 assert(sep != NULL && PyBytes_Check(sep)); in _PyBytes_Join()
2032 if (PyBytes_Check(table)) { in bytes_translate_impl()
2055 if (PyBytes_Check(deletechars)) { in bytes_translate_impl()
2524 if (!PyBytes_Check(self)) { in bytes_mod()
2578 assert(PyBytes_Check(new)); in bytes_new()
2599 if (!PyBytes_Check(new)) { in bytes_new()
2857 assert(PyBytes_Check(tmp)); in bytes_subtype_new()
3005 if (!PyBytes_Check(v) || newsize < 0) { in _PyBytes_Resize()
3097 assert(PyBytes_Check(seq)); in striter_next()
3204 if (!PyBytes_Check(seq)) { in bytes_iter()