Home
last modified time | relevance | path

Searched refs:numarenas (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dobmalloc.c570 uint numarenas; in new_arena() local
576 numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS; in new_arena()
577 if (numarenas <= maxarenas) in new_arena()
580 if (numarenas > PY_SIZE_MAX / sizeof(*arenas)) in new_arena()
583 nbytes = numarenas * sizeof(*arenas); in new_arena()
599 for (i = maxarenas; i < numarenas; ++i) { in new_arena()
601 arenas[i].nextarena = i < numarenas - 1 ? in new_arena()
607 maxarenas = numarenas; in new_arena()
/external/python/cpython3/Objects/
Dobmalloc.c1259 uint numarenas; in new_arena() local
1265 numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS; in new_arena()
1266 if (numarenas <= maxarenas) in new_arena()
1269 if (numarenas > SIZE_MAX / sizeof(*arenas)) in new_arena()
1272 nbytes = numarenas * sizeof(*arenas); in new_arena()
1288 for (i = maxarenas; i < numarenas; ++i) { in new_arena()
1290 arenas[i].nextarena = i < numarenas - 1 ? in new_arena()
1296 maxarenas = numarenas; in new_arena()