Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dobmalloc.c162 #define INDEX2SIZE(I) (((uint)(I) + 1) << ALIGNMENT_SHIFT) macro
345 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))
842 pool->nextoffset += INDEX2SIZE(size); in PyObject_Malloc()
939 size = INDEX2SIZE(size); in PyObject_Malloc()
1255 size = INDEX2SIZE(pool->szidx); in PyObject_Realloc()
1885 uint size = INDEX2SIZE(i); in _PyObject_DebugMallocStats()
/external/python/cpython3/Objects/
Dobmalloc.c855 #define INDEX2SIZE(I) (((uint)(I) + 1) << ALIGNMENT_SHIFT) macro
1001 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))
1437 pool->nextoffset += INDEX2SIZE(size); in pymalloc_pool_extend()
1572 size = INDEX2SIZE(size); in allocate_from_new_pool()
1971 size = INDEX2SIZE(pool->szidx); in pymalloc_realloc()
2692 uint size = INDEX2SIZE(i); in _PyObject_DebugMallocStats()