Home
last modified time | relevance | path

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

12

/external/python/cpython3/Objects/stringlib/
Ducs4lib.h23 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Ducs2lib.h23 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Ducs1lib.h23 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dasciilib.h23 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dunicodedefs.h25 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dunicode_format.h508 if (PyUnicode_CheckExact(fieldobj)) in render_field()
/external/python/cpython2/Objects/stringlib/
Dunicodedefs.h26 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
Dstring_format.h574 if (PyUnicode_CheckExact(fieldobj)) in render_field()
/external/python/cpython3/Objects/
Ddictobject.c507 if (PyUnicode_CheckExact(key)) { in _PyDict_CheckConsistency()
837 if (!PyUnicode_CheckExact(key)) { in lookdict_unicode()
856 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_unicode()
880 if (!PyUnicode_CheckExact(key)) { in lookdict_unicode_nodummy()
899 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_unicode_nodummy()
922 if (!PyUnicode_CheckExact(key)) { in lookdict_split()
944 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_split()
1056 if (mp->ma_values != NULL && !PyUnicode_CheckExact(key)) { in insertdict()
1065 assert(PyUnicode_CheckExact(key) || mp->ma_keys->dk_lookup == lookdict); in insertdict()
1145 if (!PyUnicode_CheckExact(key)) { in insert_to_emptydict()
[all …]
Dcodeobject.c49 if (v == NULL || !PyUnicode_CheckExact(v)) { in intern_strings()
65 if (PyUnicode_CheckExact(v)) { in intern_string_constants()
412 if (PyUnicode_CheckExact(item)) { in validate_and_copy_tuple()
706 || PyUnicode_CheckExact(op) in _PyCode_ConstantKey()
Dsetobject.c77 if (PyUnicode_CheckExact(startkey) in set_lookkey()
78 && PyUnicode_CheckExact(key) in set_lookkey()
134 if (PyUnicode_CheckExact(startkey) in set_add_entry()
135 && PyUnicode_CheckExact(key) in set_add_entry()
334 if (!PyUnicode_CheckExact(key) || in set_add_key()
348 if (!PyUnicode_CheckExact(key) || in set_contains_key()
362 if (!PyUnicode_CheckExact(key) || in set_discard_key()
Dmoduleobject.c74 if (PyUnicode_CheckExact(name)) { in module_init_dict()
/external/python/cpython3/Modules/_sqlite/
Dstatement.c132 } else if (PyUnicode_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
201 || PyUnicode_CheckExact(obj) || PyByteArray_CheckExact(obj)) { in _need_adapt()
/external/python/cpython2/Modules/_sqlite/
Dstatement.c129 } else if (PyUnicode_CheckExact(parameter)) { in pysqlite_statement_bind_parameter()
210 || PyUnicode_CheckExact(obj) || PyBuffer_Check(obj)) { in _need_adapt()
/external/python/cpython3/Parser/pegen/
Dparse_string.c1007 assert(PyUnicode_CheckExact(state->last_str)); in FstringParser_check_invariants()
1038 assert(PyUnicode_CheckExact(s)); in make_str_node_and_del()
1065 assert(PyUnicode_CheckExact(str)); in _PyPegen_FstringParser_ConcatAndDel()
/external/python/cpython2/Objects/
Dunicodeobject.c390 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 …]
Dcodeobject.c430 || PyUnicode_CheckExact(op) in _PyCode_ConstantKey()
Dobject.c423 if (PyUnicode_CheckExact(v)) { in _PyObject_Str()
491 } else if (PyUnicode_CheckExact(v)) { in PyObject_Unicode()
/external/python/cpython2/Include/
Dunicodeobject.h66 #define PyUnicode_CheckExact(op) 0 macro
429 #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type) macro
/external/python/cpython3/Include/
Dunicodeobject.h116 #define PyUnicode_CheckExact(op) Py_IS_TYPE(op, &PyUnicode_Type) macro
/external/python/cpython3/Python/
Dceval.c1668 if (PyUnicode_CheckExact(dividend) && ( in _PyEval_EvalFrameDefault()
1669 !PyUnicode_Check(divisor) || PyUnicode_CheckExact(divisor))) { in _PyEval_EvalFrameDefault()
1694 if (PyUnicode_CheckExact(left) && in _PyEval_EvalFrameDefault()
1695 PyUnicode_CheckExact(right)) { in _PyEval_EvalFrameDefault()
1894 if (PyUnicode_CheckExact(left) && PyUnicode_CheckExact(right)) { in _PyEval_EvalFrameDefault()
3686 if (PyUnicode_CheckExact(value) && fmt_spec == NULL) { in _PyEval_EvalFrameDefault()
Dast.c136 || PyUnicode_CheckExact(value) in validate_constant()
5387 assert(PyUnicode_CheckExact(state->last_str)); in FstringParser_check_invariants()
5452 assert(PyUnicode_CheckExact(s)); in make_str_node_and_del()
5471 assert(PyUnicode_CheckExact(str)); in FstringParser_ConcatAndDel()
5805 PyUnicode_CheckExact(s)); in parsestrplus()
5854 if (e->kind == Constant_kind && PyUnicode_CheckExact(e->v.Constant.value)) { in _PyAST_GetDocString()
Dformatter_unicode.c1434 if (PyUnicode_CheckExact(obj)) in _PyUnicode_FormatAdvancedWriter()
/external/python/cpython3/Modules/
D_elementtree.c869 if (object == Py_None || PyUnicode_CheckExact(object)) { in deepcopy()
880 if (!PyUnicode_CheckExact(key) || !PyUnicode_CheckExact(value)) { in deepcopy()
3971 if (PyUnicode_CheckExact(buffer)) { in _elementtree_XMLParser__parse_whole()
D_asynciomodule.c2091 } else if (!PyUnicode_CheckExact(name)) { in _asyncio_Task___init___impl()
2410 if (!PyUnicode_CheckExact(value)) { in _asyncio_Task_set_name()

12