Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Ddictobject.c217 (mp)->ma_used = (mp)->ma_fill = 0; \
270 assert (mp->ma_used == 0); in PyDict_New()
532 mp->ma_used++; in insertdict_by_entry()
589 mp->ma_used++; in insertdict_clean()
627 if (mp->ma_fill == mp->ma_used) { in dictresize()
637 assert(mp->ma_fill > mp->ma_used); in dictresize()
655 mp->ma_used = 0; in dictresize()
791 n_used = mp->ma_used; in dict_set_item_by_hash_or_entry()
816 if (!(mp->ma_used > n_used && mp->ma_fill*3 >= (mp->ma_mask+1)*2)) in dict_set_item_by_hash_or_entry()
818 return dictresize(mp, (mp->ma_used > 50000 ? 2 : 4) * mp->ma_used); in dict_set_item_by_hash_or_entry()
[all …]
/external/python/cpython2/Include/
Ddictobject.h73 Py_ssize_t ma_used; /* # Active */ member