Home | History | Annotate | Download | only in tests

Lines Matching refs:array

12 static void rand_array(SkRandom& rand, int array[], int n) {
14 array[j] = rand.nextS() & 0xFF;
19 const int array[], int n) {
21 if (array[j-1] > array[j]) {
24 array[j-1], array[j]);
31 int array[500];
35 int count = rand.nextRangeU(1, SK_ARRAY_COUNT(array));
37 rand_array(rand, array, count);
38 SkQSort(array, count, sizeof(int), compare_int);
39 check_sort(reporter, "Quick", array, count);
41 rand_array(rand, array, count);
42 SkTHeapSort<int>(array, count);
43 check_sort(reporter, "Heap", array, count);