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.c812 #define SMALL_REQUEST_THRESHOLD 512 macro
813 #define NB_SMALL_SIZE_CLASSES (SMALL_REQUEST_THRESHOLD / ALIGNMENT)
1399 if (nbytes > SMALL_REQUEST_THRESHOLD) { 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()
2544 SMALL_REQUEST_THRESHOLD, numclasses); in _PyObject_DebugMallocStats()