Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dobmalloc.c158 #define ALIGNMENT_SHIFT 3 macro
162 #define INDEX2SIZE(I) (((uint)(I) + 1) << ALIGNMENT_SHIFT)
821 size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT; in PyObject_Malloc()
1796 const uint numclasses = SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT; in _PyObject_DebugMallocStats()
1798 size_t numpools[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats()
1799 size_t numblocks[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats()
1800 size_t numfreeblocks[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats()
/external/python/cpython3/Objects/
Dobmalloc.c848 #define ALIGNMENT_SHIFT 4 macro
851 #define ALIGNMENT_SHIFT 3 macro
855 #define INDEX2SIZE(I) (((uint)(I) + 1) << ALIGNMENT_SHIFT)
1608 uint size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT; in pymalloc_alloc()
2602 const uint numclasses = SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT; in _PyObject_DebugMallocStats()
2604 size_t numpools[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats()
2605 size_t numblocks[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats()
2606 size_t numfreeblocks[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats()