Home
last modified time | relevance | path

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

/bionic/libc/dns/resolv/
Dres_init.c249 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
250 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
260 cp = statp->defdname; in __res_vinit()
307 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
308 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
309 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL) in __res_vinit()
323 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
324 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
325 if ((cp = strchr(statp->defdname, '\n')) != NULL) in __res_vinit()
331 cp = statp->defdname; in __res_vinit()
[all …]
Dres_data.c315 if (!*_nres.defdname) in local_hostname_length()
318 len_domain = strlen(_nres.defdname); in local_hostname_length()
320 !strcasecmp(hostname + len_host - len_domain, _nres.defdname) && in local_hostname_length()
Dres_cache.c1237 char defdname[256]; member
1972 strlcpy(cache_info->defdname, domains, sizeof(cache_info->defdname)); in _resolv_set_nameservers_for_net()
1973 if ((cp = strchr(cache_info->defdname, '\n')) != NULL) in _resolv_set_nameservers_for_net()
1975 cp = cache_info->defdname; in _resolv_set_nameservers_for_net()
1982 *offset++ = cp - cache_info->defdname; /* record this search domain */ in _resolv_set_nameservers_for_net()
2096 strlcpy(statp->defdname, info->defdname, sizeof(statp->defdname)); in _resolv_populate_res_for_net()
2100 *pp++ = &statp->defdname[0] + *p++; in _resolv_populate_res_for_net()
/bionic/libc/dns/include/
Dresolv_private.h169 char defdname[256]; /* default domain (deprecated) */ member