Searched refs:dk_size (Results 1 – 4 of 4) sorted by relevance
26 Py_ssize_t dk_size; member
295 #define DK_SIZE(dk) ((dk)->dk_size)311 #define DK_MASK(dk) (((dk)->dk_size)-1)480 Py_ssize_t usable = USABLE_FRACTION(keys->dk_size); in _PyDict_CheckConsistency()483 CHECK(IS_POWER_OF_2(keys->dk_size)); in _PyDict_CheckConsistency()497 for (i=0; i < keys->dk_size; i++) { in _PyDict_CheckConsistency()582 dk->dk_size = size; in new_keys_object()601 if (keys->dk_size == PyDict_MINSIZE && numfreekeys < PyDict_MAXFREELIST) { in free_keys_object()1277 if (oldkeys->dk_size == PyDict_MINSIZE && in dictresize()2528 if (USABLE_FRACTION(mp->ma_keys->dk_size) < other->ma_used) { in dict_merge()
556 size = ((PyDictObject *)od)->ma_keys->dk_size; in _odict_resize()595 od->od_fast_nodes_size != keys->dk_size) { in _odict_get_index()
724 dk_size = int(keys['dk_size'])727 return keys['dk_entries'], dk_size732 if dk_size <= 0xFF:733 offset = dk_size734 elif dk_size <= 0xFFFF:735 offset = 2 * dk_size736 elif dk_size <= 0xFFFFFFFF:737 offset = 4 * dk_size739 offset = 8 * dk_size