Home
last modified time | relevance | path

Searched refs:largeObj (Results 1 – 5 of 5) sorted by relevance

/oneTBB/src/tbbmalloc/
H A Dtbbmalloc_internal.h309 uint16_t largeObj:1; // is this object "large"?
312 BackRefIdx() : main(invalid), largeObj(0), offset(0) {}
314 bool isLargeObject() const { return largeObj; }
324 idx.largeObj = ptr->largeObj;
336 static BackRefIdx newBackRef(bool largeObj);
H A Dbackref.cpp261 BackRefIdx BackRefIdx::newBackRef(bool largeObj) in newBackRef() argument
315 if (largeObj) res.largeObj = largeObj; in newBackRef()
/oneTBB/test/tbbmalloc/
H A Dtest_malloc_whitebox.cpp316 hdr->backRefIdx.largeObj = 1; in operator ()()
488 void *largeObj = pool_malloc(fixedPool, minLargeObjectSize); in TestPools() local
489 REQUIRE_MESSAGE(largeObj, "Memory was not allocated"); in TestPools()
490 memset(largeObj, 1, minLargeObjectSize); in TestPools()
496 pool_free(fixedPool, largeObj); in TestPools()
602 for (int largeObj = 0; largeObj<2; largeObj++) { in TestObjectRecognition() local
603 falseBlock->backRefIdx.largeObj = largeObj; in TestObjectRecognition()
604 headerLO->backRefIdx.largeObj = largeObj; in TestObjectRecognition()
H A Dtest_malloc_overload.cpp139 uint16_t largeObj:1; // is this object "large"? member in BackRefIdx
144 bool isLargeObject() const { return largeObj; } in isLargeObject()
149 static BackRefIdx newBackRef(bool largeObj);
H A Dtest_malloc_pools.cpp449 void *largeObj = pool_malloc(pool, maxSz); in TestFixedBufferPool() local
450 REQUIRE(largeObj); in TestFixedBufferPool()
456 pool_free(pool, largeObj); in TestFixedBufferPool()
458 largeObj = pool_malloc(pool, maxSz-512*1024); in TestFixedBufferPool()
459 REQUIRE(largeObj); in TestFixedBufferPool()
461 pool_free(pool, largeObj); in TestFixedBufferPool()