Lines Matching refs:cp
279 const u_char *cp = buf + HFIXEDSZ; in res_nameinquery() local
286 n = dn_expand(buf, eom, cp, tname, sizeof tname); in res_nameinquery()
289 cp += n; in res_nameinquery()
290 if (cp + 2 * INT16SZ > eom) in res_nameinquery()
292 ttype = ns_get16(cp); cp += INT16SZ; in res_nameinquery()
293 tclass = ns_get16(cp); cp += INT16SZ; in res_nameinquery()
316 const u_char *cp = buf1 + HFIXEDSZ; in res_queriesmatch() local
336 n = dn_expand(buf1, eom1, cp, tname, sizeof tname); in res_queriesmatch()
339 cp += n; in res_queriesmatch()
340 if (cp + 2 * INT16SZ > eom1) in res_queriesmatch()
342 ttype = ns_get16(cp); cp += INT16SZ; in res_queriesmatch()
343 tclass = ns_get16(cp); cp += INT16SZ; in res_queriesmatch()
770 u_char *cp; in send_vc() local
876 cp = ans; in send_vc()
878 while ((n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0) { in send_vc()
879 cp += n; in send_vc()
923 cp = ans; in send_vc()
924 while (len != 0 && (n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0){ in send_vc()
925 cp += n; in send_vc()