Home
last modified time | relevance | path

Searched refs:kSEARCH_COUNT (Results 1 – 1 of 1) sorted by relevance

/external/skia/tests/
DUtilsTest.cpp120 #define kSEARCH_COUNT 91 macro
123 int i, array[kSEARCH_COUNT]; in test_search()
126 for (i = 0; i < kSEARCH_COUNT; i++) { in test_search()
130 SkTHeapSort<int>(array, kSEARCH_COUNT); in test_search()
132 for (i = 1; i < kSEARCH_COUNT; i++) { in test_search()
137 for (i = 0; i < kSEARCH_COUNT; i++) { in test_search()
138 int index = SkTSearch<int>(array, kSEARCH_COUNT, array[i], sizeof(int)); in test_search()
146 int index = SkTSearch<int>(array, kSEARCH_COUNT, value, sizeof(int)); in test_search()
150 index < kSEARCH_COUNT && array[index] == value); in test_search()
153 REPORTER_ASSERT(reporter, index <= kSEARCH_COUNT); in test_search()
[all …]