Lines Matching refs:hostbuf
211 bp = rs->hostbuf; in getanswer()
212 ep = rs->hostbuf + sizeof rs->hostbuf; in getanswer()
411 if (bp + n >= &rs->hostbuf[sizeof rs->hostbuf]) { in getanswer()
579 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal()
580 rs->hostbuf[MAXDNAME] = '\0'; in gethostbyname_internal()
581 bp = rs->hostbuf + MAXDNAME; in gethostbyname_internal()
582 ep = rs->hostbuf + sizeof rs->hostbuf; in gethostbyname_internal()
583 rs->host.h_name = rs->hostbuf; in gethostbyname_internal()
613 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal()
614 rs->hostbuf[MAXDNAME] = '\0'; in gethostbyname_internal()
615 bp = rs->hostbuf + MAXDNAME; in gethostbyname_internal()
616 ep = rs->hostbuf + sizeof rs->hostbuf; in gethostbyname_internal()
617 rs->host.h_name = rs->hostbuf; in gethostbyname_internal()
733 if (!(p = fgets(rs->hostbuf, sizeof rs->hostbuf, rs->hostf))) { in _gethtent()
892 if (len > (sizeof(rs->hostbuf) - ALIGNBYTES)) { in _gethtbyname2()
898 ptr = memcpy((void *)ALIGN(rs->hostbuf), tmpbuf, len); in _gethtbyname2()