Lines Matching refs:PyUnicode_CheckExact
288 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()
1323 int unicode = PyUnicode_CheckExact(key); in insert_to_emptydict()
1609 if (!PyUnicode_CheckExact(*ks)) { in _PyDict_FromItems()
1657 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) { in PyDict_GetItem()
1694 assert(PyUnicode_CheckExact(key)); in _PyDict_GetItemHint()
1781 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) in PyDict_GetItemWithError()
1797 assert(PyUnicode_CheckExact(kv)); in _PyDict_GetItemWithError()
1847 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) { in _PyDict_LoadGlobal()
1874 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) { in _PyDict_SetItem_Take2()
1997 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) { in PyDict_DelItem()
2256 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) { in _PyDict_Pop()
2495 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) { in dict_subscript()
3251 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) { in dict___contains__()
3282 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) { in dict_get_impl()
3309 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) { in PyDict_SetDefault()
3324 if (!PyUnicode_CheckExact(key) && DK_IS_UNICODE(mp->ma_keys)) { in PyDict_SetDefault()
3345 assert(PyUnicode_CheckExact(key)); in PyDict_SetDefault()
3698 if (!PyUnicode_CheckExact(key) || (hash = unicode_get_hash(key)) == -1) { in PyDict_Contains()
5440 if (PyUnicode_CheckExact(name)) { in _PyObject_StoreInstanceAttribute()
5445 if (PyUnicode_CheckExact(name)) { in _PyObject_StoreInstanceAttribute()
5495 assert(PyUnicode_CheckExact(name)); in _PyObject_GetInstanceAttribute()