/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.is_permutation/ |
D | is_permutation.pass.cpp | 29 const int ia[] = {0}; in main() local 31 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in main() 32 assert(std::is_permutation(forward_iterator<const int*>(ia), in main() 33 forward_iterator<const int*>(ia + 0), in main() 36 assert(std::is_permutation(forward_iterator<const int*>(ia), in main() 37 forward_iterator<const int*>(ia + 0), in main() 41 assert(std::is_permutation(forward_iterator<const int*>(ia), in main() 42 forward_iterator<const int*>(ia + sa), in main() 45 assert(std::is_permutation(forward_iterator<const int*>(ia), in main() 46 forward_iterator<const int*>(ia + sa), in main() [all …]
|
D | is_permutation_pred.pass.cpp | 38 const int ia[] = {0}; in main() local 40 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in main() 41 assert(std::is_permutation(forward_iterator<const int*>(ia), in main() 42 forward_iterator<const int*>(ia + 0), in main() 45 assert(std::is_permutation(forward_iterator<const int*>(ia), in main() 46 forward_iterator<const int*>(ia + sa), in main() 50 assert(std::is_permutation(forward_iterator<const int*>(ia), in main() 51 forward_iterator<const int*>(ia + sa), in main() 55 assert(std::is_permutation(forward_iterator<const int*>(ia), in main() 56 forward_iterator<const int*>(ia + sa), in main() [all …]
|
/external/libcxx/test/std/experimental/func/func.searchers/func.searchers.default/ |
D | default.pass.cpp | 50 int ia[] = {0, 1, 2, 3, 4, 5}; in test() local 51 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 52 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia), Iter1(ia)); in test() 53 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia+1), Iter1(ia)); in test() 54 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+1), Iter2(ia+2), Iter1(ia+1)); in test() 55 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+2), Iter1(ia)); in test() 56 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3), Iter1(ia+2)); in test() 57 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3), Iter1(ia+2)); in test() 58 do_search(Iter1(ia), Iter1(ia), Iter2(ia+2), Iter2(ia+3), Iter1(ia)); in test() 59 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+sa-1), Iter2(ia+sa), Iter1(ia+sa-1)); in test() [all …]
|
D | default.pred.pass.cpp | 62 int ia[] = {0, 1, 2, 3, 4, 5}; in test() local 63 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 64 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia), Iter1(ia), 0); in test() 65 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia+1), Iter1(ia), sa); in test() 66 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+1), Iter2(ia+2), Iter1(ia+1), sa); in test() 67 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+2), Iter1(ia), 0); in test() 68 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3), Iter1(ia+2), sa); in test() 69 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3), Iter1(ia+2), sa); in test() 70 do_search(Iter1(ia), Iter1(ia), Iter2(ia+2), Iter2(ia+3), Iter1(ia), 0); in test() 71 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+sa-1), Iter2(ia+sa), Iter1(ia+sa-1), sa); in test() [all …]
|
/external/libcxx/test/std/experimental/func/func.searchers/func.searchers.default/func.searchers.default.creation/ |
D | make_default_searcher.pass.cpp | 36 int ia[] = {0, 1, 2, 3, 4, 5}; in test() local 37 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 38 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia), Iter1(ia)); in test() 39 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia+1), Iter1(ia)); in test() 40 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+1), Iter2(ia+2), Iter1(ia+1)); in test() 41 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+2), Iter1(ia)); in test() 42 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3), Iter1(ia+2)); in test() 43 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3), Iter1(ia+2)); in test() 44 do_search(Iter1(ia), Iter1(ia), Iter2(ia+2), Iter2(ia+3), Iter1(ia)); in test() 45 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+sa-1), Iter2(ia+sa), Iter1(ia+sa-1)); in test() [all …]
|
D | make_default_searcher.pred.pass.cpp | 48 int ia[] = {0, 1, 2, 3, 4, 5}; in test() local 49 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 50 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia), Iter1(ia), 0); in test() 51 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia+1), Iter1(ia), sa); in test() 52 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+1), Iter2(ia+2), Iter1(ia+1), sa); in test() 53 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+2), Iter1(ia), 0); in test() 54 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3), Iter1(ia+2), sa); in test() 55 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3), Iter1(ia+2), sa); in test() 56 do_search(Iter1(ia), Iter1(ia), Iter2(ia+2), Iter2(ia+3), Iter1(ia), 0); in test() 57 do_search(Iter1(ia), Iter1(ia+sa), Iter2(ia+sa-1), Iter2(ia+sa), Iter1(ia+sa-1), sa); in test() [all …]
|
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.search/ |
D | search.pass.cpp | 26 int ia[] = {0, 1, 2, 3, 4, 5}; in test() local 27 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 28 assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia)) == Iter1(ia)); in test() 29 assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia+1)) == Iter1(ia)); in test() 30 assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia+1), Iter2(ia+2)) == Iter1(ia+1)); in test() 31 assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+2)) == Iter1(ia)); in test() 32 assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3)) == Iter1(ia+2)); in test() 33 assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3)) == Iter1(ia+2)); in test() 34 assert(std::search(Iter1(ia), Iter1(ia), Iter2(ia+2), Iter2(ia+3)) == Iter1(ia)); in test() 35 assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia+sa-1), Iter2(ia+sa)) == Iter1(ia+sa-1)); in test() [all …]
|
D | search_pred.pass.cpp | 36 int ia[] = {0, 1, 2, 3, 4, 5}; in test() local 37 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 39 assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia), count_equal()) == Iter1(ia)); in test() 42 … assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia), Iter2(ia+1), count_equal()) == Iter1(ia)); in test() 45 …assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia+1), Iter2(ia+2), count_equal()) == Iter1(ia+1… in test() 48 …assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+2), count_equal()) == Iter1(ia)); in test() 51 …assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3), count_equal()) == Iter1(ia+2… in test() 54 …assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia+2), Iter2(ia+3), count_equal()) == Iter1(ia+2… in test() 57 assert(std::search(Iter1(ia), Iter1(ia), Iter2(ia+2), Iter2(ia+3), count_equal()) == Iter1(ia)); in test() 60 …assert(std::search(Iter1(ia), Iter1(ia+sa), Iter2(ia+sa-1), Iter2(ia+sa), count_equal()) == Iter1(… in test() [all …]
|
D | search_n.pass.cpp | 27 int ia[] = {0, 1, 2, 3, 4, 5}; in test() local 28 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 29 assert(std::search_n(Iter(ia), Iter(ia+sa), 0, 0) == Iter(ia)); in test() 30 assert(std::search_n(Iter(ia), Iter(ia+sa), 1, 0) == Iter(ia+0)); in test() 31 assert(std::search_n(Iter(ia), Iter(ia+sa), 2, 0) == Iter(ia+sa)); in test() 32 assert(std::search_n(Iter(ia), Iter(ia+sa), sa, 0) == Iter(ia+sa)); in test() 33 assert(std::search_n(Iter(ia), Iter(ia+sa), 0, 3) == Iter(ia)); in test() 34 assert(std::search_n(Iter(ia), Iter(ia+sa), 1, 3) == Iter(ia+3)); in test() 35 assert(std::search_n(Iter(ia), Iter(ia+sa), 2, 3) == Iter(ia+sa)); in test() 36 assert(std::search_n(Iter(ia), Iter(ia+sa), sa, 3) == Iter(ia+sa)); in test() [all …]
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/ |
D | partition.pass.cpp | 36 int ia[] = {1, 2, 3, 4, 5, 6, 7, 8 ,9}; in test() local 37 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 38 Iter r = std::partition(Iter(ia), Iter(ia + sa), is_odd()); in test() 39 assert(base(r) == ia + 5); in test() 40 for (int* i = ia; i < base(r); ++i) in test() 42 for (int* i = base(r); i < ia+sa; ++i) in test() 45 r = std::partition(Iter(ia), Iter(ia), is_odd()); in test() 46 assert(base(r) == ia); in test() 49 ia[i] = 2*i; in test() 50 r = std::partition(Iter(ia), Iter(ia+sa), is_odd()); in test() [all …]
|
D | partition_point.pass.cpp | 29 const int ia[] = {2, 4, 6, 8, 10}; in main() local 30 assert(std::partition_point(forward_iterator<const int*>(std::begin(ia)), in main() 31 forward_iterator<const int*>(std::end(ia)), in main() 32 is_odd()) == forward_iterator<const int*>(ia)); in main() 35 const int ia[] = {1, 2, 4, 6, 8}; in main() local 36 assert(std::partition_point(forward_iterator<const int*>(std::begin(ia)), in main() 37 forward_iterator<const int*>(std::end(ia)), in main() 38 is_odd()) == forward_iterator<const int*>(ia + 1)); in main() 41 const int ia[] = {1, 3, 2, 4, 6}; in main() local 42 assert(std::partition_point(forward_iterator<const int*>(std::begin(ia)), in main() [all …]
|
D | is_partitioned.pass.cpp | 30 const int ia[] = {1, 2, 3, 4, 5, 6}; in main() local 32 assert(!std::is_partitioned(input_iterator<const int*>(std::begin(ia)), in main() 33 input_iterator<const int*>(std::end(ia)), in main() 35 assert(pred.count() <= std::distance(std::begin(ia), std::end(ia))); in main() 38 const int ia[] = {1, 3, 5, 2, 4, 6}; in main() local 40 assert( std::is_partitioned(input_iterator<const int*>(std::begin(ia)), in main() 41 input_iterator<const int*>(std::end(ia)), in main() 43 assert(pred.count() <= std::distance(std::begin(ia), std::end(ia))); in main() 46 const int ia[] = {2, 4, 6, 1, 3, 5}; in main() local 48 assert(!std::is_partitioned(input_iterator<const int*>(std::begin(ia)), in main() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.collate/locale.collate/locale.collate.members/ |
D | compare.pass.cpp | 24 const char ia[] = "1234"; in main() local 25 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in main() 28 assert(f.compare(ia, ia+sa, ib, ib+2) == 1); in main() 29 assert(f.compare(ib, ib+2, ia, ia+sa) == -1); in main() 30 assert(f.compare(ia, ia+sa, ib, ib+3) == 1); in main() 31 assert(f.compare(ib, ib+3, ia, ia+sa) == -1); in main() 32 assert(f.compare(ia, ia+sa, ib+1, ib+3) == -1); in main() 33 assert(f.compare(ib+1, ib+3, ia, ia+sa) == 1); in main() 34 assert(f.compare(ia, ia+3, ib, ib+3) == 0); in main() 37 const wchar_t ia[] = L"1234"; in main() local [all …]
|
/external/v8/src/js/ |
D | harmony-atomics.js | 29 function CheckSharedIntegerTypedArray(ia) { argument 30 if (!%IsSharedIntegerTypedArray(ia)) { 31 throw MakeTypeError(kNotIntegerSharedTypedArray, ia); 35 function CheckSharedInteger32TypedArray(ia) { argument 36 CheckSharedIntegerTypedArray(ia); 37 if (!%IsSharedInteger32TypedArray(ia)) { 38 throw MakeTypeError(kNotInt32SharedTypedArray, ia); 65 function AtomicsAddJS(ia, index, value) { argument 66 CheckSharedIntegerTypedArray(ia); 67 index = ValidateIndex(index, %_TypedArrayGetLength(ia)); [all …]
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.remove/ |
D | remove_if.pass.cpp | 34 int ia[] = {0, 1, 2, 3, 4, 2, 3, 4, 2}; in test() local 35 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 38 int* r = std::remove_if(ia, ia+sa, std::ref(cp)); in test() 39 assert(r == ia + sa-3); in test() 40 assert(ia[0] == 0); in test() 41 assert(ia[1] == 1); in test() 42 assert(ia[2] == 3); in test() 43 assert(ia[3] == 4); in test() 44 assert(ia[4] == 3); in test() 45 assert(ia[5] == 4); in test() [all …]
|
D | remove.pass.cpp | 30 int ia[] = {0, 1, 2, 3, 4, 2, 3, 4, 2}; in test() local 31 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 32 Iter r = std::remove(Iter(ia), Iter(ia+sa), 2); in test() 33 assert(base(r) == ia + sa-3); in test() 34 assert(ia[0] == 0); in test() 35 assert(ia[1] == 1); in test() 36 assert(ia[2] == 3); in test() 37 assert(ia[3] == 4); in test() 38 assert(ia[4] == 3); in test() 39 assert(ia[5] == 4); in test() [all …]
|
/external/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/ |
D | make_heap_comp.pass.cpp | 37 int* ia = new int [N]; in test() local 40 ia[i] = i; in test() 41 std::random_shuffle(ia, ia+N); in test() 42 std::make_heap(ia, ia+N, std::greater<int>()); in test() 43 assert(std::is_heap(ia, ia+N, std::greater<int>())); in test() 50 ia[i] = i; in test() 51 std::make_heap(ia, ia+N, std::ref(pred)); in test() 53 assert(std::is_heap(ia, ia+N, pred)); in test() 60 ia[N-1-i] = i; in test() 61 std::make_heap(ia, ia+N, std::ref(pred)); in test() [all …]
|
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.equal/ |
D | equal.pass.cpp | 28 int ia[] = {0, 1, 2, 3, 4, 5}; in main() local 29 const unsigned s = sizeof(ia)/sizeof(ia[0]); in main() 31 assert(std::equal(input_iterator<const int*>(ia), in main() 32 input_iterator<const int*>(ia+s), in main() 33 input_iterator<const int*>(ia))); in main() 35 assert(std::equal(input_iterator<const int*>(ia), in main() 36 input_iterator<const int*>(ia+s), in main() 37 input_iterator<const int*>(ia), in main() 38 input_iterator<const int*>(ia+s))); in main() 39 assert(std::equal(random_access_iterator<const int*>(ia), in main() [all …]
|
D | equal_pred.pass.cpp | 37 int ia[] = {0, 1, 2, 3, 4, 5}; in main() local 38 const unsigned s = sizeof(ia)/sizeof(ia[0]); in main() 40 assert(std::equal(input_iterator<const int*>(ia), in main() 41 input_iterator<const int*>(ia+s), in main() 42 input_iterator<const int*>(ia), in main() 45 assert(std::equal(input_iterator<const int*>(ia), in main() 46 input_iterator<const int*>(ia+s), in main() 47 input_iterator<const int*>(ia), in main() 48 input_iterator<const int*>(ia+s), in main() 50 assert(std::equal(random_access_iterator<const int*>(ia), in main() [all …]
|
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/ |
D | rotate_copy.pass.cpp | 25 int ia[] = {0, 1, 2, 3}; in test() local 26 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 29 OutIter r = std::rotate_copy(InIter(ia), InIter(ia), InIter(ia), OutIter(ib)); in test() 32 r = std::rotate_copy(InIter(ia), InIter(ia), InIter(ia+1), OutIter(ib)); in test() 36 r = std::rotate_copy(InIter(ia), InIter(ia+1), InIter(ia+1), OutIter(ib)); in test() 40 r = std::rotate_copy(InIter(ia), InIter(ia), InIter(ia+2), OutIter(ib)); in test() 45 r = std::rotate_copy(InIter(ia), InIter(ia+1), InIter(ia+2), OutIter(ib)); in test() 50 r = std::rotate_copy(InIter(ia), InIter(ia+2), InIter(ia+2), OutIter(ib)); in test() 55 r = std::rotate_copy(InIter(ia), InIter(ia), InIter(ia+3), OutIter(ib)); in test() 61 r = std::rotate_copy(InIter(ia), InIter(ia+1), InIter(ia+3), OutIter(ib)); in test() [all …]
|
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.find.end/ |
D | find_end.pass.cpp | 26 int ia[] = {0, 1, 2, 3, 4, 5, 0, 1, 2, 3, 4, 0, 1, 2, 3, 0, 1, 2, 0, 1, 0}; in test() local 27 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in test() 29 assert(std::find_end(Iter1(ia), Iter1(ia+sa), Iter2(b), Iter2(b+1)) == Iter1(ia+sa-1)); in test() 31 assert(std::find_end(Iter1(ia), Iter1(ia+sa), Iter2(c), Iter2(c+2)) == Iter1(ia+18)); in test() 33 assert(std::find_end(Iter1(ia), Iter1(ia+sa), Iter2(d), Iter2(d+3)) == Iter1(ia+15)); in test() 35 assert(std::find_end(Iter1(ia), Iter1(ia+sa), Iter2(e), Iter2(e+4)) == Iter1(ia+11)); in test() 37 assert(std::find_end(Iter1(ia), Iter1(ia+sa), Iter2(f), Iter2(f+5)) == Iter1(ia+6)); in test() 39 assert(std::find_end(Iter1(ia), Iter1(ia+sa), Iter2(g), Iter2(g+6)) == Iter1(ia)); in test() 41 assert(std::find_end(Iter1(ia), Iter1(ia+sa), Iter2(h), Iter2(h+7)) == Iter1(ia+sa)); in test() 42 assert(std::find_end(Iter1(ia), Iter1(ia+sa), Iter2(b), Iter2(b)) == Iter1(ia+sa)); in test() [all …]
|
/external/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/ |
D | pop_heap_comp.pass.cpp | 34 int* ia = new int [N]; in test() local 36 ia[i] = i; in test() 37 std::random_shuffle(ia, ia+N); in test() 38 std::make_heap(ia, ia+N, std::greater<int>()); in test() 41 std::pop_heap(ia, ia+i, std::greater<int>()); in test() 42 assert(std::is_heap(ia, ia+i-1, std::greater<int>())); in test() 44 std::pop_heap(ia, ia, std::greater<int>()); in test() 45 delete [] ia; in test() 55 std::unique_ptr<int>* ia = new std::unique_ptr<int> [N]; in main() local 57 ia[i].reset(new int(i)); in main() [all …]
|
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.any_of/ |
D | any_of.pass.cpp | 32 int ia[] = {2, 4, 6, 8}; in main() local 33 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in main() 34 assert(std::any_of(input_iterator<const int*>(ia), in main() 35 input_iterator<const int*>(ia + sa), test1()) == true); in main() 36 assert(std::any_of(input_iterator<const int*>(ia), in main() 37 input_iterator<const int*>(ia), test1()) == false); in main() 40 const int ia[] = {2, 4, 5, 8}; in main() local 41 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in main() 42 assert(std::any_of(input_iterator<const int*>(ia), in main() 43 input_iterator<const int*>(ia + sa), test1()) == true); in main() [all …]
|
/external/libcxx/test/std/algorithms/alg.nonmodifying/alg.none_of/ |
D | none_of.pass.cpp | 32 int ia[] = {2, 4, 6, 8}; in main() local 33 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in main() 34 assert(std::none_of(input_iterator<const int*>(ia), in main() 35 input_iterator<const int*>(ia + sa), test1()) == false); in main() 36 assert(std::none_of(input_iterator<const int*>(ia), in main() 37 input_iterator<const int*>(ia), test1()) == true); in main() 40 const int ia[] = {2, 4, 5, 8}; in main() local 41 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in main() 42 assert(std::none_of(input_iterator<const int*>(ia), in main() 43 input_iterator<const int*>(ia + sa), test1()) == false); in main() [all …]
|
/external/libcxx/test/std/algorithms/alg.nonmodifying/mismatch/ |
D | mismatch_pred.pass.cpp | 32 int ia[] = {0, 1, 2, 2, 0, 1, 2, 3}; in main() local 33 const unsigned sa = sizeof(ia)/sizeof(ia[0]); in main() 41 assert(std::mismatch(II(ia), II(ia + sa), II(ib), EQ()) in main() 42 == (std::pair<II, II>(II(ia+3), II(ib+3)))); in main() 43 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib), EQ()) in main() 44 == (std::pair<RAI, RAI>(RAI(ia+3), RAI(ib+3)))); in main() 47 assert(std::mismatch(RAI(ia), RAI(ia + sa), RAI(ib), std::ref(bcp)) in main() 48 == (std::pair<RAI, RAI>(RAI(ia+3), RAI(ib+3)))); in main() 53 assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib + sb), EQ()) in main() 54 == (std::pair<II, II>(II(ia+3), II(ib+3)))); in main() [all …]
|