Lines Matching refs:defdname
256 char buf[sizeof(statp->defdname)], *cp; in __res_vinit()
265 strncpy(statp->defdname, cp, in __res_vinit()
266 sizeof(statp->defdname) - 1); in __res_vinit()
267 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
274 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
275 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
285 cp = statp->defdname; in __res_vinit()
340 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
341 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
342 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL) in __res_vinit()
356 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
357 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
358 if ((cp = strchr(statp->defdname, '\n')) != NULL) in __res_vinit()
364 cp = statp->defdname; in __res_vinit()
540 if (statp->defdname[0] == 0 && in __res_vinit()
541 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
543 strcpy(statp->defdname, cp + 1); in __res_vinit()
548 *pp++ = statp->defdname; in __res_vinit()
552 for (cp = statp->defdname; *cp; cp++) in __res_vinit()
555 cp = statp->defdname; in __res_vinit()