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.c1195 uint numarenas; in new_arena() local
1201 numarenas = maxarenas ? maxarenas << 1 : INITIAL_ARENA_OBJECTS; in new_arena()
1202 if (numarenas <= maxarenas) in new_arena()
1205 if (numarenas > SIZE_MAX / sizeof(*arenas)) in new_arena()
1208 nbytes = numarenas * sizeof(*arenas); in new_arena()
1224 for (i = maxarenas; i < numarenas; ++i) { in new_arena()
1226 arenas[i].nextarena = i < numarenas - 1 ? in new_arena()
1232 maxarenas = numarenas; in new_arena()