Home
last modified time | relevance | path

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

/system/memory/libmemunreachable/tests/
DAllocator_test.cpp50 void* ptr1 = allocator.allocate(); in TEST_F() local
51 ASSERT_TRUE(ptr1 != NULL); in TEST_F()
54 ASSERT_NE(ptr1, ptr2); in TEST_F()
55 allocator.deallocate(ptr1); in TEST_F()
57 ASSERT_EQ(ptr1, ptr3); in TEST_F()
124 void* ptr1 = a.allocate(); in TEST_F() local
129 b.deallocate(ptr1); in TEST_F()
DDisableMalloc_test.cpp44 void* ptr1 = malloc(128); in TEST_F()
45 ASSERT_NE(ptr1, nullptr); in TEST_F()
46 free(ptr1); in TEST_F()