Home
last modified time | relevance | path

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

/bionic/libc/netbsd/resolv/
Dres_init.c238 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
239 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
249 cp = statp->defdname; in __res_vinit()
296 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
297 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
298 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL) in __res_vinit()
312 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
313 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
314 if ((cp = strchr(statp->defdname, '\n')) != NULL) in __res_vinit()
320 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.c1252 char defdname[256]; member
2140 strlcpy(cache_info->defdname, domains, sizeof(cache_info->defdname)); in _resolv_set_nameservers_for_iface()
2141 if ((cp = strchr(cache_info->defdname, '\n')) != NULL) in _resolv_set_nameservers_for_iface()
2143 cp = cache_info->defdname; in _resolv_set_nameservers_for_iface()
2150 *offset++ = cp - cache_info->defdname; /* record this search domain */ in _resolv_set_nameservers_for_iface()
2657 strlcpy(statp->defdname, info->defdname, sizeof(statp->defdname)); in _resolv_populate_res_for_iface()
2661 *pp++ = &statp->defdname + *p++; in _resolv_populate_res_for_iface()
/bionic/libc/private/
Dresolv_private.h159 char defdname[256]; /* default domain (deprecated) */ member