Lines Matching refs:buf

110     u_char buf[MAXPACKET];  member
156 eom = answer->buf + anslen; in getanswer()
176 cp = answer->buf; in getanswer()
182 n = __libc_dn_expand (answer->buf, eom, cp, bp, buflen); in getanswer()
213 n = __libc_dn_expand (answer->buf, eom, cp, bp, buflen); in getanswer()
236 n = __libc_dn_expand (answer->buf, eom, cp, in getanswer()
269 n = __libc_dn_expand (answer->buf, eom, cp, in getanswer()
307 n = __libc_dn_expand (answer->buf, eom, cp, in getanswer()
445 querybuf *buf; in res_gethostbyname2_context() member
447 } buf; in res_gethostbyname2_context() local
550 buf.buf = origbuf = (querybuf *) alloca (1024); in res_gethostbyname2_context()
553 (ctx, name, C_IN, type, buf.buf->buf, 1024, in res_gethostbyname2_context()
554 &buf.ptr, NULL, NULL, NULL, NULL)) < 0) { in res_gethostbyname2_context()
555 if (buf.buf != origbuf) in res_gethostbyname2_context()
556 free (buf.buf); in res_gethostbyname2_context()
561 ret = getanswer(buf.buf, n, name, type); in res_gethostbyname2_context()
562 if (buf.buf != origbuf) in res_gethostbyname2_context()
563 free (buf.buf); in res_gethostbyname2_context()
594 querybuf *buf; in res_gethostbyaddr_context() member
596 } buf; in res_gethostbyaddr_context() local
648 buf.buf = orig_buf = (querybuf *) alloca (1024); in res_gethostbyaddr_context()
650 n = __res_context_query (ctx, qbuf, C_IN, T_PTR, buf.buf->buf, 1024, in res_gethostbyaddr_context()
651 &buf.ptr, NULL, NULL, NULL, NULL); in res_gethostbyaddr_context()
653 if (buf.buf != orig_buf) in res_gethostbyaddr_context()
654 free (buf.buf); in res_gethostbyaddr_context()
659 hp = getanswer(buf.buf, n, qbuf, T_PTR); in res_gethostbyaddr_context()
660 if (buf.buf != orig_buf) in res_gethostbyaddr_context()
661 free (buf.buf); in res_gethostbyaddr_context()