Home
last modified time | relevance | path

Searched refs:dk_usable (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Objects/
Ddict-common.h44 Py_ssize_t dk_usable; member
Ddictobject.c452 assert(0 <= keys->dk_usable in _PyDict_CheckConsistency()
453 && keys->dk_usable <= usable); in _PyDict_CheckConsistency()
456 assert(keys->dk_usable + keys->dk_nentries <= usable); in _PyDict_CheckConsistency()
544 dk->dk_usable = usable; in new_keys_object()
1036 if (mp->ma_keys->dk_usable <= 0) { in insertdict()
1055 mp->ma_keys->dk_usable--; in insertdict()
1057 assert(mp->ma_keys->dk_usable >= 0); in insertdict()
1147 assert(mp->ma_keys->dk_usable >= mp->ma_used); in dictresize()
1201 mp->ma_keys->dk_usable -= numentries; in dictresize()
2819 if (mp->ma_keys->dk_usable <= 0) { in PyDict_SetDefault()
[all …]