Lines Matching refs:defdname
249 (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()
448 if (statp->defdname[0] == 0 && in __res_vinit()
449 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
451 strcpy(statp->defdname, cp + 1); in __res_vinit()
456 *pp++ = statp->defdname; in __res_vinit()
460 for (cp = statp->defdname; *cp; cp++) in __res_vinit()
463 cp = statp->defdname; in __res_vinit()