Home
last modified time | relevance | path

Searched refs:ptr1 (Results 1 – 3 of 3) 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()
/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp354 auto ptr1 = std::make_shared<MyExt>(); in TEST_F() local
356 ptr1->a = 1; in TEST_F()
357 ptr1->b = "a"; in TEST_F()
361 ph1.setParcelable(ptr1); in TEST_F()
362 ph2.setParcelable(ptr1); in TEST_F()