Home
last modified time | relevance | path

Searched refs:ones_count (Results 1 – 4 of 4) sorted by relevance

/external/srtp/crypto/math/
Dstat.c27 uint16_t ones_count; in stat_test_monobit() local
29 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() local
236 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()
/external/chromium_org/third_party/libsrtp/srtp/crypto/math/
Dstat.c62 uint16_t ones_count; in stat_test_monobit() local
64 ones_count = 0; in stat_test_monobit()
66 ones_count += octet_get_weight(*data); in stat_test_monobit()
70 debug_print(mod_stat, "bit count: %d", ones_count); in stat_test_monobit()
72 if ((ones_count < 9725) || (ones_count > 10275)) in stat_test_monobit()
241 int ones_count = 0; in stat_test_rand_source() local
271 ones_count += octet_get_weight(*data); in stat_test_rand_source()
354 debug_print(mod_stat, "stat: bit count: %d", ones_count); in stat_test_rand_source()
356 if ((ones_count < 9725) || (ones_count > 10275)) { in stat_test_rand_source()
357 debug_print(mod_stat, "stat: failed monobit test %d", ones_count); in stat_test_rand_source()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dsampler_test.cc271 int ones_count = 0; in TestPickNextSample() local
276 ones_count += 1; in TestPickNextSample()
278 CHECK_LT(ones_count, 4); // << " out of " << i << " samples."; in TestPickNextSample()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dsampler_test.cc271 int ones_count = 0; in TestPickNextSample() local
276 ones_count += 1; in TestPickNextSample()
278 CHECK_LT(ones_count, 4); // << " out of " << i << " samples."; in TestPickNextSample()