Lines Matching refs:hostbuf
83 static char hostbuf[8*1024]; variable
174 bp = hostbuf; in getanswer()
175 buflen = sizeof hostbuf; in getanswer()
359 if (bp + n >= &hostbuf[sizeof hostbuf]) { in getanswer()
500 strncpy(hostbuf, name, MAXDNAME); in res_gethostbyname2_context()
501 hostbuf[MAXDNAME] = '\0'; in res_gethostbyname2_context()
502 bp = hostbuf + MAXDNAME; in res_gethostbyname2_context()
503 len = sizeof hostbuf - MAXDNAME; in res_gethostbyname2_context()
504 host.h_name = hostbuf; in res_gethostbyname2_context()
533 strncpy(hostbuf, name, MAXDNAME); in res_gethostbyname2_context()
534 hostbuf[MAXDNAME] = '\0'; in res_gethostbyname2_context()
535 bp = hostbuf + MAXDNAME; in res_gethostbyname2_context()
536 len = sizeof hostbuf - MAXDNAME; in res_gethostbyname2_context()
537 host.h_name = hostbuf; in res_gethostbyname2_context()
726 if (!(p = fgets(hostbuf, sizeof hostbuf, hostf))) { in _gethtent()