Lines Matching refs:defdname
262 char buf[sizeof(statp->defdname)], *cp;
271 strncpy(statp->defdname, cp,
272 sizeof(statp->defdname) - 1);
273 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
280 (void)strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
281 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
291 cp = statp->defdname;
334 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
335 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
336 if ((cp = strpbrk(statp->defdname, " \t\n")) != NULL)
350 strncpy(statp->defdname, cp, sizeof(statp->defdname) - 1);
351 statp->defdname[sizeof(statp->defdname) - 1] = '\0';
352 if ((cp = strchr(statp->defdname, '\n')) != NULL)
358 cp = statp->defdname;
478 if (statp->defdname[0] == 0 &&
479 gethostname(buf, sizeof(statp->defdname) - 1) == 0 &&
481 strcpy(statp->defdname, cp + 1);
486 *pp++ = statp->defdname;
490 for (cp = statp->defdname; *cp; cp++)
493 cp = statp->defdname;