Home
last modified time | relevance | path

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

/system/core/libmemunreachable/
DScopedDisableMalloc.h63 disable_malloc_.Disable(); in ScopedDisableMalloc()
67 disable_malloc_.Enable(); in ~ScopedDisableMalloc()
72 DisableMallocGuard disable_malloc_; variable
78 timeout_(timeout), timed_out_(false), disable_malloc_() { in timeout_()
91 disable_malloc_.Enable(); in Enable()
98 disable_malloc_.Enable(); in Disable()
102 disable_malloc_.Disable(); in Disable()
110 DisableMallocGuard disable_malloc_; variable
/system/core/libmemunreachable/tests/
DAllocator_test.cpp27 AllocatorTest() : heap(), disable_malloc_() {} in AllocatorTest()
34 ASSERT_FALSE(disable_malloc_.timed_out()); in TearDown()
38 ScopedDisableMallocTimeout disable_malloc_; member in AllocatorTest
DHeapWalker_test.cpp28 HeapWalkerTest() : disable_malloc_(), heap_() {} in HeapWalkerTest()
33 ASSERT_FALSE(disable_malloc_.timed_out()); in TearDown()
38 ScopedDisableMallocTimeout disable_malloc_; member in HeapWalkerTest
DLeakFolding_test.cpp26 LeakFoldingTest() : disable_malloc_(), heap_() {} in LeakFoldingTest()
31 ASSERT_FALSE(disable_malloc_.timed_out()); in TearDown()
36 ScopedDisableMallocTimeout disable_malloc_; member in LeakFoldingTest