Lines Matching refs:cnt
1175 int cnt, def; in randomize_choice_values() local
1188 cnt = 0; in randomize_choice_values()
1190 cnt++; in randomize_choice_values()
1196 def = (rand() % cnt); in randomize_choice_values()
1198 cnt = 0; in randomize_choice_values()
1200 if (def == cnt++) { in randomize_choice_values()
1241 int i, cnt, pby, pty, ptm; /* pby: probability of bool = y in conf_set_all_new_symbols() local
1310 cnt = rand() % 100; in conf_set_all_new_symbols()
1312 if (cnt < pty) in conf_set_all_new_symbols()
1314 else if (cnt < (pty+ptm)) in conf_set_all_new_symbols()
1316 } else if (cnt < pby) in conf_set_all_new_symbols()