Lines Matching full:runs
76 * runs[i] holds the number of runs of size (i-1)
82 uint16_t runs[6] = { 0, 0, 0, 0, 0, 0 };
107 /* check for long runs */
109 debug_print(mod_stat, ">25 runs: %d", state);
118 return err_status_algo_fail; /* long-runs test failed */
137 debug_print(mod_stat, ">25 runs (2): %d", state);
138 return err_status_algo_fail; /* long-runs test failed */
141 state = 6; /* group together runs > 5 */
143 runs[state-1]++; /* increment run count */
169 debug_print(mod_stat, "runs test", NULL);
171 debug_print(mod_stat, " runs[]: %d", runs[i]);
178 if ( (runs[i] < lo_value[i] ) || (runs[i] > hi_value[i])
207 uint16_t runs[6] = { 0, 0, 0, 0, 0, 0 };
214 /* counters for monobit, poker, and runs tests are initialized above */
242 /* update runs test counters */
253 /* check for long runs */
255 debug_print(mod_stat, ">25 runs (3): %d", state);
264 return err_status_algo_fail; /* long-runs test failed */
283 debug_print(mod_stat, ">25 runs (4): %d", state);
284 return err_status_algo_fail; /* long-runs test failed */
287 state = 6; /* group together runs > 5 */
289 runs[state-1]++; /* increment run count */
343 if ((runs[i] < lo_value[i] ) || (runs[i] > hi_value[i])