Home
last modified time | relevance | path

Searched refs:ma_keys (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Objects/
H A Ddictobject.c511 PyDictKeysObject *keys = mp->ma_keys; in _PyDict_CheckConsistency()
746 mp->ma_keys = keys; in new_dict()
787 assert(orig->ma_keys->dk_refcnt == 1); in clone_combined_dict_keys()
789 Py_ssize_t keys_size = _PyDict_KeysSize(orig->ma_keys); in clone_combined_dict_keys()
796 memcpy(keys, orig->ma_keys, keys_size); in clone_combined_dict_keys()
803 if (DK_IS_UNICODE(orig->ma_keys)) { in clone_combined_dict_keys()
892 if (dk == mp->ma_keys && ep->me_key == startkey) { in unicodekeys_lookup_generic()
981 if (dk == mp->ma_keys && ep->me_key == startkey) { in dictkeys_generic_lookup()
1048 dk = mp->ma_keys; in _Py_dict_lookup()
1097 if (((PyDictObject *)dict)->ma_keys in _PyDict_HasOnlyStringKeys()
[all...]
H A Dodictobject.c533 PyDictKeysObject *keys = ((PyDictObject *)od)->ma_keys; in _odict_get_index_raw()
556 size = ONE << (((PyDictObject *)od)->ma_keys->dk_log2_size); in _odict_resize()
580 od->od_resize_sentinel = ((PyDictObject *)od)->ma_keys; in _odict_resize()
591 keys = ((PyDictObject *)od)->ma_keys; in _odict_get_index()
/third_party/python/Include/cpython/
H A Ddictobject.h21 PyDictKeysObject *ma_keys; member
24 are stored in ma_keys.
27 keys are stored in ma_keys and values are stored in ma_values */
/third_party/python/Python/
H A Dceval.c1504 DEOPT_IF(dict->ma_keys->dk_version != read_u32(cache->version), \
1506 assert(dict->ma_keys->dk_kind == DICT_KEYS_UNICODE); \
1507 assert(cache->index < dict->ma_keys->dk_nentries); \
1508 PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dict->ma_keys) + cache->index; \
3076 DEOPT_IF(dict->ma_keys->dk_version != version, LOAD_GLOBAL);
3077 assert(DK_IS_UNICODE(dict->ma_keys));
3078 PyDictUnicodeEntry *entries = DK_UNICODE_ENTRIES(dict->ma_keys);
3100 DEOPT_IF(mdict->ma_keys->dk_version != mod_version, LOAD_GLOBAL);
3101 DEOPT_IF(bdict->ma_keys->dk_version != bltn_version, LOAD_GLOBAL);
3102 assert(DK_IS_UNICODE(bdict->ma_keys));
[all...]
H A Dspecialize.c498 if (dict->ma_keys->dk_kind != DICT_KEYS_UNICODE) { in specialize_module_load_attr()
515 uint32_t keys_version = _PyDictKeys_GetVersionForCurrentState(dict->ma_keys); in specialize_module_load_attr()
986 keys = ((PyDictObject *)dict)->ma_keys; in _Py_Specialize_LoadMethod()
1061 PyDictKeysObject * globals_keys = ((PyDictObject *)globals)->ma_keys; in _Py_Specialize_LoadGlobal()
1087 PyDictKeysObject * builtin_keys = ((PyDictObject *)builtins)->ma_keys; in _Py_Specialize_LoadGlobal()

Completed in 18 milliseconds