Home
last modified time | relevance | path

Searched refs:NUM_GENERATIONS (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Modules/
Dgcmodule.c145 struct gc_generation generations[NUM_GENERATIONS] = { in _PyGC_InitState()
151 for (int i = 0; i < NUM_GENERATIONS; i++) { in _PyGC_InitState()
1057 for (int i = 0; i < NUM_GENERATIONS && pos < sizeof(buf); i++) { in show_stats_each_generations()
1221 if (generation+1 < NUM_GENERATIONS) in gc_collect_main()
1233 if (generation < NUM_GENERATIONS-1) in gc_collect_main()
1244 if (generation == NUM_GENERATIONS - 2) { in gc_collect_main()
1325 if (generation == NUM_GENERATIONS-1) { in gc_collect_main()
1427 for (int i = NUM_GENERATIONS-1; i >= 0; i--) { in gc_collect_generations()
1465 if (i == NUM_GENERATIONS - 1 in gc_collect_generations()
1538 if (generation < 0 || generation >= NUM_GENERATIONS) { in gc_collect_impl()
[all …]
/third_party/python/Include/internal/
Dpycore_gc.h71 #define NUM_GENERATIONS 3 macro
140 struct gc_generation generations[NUM_GENERATIONS];
144 struct gc_generation_stats generation_stats[NUM_GENERATIONS];
/third_party/python/Modules/clinic/
Dgcmodule.c.h95 int generation = NUM_GENERATIONS - 1; in gc_collect()