Home
last modified time | relevance | path

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

/external/avb/test/
Davb_sysdeps_posix_testing.cc85 static std::map<void*, AvbAllocatedBlock> allocated_blocks; variable
92 allocated_blocks[ptr] = block; in avb_malloc_()
97 auto block_it = allocated_blocks.find(ptr); in avb_free()
98 if (block_it == allocated_blocks.end()) { in avb_free()
102 allocated_blocks.erase(block_it); in avb_free()
115 allocated_blocks.clear(); in testing_memory_reset()
119 if (allocated_blocks.size() == 0) { in testing_memory_all_freed()
124 for (const auto& block_it : allocated_blocks) { in testing_memory_all_freed()
130 allocated_blocks.size()); in testing_memory_all_freed()
132 for (const auto& block_it : allocated_blocks) { in testing_memory_all_freed()
[all …]