Lines Matching defs:array
17 #include <array>
72 // test out reset with data in the array (and a new allocation)
84 // test out destructor with data in the array (and using existing allocation)
98 // Test out resut with data in the array and malloced storage
128 int i, array[kSEARCH_COUNT];
132 array[i] = rand.nextS();
135 SkTHeapSort<int>(array, kSEARCH_COUNT);
138 REPORTER_ASSERT(reporter, array[i-1] <= array[i]);
143 int index = SkTSearch<int>(array, kSEARCH_COUNT, array[i], sizeof(int));
151 int index = SkTSearch<int>(array, kSEARCH_COUNT, value, sizeof(int));
155 index < kSEARCH_COUNT && array[index] == value);
160 REPORTER_ASSERT(reporter, value < array[index]);
162 REPORTER_ASSERT(reporter, value > array[index - 1]);
166 REPORTER_ASSERT(reporter, value > array[kSEARCH_COUNT - 1]);
200 std::array<int, 5> v = {{1, 2, 3, 4, 5}};
212 std::array<int, 5> t = {{1, 2, 3, 4, 5}};
213 const std::array<int, 5>& v = t;
352 std::array<int, 4> D = {{100, 200, 300, 400}};
525 std::array<int, 4> D = {{100, 200, 300, 400}};
650 //constexpr static std::array<int, 4> cD = {{100, 200, 300, 400}};