Home
last modified time | relevance | path

Searched refs:dk_lookup (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Objects/
Ddictobject.c413 if ((d)->ma_keys->dk_lookup == lookdict_unicode_nodummy) { \
414 (d)->ma_keys->dk_lookup = lookdict_unicode; \
545 dk->dk_lookup = lookdict_unicode_nodummy; in new_keys_object()
792 mp->ma_keys->dk_lookup = lookdict; in lookdict_unicode()
835 mp->ma_keys->dk_lookup = lookdict; in lookdict_unicode_nodummy()
917 if (((PyDictObject *)dict)->ma_keys->dk_lookup != lookdict) in _PyDict_HasOnlyStringKeys()
1015 Py_ssize_t ix = mp->ma_keys->dk_lookup(mp, key, hash, &old_value); in insertdict()
1019 assert(PyUnicode_CheckExact(key) || mp->ma_keys->dk_lookup == lookdict); in insertdict()
1148 if (oldkeys->dk_lookup == lookdict) in dictresize()
1149 mp->ma_keys->dk_lookup = lookdict; in dictresize()
[all …]
Ddict-common.h41 dict_lookup_func dk_lookup; member
Dodictobject.c536 ix = (keys->dk_lookup)((PyDictObject *)od, key, hash, &value); in _odict_get_index_raw()