Home
last modified time | relevance | path

Searched refs:dk_size (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Objects/
Ddict-common.h26 Py_ssize_t dk_size; member
Ddictobject.c289 #define DK_SIZE(dk) ((dk)->dk_size)
310 #define DK_MASK(dk) (((dk)->dk_size)-1)
444 Py_ssize_t usable = USABLE_FRACTION(keys->dk_size); in _PyDict_CheckConsistency()
451 assert(IS_POWER_OF_2(keys->dk_size)); in _PyDict_CheckConsistency()
464 for (i=0; i < keys->dk_size; i++) { in _PyDict_CheckConsistency()
543 dk->dk_size = size; in new_keys_object()
561 if (keys->dk_size == PyDict_MINSIZE && numfreekeys < PyDict_MAXFREELIST) { in free_keys_object()
1191 if (oldkeys->dk_size == PyDict_MINSIZE && in dictresize()
2399 if (USABLE_FRACTION(mp->ma_keys->dk_size) < other->ma_used) { in dict_merge()
Dodictobject.c554 size = ((PyDictObject *)od)->ma_keys->dk_size; in _odict_resize()
593 od->od_fast_nodes_size != keys->dk_size) { in _odict_get_index()
/external/python/cpython3/Tools/gdb/
Dlibpython.py722 dk_size = int(keys['dk_size'])
725 return keys['dk_entries'], dk_size
730 if dk_size <= 0xFF:
731 offset = dk_size
732 elif dk_size <= 0xFFFF:
733 offset = 2 * dk_size
734 elif dk_size <= 0xFFFFFFFF:
735 offset = 4 * dk_size
737 offset = 8 * dk_size