Lines Matching refs:rand
139 if (rand() % 2) in test_workload()
155 if (rand() % 2) in test_workload()
164 gstruct.a[rand() % A_LEN] = 'a'; in test_workload()
167 cvar = gstruct.a[rand() % A_LEN]; in test_workload()
170 if (rand() % 2) in test_workload()
171 gstruct.a[rand() % A_LEN] = 'a'; in test_workload()
173 cvar = gstruct.a[rand() % A_LEN]; in test_workload()
176 gstruct.b[rand() % B_LEN] = 'b'; in test_workload()
179 cvar = gstruct.b[rand() % B_LEN]; in test_workload()
182 if (rand() % 2) in test_workload()
183 gstruct.b[rand() % B_LEN] = 'b'; in test_workload()
185 cvar = gstruct.b[rand() % B_LEN]; in test_workload()
188 if (rand() % 2) in test_workload()
194 if (rand() % 2) in test_workload()
195 big_var[rand() % DAWR_MAX_LEN] = 'a'; in test_workload()
197 cvar = big_var[rand() % DAWR_MAX_LEN]; in test_workload()
200 gstruct.a[rand() % A_LEN] = 'a'; in test_workload()
203 cvar = gstruct.b[rand() % B_LEN]; in test_workload()
206 gstruct.a[rand() % A_LEN] = 'a'; in test_workload()
209 cvar = gstruct.a[rand() % A_LEN]; in test_workload()