Home
last modified time | relevance | path

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

/system/core/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/netd/resolv/
Dgetaddrinfo.cpp1176 static int _rfc6724_compare(const void* ptr1, const void* ptr2) { in _rfc6724_compare() argument
1177 const struct addrinfo_sort_elem* a1 = (const struct addrinfo_sort_elem*) ptr1; in _rfc6724_compare()