Lines Matching refs:dk_nentries

454     assert(0 <= keys->dk_nentries  in _PyDict_CheckConsistency()
455 && keys->dk_nentries <= usable); in _PyDict_CheckConsistency()
456 assert(keys->dk_usable + keys->dk_nentries <= usable); in _PyDict_CheckConsistency()
546 dk->dk_nentries = 0; in new_keys_object()
557 for (i = 0, n = keys->dk_nentries; i < n; i++) { in free_keys_object()
639 Py_ssize_t n = keys->dk_nentries; in clone_combined_dict()
948 numentries = mp->ma_keys->dk_nentries; in _PyDict_MaybeUntrack()
1027 (ix == DKIX_EMPTY && mp->ma_used != mp->ma_keys->dk_nentries))) { in insertdict()
1042 ep = &DK_ENTRIES(mp->ma_keys)[mp->ma_keys->dk_nentries]; in insertdict()
1043 dk_set_index(mp->ma_keys, hashpos, mp->ma_keys->dk_nentries); in insertdict()
1047 assert (mp->ma_values[mp->ma_keys->dk_nentries] == NULL); in insertdict()
1048 mp->ma_values[mp->ma_keys->dk_nentries] = value; in insertdict()
1056 mp->ma_keys->dk_nentries++; in insertdict()
1177 if (oldkeys->dk_nentries == numentries) { in dictresize()
1202 mp->ma_keys->dk_nentries = numentries; in dictresize()
1636 n = oldkeys->dk_nentries; in PyDict_Clear()
1676 Py_ssize_t n = mp->ma_keys->dk_nentries; in _PyDict_Next()
1904 for (i = 0, n = mp->ma_keys->dk_nentries; i < n; i++) { in dict_dealloc()
2087 size = mp->ma_keys->dk_nentries; in dict_keys()
2131 size = mp->ma_keys->dk_nentries; in dict_values()
2189 size = mp->ma_keys->dk_nentries; in dict_items()
2405 for (i = 0, n = other->ma_keys->dk_nentries; i < n; i++) { in dict_merge()
2441 if (n != other->ma_keys->dk_nentries) { in dict_merge()
2574 (mp->ma_used >= (mp->ma_keys->dk_nentries * 2) / 3)) in PyDict_Copy()
2655 for (i = 0; i < a->ma_keys->dk_nentries; i++) { in dict_equal()
2809 (ix == DKIX_EMPTY && mp->ma_used != mp->ma_keys->dk_nentries))) { in PyDict_SetDefault()
2826 ep = &ep0[mp->ma_keys->dk_nentries]; in PyDict_SetDefault()
2827 dk_set_index(mp->ma_keys, hashpos, mp->ma_keys->dk_nentries); in PyDict_SetDefault()
2834 assert(mp->ma_values[mp->ma_keys->dk_nentries] == NULL); in PyDict_SetDefault()
2835 mp->ma_values[mp->ma_keys->dk_nentries] = value; in PyDict_SetDefault()
2843 mp->ma_keys->dk_nentries++; in PyDict_SetDefault()
2939 i = mp->ma_keys->dk_nentries - 1; in dict_popitem()
2956 mp->ma_keys->dk_nentries = i; in dict_popitem()
2969 Py_ssize_t i, n = keys->dk_nentries; in dict_traverse()
3426 Py_ssize_t n = k->dk_nentries; in dictiter_iternextkey()
3507 Py_ssize_t n = d->ma_keys->dk_nentries; in dictiter_iternextvalue()
3589 Py_ssize_t n = d->ma_keys->dk_nentries; in dictiter_iternextitem()