Lines Matching refs:defdname
372 char buf[sizeof(statp->defdname)], *cp;
381 strncpy(statp->defdname, cp,
382 sizeof(statp->defdname) - 1);
383 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
390 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
391 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
401 cp = statp->defdname;
444 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
445 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
446 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL)
460 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
461 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
462 if ((cp = strchr(statp->defdname, '\n')) != NULL)
468 cp = statp->defdname;
591 if (statp->defdname[0] == 0 &&
592 gethostname(buf, sizeof(statp->defdname) - 1) == 0 &&
594 strcpy(statp->defdname, cp + 1);
599 *pp++ = statp->defdname;
603 for (cp = statp->defdname; *cp; cp++)
606 cp = statp->defdname;