Lines Matching refs:defdname
179 strcpy(_res.defdname, buf); in res_init()
181 strcpy(_res.defdname, cp+1); in res_init()
185 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname)); in res_init()
201 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname) - 1); in res_init()
203 if ((cp = strchr(_res.defdname, (int)'\n')) != NULL) in res_init()
205 if ((cp = index(_res.defdname, '\n')) != NULL) in res_init()
220 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname) - 1); in res_init()
222 if ((cp = strchr(_res.defdname, (int)'\n')) != NULL) in res_init()
224 if ((cp = index(_res.defdname, '\n')) != NULL) in res_init()
231 cp = _res.defdname; in res_init()
274 if (_res.defdname[0] == 0) { in res_init()
275 if (gethostname(buf, sizeof (_res.defdname)) == 0 && in res_init()
281 (void) strcpy(_res.defdname, cp + 1); in res_init()
287 *pp++ = _res.defdname; in res_init()
288 for (cp = _res.defdname, n = 0; *cp; cp++) in res_init()
291 cp = _res.defdname; in res_init()