Lines Matching refs:bitv

94 typedef struct bitv bitv;
95 static const struct info *dictval2info(const bitv *bv);
101 static bitv *code2dictval(fm_dc_handle_t *dhp, const char *code);
109 static bitv *bitv_alloc(void);
110 static void bitv_free(bitv *bv);
111 static void bitv_shift(bitv *bv, unsigned bits);
112 static void bitv_setlo(bitv *bv, unsigned bits, unsigned val);
113 static void bitv_shiftin(bitv *bv, unsigned bits, unsigned val);
114 static void bitv_shiftinv(bitv *bv, unsigned bits, const bitv *inbv);
115 static int bitv_bits(const bitv *bv);
116 static unsigned bitv_chunk(const bitv *bv, unsigned limbit, unsigned lobit);
117 static int bitv_mul(bitv *bv, unsigned long long val);
118 static int bitv_add(bitv *bv, unsigned long long val);
119 static int bitv_sub(bitv *bv, unsigned long long val);
120 static int bitv_ge(const bitv *bv, unsigned long long val);
121 static bitv *bitv_strparse(const char *s, int bits);
122 static int bitv_cmp(const bitv *bv1, const bitv *bv2);
443 bitv *dictval;
482 bitv *thisval;
589 dictval2info(const bitv *bv)
707 bitv *dictval; /* value from dictionary */
708 bitv *allbits; /* assembled diagcode in binary */
830 static bitv *
835 bitv *allbits;
836 bitv *dictval;
1104 struct bitv {
1109 static bitv *
1113 struct bitv *bv = malloc(sizeof (*bv));
1124 bitv_free(bitv *bv)
1131 bitv_shift(bitv *bv, unsigned bits)
1153 bitv_setlo(bitv *bv, unsigned bits, unsigned val)
1185 bitv_shiftin(bitv *bv, unsigned bits, unsigned val)
1193 bitv_shiftinv(bitv *bv, unsigned bits, const bitv *inbv)
1208 bitv_bits(const bitv *bv)
1229 bitv_chunk(const bitv *bv, unsigned limbit, unsigned lobit)
1256 bitv_mul(bitv *bv, unsigned long long val)
1308 bitv_add(bitv *bv, unsigned long long val)
1339 bitv_sub(bitv *bv, unsigned long long val)
1372 bitv_ge(const bitv *bv, unsigned long long val)
1395 static bitv *
1400 bitv *bv = bitv_alloc();
1450 bitv_cmp(const bitv *bv1, const bitv *bv2)