Searched refs:defdname (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/dns/resolv/ |
D | res_init.c | 250 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 251 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 261 cp = statp->defdname; in __res_vinit() 308 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 309 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 310 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL) in __res_vinit() 324 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit() 325 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit() 326 if ((cp = strchr(statp->defdname, '\n')) != NULL) in __res_vinit() 332 cp = statp->defdname; in __res_vinit() [all …]
|
D | res_cache.c | 1294 char defdname[MAXDNSRCHPATH]; member 2087 strlcpy(cache_info->defdname, domains, sizeof(cache_info->defdname)); in _resolv_set_nameservers_for_net() 2088 if ((cp = strchr(cache_info->defdname, '\n')) != NULL) in _resolv_set_nameservers_for_net() 2091 cp = cache_info->defdname; in _resolv_set_nameservers_for_net() 2098 *offset++ = cp - cache_info->defdname; /* record this search domain */ in _resolv_set_nameservers_for_net() 2203 memcpy(statp->defdname, info->defdname, sizeof(statp->defdname)); in _resolv_populate_res_for_net() 2207 *pp++ = &statp->defdname[0] + *p++; in _resolv_populate_res_for_net() 2288 const char* cur_domain = info->defdname + info->dnsrch_offset[i]; in android_net_res_stats_get_info_for_net() 2294 ((size_t)info->dnsrch_offset[i]) >= sizeof(info->defdname) || !cur_domain[0]) { in android_net_res_stats_get_info_for_net()
|
/bionic/libc/dns/include/ |
D | resolv_private.h | 157 char defdname[256]; /* default domain (deprecated) */ member
|