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.c952 #define POOL_OVERHEAD _Py_SIZE_ROUND_UP(sizeof(struct pool_header), ALIGNMENT) macro
960 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))
1524 bp = (block *)pool + POOL_OVERHEAD; in pymalloc_alloc()
1525 pool->nextoffset = POOL_OVERHEAD + (size << 1); in pymalloc_alloc()
2619 pool_header_bytes += p * POOL_OVERHEAD; in _PyObject_DebugMallocStats()
2620 quantization += p * ((POOL_SIZE - POOL_OVERHEAD) % size); in _PyObject_DebugMallocStats()