Searched refs:blen (Results 1 – 2 of 2) sorted by relevance
/bionic/libc/dns/nameser/ |
D | ns_name.c | 999 int b, blen, plen, i; in decode_bitstring() local 1001 if ((blen = (*cp & 0xff)) == 0) in decode_bitstring() 1002 blen = 256; in decode_bitstring() 1003 plen = (blen + 3) / 4; in decode_bitstring() 1004 plen += (int)sizeof("\\[x/]") + (blen > 99 ? 3 : (blen > 9) ? 2 : 1); in decode_bitstring() 1013 for (b = blen; b > 7; b -= 8, cp++) { in decode_bitstring() 1033 i = snprintf(dn, eom - dn, "/%d]", blen); in decode_bitstring() 1053 int value = 0, count = 0, tbcount = 0, blen = 0; in encode_bitsring() local 1073 blen = (int)strtol(beg_blen, &end_blen, 10); in encode_bitsring() 1125 if (blen > 0) { in encode_bitsring() [all …]
|
/bionic/libc/dns/net/ |
D | gethnamaddr.c | 1208 size_t blen; in _dns_gethtbyaddr() local 1283 blen = (size_t)(bf - info->buf); in _dns_gethtbyaddr() 1284 if (blen + info->hp->h_length > info->buflen) in _dns_gethtbyaddr() 1290 if (blen + NS_IN6ADDRSZ > info->buflen) in _dns_gethtbyaddr()
|