Lines Matching refs:result
192 …void* result = cache_aligned_allocate_handler.load(std::memory_order_acquire)(size, cache_line_siz… in cache_aligned_allocate() local
193 if (!result) { in cache_aligned_allocate()
196 __TBB_ASSERT(is_aligned(result, cache_line_size), "The returned address isn't aligned"); in cache_aligned_allocate()
197 return result; in cache_aligned_allocate()
223 std::uintptr_t result = (base + nfs_size) & ~(nfs_size - 1); in std_cache_aligned_allocate()
225 …__TBB_ASSERT((result - base) >= sizeof(std::uintptr_t), "Cannot store a base pointer to the header… in std_cache_aligned_allocate()
226 __TBB_ASSERT(space - (result - base) >= bytes, "Not enough space for the storage"); in std_cache_aligned_allocate()
229 (reinterpret_cast<std::uintptr_t*>(result))[-1] = base; in std_cache_aligned_allocate()
230 return reinterpret_cast<void*>(result); in std_cache_aligned_allocate()
251 void* result = allocate_handler.load(std::memory_order_acquire)(size); in allocate_memory() local
252 if (!result) { in allocate_memory()
255 return result; in allocate_memory()