Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc249 struct TestMapUnmapCallback { struct
254 int TestMapUnmapCallback::map_count; argument
255 int TestMapUnmapCallback::unmap_count;
259 TestMapUnmapCallback::map_count = 0; in TEST()
260 TestMapUnmapCallback::unmap_count = 0; in TEST()
263 TestMapUnmapCallback> Allocator64WithCallBack; in TEST()
266 EXPECT_EQ(TestMapUnmapCallback::map_count, 1); // Allocator state. in TEST()
273 EXPECT_EQ(TestMapUnmapCallback::map_count, 3); // State + alloc + metadata. in TEST()
275 EXPECT_EQ(TestMapUnmapCallback::unmap_count, 1); // The whole thing. in TEST()
281 TestMapUnmapCallback::map_count = 0; in TEST()
[all …]