Searched refs:leaked_bytes (Results 1 – 2 of 2) sorted by relevance
/system/memory/libmemunreachable/tests/ |
D | LeakFolding_test.cpp | 60 size_t leaked_bytes = 0; in TEST_F() local 61 ASSERT_EQ(true, folding.Leaked(leaked, &num_leaks, &leaked_bytes)); in TEST_F() 64 EXPECT_EQ(sizeof(uintptr_t), leaked_bytes); in TEST_F() 85 size_t leaked_bytes = 0; in TEST_F() local 86 ASSERT_EQ(true, folding.Leaked(leaked, &num_leaks, &leaked_bytes)); in TEST_F() 89 EXPECT_EQ(2 * sizeof(uintptr_t), leaked_bytes); in TEST_F() 114 size_t leaked_bytes = 0; in TEST_F() local 115 ASSERT_EQ(true, folding.Leaked(leaked, &num_leaks, &leaked_bytes)); in TEST_F() 118 EXPECT_EQ(2 * sizeof(uintptr_t), leaked_bytes); in TEST_F() 145 size_t leaked_bytes = 0; in TEST_F() local [all …]
|
D | HeapWalker_test.cpp | 110 size_t leaked_bytes = 0; in TEST_F() local 111 ASSERT_EQ(true, heap_walker.Leaked(leaked, 100, &num_leaks, &leaked_bytes)); in TEST_F() 114 EXPECT_EQ(16U, leaked_bytes); in TEST_F() 138 size_t leaked_bytes = SIZE_MAX; in TEST_F() local 139 ASSERT_EQ(true, heap_walker.Leaked(leaked, 100, &num_leaks, &leaked_bytes)); in TEST_F() 142 EXPECT_EQ(0U, leaked_bytes); in TEST_F() 166 size_t leaked_bytes = SIZE_MAX; in TEST_F() local 167 ASSERT_EQ(true, heap_walker.Leaked(leaked, 100, &num_leaks, &leaked_bytes)); in TEST_F() 170 EXPECT_EQ(0U, leaked_bytes); in TEST_F() 191 size_t leaked_bytes = 0; in TEST_F() local [all …]
|