Home
last modified time | relevance | path

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

/system/chre/test/simulation/
Dmemory_test.cc77 void *ptr1; in TEST_F() local
79 waitForEvent(ALLOCATE, &ptr1); in TEST_F()
80 EXPECT_NE(ptr1, nullptr); in TEST_F()
93 sendEventToNanoapp(appId, FREE, ptr1); in TEST_F()
140 void *ptr1; in TEST_F() local
142 waitForEvent(ALLOCATE, &ptr1); in TEST_F()
143 EXPECT_NE(ptr1, nullptr); in TEST_F()
199 void *ptr1; in TEST_F() local
204 waitForEvent(ALLOCATE, &ptr1); in TEST_F()
217 sendEventToNanoapp(appId, FREE, ptr1); in TEST_F()
[all …]
/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.cpp51 void* ptr1 = malloc(128); in TEST_F()
52 ASSERT_NE(ptr1, nullptr); in TEST_F()
53 free(ptr1); in TEST_F()
/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp385 auto ptr1 = std::make_shared<MyExt>(); in TEST_F() local
387 ptr1->a = 1; in TEST_F()
388 ptr1->b = "a"; in TEST_F()
392 ph1.setParcelable(ptr1); in TEST_F()
393 ph2.setParcelable(ptr1); in TEST_F()