Home
last modified time | relevance | path

Searched refs:InputView (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/libcxx/ranges/range.adaptors/range.lazy.split/
H A Dtypes.h33 struct InputView : std::ranges::view_base { struct
34 constexpr InputView() = default;
46 static_assert(std::ranges::input_range<InputView>); argument
47 static_assert(std::ranges::input_range<const InputView>);
48 static_assert(std::ranges::view<InputView>);
68 using SplitViewInput = std::ranges::lazy_split_view<InputView, ForwardTinyView>;
H A Dno_unique_address.compile.pass.cpp45 struct InputView : std::ranges::view_base { struct
50 static_assert( std::ranges::input_range<InputView>);
51 static_assert(!std::ranges::forward_range<InputView>);
52 static_assert( std::ranges::view<InputView>);
64 using SplitView = std::ranges::lazy_split_view<InputView, TinyView>;
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/
H A Dtypes.h140 struct InputView : std::ranges::view_base { struct
143 constexpr InputView() = default; argument
144 constexpr InputView(const char* s) : InputView(std::string_view(s)) {} in InputView() argument
145 constexpr InputView(std::string_view v) { in InputView() argument
160 friend constexpr bool operator==(const InputView& lhs, const InputView& rhs) { argument
165 static_assert(std::ranges::input_range<InputView>);
166 static_assert(std::ranges::input_range<const InputView>);
167 static_assert(std::ranges::view<InputView>);
197 using SplitViewInput = std::ranges::lazy_split_view<InputView, ForwardTinyView>;
201 using BaseIterInput = std::ranges::iterator_t<InputView>;
H A Dconstraints.compile.pass.cpp53 using View = InputView;
118 using Pattern = InputView;
153 using View = InputView;
176 using View = InputView;
199 using View = InputView;
H A Dctor.view.pass.cpp58 InputView input = "abc def"; in test()
59 std::ranges::lazy_split_view<InputView, ForwardTinyView> v(input, ' '); in test()
H A Dctor.copy_move.pass.cpp51 InputView base("abc def"); in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.inner/
H A Dtypes.compile.pass.cpp36 static_assert(std::same_as<typename InnerIter<InputView, ForwardTinyView>::iterator_concept,
37 typename OuterIter<InputView, ForwardTinyView>::iterator_concept>);
45 static_assert(NoIteratorCategory<InputView, ForwardTinyView>);
H A Dbase.pass.cpp68 using BaseIter = std::ranges::iterator_t<InputView>; in test()
69 InputView input("abc def"); in test()
70 std::ranges::lazy_split_view<InputView, ForwardTinyView> v(input, ' '); in test()
H A Dincrement.pass.cpp95 std::ranges::lazy_split_view<InputView, EmptyView> v("a", EmptyView()); in test()
111 std::ranges::lazy_split_view<InputView, EmptyView> v("a", EmptyView()); in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.drop/
H A Dend.pass.cpp28 std::ranges::drop_view dropView2(InputView(), 4); in test()
36 const std::ranges::drop_view dropView4(InputView(), 2); in test()
H A Dtypes.h78 struct InputView : std::ranges::view_base { struct
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.transform/
H A Dtypes.h85 struct InputView : std::ranges::view_base { struct
87 constexpr explicit InputView(int* ptr = globalBuff) : ptr_(ptr) {} in ptr_() argument
91 static_assert( std::ranges::view<InputView>); argument
92 static_assert(!std::ranges::sized_range<InputView>);
H A Dend.pass.cpp45 using TransformView = std::ranges::transform_view<InputView, PlusOneMutable>; in test()
59 using TransformView = std::ranges::transform_view<InputView, PlusOne>; in test()
H A Dbegin.pass.cpp41 std::ranges::transform_view transformView(InputView{buff}, PlusOneMutable{}); in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.outer/
H A Dtypes.compile.pass.cpp31 static_assert(NoIteratorCategory<InputView, ForwardTinyView>);
36 static_assert(std::same_as<typename OuterIter<InputView, ForwardTinyView>::iterator_concept, std::i…
H A Dctor.parent.pass.cpp28 InputView input; in test()
H A Dctor.parent_base.pass.cpp22 …ert(!std::is_constructible_v<OuterIterInput, SplitViewInput&, std::ranges::iterator_t<InputView>>);
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.join.view/iterator/
H A Dmember_types.compile.pass.cpp27 struct InputView : std::ranges::view_base { struct
77 using Iter = std::ranges::iterator_t<std::ranges::join_view<InputView<InputView<int>>>>; in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.transform/iterator/
H A Dtypes.pass.cpp76 using TView = std::ranges::transform_view<InputView, Increment>; in test()
79 static_assert(!HasIterCategory<InputView, Increment>); in test()
H A Darithmetic.pass.cpp33 std::declval<std::ranges::iterator_t<std::ranges::transform_view<InputView, PlusOne>>>()++), in test()
H A Dbase.pass.cpp34 using TransformView = std::ranges::transform_view<InputView, PlusOneMutable>; in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/range.lazy.split.outer.value/
H A Dctor.iter.pass.cpp34 InputView input = "a"; in test()
H A Dbegin.pass.cpp41 InputView input("a"); in test()
H A Dend.pass.cpp47 InputView input("a"); in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/
H A Dmember_types.compile.pass.cpp29 struct InputView : std::ranges::view_base { struct
130 using Iter = std::ranges::iterator_t<std::ranges::zip_view<InputView<int>>>; in test()

12