Lines Matching refs:bitv

92 typedef struct bitv bitv;  typedef
93 static const struct info *dictval2info(const bitv *bv);
99 static bitv *code2dictval(fm_dc_handle_t *dhp, const char *code);
107 static bitv *bitv_alloc(void);
108 static void bitv_free(bitv *bv);
109 static void bitv_shift(bitv *bv, unsigned bits);
110 static void bitv_setlo(bitv *bv, unsigned bits, unsigned val);
111 static void bitv_shiftin(bitv *bv, unsigned bits, unsigned val);
112 static void bitv_shiftinv(bitv *bv, unsigned bits, const bitv *inbv);
113 static int bitv_bits(const bitv *bv);
114 static unsigned bitv_chunk(const bitv *bv, unsigned limbit, unsigned lobit);
115 static int bitv_mul(bitv *bv, unsigned long long val);
116 static int bitv_add(bitv *bv, unsigned long long val);
117 static int bitv_sub(bitv *bv, unsigned long long val);
118 static int bitv_ge(const bitv *bv, unsigned long long val);
119 static bitv *bitv_strparse(const char *s, int bits);
120 static int bitv_cmp(const bitv *bv1, const bitv *bv2);
441 bitv *dictval; in fm_dc_code2key()
480 bitv *thisval; in fm_dc_code2key()
587 dictval2info(const bitv *bv) in dictval2info()
705 bitv *dictval; /* value from dictionary */ in buildcode()
706 bitv *allbits; /* assembled diagcode in binary */ in buildcode()
828 static bitv *
833 bitv *allbits; in code2dictval()
834 bitv *dictval; in code2dictval()
1102 struct bitv { struct
1107 static bitv * argument
1111 struct bitv *bv = malloc(sizeof (*bv)); in bitv_alloc()
1122 bitv_free(bitv *bv) in bitv_free()
1129 bitv_shift(bitv *bv, unsigned bits) in bitv_shift()
1151 bitv_setlo(bitv *bv, unsigned bits, unsigned val) in bitv_setlo()
1183 bitv_shiftin(bitv *bv, unsigned bits, unsigned val) in bitv_shiftin()
1191 bitv_shiftinv(bitv *bv, unsigned bits, const bitv *inbv) in bitv_shiftinv()
1206 bitv_bits(const bitv *bv) in bitv_bits()
1227 bitv_chunk(const bitv *bv, unsigned limbit, unsigned lobit) in bitv_chunk()
1254 bitv_mul(bitv *bv, unsigned long long val) in bitv_mul()
1306 bitv_add(bitv *bv, unsigned long long val) in bitv_add()
1337 bitv_sub(bitv *bv, unsigned long long val) in bitv_sub()
1370 bitv_ge(const bitv *bv, unsigned long long val) in bitv_ge()
1393 static bitv *
1398 bitv *bv = bitv_alloc(); in bitv_strparse()
1448 bitv_cmp(const bitv *bv1, const bitv *bv2) in bitv_cmp()