72 new_vec =
ckd_realloc(vec, new_size *
sizeof(bitvec_t));
73 if (new_size > old_size)
74 memset(new_vec + old_size, 0, (new_size - old_size) *
sizeof(bitvec_t));
82 size_t words, bits, w, b, n;
85 words = len / BITVEC_BITS;
86 bits = len % BITVEC_BITS;
89 for (w = 0; w < words; ++w, ++v) {
92 for (b = 0; b < BITVEC_BITS; ++b)
96 for (b = 0; b < bits; ++b)