Home | History | Annotate | Download | only in tests

Lines Matching refs:array

10     int         i, array[kSEARCH_COUNT];
14 array[i] = rand.nextS();
17 SkTHeapSort<int>(array, kSEARCH_COUNT);
20 REPORTER_ASSERT(reporter, array[i-1] <= array[i]);
25 int index = SkTSearch<int>(array, kSEARCH_COUNT, array[i], sizeof(int));
33 int index = SkTSearch<int>(array, kSEARCH_COUNT, value, sizeof(int));
37 index < kSEARCH_COUNT && array[index] == value);
42 REPORTER_ASSERT(reporter, value < array[index]);
44 REPORTER_ASSERT(reporter, value > array[index - 1]);
48 REPORTER_ASSERT(reporter, value > array[kSEARCH_COUNT - 1]);