Lines Matching refs:buflen
101 unsigned char *buf, int buflen) in __res_context_mkquery() argument
112 if ((buf == NULL) || (buflen < HFIXEDSZ)) in __res_context_mkquery()
126 buflen -= HFIXEDSZ; in __res_context_mkquery()
136 if ((buflen -= QFIXEDSZ + (data == NULL ? 0 : RRFIXEDSZ)) < 0) in __res_context_mkquery()
141 if ((buflen -= QFIXEDSZ) < 0) in __res_context_mkquery()
144 n = __ns_name_compress (dname, cp, buflen, in __res_context_mkquery()
150 buflen -= n; in __res_context_mkquery()
158 n = __ns_name_compress ((char *)data, cp, buflen, in __res_context_mkquery()
164 buflen -= n; in __res_context_mkquery()
184 unsigned char *buf, int buflen) in libc_hidden_def()
189 (ctx, op, dname, class, type, data, buf, buflen); in libc_hidden_def()
211 unsigned char *buf, int buflen) in ___res_nmkquery() argument
215 op, dname, class, type, data, buf, buflen); in ___res_nmkquery()
226 unsigned char *buf, int buflen) in ___res_mkquery() argument
230 op, dname, class, type, data, buf, buflen); in ___res_mkquery()
250 int n0, unsigned char *buf, int buflen, int anslen) in __res_nopt() argument
255 unsigned char *ep = buf + buflen; in __res_nopt()