Searched refs:PyBytes_CheckExact (Results 1 – 21 of 21) sorted by relevance
287 if PyBytes_CheckExact(stream) == 0:871 if PyBytes_CheckExact(value) == 0:1008 if not PyBytes_CheckExact(handle):1014 if not PyBytes_CheckExact(prefix):1034 if not PyBytes_CheckExact(anchor_object):1045 if not PyBytes_CheckExact(anchor_object):1053 if not PyBytes_CheckExact(tag_object):1059 if not PyBytes_CheckExact(value_object):1087 if not PyBytes_CheckExact(anchor_object):1095 if not PyBytes_CheckExact(tag_object):[all …]
20 int PyBytes_CheckExact(object o)
1407 if (va.len == 0 && PyBytes_CheckExact(b)) { in bytes_concat()1412 if (vb.len == 0 && PyBytes_CheckExact(a)) { in bytes_concat()1456 if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) { in bytes_repeat()1628 PyBytes_CheckExact(self)) { in bytes_subscript()1906 if (i == 0 && j == len && PyBytes_CheckExact(self)) { in do_xstrip()1936 if (i == 0 && j == len && PyBytes_CheckExact(self)) { in do_strip()2105 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl()2135 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl()2229 if (PyBytes_CheckExact(self)) { in bytes_removeprefix_impl()2268 if (PyBytes_CheckExact(self)) { in bytes_removesuffix_impl()[all …]
800 else if (PyBool_Check(op) || PyBytes_CheckExact(op)) { in _PyCode_ConstantKey()
556 if (PyBytes_CheckExact(v)) { in PyObject_Bytes()
24 #define STRINGLIB_CHECK_EXACT PyBytes_CheckExact
64 if (PyBytes_CheckExact(item)) { in STRINGLIB()
32 #define PyBytes_CheckExact(op) Py_IS_TYPE(op, &PyBytes_Type) macro
114 assert(PyBytes_CheckExact(marshalled)); in main()
138 || PyBytes_CheckExact(value)) in validate_constant()460 PyBytes_CheckExact(literal) || PyComplex_CheckExact(literal) || in validate_pattern_match_value()
420 else if (PyBytes_CheckExact(v)) { in w_complex_object()
1041 if (!PyUnicode_CheckExact(obj) && !PyBytes_CheckExact(obj)) { in obj2ast_string()
882 assert(PyBytes_CheckExact(self->allocated_buffer)); in _overlapped_Overlapped_getresult_impl()890 assert(PyBytes_CheckExact(self->read_from.allocated_buffer)); in _overlapped_Overlapped_getresult_impl()
2759 if (PyBytes_CheckExact(self->data) && Py_REFCNT(self->data) == 1 && in treebuilder_handle_data()2760 PyBytes_CheckExact(data) && PyBytes_GET_SIZE(data) == 1) { in treebuilder_handle_data()3983 else if (!PyBytes_CheckExact(buffer) || PyBytes_GET_SIZE(buffer) == 0) { in _elementtree_XMLParser__parse_whole()
270 assert(PyBytes_CheckExact(self->read_buffer)); in _winapi_Overlapped_GetOverlappedResult_impl()
504 if (PyBytes_CheckExact(string) && in getslice()
395 if (PyBytes_CheckExact(obj) == 0) { in pycompilestring()
31 .. c:function:: int PyBytes_CheckExact(PyObject *o)
945 if (PyBytes_CheckExact(initvalue)) { in _io_BytesIO___init___impl()
121 PyBytes_CheckExact:int:::122 PyBytes_CheckExact:PyObject*:o:0:
2397 assert(bytesmode ? PyBytes_CheckExact(s) : PyUnicode_CheckExact(s)); in _PyPegen_concatenate_strings()