Lines Matching refs:NUM_GENERATIONS
137 struct gc_generation generations[NUM_GENERATIONS] = { in _PyGC_InitState()
143 for (int i = 0; i < NUM_GENERATIONS; i++) { in _PyGC_InitState()
1044 for (int i = 0; i < NUM_GENERATIONS && pos < sizeof(buf); i++) { in show_stats_each_generations()
1194 if (generation+1 < NUM_GENERATIONS) in collect()
1206 if (generation < NUM_GENERATIONS-1) in collect()
1217 if (generation == NUM_GENERATIONS - 2) { in collect()
1299 if (generation == NUM_GENERATIONS-1) { in collect()
1401 for (int i = NUM_GENERATIONS-1; i >= 0; i--) { in collect_generations()
1439 if (i == NUM_GENERATIONS - 1 in collect_generations()
1518 if (generation < 0 || generation >= NUM_GENERATIONS) { in gc_collect_impl()
1596 for (int i = 3; i < NUM_GENERATIONS; i++) { in gc_set_threshold()
1683 for (i = 0; i < NUM_GENERATIONS; i++) { in gc_get_referrers()
1756 if (generation >= NUM_GENERATIONS) { in gc_get_objects_impl()
1760 NUM_GENERATIONS); in gc_get_objects_impl()
1778 for (i = 0; i < NUM_GENERATIONS; i++) { in gc_get_objects_impl()
1801 struct gc_generation_stats stats[NUM_GENERATIONS], *st; in gc_get_stats_impl()
1807 for (i = 0; i < NUM_GENERATIONS; i++) { in gc_get_stats_impl()
1815 for (i = 0; i < NUM_GENERATIONS; i++) { in gc_get_stats_impl()
1899 for (int i = 0; i < NUM_GENERATIONS; ++i) { in gc_freeze_impl()
1921 GEN_HEAD(gcstate, NUM_GENERATIONS-1)); in gc_unfreeze_impl()
2063 n = collect_with_callback(tstate, NUM_GENERATIONS - 1); in PyGC_Collect()
2097 n = collect(tstate, NUM_GENERATIONS - 1, NULL, NULL, 1); in _PyGC_CollectNoFail()