bitstr
static int bitstr_cb(const char *elem, int len, void *bitstr);
static int asn1_cb(const char *elem, int len, void *bitstr);
asn1_cb(const char *elem, int len, void *bitstr)
tag_exp_arg *arg = bitstr;
bitstr_cb(const char *elem, int len, void *bitstr)
if (!ASN1_BIT_STRING_set_bit(bitstr, bitnum, 1)) {
ice_bit_test(const ice_bitstr_t *bitstr, size_t bit)
return ((bitstr[ice_bit_idx(bit)] & ice_bit_mask(bit)) != 0);
ice_bit_set(ice_bitstr_t *bitstr, size_t bit)
bitstr[ice_bit_idx(bit)] |= ice_bit_mask(bit);
ice_bit_clear(ice_bitstr_t *bitstr, size_t bit)
bitstr[ice_bit_idx(bit)] &= ~ice_bit_mask(bit);
ice_bit_count(ice_bitstr_t *bitstr, size_t start, size_t nbits)
curbitstr = bitstr + ice_bit_idx(start);
ice_bit_ff_at(ice_bitstr_t *bitstr, size_t start, size_t nbits, int match)
curbitstr = bitstr + ice_bit_idx(start);
stopbitstr = bitstr + ice_bit_idx(nbits - 1);
value = ((curbitstr - bitstr) * ICE_BITSTR_BITS) + ffs(test) - 1;
ice_bit_ff_area_at(ice_bitstr_t *bitstr, size_t start, size_t nbits,
curbitstr = bitstr + ice_bit_idx(start);
value = (curbitstr - bitstr) * ICE_BITSTR_BITS + last;
const struct bitstr *bs;
const struct bitstr *bs;
getflag(uint *bitmap, int bit, char *bitstr, char *buf, size_t len)
(void)strlcat(buf, bitstr, len);