Home
last modified time | relevance | path

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

/third_party/python/Objects/
Ddict-common.h26 Py_ssize_t dk_size; member
Ddictobject.c299 #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()
[all …]
Dodictobject.c556 size = ((PyDictObject *)od)->ma_keys->dk_size; in _odict_resize()
595 od->od_fast_nodes_size != keys->dk_size) { in _odict_get_index()
/third_party/python/Tools/gdb/
Dlibpython.py733 dk_size = int(keys['dk_size'])
736 return keys['dk_entries'], dk_size
741 if dk_size <= 0xFF:
742 offset = dk_size
743 elif dk_size <= 0xFFFF:
744 offset = 2 * dk_size
745 elif dk_size <= 0xFFFFFFFF:
746 offset = 4 * dk_size
748 offset = 8 * dk_size