Searched refs:ptr1 (Results 1 – 4 of 4) sorted by relevance
/system/chre/test/simulation/ |
D | memory_test.cc | 77 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/ |
D | Allocator_test.cpp | 50 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()
|
D | DisableMalloc_test.cpp | 51 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/ |
D | aidl_test_client_parcelables.cpp | 385 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()
|