Home
last modified time | relevance | path

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

/system/chre/test/simulation/
Dmemory_test.cc95 void *ptr2; in TEST_F() local
97 waitForEvent(ALLOCATE, &ptr2); in TEST_F()
98 EXPECT_NE(ptr2, nullptr); in TEST_F()
109 sendEventToNanoapp(app, FREE, ptr2); in TEST_F()
156 void *ptr2; in TEST_F() local
158 waitForEvent(ALLOCATE, &ptr2); in TEST_F()
159 EXPECT_NE(ptr2, nullptr); in TEST_F()
207 void *ptr2; in TEST_F() local
213 waitForEvent(ALLOCATE, &ptr2); in TEST_F()
220 sendEventToNanoapp(app, FREE, ptr2); in TEST_F()
[all …]
/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.cpp55 void* ptr2 = malloc(128); in TEST_F()
56 ASSERT_NE(ptr2, nullptr); in TEST_F()
57 free(ptr2); in TEST_F()
/system/chre/util/tests/
Dshared_ptr_test.cc108 chre::SharedPtr<TestBase> ptr2 = chre::MakeShared<TestBase>(); in TEST_F() local
110 EXPECT_NE(ptr, ptr2); in TEST_F()
112 ptr2.reset(ptr.get()); in TEST_F()
113 EXPECT_EQ(ptr, ptr2); in TEST_F()
/system/tools/aidl/tests/
Daidl_test_client_parcelables.cpp390 auto ptr2 = std::make_shared<MyExt>(); in TEST_F() local
393 ptr2->a = 1; in TEST_F()
394 ptr2->b = "a"; in TEST_F()
398 ph3.setParcelable(ptr2); in TEST_F()