Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dobmalloc.c286 uint arenaindex; /* index into arenas of base adr */ member
738 ((arenaindex_temp = (POOL)->arenaindex) < maxarenas && \
955 pool->arenaindex = usable_arenas - arenas; in PyObject_Malloc()
956 assert(&arenas[pool->arenaindex] == usable_arenas); in PyObject_Malloc()
1050 ao = &arenas[pool->arenaindex]; in PyObject_Free()
1937 uint arenaindex_temp = pool->arenaindex; in Py_ADDRESS_IN_RANGE()
/external/python/cpython3/Objects/
Dobmalloc.c944 uint arenaindex; /* index into arenas of base adr */ member
1420 uint arenaindex = *((volatile uint *)&pool->arenaindex); in address_in_range() local
1421 return arenaindex < maxarenas && in address_in_range()
1422 (uintptr_t)p - arenas[arenaindex].address < ARENA_SIZE && in address_in_range()
1423 arenas[arenaindex].address != 0; in address_in_range()
1529 pool->arenaindex = (uint)(usable_arenas - arenas); in allocate_from_new_pool()
1530 assert(&arenas[pool->arenaindex] == usable_arenas); in allocate_from_new_pool()
1700 struct arena_object *ao = &arenas[pool->arenaindex]; in insert_to_freepool()