Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dobmalloc.c337 #define POOL_OVERHEAD ROUNDUP(sizeof(struct pool_header)) macro
345 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))
940 bp = (block *)pool + POOL_OVERHEAD; in PyObject_Malloc()
941 pool->nextoffset = POOL_OVERHEAD + (size << 1); in PyObject_Malloc()
1897 pool_header_bytes += p * POOL_OVERHEAD; in _PyObject_DebugMallocStats()
1898 quantization += p * ((POOL_SIZE - POOL_OVERHEAD) % size); in _PyObject_DebugMallocStats()
/external/python/cpython3/Objects/
Dobmalloc.c993 #define POOL_OVERHEAD _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT) macro
1001 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))
1573 bp = (block *)pool + POOL_OVERHEAD; in allocate_from_new_pool()
1574 pool->nextoffset = POOL_OVERHEAD + (size << 1); in allocate_from_new_pool()
2704 pool_header_bytes += p * POOL_OVERHEAD; in _PyObject_DebugMallocStats()
2705 quantization += p * ((POOL_SIZE - POOL_OVERHEAD) % size); in _PyObject_DebugMallocStats()