Searched refs:TOTAL_BITS (Results 1 – 2 of 2) sorted by relevance
61 #define TOTAL_BITS(bw) (WORDS_TO_BITS((bw)->words) + (bw)->bits) macro260 ok = TOTAL_BITS(bw) == 8 && (bw->accum & 0xff) == 0; in test_bitwriter()270 ok = TOTAL_BITS(bw) == 8 && (bw->accum & 0xff) == 0x7F; in test_bitwriter()280 ok = TOTAL_BITS(bw) == 16 && (bw->accum & 0xffff) == 0xC280; in test_bitwriter()290 ok = TOTAL_BITS(bw) == 16 && (bw->accum & 0xffff) == 0xDFBF; in test_bitwriter()300 ok = TOTAL_BITS(bw) == 24 && (bw->accum & 0xffffff) == 0xE0A080; in test_bitwriter()310 ok = TOTAL_BITS(bw) == 24 && (bw->accum & 0xffffff) == 0xEFBFBF; in test_bitwriter()322 ok = TOTAL_BITS(bw) == 32 && bw->buffer[0] == 0xF0908080; in test_bitwriter()324 ok = TOTAL_BITS(bw) == 32 && bw->buffer[0] == 0x808090F0; in test_bitwriter()327 ok = TOTAL_BITS(bw) == 32 && (bw->accum & 0xffffffff) == 0xF0908080; in test_bitwriter()[all …]
111 const TOTAL_BITS: u32 = 32; in rand_float() constant115 u >>= TOTAL_BITS - PRECISION; in rand_float()228 const TOTAL_BITS: u32 = 64; in rand_float() constant232 u >>= TOTAL_BITS - PRECISION; in rand_float()