Lines Matching refs:DK_SIZE
299 #define DK_SIZE(dk) ((dk)->dk_size) macro
302 (DK_SIZE(dk) <= 0xff ? \
303 1 : DK_SIZE(dk) <= 0xffff ? \
304 2 : DK_SIZE(dk) <= 0xffffffff ? \
308 (DK_SIZE(dk) <= 0xff ? \
309 1 : DK_SIZE(dk) <= 0xffff ? \
313 ((PyDictKeyEntry*)(&((int8_t*)((dk)->dk_indices))[DK_SIZE(dk) * DK_IXSIZE(dk)]))
345 Py_ssize_t s = DK_SIZE(keys); in dictkeys_get_index()
374 Py_ssize_t s = DK_SIZE(keys); in dictkeys_set_index()
687 size = USABLE_FRACTION(DK_SIZE(keys)); in new_dict_with_shared_keys()
1197 size_t mask = (size_t)DK_SIZE(keys) - 1; in build_indices()
1336 if (dictresize(mp, DK_SIZE(mp->ma_keys))) in make_keys_shared()
1342 size = USABLE_FRACTION(DK_SIZE(mp->ma_keys)); in make_keys_shared()
1712 if (dictresize(mp, DK_SIZE(mp->ma_keys))) { in _PyDict_DelItem_KnownHash()
1755 if (dictresize(mp, DK_SIZE(mp->ma_keys))) { in _PyDict_DelItemIf()
1919 if (dictresize(mp, DK_SIZE(mp->ma_keys))) { in _PyDict_Pop_KnownHash()
2768 Py_ssize_t size = USABLE_FRACTION(DK_SIZE(mp->ma_keys)); in PyDict_Copy()
3198 if (dictresize(self, DK_SIZE(self->ma_keys))) { in dict_popitem_impl()
3276 size = DK_SIZE(mp->ma_keys); in _PyDict_SizeOf()
3295 + DK_IXSIZE(keys) * DK_SIZE(keys) in _PyDict_KeysSize()
3296 + USABLE_FRACTION(DK_SIZE(keys)) * sizeof(PyDictKeyEntry)); in _PyDict_KeysSize()