Home
last modified time | relevance | path

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

/external/cronet/buildtools/third_party/libc++/trunk/test/std/ranges/range.adaptors/range.transform/iterator/
Dtypes.pass.cpp31 using TIter = std::ranges::iterator_t<TView>; in test() typedef
32 static_assert(std::same_as<typename TIter::iterator_concept, std::random_access_iterator_tag>); in test()
33 static_assert(std::same_as<typename TIter::iterator_category, std::random_access_iterator_tag>); in test()
34 static_assert(std::same_as<typename TIter::value_type, int>); in test()
35 static_assert(std::same_as<typename TIter::difference_type, std::ptrdiff_t>); in test()
40 using TIter = std::ranges::iterator_t<TView>; in test() typedef
41 static_assert(std::same_as<typename TIter::iterator_concept, std::random_access_iterator_tag>); in test()
42 static_assert(std::same_as<typename TIter::iterator_category, std::random_access_iterator_tag>); in test()
43 static_assert(std::same_as<typename TIter::value_type, int>); in test()
44 static_assert(std::same_as<typename TIter::difference_type, std::ptrdiff_t>); in test()
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.modifiers/string_assign/
Diterator.pass.cpp123 typedef ThrowingIterator<char> TIter; in test() typedef
124 typedef cpp17_input_iterator<TIter> IIter; in test()
126 test_exceptions(S(), IIter(TIter(s, s+10, 4, TIter::TAIncrement)), IIter(TIter())); in test()
127 test_exceptions(S(), IIter(TIter(s, s+10, 5, TIter::TADereference)), IIter(TIter())); in test()
128 test_exceptions(S(), IIter(TIter(s, s+10, 6, TIter::TAComparison)), IIter(TIter())); in test()
130 test_exceptions(S(), TIter(s, s+10, 4, TIter::TAIncrement), TIter()); in test()
131 test_exceptions(S(), TIter(s, s+10, 5, TIter::TADereference), TIter()); in test()
132 test_exceptions(S(), TIter(s, s+10, 6, TIter::TAComparison), TIter()); in test()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.modifiers/string_append/
Diterator.pass.cpp123 typedef ThrowingIterator<char> TIter; in test() typedef
124 typedef cpp17_input_iterator<TIter> IIter; in test()
126 test_exceptions(S(), IIter(TIter(s, s+10, 4, TIter::TAIncrement)), IIter(TIter())); in test()
127 test_exceptions(S(), IIter(TIter(s, s+10, 5, TIter::TADereference)), IIter(TIter())); in test()
128 test_exceptions(S(), IIter(TIter(s, s+10, 6, TIter::TAComparison)), IIter(TIter())); in test()
130 test_exceptions(S(), TIter(s, s+10, 4, TIter::TAIncrement), TIter()); in test()
131 test_exceptions(S(), TIter(s, s+10, 5, TIter::TADereference), TIter()); in test()
132 test_exceptions(S(), TIter(s, s+10, 6, TIter::TAComparison), TIter()); in test()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.modifiers/string_insert/
Diter_iter_iter.pass.cpp114 typedef ThrowingIterator<char> TIter; in test() typedef
115 typedef cpp17_input_iterator<TIter> IIter; in test()
117 test_exceptions(S(), 0, IIter(TIter(s, s+10, 4, TIter::TAIncrement)), IIter(TIter())); in test()
118 test_exceptions(S(), 0, IIter(TIter(s, s+10, 5, TIter::TADereference)), IIter(TIter())); in test()
119 test_exceptions(S(), 0, IIter(TIter(s, s+10, 6, TIter::TAComparison)), IIter(TIter())); in test()
121 test_exceptions(S(), 0, TIter(s, s+10, 4, TIter::TAIncrement), TIter()); in test()
122 test_exceptions(S(), 0, TIter(s, s+10, 5, TIter::TADereference), TIter()); in test()
123 test_exceptions(S(), 0, TIter(s, s+10, 6, TIter::TAComparison), TIter()); in test()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_assign/
Diterator.pass.cpp170 typedef ThrowingIterator<char> TIter; in main() typedef
171 typedef input_iterator<TIter> IIter; in main()
173 test_exceptions(S(), IIter(TIter(s, s+10, 4, TIter::TAIncrement)), IIter()); in main()
174 test_exceptions(S(), IIter(TIter(s, s+10, 5, TIter::TADereference)), IIter()); in main()
175 test_exceptions(S(), IIter(TIter(s, s+10, 6, TIter::TAComparison)), IIter()); in main()
177 test_exceptions(S(), TIter(s, s+10, 4, TIter::TAIncrement), TIter()); in main()
178 test_exceptions(S(), TIter(s, s+10, 5, TIter::TADereference), TIter()); in main()
179 test_exceptions(S(), TIter(s, s+10, 6, TIter::TAComparison), TIter()); in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_append/
Diterator.pass.cpp169 typedef ThrowingIterator<char> TIter; in main() typedef
170 typedef input_iterator<TIter> IIter; in main()
172 test_exceptions(S(), IIter(TIter(s, s+10, 4, TIter::TAIncrement)), IIter()); in main()
173 test_exceptions(S(), IIter(TIter(s, s+10, 5, TIter::TADereference)), IIter()); in main()
174 test_exceptions(S(), IIter(TIter(s, s+10, 6, TIter::TAComparison)), IIter()); in main()
176 test_exceptions(S(), TIter(s, s+10, 4, TIter::TAIncrement), TIter()); in main()
177 test_exceptions(S(), TIter(s, s+10, 5, TIter::TADereference), TIter()); in main()
178 test_exceptions(S(), TIter(s, s+10, 6, TIter::TAComparison), TIter()); in main()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_insert/
Diter_iter_iter.pass.cpp150 typedef ThrowingIterator<char> TIter; in main() typedef
151 typedef input_iterator<TIter> IIter; in main()
153 test_exceptions(S(), 0, IIter(TIter(s, s+10, 4, TIter::TAIncrement)), IIter()); in main()
154 test_exceptions(S(), 0, IIter(TIter(s, s+10, 5, TIter::TADereference)), IIter()); in main()
155 test_exceptions(S(), 0, IIter(TIter(s, s+10, 6, TIter::TAComparison)), IIter()); in main()
157 test_exceptions(S(), 0, TIter(s, s+10, 4, TIter::TAIncrement), TIter()); in main()
158 test_exceptions(S(), 0, TIter(s, s+10, 5, TIter::TADereference), TIter()); in main()
159 test_exceptions(S(), 0, TIter(s, s+10, 6, TIter::TAComparison), TIter()); in main()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_iter_iter.pass.cpp999 typedef ThrowingIterator<char> TIter; in test9() typedef
1000 typedef cpp17_input_iterator<TIter> IIter; in test9()
1002 …exceptions(S("abcdefghijklmnopqrst"), 10, 5, IIter(TIter(s, s+10, 4, TIter::TAIncrement)), IIter(T… in test9()
1003 …xceptions(S("abcdefghijklmnopqrst"), 10, 5, IIter(TIter(s, s+10, 5, TIter::TADereference)), IIter( in test9()
1004 …xceptions(S("abcdefghijklmnopqrst"), 10, 5, IIter(TIter(s, s+10, 6, TIter::TAComparison)), IIter(T… in test9()
1006 … test_exceptions(S("abcdefghijklmnopqrst"), 10, 5, TIter(s, s+10, 4, TIter::TAIncrement), TIter()); in test9()
1007 …test_exceptions(S("abcdefghijklmnopqrst"), 10, 5, TIter(s, s+10, 5, TIter::TADereference), TIter()… in test9()
1008 …test_exceptions(S("abcdefghijklmnopqrst"), 10, 5, TIter(s, s+10, 6, TIter::TAComparison), TIter()); in test9()
/external/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/
Diter_iter_iter_iter.pass.cpp998 typedef ThrowingIterator<char> TIter; in main() typedef
999 typedef input_iterator<TIter> IIter; in main()
1001 …test_exceptions(S("abcdefghijklmnopqrst"), 10, 5, IIter(TIter(s, s+10, 4, TIter::TAIncrement)), II… in main()
1002 …test_exceptions(S("abcdefghijklmnopqrst"), 10, 5, IIter(TIter(s, s+10, 5, TIter::TADereference)), … in main()
1003 …test_exceptions(S("abcdefghijklmnopqrst"), 10, 5, IIter(TIter(s, s+10, 6, TIter::TAComparison)), I… in main()
1005 … test_exceptions(S("abcdefghijklmnopqrst"), 10, 5, TIter(s, s+10, 4, TIter::TAIncrement), TIter()); in main()
1006 …test_exceptions(S("abcdefghijklmnopqrst"), 10, 5, TIter(s, s+10, 5, TIter::TADereference), TIter()… in main()
1007 …test_exceptions(S("abcdefghijklmnopqrst"), 10, 5, TIter(s, s+10, 6, TIter::TAComparison), TIter()); in main()