Lines Matching refs:DK_SIZE
289 #define DK_SIZE(dk) ((dk)->dk_size) macro
292 (DK_SIZE(dk) <= 0xff ? \
293 1 : DK_SIZE(dk) <= 0xffff ? \
294 2 : DK_SIZE(dk) <= 0xffffffff ? \
298 (DK_SIZE(dk) <= 0xff ? \
299 1 : DK_SIZE(dk) <= 0xffff ? \
303 ((PyDictKeyEntry*)(&((int8_t*)((dk)->dk_indices))[DK_SIZE(dk) * DK_IXSIZE(dk)]))
317 Py_ssize_t s = DK_SIZE(keys); in dk_get_index()
346 Py_ssize_t s = DK_SIZE(keys); in dk_set_index()
606 size = USABLE_FRACTION(DK_SIZE(keys)); in new_dict_with_shared_keys()
1093 size_t mask = (size_t)DK_SIZE(keys) - 1; in build_indices()
1226 if (dictresize(mp, DK_SIZE(mp->ma_keys))) in make_keys_shared()
1232 size = USABLE_FRACTION(DK_SIZE(mp->ma_keys)); in make_keys_shared()
1549 if (dictresize(mp, DK_SIZE(mp->ma_keys))) { in _PyDict_DelItem_KnownHash()
1592 if (dictresize(mp, DK_SIZE(mp->ma_keys))) { in _PyDict_DelItemIf()
1756 if (dictresize(mp, DK_SIZE(mp->ma_keys))) { in _PyDict_Pop_KnownHash()
2548 Py_ssize_t size = USABLE_FRACTION(DK_SIZE(mp->ma_keys)); in PyDict_Copy()
2930 if (dictresize(mp, DK_SIZE(mp->ma_keys))) { in dict_popitem()
3008 size = DK_SIZE(mp->ma_keys); in _PyDict_SizeOf()
3027 + DK_IXSIZE(keys) * DK_SIZE(keys) in _PyDict_KeysSize()
3028 + USABLE_FRACTION(DK_SIZE(keys)) * sizeof(PyDictKeyEntry)); in _PyDict_KeysSize()