Home
last modified time | relevance | path

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

/system/netd/resolv/
Dgetaddrinfo.cpp1014 struct addrinfo_sort_elem { struct
1177 const struct addrinfo_sort_elem* a1 = (const struct addrinfo_sort_elem*) ptr1; in _rfc6724_compare()
1178 const struct addrinfo_sort_elem* a2 = (const struct addrinfo_sort_elem*) ptr2; in _rfc6724_compare()
1338 struct addrinfo_sort_elem* elems; in _rfc6724_sort()
1346 elems = (struct addrinfo_sort_elem*) malloc(nelem * sizeof(struct addrinfo_sort_elem)); in _rfc6724_sort()
1369 qsort((void*) elems, nelem, sizeof(struct addrinfo_sort_elem), _rfc6724_compare); in _rfc6724_sort()