Lines Matching refs:defdname
260 char buf[sizeof(statp->defdname)], *cp; in __res_vinit()
269 strncpy(statp->defdname, cp, in __res_vinit()
270 sizeof(statp->defdname) - 1); in __res_vinit()
271 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
278 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
279 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
289 cp = statp->defdname; in __res_vinit()
344 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
345 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
346 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL) in __res_vinit()
360 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
361 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
362 if ((cp = strchr(statp->defdname, '\n')) != NULL) in __res_vinit()
368 cp = statp->defdname; in __res_vinit()
544 if (statp->defdname[0] == 0 && in __res_vinit()
545 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
547 strcpy(statp->defdname, cp + 1); in __res_vinit()
552 *pp++ = statp->defdname; in __res_vinit()
556 for (cp = statp->defdname; *cp; cp++) in __res_vinit()
559 cp = statp->defdname; in __res_vinit()