• Home
  • Raw
  • Download

Lines Matching refs:ma_used

217     (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()
861 mp->ma_used--; in delitem_common()
1167 if (mp->ma_used == 0) { in dict_repr()
1236 return mp->ma_used; in dict_length()
1305 n = mp->ma_used; in dict_keys()
1309 if (n != mp->ma_used) { in dict_keys()
1339 n = mp->ma_used; in dict_values()
1343 if (n != mp->ma_used) { in dict_values()
1378 n = mp->ma_used; in dict_items()
1390 if (n != mp->ma_used) { in dict_items()
1432 if (PyDict_CheckExact(d) && ((PyDictObject *)d)->ma_used == 0) { in dict_fromkeys()
1440 if (dictresize(mp, ((PyDictObject *)seq)->ma_used / 2 * 3)) { in dict_fromkeys()
1651 if (other == mp || other->ma_used == 0) in PyDict_Merge()
1654 if (mp->ma_used == 0) in PyDict_Merge()
1664 if ((mp->ma_fill + other->ma_used)*3 >= (mp->ma_mask+1)*2) { in PyDict_Merge()
1665 if (dictresize(mp, (mp->ma_used + other->ma_used)*2) != 0) in PyDict_Merge()
1760 return ((PyDictObject *)mp)->ma_used; in PyDict_Size()
1882 if (a->ma_used < b->ma_used) in dict_compare()
1884 else if (a->ma_used > b->ma_used) in dict_compare()
1932 if (a->ma_used != b->ma_used) in dict_equal()
2096 if (mp->ma_used == 0) { in dict_pop()
2126 mp->ma_used--; in dict_pop()
2150 if (mp->ma_used == 0) { in dict_popitem()
2183 mp->ma_used--; in dict_popitem()
2415 assert(d->ma_table == NULL && d->ma_fill == 0 && d->ma_used == 0); in dict_new()
2561 di->di_used = dict->ma_used; in dictiter_new()
2563 di->len = dict->ma_used; in dictiter_new()
2599 if (di->di_dict != NULL && di->di_used == di->di_dict->ma_used) in dictiter_len()
2622 if (di->di_used != d->ma_used) { in dictiter_iternextkey()
2694 if (di->di_used != d->ma_used) { in dictiter_iternextvalue()
2766 if (di->di_used != d->ma_used) { in dictiter_iternextitem()
2879 len = dv->dv_dict->ma_used; in dictview_len()