/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/mismatch/ |
mismatch.pass.cpp | 31 assert(std::mismatch(input_iterator<const int*>(ia), 32 input_iterator<const int*>(ia + sa), 33 input_iterator<const int*>(ib)) == 34 (std::pair<input_iterator<const int*>, 35 input_iterator<const int*> >( 36 input_iterator<const int*>(ia+3), 37 input_iterator<const int*>(ib+3)))); 40 assert(std::mismatch(input_iterator<const int*>(ia), 41 input_iterator<const int*>(ia + sa), 42 input_iterator<const int*>(ib) [all...] |
mismatch_pred.pass.cpp | 34 assert(std::mismatch(input_iterator<const int*>(ia), 35 input_iterator<const int*>(ia + sa), 36 input_iterator<const int*>(ib), 38 (std::pair<input_iterator<const int*>, 39 input_iterator<const int*> >( 40 input_iterator<const int*>(ia+3), 41 input_iterator<const int*>(ib+3)))); 43 assert(std::mismatch(input_iterator<const int*>(ia), 44 input_iterator<const int*>(ia + sa), 45 input_iterator<const int*>(ib) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.count/ |
count.pass.cpp | 26 assert(std::count(input_iterator<const int*>(ia), 27 input_iterator<const int*>(ia + sa), 2) == 3); 28 assert(std::count(input_iterator<const int*>(ia), 29 input_iterator<const int*>(ia + sa), 7) == 0); 30 assert(std::count(input_iterator<const int*>(ia), 31 input_iterator<const int*>(ia), 2) == 0);
|
count_if.pass.cpp | 27 assert(std::count_if(input_iterator<const int*>(ia), 28 input_iterator<const int*>(ia + sa), 30 assert(std::count_if(input_iterator<const int*>(ia), 31 input_iterator<const int*>(ia + sa), 33 assert(std::count_if(input_iterator<const int*>(ia), 34 input_iterator<const int*>(ia),
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.find/ |
find.pass.cpp | 26 input_iterator<const int*> r = std::find(input_iterator<const int*>(ia), 27 input_iterator<const int*>(ia+s), 3); 29 r = std::find(input_iterator<const int*>(ia), input_iterator<const int*>(ia+s), 10); 30 assert(r == input_iterator<const int*>(ia+s));
|
find_if.pass.cpp | 27 input_iterator<const int*> r = std::find_if(input_iterator<const int*>(ia), 28 input_iterator<const int*>(ia+s), 31 r = std::find_if(input_iterator<const int*>(ia), 32 input_iterator<const int*>(ia+s), 34 assert(r == input_iterator<const int*>(ia+s));
|
find_if_not.pass.cpp | 27 input_iterator<const int*> r = std::find_if_not(input_iterator<const int*>(ia), 28 input_iterator<const int*>(ia+s), 31 r = std::find_if_not(input_iterator<const int*>(ia), 32 input_iterator<const int*>(ia+s), 34 assert(r == input_iterator<const int*>(ia+s));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.any_of/ |
any_of.pass.cpp | 34 assert(std::any_of(input_iterator<const int*>(ia), 35 input_iterator<const int*>(ia + sa), test1()) == true); 36 assert(std::any_of(input_iterator<const int*>(ia), 37 input_iterator<const int*>(ia), test1()) == false); 42 assert(std::any_of(input_iterator<const int*>(ia), 43 input_iterator<const int*>(ia + sa), test1()) == true); 44 assert(std::any_of(input_iterator<const int*>(ia), 45 input_iterator<const int*>(ia), test1()) == false); 50 assert(std::any_of(input_iterator<const int*>(ia), 51 input_iterator<const int*>(ia + sa), test1()) == false) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.find.first.of/ |
find_first_of.pass.cpp | 28 assert(std::find_first_of(input_iterator<const int*>(ia), 29 input_iterator<const int*>(ia + sa), 32 input_iterator<const int*>(ia+1)); 34 assert(std::find_first_of(input_iterator<const int*>(ia), 35 input_iterator<const int*>(ia + sa), 38 input_iterator<const int*>(ia+sa)); 39 assert(std::find_first_of(input_iterator<const int*>(ia), 40 input_iterator<const int*>(ia + sa), 43 input_iterator<const int*>(ia+sa)); 44 assert(std::find_first_of(input_iterator<const int*>(ia) [all...] |
find_first_of_pred.pass.cpp | 30 assert(std::find_first_of(input_iterator<const int*>(ia), 31 input_iterator<const int*>(ia + sa), 35 input_iterator<const int*>(ia+1)); 37 assert(std::find_first_of(input_iterator<const int*>(ia), 38 input_iterator<const int*>(ia + sa), 42 input_iterator<const int*>(ia+sa)); 43 assert(std::find_first_of(input_iterator<const int*>(ia), 44 input_iterator<const int*>(ia + sa), 48 input_iterator<const int*>(ia+sa)); 49 assert(std::find_first_of(input_iterator<const int*>(ia) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.none_of/ |
none_of.pass.cpp | 34 assert(std::none_of(input_iterator<const int*>(ia), 35 input_iterator<const int*>(ia + sa), test1()) == false); 36 assert(std::none_of(input_iterator<const int*>(ia), 37 input_iterator<const int*>(ia), test1()) == true); 42 assert(std::none_of(input_iterator<const int*>(ia), 43 input_iterator<const int*>(ia + sa), test1()) == false); 44 assert(std::none_of(input_iterator<const int*>(ia), 45 input_iterator<const int*>(ia), test1()) == true); 50 assert(std::none_of(input_iterator<const int*>(ia), 51 input_iterator<const int*>(ia + sa), test1()) == true) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.all_of/ |
all_of.pass.cpp | 34 assert(std::all_of(input_iterator<const int*>(ia), 35 input_iterator<const int*>(ia + sa), test1()) == true); 36 assert(std::all_of(input_iterator<const int*>(ia), 37 input_iterator<const int*>(ia), test1()) == true); 42 assert(std::all_of(input_iterator<const int*>(ia), 43 input_iterator<const int*>(ia + sa), test1()) == false); 44 assert(std::all_of(input_iterator<const int*>(ia), 45 input_iterator<const int*>(ia), test1()) == true);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.nonmodifying/alg.equal/ |
equal.pass.cpp | 31 assert(std::equal(input_iterator<const int*>(ia), 32 input_iterator<const int*>(ia+s), 33 input_iterator<const int*>(ia))); 35 assert(std::equal(input_iterator<const int*>(ia), 36 input_iterator<const int*>(ia+s), 37 input_iterator<const int*>(ia), 38 input_iterator<const int*>(ia+s))); 44 assert(!std::equal(input_iterator<const int*>(ia), 45 input_iterator<const int*>(ia+s), 46 input_iterator<const int*>(ib))) [all...] |
equal_pred.pass.cpp | 40 assert(std::equal(input_iterator<const int*>(ia), 41 input_iterator<const int*>(ia+s), 42 input_iterator<const int*>(ia), 45 assert(std::equal(input_iterator<const int*>(ia), 46 input_iterator<const int*>(ia+s), 47 input_iterator<const int*>(ia), 48 input_iterator<const int*>(ia+s), 57 assert(!std::equal(input_iterator<const int*>(ia), 58 input_iterator<const int*>(ia+s), 59 input_iterator<const int*>(ia) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.transform/ |
binary_transform.pass.cpp | 43 test<input_iterator<const int*>, input_iterator<const int*>, output_iterator<int*> >(); 44 test<input_iterator<const int*>, input_iterator<const int*>, input_iterator<int*> >(); 45 test<input_iterator<const int*>, input_iterator<const int*>, forward_iterator<int*> >(); 46 test<input_iterator<const int*>, input_iterator<const int*>, bidirectional_iterator<int*> >(); 47 test<input_iterator<const int*>, input_iterator<const int*>, random_access_iterator<int*> >() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_append/ |
iterator.pass.cpp | 18 #include "../../input_iterator.h" 56 test(S(), input_iterator<const char*>(s), input_iterator<const char*>(s), S()); 57 test(S(), input_iterator<const char*>(s), input_iterator<const char*>(s+1), S("A")); 58 test(S(), input_iterator<const char*>(s), input_iterator<const char*>(s+10), 60 test(S(), input_iterator<const char*>(s), input_iterator<const char*>(s+52), 63 test(S("12345"), input_iterator<const char*>(s), input_iterator<const char*>(s) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_assign/ |
iterator.pass.cpp | 18 #include "../../input_iterator.h" 56 test(S(), input_iterator<const char*>(s), input_iterator<const char*>(s), S()); 57 test(S(), input_iterator<const char*>(s), input_iterator<const char*>(s+1), S("A")); 58 test(S(), input_iterator<const char*>(s), input_iterator<const char*>(s+10), 60 test(S(), input_iterator<const char*>(s), input_iterator<const char*>(s+52), 63 test(S("12345"), input_iterator<const char*>(s), input_iterator<const char*>(s) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/string.modifiers/string_insert/ |
iter_iter_iter.pass.cpp | 18 #include "../../input_iterator.h" 58 test(S(), 0, input_iterator<const char*>(s), input_iterator<const char*>(s), S()); 59 test(S(), 0, input_iterator<const char*>(s), input_iterator<const char*>(s+1), S("A")); 60 test(S(), 0, input_iterator<const char*>(s), input_iterator<const char*>(s+10), S("ABCDEFGHIJ")); 61 test(S(), 0, input_iterator<const char*>(s), input_iterator<const char*>(s+52), S("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz")); 63 test(S("12345"), 0, input_iterator<const char*>(s), input_iterator<const char*>(s), S("12345")) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.partitions/ |
is_partitioned.pass.cpp | 30 assert(!std::is_partitioned(input_iterator<const int*>(std::begin(ia)), 31 input_iterator<const int*>(std::end(ia)), 36 assert( std::is_partitioned(input_iterator<const int*>(std::begin(ia)), 37 input_iterator<const int*>(std::end(ia)), 42 assert(!std::is_partitioned(input_iterator<const int*>(std::begin(ia)), 43 input_iterator<const int*>(std::end(ia)), 48 assert(!std::is_partitioned(input_iterator<const int*>(std::begin(ia)), 49 input_iterator<const int*>(std::end(ia)), 54 assert( std::is_partitioned(input_iterator<const int*>(std::begin(ia)), 55 input_iterator<const int*>(std::begin(ia)) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/strings/basic.string/ |
input_iterator.h | 7 class input_iterator class 17 input_iterator() : it_() {} function in class:input_iterator 18 explicit input_iterator(It it) : it_(it) {} function in class:input_iterator 23 input_iterator& operator++() {++it_; return *this;} 24 input_iterator operator++(int) {input_iterator tmp(*this); ++(*this); return tmp;} 26 friend bool operator==(const input_iterator& x, const input_iterator& y) 28 friend bool operator!=(const input_iterator& x, const input_iterator& y [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.difference/ |
set_difference.pass.cpp | 51 test<input_iterator<const int*>, input_iterator<const int*>, output_iterator<int*> >(); 52 test<input_iterator<const int*>, input_iterator<const int*>, forward_iterator<int*> >(); 53 test<input_iterator<const int*>, input_iterator<const int*>, bidirectional_iterator<int*> >(); 54 test<input_iterator<const int*>, input_iterator<const int*>, random_access_iterator<int*> >(); 55 test<input_iterator<const int*>, input_iterator<const int*>, int*>() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.intersection/ |
set_intersection.pass.cpp | 49 test<input_iterator<const int*>, input_iterator<const int*>, output_iterator<int*> >(); 50 test<input_iterator<const int*>, input_iterator<const int*>, forward_iterator<int*> >(); 51 test<input_iterator<const int*>, input_iterator<const int*>, bidirectional_iterator<int*> >(); 52 test<input_iterator<const int*>, input_iterator<const int*>, random_access_iterator<int*> >(); 53 test<input_iterator<const int*>, input_iterator<const int*>, int*>() [all...] |
set_intersection_comp.pass.cpp | 51 test<input_iterator<const int*>, input_iterator<const int*>, output_iterator<int*> >(); 52 test<input_iterator<const int*>, input_iterator<const int*>, forward_iterator<int*> >(); 53 test<input_iterator<const int*>, input_iterator<const int*>, bidirectional_iterator<int*> >(); 54 test<input_iterator<const int*>, input_iterator<const int*>, random_access_iterator<int*> >(); 55 test<input_iterator<const int*>, input_iterator<const int*>, int*>() [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.sorting/alg.set.operations/set.symmetric.difference/ |
set_symmetric_difference.pass.cpp | 50 test<input_iterator<const int*>, input_iterator<const int*>, output_iterator<int*> >(); 51 test<input_iterator<const int*>, input_iterator<const int*>, forward_iterator<int*> >(); 52 test<input_iterator<const int*>, input_iterator<const int*>, bidirectional_iterator<int*> >(); 53 test<input_iterator<const int*>, input_iterator<const int*>, random_access_iterator<int*> >(); 54 test<input_iterator<const int*>, input_iterator<const int*>, int*>() [all...] |
set_symmetric_difference_comp.pass.cpp | 54 test<input_iterator<const int*>, input_iterator<const int*>, output_iterator<int*> >(); 55 test<input_iterator<const int*>, input_iterator<const int*>, forward_iterator<int*> >(); 56 test<input_iterator<const int*>, input_iterator<const int*>, bidirectional_iterator<int*> >(); 57 test<input_iterator<const int*>, input_iterator<const int*>, random_access_iterator<int*> >(); 58 test<input_iterator<const int*>, input_iterator<const int*>, int*>() [all...] |