Lines Matching refs:dk_size
299 #define DK_SIZE(dk) ((dk)->dk_size)
315 #define DK_MASK(dk) (((dk)->dk_size)-1)
506 Py_ssize_t usable = USABLE_FRACTION(keys->dk_size); in _PyDict_CheckConsistency()
509 CHECK(IS_POWER_OF_2(keys->dk_size)); in _PyDict_CheckConsistency()
523 for (i=0; i < keys->dk_size; i++) { in _PyDict_CheckConsistency()
612 dk->dk_size = size; in new_keys_object()
635 if (keys->dk_size == PyDict_MINSIZE && state->keys_numfree < PyDict_MAXFREELIST) { in free_keys_object()
1300 if (oldkeys->dk_size == PyDict_MINSIZE && in dictresize()
2581 (okeys->dk_size == PyDict_MINSIZE || in dict_merge()
2582 USABLE_FRACTION(okeys->dk_size/2) < other->ma_used)) { in dict_merge()
2613 if (USABLE_FRACTION(mp->ma_keys->dk_size) < other->ma_used) { in dict_merge()