Lines Matching refs:defdname
178 strcpy(_res.defdname, buf); in res_init()
180 strcpy(_res.defdname, cp+1); in res_init()
184 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname)); in res_init()
200 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname) - 1); in res_init()
202 if ((cp = strchr(_res.defdname, (int)'\n')) != NULL) in res_init()
204 if ((cp = index(_res.defdname, '\n')) != NULL) in res_init()
219 (void) strncpy(_res.defdname, cp, sizeof (_res.defdname) - 1); in res_init()
221 if ((cp = strchr(_res.defdname, (int)'\n')) != NULL) in res_init()
223 if ((cp = index(_res.defdname, '\n')) != NULL) in res_init()
230 cp = _res.defdname; in res_init()
273 if (_res.defdname[0] == 0) { in res_init()
274 if (gethostname(buf, sizeof (_res.defdname)) == 0 && in res_init()
280 (void) strcpy(_res.defdname, cp + 1); in res_init()
286 *pp++ = _res.defdname; in res_init()
287 for (cp = _res.defdname, n = 0; *cp; cp++) in res_init()
290 cp = _res.defdname; in res_init()