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.c795 #define INDEX2SIZE(I) (((uint)(I) + 1) << ALIGNMENT_SHIFT) macro
960 #define NUMBLOCKS(I) ((uint)(POOL_SIZE - POOL_OVERHEAD) / INDEX2SIZE(I))
1428 pool->nextoffset += INDEX2SIZE(size); in pymalloc_alloc()
1523 size = INDEX2SIZE(size); in pymalloc_alloc()
1884 size = INDEX2SIZE(pool->szidx); in pymalloc_realloc()
2607 uint size = INDEX2SIZE(i); in _PyObject_DebugMallocStats()