Searched refs:mem (Results 1 – 6 of 6) sorted by relevance
31 …std::uint8_t* mem = static_cast<std::uint8_t*>(cache_aligned_allocate(queue_rep_size + monitors_me… in allocate_bounded_queue_rep() local33 concurrent_monitor* monitors = reinterpret_cast<concurrent_monitor*>(mem + queue_rep_size); in allocate_bounded_queue_rep()38 return mem; in allocate_bounded_queue_rep()41 void __TBB_EXPORTED_FUNC deallocate_bounded_queue_rep( std::uint8_t* mem, std::size_t queue_rep_siz… in deallocate_bounded_queue_rep() argument43 concurrent_monitor* monitors = reinterpret_cast<concurrent_monitor*>(mem + queue_rep_size); in deallocate_bounded_queue_rep()48 cache_aligned_deallocate(mem); in deallocate_bounded_queue_rep()
92 PROCESS_MEMORY_COUNTERS mem; variable93 bool status = GetProcessMemoryInfo(GetCurrentProcess(), &mem, sizeof(mem)) != 0;95 return stat == currentUsage ? mem.PagefileUsage : mem.PeakPagefileUsage;
136 void* mem; in rt_getmem() local138 mem = malloc(bytes); in rt_getmem()139 if (mem != nullptr) { in rt_getmem()145 return mem; in rt_getmem()
53 inline void set_address(char *mem) { in set_address() argument54 my_address = reinterpret_cast<uintptr_t>(mem); in set_address()
570 void* mem = scalable_malloc(2*slabSize); in TestObjectRecognition() local571 REQUIRE_MESSAGE(mem, "Memory was not allocated"); in TestObjectRecognition()572 Block* falseBlock = (Block*)alignUp((uintptr_t)mem, slabSize); in TestObjectRecognition()628 obtainedSize = __TBB_malloc_safer_msize(mem, nullptr); in TestObjectRecognition()630 scalable_free(mem); in TestObjectRecognition()
307 …TBB_EXPORT void __TBB_EXPORTED_FUNC deallocate_bounded_queue_rep( std::uint8_t* mem, std::size_t q…