Searched refs:ones_count (Results 1 – 1 of 1) sorted by relevance
27 uint16_t ones_count; in stat_test_monobit() local29 ones_count = 0; in stat_test_monobit()31 ones_count += octet_get_weight(*data); in stat_test_monobit()35 debug_print(mod_stat, "bit count: %d", ones_count); in stat_test_monobit()37 if ((ones_count < 9725) || (ones_count > 10275)) in stat_test_monobit()206 int ones_count = 0; in stat_test_rand_source() local236 ones_count += octet_get_weight(*data); in stat_test_rand_source()319 debug_print(mod_stat, "stat: bit count: %d", ones_count); in stat_test_rand_source()321 if ((ones_count < 9725) || (ones_count > 10275)) { in stat_test_rand_source()322 debug_print(mod_stat, "stat: failed monobit test %d", ones_count); in stat_test_rand_source()