Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.rotate/
Drotate.pass.cpp156 int ig[] = {0, 1, 2, 3, 4, 5}; in test() local
157 const unsigned sg = sizeof(ig)/sizeof(ig[0]); in test()
158 r = std::rotate(Iter(ig), Iter(ig), Iter(ig+sg)); in test()
159 assert(base(r) == ig+sg); in test()
160 assert(ig[0] == 0); in test()
161 assert(ig[1] == 1); in test()
162 assert(ig[2] == 2); in test()
163 assert(ig[3] == 3); in test()
164 assert(ig[4] == 4); in test()
165 assert(ig[5] == 5); in test()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.unique/
Dunique.pass.cpp64 int ig[] = {0, 0, 1, 1}; in test() local
65 const unsigned sg = sizeof(ig)/sizeof(ig[0]); in test()
66 r = std::unique(Iter(ig), Iter(ig+sg)); in test()
67 assert(base(r) == ig + 2); in test()
68 assert(ig[0] == 0); in test()
69 assert(ig[1] == 1); in test()
139 Ptr ig[4]; in test1() local
140 ig[2].reset(&one); in test1()
141 ig[3].reset(&one); in test1()
142 const unsigned sg = sizeof(ig)/sizeof(ig[0]); in test1()
[all …]
Dunique_pred.pass.cpp84 int ig[] = {0, 0, 1, 1}; in test() local
85 const unsigned sg = sizeof(ig)/sizeof(ig[0]); in test()
87 r = std::unique(Iter(ig), Iter(ig+sg), count_equal()); in test()
88 assert(base(r) == ig + 2); in test()
89 assert(ig[0] == 0); in test()
90 assert(ig[1] == 1); in test()
175 Ptr ig[4]; in test1() local
176 ig[2].reset(&one); in test1()
177 ig[3].reset(&one); in test1()
178 const unsigned sg = sizeof(ig)/sizeof(ig[0]); in test1()
[all …]
Dunique_copy.pass.cpp68 const int ig[] = {0, 0, 1, 1}; in test() local
69 const unsigned sg = sizeof(ig)/sizeof(ig[0]); in test()
71 r = std::unique_copy(InIter(ig), InIter(ig+sg), OutIter(jg)); in test()
Dunique_copy_pred.pass.cpp89 const int ig[] = {0, 0, 1, 1}; in test() local
90 const unsigned sg = sizeof(ig)/sizeof(ig[0]); in test()
93 r = std::unique_copy(InIter(ig), InIter(ig+sg), OutIter(jg), count_equal()); in test()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.search/
Dsearch.pass.cpp48 int ig[] = {1, 2, 3, 4}; in test() local
49 assert(std::search(Iter1(ib), Iter1(ib+sb), Iter2(ig), Iter2(ig+4)) == Iter1(ib+8)); in test()
Dsearch_pred.pass.cpp89 int ig[] = {1, 2, 3, 4}; in test() local
90 …assert(std::search(Iter1(ib), Iter1(ib+sb), Iter2(ig), Iter2(ig+4), count_equal()) == Iter1(ib+8)); in test()
/ndk/tests/build/issue20862-libpng-O0/jni/
Dpngrtran.c724 int ir, ig, ib; in png_set_quantize() local
736 for (ig = 0; ig < num_green; ig++) in png_set_quantize()
739 int dg = ((ig > g) ? ig - g : g - ig); in png_set_quantize()
742 int index_g = index_r | (ig << PNG_QUANTIZE_BLUE_BITS); in png_set_quantize()