Lines Matching refs:one_in_chance
65 static int one_in_chance(int x) in one_in_chance() function
74 if (one_in_chance(3)) { in mess_with_tm()
79 if (one_in_chance(2)) in mess_with_tm()
84 if (one_in_chance(20)) in mess_with_tm()
101 if (one_in_chance(3)) { in trap_signal_handler()
103 } else if (one_in_chance(2)) { in trap_signal_handler()
105 } else if (one_in_chance(2)) { in trap_signal_handler()
118 if (one_in_chance(4)) { in trap_signal_handler()
121 if (one_in_chance(2)) { in trap_signal_handler()
124 } else if (one_in_chance(2)) { in trap_signal_handler()
131 if (one_in_chance(2)) { in trap_signal_handler()
133 } else if (one_in_chance(2)) { in trap_signal_handler()
134 if (one_in_chance(2)) in trap_signal_handler()
137 else if (one_in_chance(2)) in trap_signal_handler()
143 if (one_in_chance(20)) { in trap_signal_handler()
145 if (one_in_chance(5)) in trap_signal_handler()
152 if (one_in_chance(10)) in trap_signal_handler()
154 if (one_in_chance(10)) in trap_signal_handler()
156 if (one_in_chance(10)) in trap_signal_handler()
158 if (one_in_chance(10)) in trap_signal_handler()
188 if (one_in_chance(2)) in trap_signal_handler()
228 if (one_in_chance(2)) in sigfuz_test()