Home
last modified time | relevance | path

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

/system/core/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.cpp48 void* ptr2 = malloc(128); in TEST_F()
49 ASSERT_NE(ptr2, nullptr); in TEST_F()
50 free(ptr2); in TEST_F()
/system/netd/resolv/
Dgetaddrinfo.cpp1176 static int _rfc6724_compare(const void* ptr1, const void* ptr2) { in _rfc6724_compare() argument
1178 const struct addrinfo_sort_elem* a2 = (const struct addrinfo_sort_elem*) ptr2; in _rfc6724_compare()