/system/core/libmemunreachable/ |
LeakFolding.cpp | 115 size_t num_leaks = 0; local 119 num_leaks++; 133 *num_leaks_out = num_leaks;
|
HeapWalker.cpp | 123 size_t num_leaks = 0; local 127 num_leaks++; 142 *num_leaks_out = num_leaks;
|
MemUnreachable.cpp | 55 size_t* num_leaks, size_t* leak_bytes); 124 size_t limit, size_t* num_leaks, size_t* leak_bytes) { 134 heap_walker_.Leaked(leaked1, 0, num_leaks, leak_bytes); 147 if (!folding.Leaked(leaked, num_leaks, leak_bytes)) { 336 size_t num_leaks = 0; local 338 bool ok = unreachable.GetUnreachableMemory(leaks, limit, &num_leaks, &leak_bytes); 342 ok = ok && pipe.Sender().Send(num_leaks); 393 ok = ok && pipe.Receiver().Receive(&info.num_leaks); 402 info.leak_bytes, info.num_leaks, plural(info.num_leaks), [all...] |
/system/core/libmemunreachable/tests/ |
HeapWalker_test.cpp | 89 size_t num_leaks = 0; local 91 ASSERT_EQ(true, heap_walker.Leaked(leaked, 100, &num_leaks, &leaked_bytes)); 93 EXPECT_EQ(1U, num_leaks); 117 size_t num_leaks = SIZE_MAX; local 119 ASSERT_EQ(true, heap_walker.Leaked(leaked, 100, &num_leaks, &leaked_bytes)); 121 EXPECT_EQ(0U, num_leaks); 145 size_t num_leaks = SIZE_MAX; local 147 ASSERT_EQ(true, heap_walker.Leaked(leaked, 100, &num_leaks, &leaked_bytes)); 149 EXPECT_EQ(0U, num_leaks); 170 size_t num_leaks = 0 local 194 size_t num_leaks = 0; local [all...] |
LeakFolding_test.cpp | 57 size_t num_leaks = 0; local 59 ASSERT_EQ(true, folding.Leaked(leaked, &num_leaks, &leaked_bytes)); 61 EXPECT_EQ(1U, num_leaks); 82 size_t num_leaks = 0; local 84 ASSERT_EQ(true, folding.Leaked(leaked, &num_leaks, &leaked_bytes)); 86 EXPECT_EQ(2U, num_leaks); 111 size_t num_leaks = 0; local 113 ASSERT_EQ(true, folding.Leaked(leaked, &num_leaks, &leaked_bytes)); 115 EXPECT_EQ(2U, num_leaks); 142 size_t num_leaks = 0 local 173 size_t num_leaks = 0; local 216 size_t num_leaks = 0; local 252 size_t num_leaks = 0; local 290 size_t num_leaks = 0; local 327 size_t num_leaks = 0; local 369 size_t num_leaks = 0; local 412 size_t num_leaks = 0; local [all...] |
/system/core/libmemunreachable/include/memunreachable/ |
memunreachable.h | 56 size_t num_leaks; member in struct:UnreachableMemoryInfo
|