Lines Matching refs:defdname
250 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
251 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
261 cp = statp->defdname; in __res_vinit()
308 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
309 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
310 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL) in __res_vinit()
324 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1); in __res_vinit()
325 statp->defdname[sizeof(statp->defdname) - 1] = '\0'; in __res_vinit()
326 if ((cp = strchr(statp->defdname, '\n')) != NULL) in __res_vinit()
332 cp = statp->defdname; in __res_vinit()
449 if (statp->defdname[0] == 0 && in __res_vinit()
450 gethostname(buf, sizeof(statp->defdname) - 1) == 0 && in __res_vinit()
452 strcpy(statp->defdname, cp + 1); in __res_vinit()
457 *pp++ = statp->defdname; in __res_vinit()
461 for (cp = statp->defdname; *cp; cp++) in __res_vinit()
464 cp = statp->defdname; in __res_vinit()