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.c792 #define ALIGNMENT_SHIFT 3 macro
795 #define INDEX2SIZE(I) (((uint)(I) + 1) << ALIGNMENT_SHIFT)
1407 size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT; in pymalloc_alloc()
2517 const uint numclasses = SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT; in _PyObject_DebugMallocStats()
2519 size_t numpools[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats()
2520 size_t numblocks[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats()
2521 size_t numfreeblocks[SMALL_REQUEST_THRESHOLD >> ALIGNMENT_SHIFT]; in _PyObject_DebugMallocStats()