Lines Matching refs:used
7 The basic lookup function used by all operations.
38 /* Object used as dummy key to fill deleted entries */
165 so->used++;
172 so->used++;
177 return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);
189 Internal routine used by set_table_resize() to insert an item which is
194 the setobject's fill and used fields.
258 if (so->fill == so->used) {
268 assert(so->fill > so->used);
290 if (so->fill == so->used) {
297 so->fill = so->used;
338 so->used--;
390 so->used = 0;
402 Py_ssize_t used = so->used;
433 for (entry = table; used > 0; entry++) {
435 used--;
486 Py_ssize_t used = so->used;
494 for (entry = so->table; used > 0; entry++) {
496 used--;
519 if (!so->used) {
554 return ((PySetObject *)so)->used;
570 if (other == so || other->used == 0)
577 if ((so->fill + other->used)*5 >= so->mask*3) {
578 if (set_table_resize(so, (so->used + other->used)*2) != 0)
586 if (so->fill == 0 && so->mask == other->mask && other->fill == other->used) {
597 so->used = other->used;
605 so->fill = other->used;
606 so->used = other->used;
637 if (so->used == 0) {
649 so->used--;
713 if ((so->fill - so->used) & 1)
761 if (si->si_set != NULL && si->si_used == si->si_set->used)
805 if (si->si_used != so->used) {
873 si->si_used = so->used;
875 si->len = so->used;
901 if (set_table_resize(so, (so->used + dictsize)*2) != 0)
962 so->used = 0;
1067 t = a->used; a->used = b->used; b->used = t;
1458 if ((size_t)(so->fill - so->used) <= (size_t)so->mask / 4)
1460 return set_table_resize(so, so->used>50000 ? so->used*2 : so->used*4);