Home
last modified time | relevance | path

Searched refs:PyUnicode_CheckExact (Results 1 – 25 of 40) sorted by relevance

12

/third_party/PyYAML/yaml/
D_yaml.pyx281 if PyUnicode_CheckExact(stream) != 0:
868 if PyUnicode_CheckExact(value) != 0:
1005 if PyUnicode_CheckExact(handle):
1011 if PyUnicode_CheckExact(prefix):
1032 if PyUnicode_CheckExact(anchor_object):
1043 if PyUnicode_CheckExact(anchor_object):
1051 if PyUnicode_CheckExact(tag_object):
1057 if PyUnicode_CheckExact(value_object):
1085 if PyUnicode_CheckExact(anchor_object):
1093 if PyUnicode_CheckExact(tag_object):
[all …]
D_yaml.pxd8 int PyUnicode_CheckExact(object o)
/third_party/python/Objects/
Ddictobject.c288 assert(PyUnicode_CheckExact(o)); in unicode_get_hash()
547 if (PyUnicode_CheckExact(key)) { in _PyDict_CheckConsistency()
561 CHECK(PyUnicode_CheckExact(key)); in _PyDict_CheckConsistency()
880 assert(PyUnicode_CheckExact(ep->me_key)); in unicodekeys_lookup_generic()
926 assert(PyUnicode_CheckExact(ep->me_key)); in unicodekeys_lookup_unicode()
941 assert(PyUnicode_CheckExact(ep->me_key)); in unicodekeys_lookup_unicode()
1011 if (!PyUnicode_CheckExact(key) || kind == DICT_KEYS_GENERAL) { in _PyDictKeys_StringLookup()
1052 if (PyUnicode_CheckExact(key)) { in _Py_dict_lookup()
1189 assert(PyUnicode_CheckExact(name)); in insert_into_dictkeys()
1230 if (DK_IS_UNICODE(mp->ma_keys) && !PyUnicode_CheckExact(key)) { in insertdict()
[all …]
Dsetobject.c77 if (PyUnicode_CheckExact(startkey) in set_lookkey()
78 && PyUnicode_CheckExact(key) in set_lookkey()
136 if (PyUnicode_CheckExact(startkey) in set_add_entry()
137 && PyUnicode_CheckExact(key) in set_add_entry()
348 if (!PyUnicode_CheckExact(key) || in set_add_key()
362 if (!PyUnicode_CheckExact(key) || in set_contains_key()
376 if (!PyUnicode_CheckExact(key) || in set_discard_key()
Dcodeobject.c43 if (v == NULL || !PyUnicode_CheckExact(v)) { in intern_strings()
59 if (PyUnicode_CheckExact(v)) { in intern_string_constants()
127 if (PyUnicode_CheckExact(item)) { in validate_and_copy_tuple()
2078 || PyUnicode_CheckExact(op) in _PyCode_ConstantKey()
Dobject.c468 if (PyUnicode_CheckExact(v)) { in PyObject_Str()
1163 if (tp->tp_getattro != PyObject_GenericGetAttr || !PyUnicode_CheckExact(name)) { in _PyObject_GetMethod()
1291 if (PyUnicode_CheckExact(name)) { in _PyObject_GenericGetAttrWithDict()
Dmoduleobject.c72 if (PyUnicode_CheckExact(name)) { in module_init_dict()
Dtypeobject.c42 PyUnicode_CheckExact(name) && \
3761 if (!PyUnicode_CheckExact(name) || in find_name_in_mro()
4000 if (PyUnicode_CheckExact(name)) { in type_setattro()
8515 assert(PyUnicode_CheckExact(name)); in update_slot()
8521 assert(PyUnicode_CheckExact(p->name_strobj)); in update_slot()
8522 assert(PyUnicode_CheckExact(name)); in update_slot()
/third_party/python/Objects/stringlib/
Ducs1lib.h22 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Ducs2lib.h22 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Ducs4lib.h22 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dunicodedefs.h24 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dasciilib.h22 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dunicode_format.h510 if (PyUnicode_CheckExact(fieldobj)) in render_field()
/third_party/python/Python/
Dsuggestions.c184 if (name == NULL || obj == NULL || !PyUnicode_CheckExact(name)) { in offer_suggestions_for_attribute_error()
206 if (name == NULL || !PyUnicode_CheckExact(name) || in offer_suggestions_for_name_error()
Dast.c162 || PyUnicode_CheckExact(value) in validate_constant()
489 PyUnicode_CheckExact(literal)) { in validate_pattern_match_value()
1055 if (e->kind == Constant_kind && PyUnicode_CheckExact(e->v.Constant.value)) { in _PyAST_GetDocString()
Dspecialize.c624 assert(PyUnicode_CheckExact(name)); in specialize_dict_access()
1057 assert(PyUnicode_CheckExact(name)); in _Py_Specialize_LoadGlobal()
1786 if (PyUnicode_CheckExact(lhs)) { in _Py_Specialize_BinaryOp()
1960 if (PyUnicode_CheckExact(lhs)) { in _Py_Specialize_CompareOp()
Dmarshal.c308 !(PyUnicode_CheckExact(v) && PyUnicode_CHECK_INTERNED(v))) { in w_ref()
431 else if (PyUnicode_CheckExact(v)) { in w_complex_object()
Dceval.c993 assert(PyUnicode_CheckExact(name)); in match_class_attr()
1082 if (!PyUnicode_CheckExact(name)) { in match_class()
2042 DEOPT_IF(!PyUnicode_CheckExact(left), BINARY_OP);
2061 DEOPT_IF(!PyUnicode_CheckExact(left), BINARY_OP);
3826 DEOPT_IF(!PyUnicode_CheckExact(left), COMPARE_OP);
3827 DEOPT_IF(!PyUnicode_CheckExact(right), COMPARE_OP);
5521 if (PyUnicode_CheckExact(value) && fmt_spec == NULL) {
D_warnings.c170 if (PyUnicode_CheckExact(obj)) { in check_matched()
/third_party/python/Parser/
Dstring_parser.c1032 assert(PyUnicode_CheckExact(state->last_str)); in FstringParser_check_invariants()
1063 assert(PyUnicode_CheckExact(s)); in make_str_node_and_del()
1091 assert(PyUnicode_CheckExact(str)); in _PyPegen_FstringParser_ConcatAndDel()
/third_party/python/Include/
Dunicodeobject.h116 #define PyUnicode_CheckExact(op) Py_IS_TYPE(op, &PyUnicode_Type) macro
/third_party/python/Modules/_sqlite/
Dcursor.c547 } else if (PyUnicode_CheckExact(parameter)) { in bind_param()
626 || PyUnicode_CheckExact(obj) || PyByteArray_CheckExact(obj)) { in need_adapt()
/third_party/python/Modules/
D_elementtree.c857 if (object == Py_None || PyUnicode_CheckExact(object)) { in deepcopy()
868 if (!PyUnicode_CheckExact(key) || !PyUnicode_CheckExact(value)) { in deepcopy()
3956 if (PyUnicode_CheckExact(buffer)) { in _elementtree_XMLParser__parse_whole()
D_asynciomodule.c2044 } else if (!PyUnicode_CheckExact(name)) { in _asyncio_Task___init___impl()
2409 if (!PyUnicode_CheckExact(value)) { in _asyncio_Task_set_name()

12