Lines Matching refs:hostbuf
216 bp = rs->hostbuf; in getanswer()
217 ep = rs->hostbuf + sizeof rs->hostbuf; in getanswer()
416 if (bp + n >= &rs->hostbuf[sizeof rs->hostbuf]) { in getanswer()
575 char *ptr = rs->hostbuf; in android_read_hostent()
579 rs->host.h_name = rs->hostbuf; in android_read_hostent()
680 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal_real()
681 rs->hostbuf[MAXDNAME] = '\0'; in gethostbyname_internal_real()
682 bp = rs->hostbuf + MAXDNAME; in gethostbyname_internal_real()
683 ep = rs->hostbuf + sizeof rs->hostbuf; in gethostbyname_internal_real()
684 rs->host.h_name = rs->hostbuf; in gethostbyname_internal_real()
714 strncpy(rs->hostbuf, name, MAXDNAME); in gethostbyname_internal_real()
715 rs->hostbuf[MAXDNAME] = '\0'; in gethostbyname_internal_real()
716 bp = rs->hostbuf + MAXDNAME; in gethostbyname_internal_real()
717 ep = rs->hostbuf + sizeof rs->hostbuf; in gethostbyname_internal_real()
718 rs->host.h_name = rs->hostbuf; in gethostbyname_internal_real()
923 if (!(p = fgets(rs->hostbuf, sizeof rs->hostbuf, rs->hostf))) { in _gethtent()
1082 if (len > (sizeof(rs->hostbuf) - ALIGNBYTES)) { in _gethtbyname2()
1088 ptr = memcpy((void *)ALIGN(rs->hostbuf), tmpbuf, len); in _gethtbyname2()