Home
last modified time | relevance | path

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

12

/external/python/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)
/external/python/cpython3/Objects/stringlib/
Ducs1lib.h22 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dasciilib.h22 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Ducs4lib.h22 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Ducs2lib.h22 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dunicode_format.h510 if (PyUnicode_CheckExact(fieldobj)) in render_field()
/external/python/cpython3/Objects/
Ddictobject.c439 assert(PyUnicode_CheckExact(o)); in unicode_get_hash()
738 if (PyUnicode_CheckExact(key)) { in _PyDict_CheckConsistency()
752 CHECK(PyUnicode_CheckExact(key)); in _PyDict_CheckConsistency()
1101 assert(PyUnicode_CheckExact(ep->me_key)); in compare_unicode_generic()
1102 assert(!PyUnicode_CheckExact(key)); in compare_unicode_generic()
1137 assert(PyUnicode_CheckExact(ep_key)); in compare_unicode_unicode()
1195 if (!PyUnicode_CheckExact(key) || kind == DICT_KEYS_GENERAL) { in _PyDictKeys_StringLookup()
1245 if (PyUnicode_CheckExact(key)) { in _Py_dict_lookup()
1352 assert(startkey == NULL || PyUnicode_CheckExact(ep->me_key)); in compare_unicode_generic_threadsafe()
1353 assert(!PyUnicode_CheckExact(key)); in compare_unicode_generic_threadsafe()
[all …]
Dcodeobject.c145 if (v == NULL || !PyUnicode_CheckExact(v)) { in intern_strings()
164 if (PyUnicode_CheckExact(v)) { in intern_constants()
244 !PyUnicode_CheckExact(v) && in intern_constants()
281 if (PyUnicode_CheckExact(item)) { in validate_and_copy_tuple()
2400 || PyUnicode_CheckExact(op) in _PyCode_ConstantKey()
2528 assert(!PyUnicode_CheckExact(op)); // strings are interned separately in intern_one_constant()
Dsetobject.c97 if (PyUnicode_CheckExact(startkey) in set_lookkey()
98 && PyUnicode_CheckExact(key) in set_lookkey()
158 if (PyUnicode_CheckExact(startkey) in set_add_entry()
159 && PyUnicode_CheckExact(key) in set_add_entry()
Dobject.c765 if (PyUnicode_CheckExact(v)) { in PyObject_Str()
1521 if (tp->tp_getattro != PyObject_GenericGetAttr || !PyUnicode_CheckExact(name)) { in _PyObject_GetMethod()
1645 if (PyUnicode_CheckExact(name) && in _PyObject_GenericGetAttrWithDict()
2467 if (PyUnicode_CheckExact(op)) { in _Py_SetImmortalUntracked()
Dmoduleobject.c74 if (PyUnicode_CheckExact(name)) { in module_init_dict()
/external/python/cpython3/Parser/
Daction_helpers.c982 PyUnicode_CheckExact(item->v.Constant.value) && in _PyPegen_setup_full_format_spec()
995 PyUnicode_CheckExact(item->v.Constant.value) && in _PyPegen_setup_full_format_spec()
1245 assert(PyUnicode_CheckExact(constant->v.Constant.value)); in _PyPegen_decode_fstring_part()
1346 if (PyUnicode_CheckExact(item->v.Constant.value) in _PyPegen_joined_str()
1603 PyUnicode_CheckExact(elem->v.Constant.value) && in _PyPegen_concatenate_strings()
1676 PyUnicode_CheckExact(elem->v.Constant.value) && in _PyPegen_concatenate_strings()
/external/python/cpython3/Python/
Dspecialize.c846 assert(PyUnicode_CheckExact(name)); in specialize_dict_access()
1347 assert(PyUnicode_CheckExact(name)); in _Py_Specialize_LoadGlobal()
2075 if (PyUnicode_CheckExact(lhs)) { in _Py_Specialize_BinaryOp()
2196 if (PyUnicode_CheckExact(lhs)) { in _Py_Specialize_CompareOp()
2434 if (PyUnicode_CheckExact(value)) { in _Py_Specialize_ToBool()
2510 if (PyUnicode_CheckExact(value)) { in containsop_fail_kind()
Dast.c164 || PyUnicode_CheckExact(value) in validate_constant()
496 PyUnicode_CheckExact(literal)) { in validate_pattern_match_value()
1109 if (e->kind == Constant_kind && PyUnicode_CheckExact(e->v.Constant.value)) { in _PyAST_GetDocString()
Dgenerated_cases.c.h212 DEOPT_IF(!PyUnicode_CheckExact(left), BINARY_OP); in TARGET()
213 DEOPT_IF(!PyUnicode_CheckExact(right), BINARY_OP); in TARGET()
240 DEOPT_IF(!PyUnicode_CheckExact(left), BINARY_OP); in TARGET()
241 DEOPT_IF(!PyUnicode_CheckExact(right), BINARY_OP); in TARGET()
555 DEOPT_IF(!PyUnicode_CheckExact(str), BINARY_SUBSCR); in TARGET()
2308 DEOPT_IF(!PyUnicode_CheckExact(left), COMPARE_OP); in TARGET()
2309 DEOPT_IF(!PyUnicode_CheckExact(right), COMPARE_OP); in TARGET()
2729 if (!PyUnicode_CheckExact(value)) { in TARGET()
5999 DEOPT_IF(!PyUnicode_CheckExact(value), TO_BOOL); in TARGET()
Dceval.c130 || PyUnicode_CheckExact(*ptr) in dump_stack()
440 assert(PyUnicode_CheckExact(name)); in match_class_attr()
527 if (!PyUnicode_CheckExact(name)) { in _PyEval_MatchClass()
Dexecutor_cases.c.h395 if (!PyUnicode_CheckExact(value)) {
607 if (!PyUnicode_CheckExact(left)) {
611 if (!PyUnicode_CheckExact(right)) {
744 if (!PyUnicode_CheckExact(str)) {
4082 if (!PyUnicode_CheckExact(value)) {
Dmarshal.c323 !(PyUnicode_CheckExact(v) && PyUnicode_CHECK_INTERNED(v))) { in w_ref()
446 else if (PyUnicode_CheckExact(v)) { in w_complex_object()
Dbytecodes.c389 EXIT_IF(!PyUnicode_CheckExact(value)); in dummy_func()
518 EXIT_IF(!PyUnicode_CheckExact(left)); in dummy_func()
519 EXIT_IF(!PyUnicode_CheckExact(right)); in dummy_func()
644 DEOPT_IF(!PyUnicode_CheckExact(str)); in dummy_func()
4028 if (!PyUnicode_CheckExact(value)) { in dummy_func()
/external/python/cpython3/Include/
Dunicodeobject.h108 #define PyUnicode_CheckExact(op) Py_IS_TYPE((op), &PyUnicode_Type) macro
/external/python/cpython3/Modules/_sqlite/
Dcursor.c549 } else if (PyUnicode_CheckExact(parameter)) { in bind_param()
628 || PyUnicode_CheckExact(obj) || PyByteArray_CheckExact(obj)) { in need_adapt()
/external/python/cpython3/Include/internal/
Dpycore_object.h663 if (PyUnicode_CheckExact(op)) { in _PyObject_HashFast()
/external/python/cpython3/Modules/
D_interpretersmodule.c334 assert(PyUnicode_CheckExact(arg) in get_code_str()
867 if (PyUnicode_CheckExact(arg)) { in convert_script_arg()
D_elementtree.c892 if (object == Py_None || PyUnicode_CheckExact(object)) { in deepcopy()
902 if (!PyUnicode_CheckExact(key) || !PyUnicode_CheckExact(value)) { in deepcopy()
4002 if (PyUnicode_CheckExact(buffer)) { in _elementtree_XMLParser__parse_whole()

12