Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.lazy.split/
H A Dctad.compile.pass.cpp31 struct InputRange { struct
35 static_assert(std::ranges::input_range<InputRange>);
55 test<InputRange, char, std::ranges::views::all_t<InputRange>, std::ranges::single_view<char>>(); in testCtad()
59 test<InputRange, bool, std::ranges::views::all_t<InputRange>, std::ranges::single_view<char>>(); in testCtad()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.utility/view.interface/
H A Dview.interface.pass.cpp36 struct InputRange : std::ranges::view_interface<InputRange> { struct
81 struct MI : std::ranges::view_interface<InputRange>,
157 static_assert(!EmptyInvocable<InputRange>); in testEmpty()
160 static_assert(!BoolOpInvocable<InputRange>); in testEmpty()
233 static_assert(!SizeInvocable<InputRange>); in testSize()
278 static_assert(!FrontInvocable<InputRange>); in testFrontBack()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryBasicBlock.h95 std::pair<uint32_t, uint32_t> InputRange = {INVALID_OFFSET, INVALID_OFFSET}; variable
798 void setOffset(uint32_t Offset) { InputRange.first = Offset; }; in setOffset()
812 return InputRange; in getInputAddressRange()
881 uint32_t getInputOffset() const { return InputRange.first; } in getInputOffset()
885 uint32_t getEndOffset() const { return InputRange.second; } in getEndOffset()
889 return InputRange.second - InputRange.first; in getOriginalSize()
919 uint32_t getOffset() const { return InputRange.first; } in getOffset()
953 void setEndOffset(uint32_t Offset) { InputRange.second = Offset; } in setEndOffset()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.filter/
H A Dbegin.pass.cpp34 struct InputRange : std::ranges::view_base { struct
37 constexpr explicit InputRange(int* b, int* e) : begin_(b), end_(e) { } in InputRange() argument
191 general_tests<InputRange>(); // test when we don't cache the result in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.zip/iterator/
H A Dincrement.pass.cpp23 struct InputRange : IntBufferView { struct
108 std::ranges::zip_view v(a, InputRange{buffer}); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dranges_partition_copy.pass.cpp87 template <class InputRange, class Output1 = int*, class Output2 = int*, class Pred = UnaryPred>
89 requires(InputRange&& input, Output1&& output1, Output2&& output2, Pred&& pred) {
90 std::ranges::partition_copy(std::forward<InputRange>(input),
/llvm-project-15.0.7/libcxx/include/
H A Dmemory204 template<input_range InputRange, nothrow-forward-range OutputRange>
205 requires constructible_from<range_value_t<OutputRange>, range_reference_t<InputRange>>
206 uninitialized_copy_result<borrowed_iterator_t<InputRange>, borrowed_iterator_t<OutputRange>>
207 uninitialized_copy(InputRange&& in_range, OutputRange&& out_range); // since C++20
277 template<nothrow-input-range InputRange>
278 requires destructible<range_value_t<InputRange>>
279 constexpr borrowed_iterator_t<InputRange> destroy(InputRange&& range) noexcept; // since C++20
304 template<input_range InputRange, nothrow-forward-range OutputRange>
305 requires constructible_from<range_value_t<OutputRange>, range_rvalue_reference_t<InputRange>>
306 uninitialized_move_result<borrowed_iterator_t<InputRange>, borrowed_iterator_t<OutputRange>>
[all …]
/llvm-project-15.0.7/llvm/include/llvm/FileCheck/
H A DFileCheck.h171 SMLoc CheckLoc, MatchType MatchTy, SMRange InputRange,
/llvm-project-15.0.7/llvm/lib/FileCheck/
H A DFileCheck.cpp1613 SMRange InputRange, StringRef Note) in FileCheckDiag() argument
1615 auto Start = SM.getLineAndColumn(InputRange.Start); in FileCheckDiag()
1616 auto End = SM.getLineAndColumn(InputRange.End); in FileCheckDiag()