Home
last modified time | relevance | path

Searched refs:POOL_SIZE (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Objects/
Dobmalloc.c227 #define POOL_SIZE SYSTEM_PAGE_SIZE /* must be 2^N */ macro
345 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))
643 arenaobj->nfreepools = ARENA_SIZE / POOL_SIZE; in new_arena()
644 assert(POOL_SIZE * arenaobj->nfreepools == ARENA_SIZE); in new_arena()
648 arenaobj->pool_address += POOL_SIZE - excess; in new_arena()
913 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()
942 pool->maxnextoffset = POOL_SIZE - size; in PyObject_Malloc()
954 ARENA_SIZE - POOL_SIZE); in PyObject_Malloc()
958 usable_arenas->pool_address += POOL_SIZE; in PyObject_Malloc()
1845 arena_alignment += POOL_SIZE; in _PyObject_DebugMallocStats()
[all …]
/external/llvm-project/clang/lib/Sema/
DIdentifierResolver.cpp37 static const unsigned int POOL_SIZE = 512; member in IdentifierResolver::IdDeclInfoMap
44 IdDeclInfo Pool[POOL_SIZE];
50 unsigned int CurIndex = POOL_SIZE;
403 if (CurIndex == POOL_SIZE) { in operator []()
/external/clang/lib/Sema/
DIdentifierResolver.cpp32 static const unsigned int POOL_SIZE = 512; member in IdentifierResolver::IdDeclInfoMap
41 IdDeclInfo Pool[POOL_SIZE];
48 IdDeclInfoMap() : CurPool(nullptr), CurIndex(POOL_SIZE) {} in IdDeclInfoMap()
399 if (CurIndex == POOL_SIZE) { in operator []()
/external/python/cpython3/Objects/
Dobmalloc.c920 #define POOL_SIZE SYSTEM_PAGE_SIZE /* must be 2^N */ macro
923 #define MAX_POOLS_IN_ARENA (ARENA_SIZE / POOL_SIZE)
924 #if MAX_POOLS_IN_ARENA * POOL_SIZE != ARENA_SIZE
998 #define POOL_ADDR(P) ((poolp)_Py_ALIGN_DOWN((P), POOL_SIZE))
1001 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))
1224 uintptr_t base = (uintptr_t)_Py_ALIGN_UP(arenas[i].address, POOL_SIZE); in _Py_GetAllocatedBlocks()
1228 for (; base < (uintptr_t) arenas[i].pool_address; base += POOL_SIZE) { in _Py_GetAllocatedBlocks()
1327 arenaobj->pool_address += POOL_SIZE - excess; in new_arena()
1519 ARENA_SIZE - POOL_SIZE); in allocate_from_new_pool()
1528 ARENA_SIZE - POOL_SIZE); in allocate_from_new_pool()
[all …]
/external/python/pycparser/examples/c_files/
Dmemmgr.c42 static byte pool[POOL_SIZE] = {0};
66 if (pool_free_pos + total_req_size <= POOL_SIZE) in get_mem_from_pool()
Dmemmgr.h68 #define POOL_SIZE 8 * 1024 macro
/external/python/pycparser/tests/c_files/
Dmemmgr.c42 static byte pool[POOL_SIZE] = {0};
66 if (pool_free_pos + total_req_size <= POOL_SIZE) in get_mem_from_pool()
Dmemmgr.h68 #define POOL_SIZE 8 * 1024 macro
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/beta/
D_beta_features_test.py162 thread_pool_size=test_constants.POOL_SIZE)
180 thread_pool_size=test_constants.POOL_SIZE)
293 thread_pool_size=test_constants.POOL_SIZE)
303 thread_pool_size=test_constants.POOL_SIZE)
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/framework/common/
Dtest_constants.py45 POOL_SIZE = 10 variable