Lines Matching refs:defdname
306 char buf[sizeof(statp->defdname)], *cp;
315 (void)strlcpy(statp->defdname, cp,
316 sizeof(statp->defdname));
323 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
324 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
334 cp = statp->defdname;
379 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
380 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
381 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL)
395 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
396 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
397 if ((cp = strchr(statp->defdname, '\n')) != NULL)
403 cp = statp->defdname;
531 if (statp->defdname[0] == 0 &&
532 gethostname(buf, sizeof(statp->defdname) - 1) == 0 &&
534 strcpy(statp->defdname, cp + 1);
539 *pp++ = statp->defdname;
543 for (cp = statp->defdname; *cp; cp++)
546 cp = statp->defdname;