Home
last modified time | relevance | path

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

/system/memory/libmemunreachable/tests/
DAllocator_test.cpp52 void* ptr2 = allocator.allocate(); in TEST_F() local
53 ASSERT_TRUE(ptr2 != NULL); in TEST_F()
54 ASSERT_NE(ptr1, ptr2); in TEST_F()
59 allocator.deallocate(ptr2); in TEST_F()
125 void* ptr2 = b.allocate(); in TEST_F() local
130 d.deallocate(ptr2); in TEST_F()
163 auto ptr2 = ptr; // NOLINT, test copy of ptr in TEST_F() local
DDisableMalloc_test.cpp48 void* ptr2 = malloc(128); in TEST_F()
49 ASSERT_NE(ptr2, nullptr); in TEST_F()
50 free(ptr2); in TEST_F()
/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp355 auto ptr2 = std::make_shared<MyExt>(); in TEST_F() local
358 ptr2->a = 1; in TEST_F()
359 ptr2->b = "a"; in TEST_F()
363 ph3.setParcelable(ptr2); in TEST_F()