Searched refs:PyBytes_CheckExact (Results 1 – 22 of 22) sorted by relevance
25 #define STRINGLIB_CHECK_EXACT PyBytes_CheckExact
64 if (PyBytes_CheckExact(item)) { in STRINGLIB()
5 #define PyBytes_CheckExact PyString_CheckExact macro
1376 if (va.len == 0 && PyBytes_CheckExact(b)) { in bytes_concat()1381 if (vb.len == 0 && PyBytes_CheckExact(a)) { in bytes_concat()1425 if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) { in bytes_repeat()1613 PyBytes_CheckExact(self)) { in bytes_subscript()1891 if (i == 0 && j == len && PyBytes_CheckExact(self)) { in do_xstrip()1921 if (i == 0 && j == len && PyBytes_CheckExact(self)) { in do_strip()2090 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl()2120 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl()2214 if (PyBytes_CheckExact(self)) { in bytes_removeprefix_impl()2253 if (PyBytes_CheckExact(self)) { in bytes_removesuffix_impl()[all …]
715 else if (PyBool_Check(op) || PyBytes_CheckExact(op)) { in _PyCode_ConstantKey()
536 if (PyBytes_CheckExact(v)) { in PyObject_Bytes()
35 #define PyBytes_CheckExact(op) Py_IS_TYPE(op, &PyBytes_Type) macro
1448 if (va.len == 0 && PyBytes_CheckExact(b)) { in bytes_concat()1453 if (vb.len == 0 && PyBytes_CheckExact(a)) { in bytes_concat()1497 if (size == Py_SIZE(a) && PyBytes_CheckExact(a)) { in bytes_repeat()1699 PyBytes_CheckExact(self)) { in bytes_subscript()1977 if (i == 0 && j == len && PyBytes_CheckExact(self)) { in do_xstrip()2007 if (i == 0 && j == len && PyBytes_CheckExact(self)) { in do_strip()2175 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl()2205 if (!changed && PyBytes_CheckExact(input_obj)) { in bytes_translate_impl()2771 if (PyBytes_CheckExact(x)) { in PyBytes_FromObject()2893 if (Py_REFCNT(*pv) == 1 && PyBytes_CheckExact(*pv)) { in PyBytes_Concat()[all …]
428 || PyBytes_CheckExact(op) in _PyCode_ConstantKey()
30 if (PyBytes_CheckExact(arg)) { in _getbytevalue()
114 assert(PyBytes_CheckExact(marshalled)); in main()
31 .. c:function:: int PyBytes_CheckExact(PyObject *o)
807 assert(PyBytes_CheckExact(self->allocated_buffer)); in Overlapped_getresult()815 assert(PyBytes_CheckExact(self->read_from.allocated_buffer)); in Overlapped_getresult()
2762 if (PyBytes_CheckExact(self->data) && Py_REFCNT(self->data) == 1 && in treebuilder_handle_data()2763 PyBytes_CheckExact(data) && PyBytes_GET_SIZE(data) == 1) { in treebuilder_handle_data()3986 else if (!PyBytes_CheckExact(buffer) || PyBytes_GET_SIZE(buffer) == 0) { in _elementtree_XMLParser__parse_whole()
239 assert(PyBytes_CheckExact(self->read_buffer)); in _winapi_Overlapped_GetOverlappedResult_impl()
484 if (PyBytes_CheckExact(string) && in getslice()
945 if (PyBytes_CheckExact(initvalue)) { in _io_BytesIO___init___impl()
420 else if (PyBytes_CheckExact(v)) { in w_complex_object()
137 || PyBytes_CheckExact(value)) in validate_constant()5804 assert(bytesmode ? PyBytes_CheckExact(s) : in parsestrplus()
1165 if (!PyUnicode_CheckExact(obj) && !PyBytes_CheckExact(obj)) { in obj2ast_string()
121 PyBytes_CheckExact:int:::122 PyBytes_CheckExact:PyObject*:o:0:
2068 assert(bytesmode ? PyBytes_CheckExact(s) : PyUnicode_CheckExact(s)); in _PyPegen_concatenate_strings()