Lines Matching defs:random
82 SkRandom random;
86 // Create a random set of Mock objects.
87 int count = random.nextULessThan(100);
92 mock->fPriority = random.nextS();
93 mock->fValue = random.nextS();
120 // Do one of three random actions:
121 unsigned action = random.nextULessThan(3);
130 case 1: { // remove a random element,
133 item = random.nextULessThan(count);
142 item = random.nextULessThan(count);
144 array[item].fPriority = random.nextS();
154 SkRandom random;
159 // Create a random set of Mock objects and populate the test queue.
160 int count = random.nextULessThan(100);
165 mock->fPriority = random.nextS();
166 mock->fValue = random.nextS();