Lines Matching refs:rand
92 int32 action = CountWindows() > 1 ? rand() % 10 : 0;
99 BWindow* window = WindowAt(rand() % CountWindows());
110 BWindow* window = WindowAt(rand() % CountWindows());
120 BWindow* window = WindowAt(rand() % CountWindows());
131 BWindow* window = WindowAt(rand() % CountWindows());
135 window->SetWorkspaces(1 << (rand() % 4));
142 BWindow* window = WindowAt(rand() % CountWindows());
153 BWindow* window = WindowAt(rand() % CountWindows());
164 BWindow* window = WindowAt(rand() % CountWindows());
170 rand() % 100);
178 BWindow* window = WindowAt(rand() % CountWindows());
187 window->SetLook(looks[rand() % 3]);
194 BWindow* window = WindowAt(rand() % CountWindows());
203 window->SetFeel(feels[rand() % 3]);