Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dobmalloc.c309 uint nfreepools; member
643 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE; in new_arena()
644 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE); in new_arena()
647 --arenaobj->nfreepools; in new_arena()
650 arenaobj->ntotalpools = arenaobj->nfreepools; in new_arena()
890 --usable_arenas->nfreepools; in PyObject_Malloc()
891 if (usable_arenas->nfreepools == 0) { in PyObject_Malloc()
950 assert(usable_arenas->nfreepools > 0); in PyObject_Malloc()
959 --usable_arenas->nfreepools; in PyObject_Malloc()
961 if (usable_arenas->nfreepools == 0) { in PyObject_Malloc()
[all …]
/external/python/cpython3/Objects/
Dobmalloc.c926 uint nfreepools; member
1259 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE; in new_arena()
1260 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE); in new_arena()
1263 --arenaobj->nfreepools; in new_arena()
1266 arenaobj->ntotalpools = arenaobj->nfreepools; in new_arena()
1473 --usable_arenas->nfreepools; in pymalloc_alloc()
1474 if (usable_arenas->nfreepools == 0) { in pymalloc_alloc()
1533 assert(usable_arenas->nfreepools > 0); in pymalloc_alloc()
1542 --usable_arenas->nfreepools; in pymalloc_alloc()
1544 if (usable_arenas->nfreepools == 0) { in pymalloc_alloc()
[all …]