Home
last modified time | relevance | path

Searched refs:PyUnicode_CheckExact (Results 1 – 25 of 39) 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/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
Dasciilib.h22 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dunicodedefs.h24 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dunicode_format.h508 if (PyUnicode_CheckExact(fieldobj)) in render_field()
/third_party/python/Objects/
Ddictobject.c533 if (PyUnicode_CheckExact(key)) { in _PyDict_CheckConsistency()
859 if (!PyUnicode_CheckExact(key)) { in lookdict_unicode()
877 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_unicode()
901 if (!PyUnicode_CheckExact(key)) { in lookdict_unicode_nodummy()
919 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_unicode_nodummy()
942 if (!PyUnicode_CheckExact(key)) { in lookdict_split()
964 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_split()
1076 if (mp->ma_values != NULL && !PyUnicode_CheckExact(key)) { in insertdict()
1106 if (!PyUnicode_CheckExact(key) && mp->ma_keys->dk_lookup != lookdict) { in insertdict()
1167 if (!PyUnicode_CheckExact(key)) { in insert_to_emptydict()
[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.c49 if (v == NULL || !PyUnicode_CheckExact(v)) { in intern_strings()
65 if (PyUnicode_CheckExact(v)) { in intern_string_constants()
498 if (PyUnicode_CheckExact(item)) { in validate_and_copy_tuple()
791 || PyUnicode_CheckExact(op) in _PyCode_ConstantKey()
Dmoduleobject.c82 if (PyUnicode_CheckExact(name)) { in module_init_dict()
Dtypeobject.c39 PyUnicode_CheckExact(name) && \
3745 if (!PyUnicode_CheckExact(name) || in find_name_in_mro()
3986 if (PyUnicode_CheckExact(name)) { in type_setattro()
8388 assert(PyUnicode_CheckExact(name)); in update_slot()
8396 assert(PyUnicode_CheckExact(p->name_strobj)); in update_slot()
8397 assert(PyUnicode_CheckExact(name)); in update_slot()
Dexceptions.c704 if (self->msg && PyUnicode_CheckExact(self->msg)) { in ImportError_str()
2982 !PyUnicode_CheckExact(PyTuple_GET_ITEM(instance_args, 0)))) { in _PyErr_TrySetFromCause()
/third_party/python/Python/
Dsuggestions.c181 if (name == NULL || obj == NULL || !PyUnicode_CheckExact(name)) { in offer_suggestions_for_attribute_error()
203 if (name == NULL || !PyUnicode_CheckExact(name) || in offer_suggestions_for_name_error()
Dast.c137 || PyUnicode_CheckExact(value) in validate_constant()
461 PyUnicode_CheckExact(literal)) { in validate_pattern_match_value()
985 if (e->kind == Constant_kind && PyUnicode_CheckExact(e->v.Constant.value)) { in _PyAST_GetDocString()
Dceval.c980 assert(PyUnicode_CheckExact(name)); in match_class_attr()
1069 if (!PyUnicode_CheckExact(name)) { in match_class()
2052 if (PyUnicode_CheckExact(dividend) && ( in _PyEval_EvalFrameDefault()
2053 !PyUnicode_Check(divisor) || PyUnicode_CheckExact(divisor))) { in _PyEval_EvalFrameDefault()
2078 if (PyUnicode_CheckExact(left) && in _PyEval_EvalFrameDefault()
2079 PyUnicode_CheckExact(right)) { in _PyEval_EvalFrameDefault()
2278 if (PyUnicode_CheckExact(left) && PyUnicode_CheckExact(right)) { in _PyEval_EvalFrameDefault()
4384 if (PyUnicode_CheckExact(value) && fmt_spec == NULL) { in _PyEval_EvalFrameDefault()
D_warnings.c161 if (PyUnicode_CheckExact(obj)) { in check_matched()
Dformatter_unicode.c1440 if (PyUnicode_CheckExact(obj)) in _PyUnicode_FormatAdvancedWriter()
/third_party/python/Modules/_sqlite/
Dstatement.c152 } else if (PyUnicode_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
221 || PyUnicode_CheckExact(obj) || PyByteArray_CheckExact(obj)) { in _need_adapt()
/third_party/python/Parser/
Dstring_parser.c998 assert(PyUnicode_CheckExact(state->last_str)); in FstringParser_check_invariants()
1029 assert(PyUnicode_CheckExact(s)); in make_str_node_and_del()
1057 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/
D_elementtree.c869 if (object == Py_None || PyUnicode_CheckExact(object)) { in deepcopy()
880 if (!PyUnicode_CheckExact(key) || !PyUnicode_CheckExact(value)) { in deepcopy()
3968 if (PyUnicode_CheckExact(buffer)) { in _elementtree_XMLParser__parse_whole()
D_asynciomodule.c2049 } else if (!PyUnicode_CheckExact(name)) { in _asyncio_Task___init___impl()
2368 if (!PyUnicode_CheckExact(value)) { in _asyncio_Task_set_name()
/third_party/python/Modules/_ctypes/
Dcallproc.c1897 if (PyUnicode_CheckExact(cls)) { in POINTER()

12