Lines Matching refs:bp
222 u_char *label, *bp, *eom; in ns_name_pton2() local
227 bp = dst; in ns_name_pton2()
229 label = bp++; in ns_name_pton2()
239 &label, &bp, eom)) in ns_name_pton2()
245 label = bp++; in ns_name_pton2()
279 c = (int)(bp - label - 1); in ns_name_pton2()
292 if (bp >= eom) { in ns_name_pton2()
296 *bp++ = '\0'; in ns_name_pton2()
298 if ((bp - dst) > MAXCDNAME) { in ns_name_pton2()
303 *dstlen = (bp - dst); in ns_name_pton2()
310 label = bp++; in ns_name_pton2()
313 if (bp >= eom) { in ns_name_pton2()
317 *bp++ = (u_char)c; in ns_name_pton2()
319 c = (int)(bp - label - 1); in ns_name_pton2()
331 if (bp >= eom) { in ns_name_pton2()
335 *bp++ = 0; in ns_name_pton2()
337 if ((bp - dst) > MAXCDNAME) { /* src too big */ in ns_name_pton2()
342 *dstlen = (bp - dst); in ns_name_pton2()
1044 encode_bitsring(const char **bp, const char *end, unsigned char **labelp, in encode_bitsring() argument
1048 const char *cp = *bp; in encode_bitsring()
1143 *bp = cp; in encode_bitsring()