/external/python/cpython3/Objects/stringlib/ |
D | ucs4lib.h | 23 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
|
D | ucs1lib.h | 23 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
|
D | ucs2lib.h | 23 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
|
D | unicodedefs.h | 25 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
|
D | asciilib.h | 23 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
|
D | unicode_format.h | 508 if (PyUnicode_CheckExact(fieldobj)) in render_field()
|
/external/python/cpython2/Objects/stringlib/ |
D | unicodedefs.h | 26 #define STRINGLIB_CHECK_EXACT PyUnicode_CheckExact
|
D | string_format.h | 574 if (PyUnicode_CheckExact(fieldobj)) in render_field()
|
/external/python/cpython3/Objects/ |
D | dictobject.c | 498 if (PyUnicode_CheckExact(key)) { in _PyDict_CheckConsistency() 816 if (!PyUnicode_CheckExact(key)) { in lookdict_unicode() 835 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_unicode() 859 if (!PyUnicode_CheckExact(key)) { in lookdict_unicode_nodummy() 878 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_unicode_nodummy() 901 if (!PyUnicode_CheckExact(key)) { in lookdict_split() 923 assert(PyUnicode_CheckExact(ep->me_key)); in lookdict_split() 1035 if (mp->ma_values != NULL && !PyUnicode_CheckExact(key)) { in insertdict() 1044 assert(PyUnicode_CheckExact(key) || mp->ma_keys->dk_lookup == lookdict); in insertdict() 1124 if (!PyUnicode_CheckExact(key)) { in insert_to_emptydict() [all …]
|
D | setobject.c | 80 if (PyUnicode_CheckExact(startkey) in set_lookkey() 81 && PyUnicode_CheckExact(key) in set_lookkey() 107 if (PyUnicode_CheckExact(startkey) in set_lookkey() 108 && PyUnicode_CheckExact(key) in set_lookkey() 172 if (PyUnicode_CheckExact(startkey) in set_add_entry() 173 && PyUnicode_CheckExact(key) in set_add_entry() 204 if (PyUnicode_CheckExact(startkey) in set_add_entry() 205 && PyUnicode_CheckExact(key) in set_add_entry() 420 if (!PyUnicode_CheckExact(key) || in set_add_key() 434 if (!PyUnicode_CheckExact(key) || in set_contains_key() [all …]
|
D | codeobject.c | 48 if (v == NULL || !PyUnicode_CheckExact(v)) { in intern_strings() 64 if (PyUnicode_CheckExact(v)) { in intern_string_constants() 391 if (PyUnicode_CheckExact(item)) { in validate_and_copy_tuple() 685 || PyUnicode_CheckExact(op) in _PyCode_ConstantKey()
|
D | moduleobject.c | 82 if (PyUnicode_CheckExact(name)) { in module_init_dict()
|
D | exceptions.c | 689 if (self->msg && PyUnicode_CheckExact(self->msg)) { in ImportError_str() 2808 !PyUnicode_CheckExact(PyTuple_GET_ITEM(instance_args, 0)))) { in _PyErr_TrySetFromCause()
|
/external/python/cpython3/Modules/_sqlite/ |
D | statement.c | 130 } else if (PyUnicode_CheckExact(parameter)) { in pysqlite_statement_bind_parameter() 199 || PyUnicode_CheckExact(obj) || PyByteArray_CheckExact(obj)) { in _need_adapt()
|
/external/python/cpython2/Modules/_sqlite/ |
D | statement.c | 129 } else if (PyUnicode_CheckExact(parameter)) { in pysqlite_statement_bind_parameter() 210 || PyUnicode_CheckExact(obj) || PyBuffer_Check(obj)) { in _need_adapt()
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 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 …]
|
D | codeobject.c | 430 || PyUnicode_CheckExact(op) in _PyCode_ConstantKey()
|
D | object.c | 423 if (PyUnicode_CheckExact(v)) { in _PyObject_Str() 491 } else if (PyUnicode_CheckExact(v)) { in PyObject_Unicode()
|
/external/python/cpython2/Include/ |
D | unicodeobject.h | 66 #define PyUnicode_CheckExact(op) 0 macro 429 #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type) macro
|
/external/python/cpython3/Include/ |
D | unicodeobject.h | 116 #define PyUnicode_CheckExact(op) (Py_TYPE(op) == &PyUnicode_Type) macro
|
/external/python/cpython3/Python/ |
D | ceval.c | 1527 if (PyUnicode_CheckExact(dividend) && ( in _PyEval_EvalFrameDefault() 1528 !PyUnicode_Check(divisor) || PyUnicode_CheckExact(divisor))) { in _PyEval_EvalFrameDefault() 1553 if (PyUnicode_CheckExact(left) && in _PyEval_EvalFrameDefault() 1554 PyUnicode_CheckExact(right)) { in _PyEval_EvalFrameDefault() 1753 if (PyUnicode_CheckExact(left) && PyUnicode_CheckExact(right)) { in _PyEval_EvalFrameDefault() 3665 if (PyUnicode_CheckExact(value) && fmt_spec == NULL) { in _PyEval_EvalFrameDefault()
|
D | ast.c | 148 || PyUnicode_CheckExact(value) in validate_constant() 5490 assert(PyUnicode_CheckExact(state->last_str)); in FstringParser_check_invariants() 5555 assert(PyUnicode_CheckExact(s)); in make_str_node_and_del() 5574 assert(PyUnicode_CheckExact(str)); in FstringParser_ConcatAndDel() 5908 PyUnicode_CheckExact(s)); in parsestrplus() 5957 if (e->kind == Constant_kind && PyUnicode_CheckExact(e->v.Constant.value)) { in _PyAST_GetDocString()
|
D | _warnings.c | 158 if (PyUnicode_CheckExact(obj)) { in check_matched()
|
/external/python/cpython3/Modules/ |
D | _elementtree.c | 873 if (object == Py_None || PyUnicode_CheckExact(object)) { in deepcopy() 884 if (!PyUnicode_CheckExact(key) || !PyUnicode_CheckExact(value)) { in deepcopy() 4018 if (PyUnicode_CheckExact(buffer)) { in _elementtree_XMLParser__parse_whole()
|
D | _asynciomodule.c | 1990 } else if (!PyUnicode_CheckExact(name)) { in _asyncio_Task___init___impl() 2373 if (!PyUnicode_CheckExact(value)) { in _asyncio_Task_set_name()
|