Home
last modified time | relevance | path

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

/external/python/cpython3/Include/internal/
Dpycore_pymem.h19 #define NUM_GENERATIONS 3 macro
124 struct gc_generation generations[NUM_GENERATIONS];
128 struct gc_generation_stats generation_stats[NUM_GENERATIONS];
/external/python/cpython3/Modules/
Dgcmodule.c134 struct gc_generation generations[NUM_GENERATIONS] = { in _PyGC_Initialize()
140 for (int i = 0; i < NUM_GENERATIONS; i++) { in _PyGC_Initialize()
991 for (int i = 0; i < NUM_GENERATIONS && pos < sizeof(buf); i++) { in show_stats_each_generations()
1029 if (generation+1 < NUM_GENERATIONS) in collect()
1041 if (generation < NUM_GENERATIONS-1) in collect()
1069 if (generation == NUM_GENERATIONS - 2) { in collect()
1150 if (generation == NUM_GENERATIONS-1) { in collect()
1253 for (int i = NUM_GENERATIONS-1; i >= 0; i--) { in collect_generations()
1259 if (i == NUM_GENERATIONS - 1 in collect_generations()
1331 if (generation < 0 || generation >= NUM_GENERATIONS) { in gc_collect_impl()
[all …]
/external/python/cpython2/Modules/
Dgcmodule.c39 #define NUM_GENERATIONS 3 macro
43 static struct gc_generation generations[NUM_GENERATIONS] = {
891 for (i = 0; i < NUM_GENERATIONS; i++) in collect()
899 if (generation+1 < NUM_GENERATIONS) in collect()
911 if (generation < NUM_GENERATIONS-1) in collect()
935 if (generation == NUM_GENERATIONS - 2) { in collect()
1016 if (generation == NUM_GENERATIONS-1) { in collect()
1038 for (i = NUM_GENERATIONS-1; i >= 0; i--) { in collect_generations()
1044 if (i == NUM_GENERATIONS - 1 in collect_generations()
1103 int genarg = NUM_GENERATIONS - 1; in gc_collect()
[all …]
/external/clang/test/CodeGen/
Dunion-init.c22 #define NUM_GENERATIONS 3 macro
26 struct gc_generation generations[NUM_GENERATIONS] = {
/external/python/cpython3/Modules/clinic/
Dgcmodule.c.h95 int generation = NUM_GENERATIONS - 1; in gc_collect()