Searched refs:ptr2 (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | string_test.cpp | 162 ptr2 = glob_ptr2 + align2; in NewIteration() 166 char *ptr, *ptr1, *ptr2; member 196 memset(state.ptr2, '\2', state.MAX_LEN); in TEST() 197 state.ptr2[state.MAX_LEN - 1] = '\0'; in TEST() 198 memcpy(state.ptr, state.ptr2, 2 * state.MAX_LEN); in TEST() 206 EXPECT_TRUE(strcat(state.ptr2, state.ptr1) == state.ptr2); in TEST() 207 EXPECT_TRUE(memcmp(state.ptr, state.ptr2, 2 * state.MAX_LEN) == 0); in TEST() 252 memset(state.ptr2, 'n', state.MAX_LEN); in TEST() 254 state.ptr2[state.len[i] - 1] = '\0'; in TEST() 260 memcpy(state.ptr1, state.ptr2, state.len[i]); in TEST() [all …]
|
/bionic/libc/netbsd/net/ |
D | getaddrinfo.c | 1663 _rfc6724_compare(const void *ptr1, const void* ptr2) in _rfc6724_compare() argument 1666 const struct addrinfo_sort_elem *a2 = (const struct addrinfo_sort_elem *)ptr2; in _rfc6724_compare()
|