Lines Matching refs:errs
152 int len, int errs, int eras) in get_rcw_we() argument
178 for (i = 0; i < errs; i++) { in get_rcw_we()
214 errs++; in get_rcw_we()
218 return errs; in get_rcw_we()
260 static void test_uc(struct rs_control *rs, int len, int errs, in test_uc() argument
275 nerrs = get_rcw_we(rs, ws, len, errs, eras); in test_uc()
324 int errs, eras, retval; in ex_rs_helper() local
329 for (errs = 0; errs <= nroots / 2; errs++) in ex_rs_helper()
330 for (eras = 0; eras <= nroots - 2 * errs; eras++) in ex_rs_helper()
331 test_uc(rs, len, errs, eras, trials, &stat, ws, method); in ex_rs_helper()
366 static void test_bc(struct rs_control *rs, int len, int errs, in test_bc() argument
378 get_rcw_we(rs, ws, len, errs, eras); in test_bc()
412 int errs, eras, cutoff; in exercise_rs_bc() local
417 for (errs = 1; errs <= nroots; errs++) { in exercise_rs_bc()
418 eras = nroots - 2 * errs + 1; in exercise_rs_bc()
422 cutoff = nroots <= len - errs ? nroots : len - errs; in exercise_rs_bc()
424 test_bc(rs, len, errs, eras, trials, &stat, ws); in exercise_rs_bc()