Searched refs:PyUnicode_CheckExact (Results 1 – 25 of 50) sorted by relevance
12
474 if (PyUnicode_CheckExact(key)) { in _PyDict_CheckConsistency()791 if (!PyUnicode_CheckExact(key)) { in lookdict_unicode()810 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_unicode()834 if (!PyUnicode_CheckExact(key)) { in lookdict_unicode_nodummy()853 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_unicode_nodummy()876 if (!PyUnicode_CheckExact(key)) { in lookdict_split()898 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_split()1010 if (mp->ma_values != NULL && !PyUnicode_CheckExact(key)) { in insertdict()1019 assert(PyUnicode_CheckExact(key) || mp->ma_keys->dk_lookup == lookdict); in insertdict()1300 if (!PyUnicode_CheckExact(key) || in PyDict_GetItem()[all …]
79 if (PyUnicode_CheckExact(startkey) in set_lookkey()80 && PyUnicode_CheckExact(key) in set_lookkey()106 if (PyUnicode_CheckExact(startkey) in set_lookkey()107 && PyUnicode_CheckExact(key) in set_lookkey()171 if (PyUnicode_CheckExact(startkey) in set_add_entry()172 && PyUnicode_CheckExact(key) in set_add_entry()203 if (PyUnicode_CheckExact(startkey) in set_add_entry()204 && PyUnicode_CheckExact(key) in set_add_entry()419 if (!PyUnicode_CheckExact(key) || in set_add_key()433 if (!PyUnicode_CheckExact(key) || in set_contains_key()[all …]
38 if (v == NULL || !PyUnicode_CheckExact(v)) { in intern_strings()54 if (PyUnicode_CheckExact(v)) { in intern_string_constants()310 if (PyUnicode_CheckExact(item)) { in validate_and_copy_tuple()508 || PyUnicode_CheckExact(op) in _PyCode_ConstantKey()
82 if (PyUnicode_CheckExact(name)) { in module_init_dict()
23 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
25 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
503 if (PyUnicode_CheckExact(fieldobj)) in render_field()
26 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
574 if (PyUnicode_CheckExact(fieldobj)) in render_field()
130 } else if (PyUnicode_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()199 || PyUnicode_CheckExact(obj) || PyByteArray_CheckExact(obj)) { in _need_adapt()
129 } else if (PyUnicode_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()210 || PyUnicode_CheckExact(obj) || PyBuffer_Check(obj)) { in _need_adapt()
87 && PyUnicode_CheckExact(first->v.Expr.value->v.Constant.value)))) in future_parse()
1256 if (PyUnicode_CheckExact(dividend) && ( in _PyEval_EvalFrameDefault()1257 !PyUnicode_Check(divisor) || PyUnicode_CheckExact(divisor))) { in _PyEval_EvalFrameDefault()1282 if (PyUnicode_CheckExact(left) && in _PyEval_EvalFrameDefault()1283 PyUnicode_CheckExact(right)) { in _PyEval_EvalFrameDefault()1482 if (PyUnicode_CheckExact(left) && PyUnicode_CheckExact(right)) { in _PyEval_EvalFrameDefault()3295 if (PyUnicode_CheckExact(value) && fmt_spec == NULL) { in _PyEval_EvalFrameDefault()
145 || PyUnicode_CheckExact(value) in validate_constant()309 if (!PyUnicode_CheckExact(s)) { in validate_expr()4861 assert(PyUnicode_CheckExact(state->last_str)); in FstringParser_check_invariants()4890 assert(PyUnicode_CheckExact(s)); in make_str_node_and_del()4905 assert(PyUnicode_CheckExact(str)); in FstringParser_ConcatAndDel()5237 PyUnicode_CheckExact(s)); in parsestrplus()
463 return PyUnicode_CheckExact(s->v.Expr.value->v.Constant.value); in isdocstring()
31 if (PyUnicode_CheckExact(obj)) { in check_matched()
390 if (PyUnicode_CheckExact(unicode) && in unicode_dealloc()1150 if (PyUnicode_CheckExact(obj)) { in PyUnicode_FromObject()4146 if (PyUnicode_CheckExact(mapping)) { in PyUnicode_DecodeCharmap()5507 if (!fixfct(u) && PyUnicode_CheckExact(self)) { in fixup()5680 if (PyUnicode_CheckExact(item)) { in PyUnicode_Join()5805 if (left == 0 && right == 0 && PyUnicode_CheckExact(self)) { in pad()6011 if (PyUnicode_CheckExact(self)) { in replace()6125 if (self->length >= width && PyUnicode_CheckExact(self)) { in unicode_center()7032 if (self->length >= width && PyUnicode_CheckExact(self)) { in unicode_ljust()7087 if (i == 0 && j == len && PyUnicode_CheckExact(self)) { in _PyUnicode_XStrip()[all …]
430 || PyUnicode_CheckExact(op) in _PyCode_ConstantKey()
423 if (PyUnicode_CheckExact(v)) { in _PyObject_Str()491 } else if (PyUnicode_CheckExact(v)) { in PyObject_Unicode()
66 #define PyUnicode_CheckExact(op) 0 macro429 #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type) macro
849 if (object == Py_None || PyUnicode_CheckExact(object)) { in deepcopy()860 if (!PyUnicode_CheckExact(key) || !PyUnicode_CheckExact(value)) { in deepcopy()3613 if (PyUnicode_CheckExact(buffer)) { in _elementtree_XMLParser__parse_whole()
364 #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type) macro