Lines Matching refs:host
202 rs->host.h_name = NULL; in getanswer()
245 rs->host.h_name = bp; in getanswer()
248 qname = rs->host.h_name; in getanswer()
252 rs->host.h_aliases = rs->host_aliases; in getanswer()
255 rs->host.h_addr_list = rs->h_addr_ptrs; in getanswer()
307 rs->host.h_name = bp; in getanswer()
362 rs->host.h_name = bp; in getanswer()
377 rs->host.h_name = bp; in getanswer()
385 map_v4v6_hostent(&rs->host, &bp, ep); in getanswer()
388 return &rs->host; in getanswer()
392 if (strcasecmp(rs->host.h_name, bp) != 0) { in getanswer()
394 AskedForGot, rs->host.h_name, bp); in getanswer()
398 if (n != rs->host.h_length) { in getanswer()
413 rs->host.h_name = bp; in getanswer()
457 if (!rs->host.h_name) { in getanswer()
462 rs->host.h_name = bp; in getanswer()
466 map_v4v6_hostent(&rs->host, &bp, ep); in getanswer()
468 return &rs->host; in getanswer()
579 memset(&rs->host, 0, sizeof(rs->host)); in android_read_hostent()
584 rs->host.h_name = rs->hostbuf; in android_read_hostent()
587 rs->host.h_aliases = rs->host_aliases; in android_read_hostent()
602 rs->host.h_addrtype = ntohl(size); in android_read_hostent()
605 rs->host.h_length = ntohl(size); in android_read_hostent()
608 rs->host.h_addr_list = rs->h_addr_ptrs; in android_read_hostent()
621 return &rs->host; in android_read_hostent()
655 rs->host.h_addrtype = af; in gethostbyname_internal_real()
656 rs->host.h_length = size; in gethostbyname_internal_real()
689 rs->host.h_name = rs->hostbuf; in gethostbyname_internal_real()
690 rs->host.h_aliases = rs->host_aliases; in gethostbyname_internal_real()
694 rs->host.h_addr_list = rs->h_addr_ptrs; in gethostbyname_internal_real()
696 map_v4v6_hostent(&rs->host, &bp, ep); in gethostbyname_internal_real()
698 return &rs->host; in gethostbyname_internal_real()
723 rs->host.h_name = rs->hostbuf; in gethostbyname_internal_real()
724 rs->host.h_aliases = rs->host_aliases; in gethostbyname_internal_real()
728 rs->host.h_addr_list = rs->h_addr_ptrs; in gethostbyname_internal_real()
730 return &rs->host; in gethostbyname_internal_real()
966 if (rs->host.h_addrtype != 0 && rs->host.h_addrtype != af) in _gethtent()
968 if (rs->host.h_length != 0 && rs->host.h_length != len) in _gethtent()
972 rs->host.h_addr_list = rs->h_addr_ptrs; in _gethtent()
973 rs->host.h_length = len; in _gethtent()
974 rs->host.h_addrtype = af; in _gethtent()
977 rs->host.h_name = cp; in _gethtent()
978 q = rs->host.h_aliases = rs->host_aliases; in _gethtent()
993 return &rs->host; in _gethtent()
1101 rs->host.h_name = ptr; in _gethtbyname2()
1116 ptr += rs->host.h_length; in _gethtbyname2()
1120 return &rs->host; in _gethtbyname2()
1138 rs->host.h_length = len; in _gethtbyaddr()
1139 rs->host.h_addrtype = af; in _gethtbyaddr()
1251 rs->host.h_addrtype = 0; in gethostent()
1252 rs->host.h_length = 0; in gethostent()