Home
last modified time | relevance | path

Searched refs:minLargeObjectSize (Results 1 – 4 of 4) sorted by relevance

/oneTBB/test/tbbmalloc/
H A Dtest_malloc_overload.cpp190 const uint32_t minLargeObjectSize = fittingSize5 + 1; variable
202 if (size >= minLargeObjectSize) { in scalableMallocCheckSize()
218 void *ptr = malloc_p(minLargeObjectSize); in CheckStdFuncOverload()
219 scalableMallocCheckSize(ptr, minLargeObjectSize); in CheckStdFuncOverload()
222 ptr = calloc_p(minLargeObjectSize, 2); in CheckStdFuncOverload()
234 void *ptr = memalign_p(128, 4*minLargeObjectSize); in CheckMemalignFuncOverload()
242 void *ptr = valloc_p(minLargeObjectSize); in CheckVallocFuncOverload()
243 scalableMallocCheckSize(ptr, minLargeObjectSize); in CheckVallocFuncOverload()
327 char f[minLargeObjectSize];
483 ptr = _aligned_malloc(minLargeObjectSize, 16);
[all …]
H A Dtest_malloc_whitebox.cpp156 AllocInfo((int)(4*minLargeObjectSize + in operator ()()
174 (int)(minLargeObjectSize + 2*minLargeObjectSize*(1.*rand()/RAND_MAX)); in TestLargeObjectCache()
198 blocks1[i].sz = rand() % minLargeObjectSize; in operator ()()
205 blocks2[i].sz = rand() % minLargeObjectSize; in operator ()()
324 p2 = scalable_malloc(minLargeObjectSize-1); in operator ()()
426 for (size_t sz=minLargeObjectSize; sz<1*1024*1024; in operator ()()
468 anotherLOCBinSz = minLargeObjectSize+1; in TestPools()
490 memset(largeObj, 1, minLargeObjectSize); in TestPools()
491 ptr = pool_malloc(fixedPool, minLargeObjectSize); in TestPools()
493 memset(ptr, minLargeObjectSize, minLargeObjectSize); in TestPools()
[all …]
/oneTBB/src/tbbmalloc/
H A Dfrontend.cpp378 MALLOC_ASSERT(isStartupAllocObject() || objectSize<minLargeObjectSize, in getSize()
532 const uint32_t minLargeObjectSize = fittingSize5 + 1; variable
2171 MALLOC_ASSERT(size>0 && size<minLargeObjectSize, ASSERT_TEXT); in findObjectSize()
2378 else if (size<minLargeObjectSize) { in allocateAligned()
2381 else if (size+alignment < minLargeObjectSize) { in allocateAligned()
2562 if (size >= minLargeObjectSize) in internalPoolMalloc()
2642 if (size >= minLargeObjectSize || isLargeObject<ourMem>(object)) in internalPoolFree()
2655 return size<minLargeObjectSize? StartupBlock::allocate(size) : in internalMalloc()
H A Dtbbmalloc_internal.h145 extern const uint32_t minLargeObjectSize;