Lines Matching refs:rand
138 if (rand() % 2) in test_workload()
154 if (rand() % 2) in test_workload()
163 gstruct.a[rand() % A_LEN] = 'a'; in test_workload()
166 cvar = gstruct.a[rand() % A_LEN]; in test_workload()
169 if (rand() % 2) in test_workload()
170 gstruct.a[rand() % A_LEN] = 'a'; in test_workload()
172 cvar = gstruct.a[rand() % A_LEN]; in test_workload()
175 gstruct.b[rand() % B_LEN] = 'b'; in test_workload()
178 cvar = gstruct.b[rand() % B_LEN]; in test_workload()
181 if (rand() % 2) in test_workload()
182 gstruct.b[rand() % B_LEN] = 'b'; in test_workload()
184 cvar = gstruct.b[rand() % B_LEN]; in test_workload()
187 if (rand() % 2) in test_workload()
193 if (rand() % 2) in test_workload()
194 big_var[rand() % DAWR_MAX_LEN] = 'a'; in test_workload()
196 cvar = big_var[rand() % DAWR_MAX_LEN]; in test_workload()
199 gstruct.a[rand() % A_LEN] = 'a'; in test_workload()
202 cvar = gstruct.b[rand() % B_LEN]; in test_workload()
205 gstruct.a[rand() % A_LEN] = 'a'; in test_workload()
208 cvar = gstruct.a[rand() % A_LEN]; in test_workload()