Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dobmalloc.c179 #define SMALL_REQUEST_THRESHOLD 512 macro
180 #define NB_SMALL_SIZE_CLASSES (SMALL_REQUEST_THRESHOLD / ALIGNMENT)
816 if ((nbytes - 1) < SMALL_REQUEST_THRESHOLD) { 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()
1823 SMALL_REQUEST_THRESHOLD, numclasses); in _PyObject_DebugMallocStats()
/external/python/cpython3/Objects/
Dobmalloc.c872 #define SMALL_REQUEST_THRESHOLD 512 macro
873 #define NB_SMALL_SIZE_CLASSES (SMALL_REQUEST_THRESHOLD / ALIGNMENT)
1604 if (UNLIKELY(nbytes > SMALL_REQUEST_THRESHOLD)) { 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()
2629 SMALL_REQUEST_THRESHOLD, numclasses); in _PyObject_DebugMallocStats()