Home
last modified time | relevance | path

Searched refs:sent (Results 1 – 25 of 129) sorted by relevance

123456

/llvm-project-15.0.7/libcxx/test/std/ranges/range.factories/range.iota.view/sentinel/
H A Deq.pass.cpp24 auto sent = io.end(); in test() local
25 assert(iter != sent); in test()
26 assert(iter + 10 == sent); in test()
31 auto sent = io.end(); in test() local
32 assert(iter != sent); in test()
33 assert(iter + 10 == sent); in test()
38 auto sent = io.end(); in test() local
39 assert(iter != sent); in test()
40 assert(iter + 10 == sent); in test()
45 auto sent = io.end(); in test() local
[all …]
H A Dminus.pass.cpp37 auto sent = io.end(); in test() local
38 assert(iter - sent == -8); in test()
39 assert(sent - iter == 8); in test()
46 const auto sent = io.end(); in test() local
47 assert(iter - sent == -8); in test()
48 assert(sent - iter == 8); in test()
H A Dctor.value.pass.cpp24 auto sent = Sent(IntSentinelWith<int>(42)); in test() local
25 assert(sent == Iter(42)); in test()
30 auto sent = Sent(IntSentinelWith<SomeInt>(SomeInt(42))); in test() local
31 assert(sent == Iter(SomeInt(42))); in test()
/llvm-project-15.0.7/compiler-rt/test/msan/Linux/
H A Dsendmsg.cpp37 int sent; in main() local
79 assert(sent > 0); in main()
82 assert(ret == sent); in main()
87 assert(sent > 0); in main()
93 assert(ret == sent); in main()
97 sent = sendmsg(sockfd[0], &msg, 0); in main()
99 assert(sent > 0); in main()
112 assert(ret == sent); in main()
115 sent = sendmmsg(sockfd[0], mmsg, 2, 0); in main()
117 assert(sent == 2); in main()
[all …]
/llvm-project-15.0.7/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.advance/
H A Diterator_sentinel.pass.cpp27 auto sent = assignable_sentinel(It(last)); in check_assignable() local
28 std::ranges::advance(it, sent); in check_assignable()
29 ASSERT_SAME_TYPE(decltype(std::ranges::advance(it, sent)), void); in check_assignable()
37 std::ranges::advance(it, sent); in check_assignable()
49 auto sent = distance_apriori_sentinel(size); in check_sized_sentinel() local
50 std::ranges::advance(it, sent); in check_sized_sentinel()
58 auto sent = distance_apriori_sentinel(size); in check_sized_sentinel() local
59 std::ranges::advance(it, sent); in check_sized_sentinel()
74 auto sent = sentinel_wrapper(It(last)); in check_sentinel() local
75 std::ranges::advance(it, sent); in check_sentinel()
[all …]
H A Diterator_count_sentinel.pass.cpp31 auto sent = sentinel_wrapper(It(last)); in check_forward() local
32 std::same_as<Difference> auto result = std::ranges::advance(it, n, sent); in check_forward()
40 auto sent = sentinel_wrapper(stride_counting_iterator(It(last))); in check_forward() local
41 (void)std::ranges::advance(it, n, sent); in check_forward()
57 auto sent = distance_apriori_sentinel(size); in check_forward_sized_sentinel() local
58 std::same_as<Difference> auto result = std::ranges::advance(it, n, sent); in check_forward_sized_sentinel()
66 auto sent = distance_apriori_sentinel(size); in check_forward_sized_sentinel() local
67 (void)std::ranges::advance(it, n, sent); in check_forward_sized_sentinel()
86 It sent(first); in check_backward() local
95 auto sent = stride_counting_iterator(It(first)); in check_backward() local
[all …]
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.transform/
H A Dend.pass.cpp48 auto sent = tv.end(); in test() local
49 using Sent = decltype(sent); in test()
50 …ASSERT_SAME_TYPE(decltype(static_cast<Sent&>(sent).base()), sentinel_wrapper<cpp20_input_iterator<… in test()
51 …ASSERT_SAME_TYPE(decltype(static_cast<Sent&&>(sent).base()), sentinel_wrapper<cpp20_input_iterator… in test()
54 assert(base(base(sent.base())) == globalBuff + 8); in test()
55 assert(base(base(std::move(sent).base())) == globalBuff + 8); in test()
62 auto sent = tv.end(); in test() local
63 using Sent = decltype(sent); in test()
64 …ASSERT_SAME_TYPE(decltype(static_cast<Sent&>(sent).base()), sentinel_wrapper<cpp20_input_iterator<… in test()
68 assert(base(base(sent.base())) == globalBuff + 8); in test()
[all …]
/llvm-project-15.0.7/libcxx/test/std/iterators/predef.iterators/iterators.common/
H A Dctor.sentinel.pass.cpp25 Sent sent = Sent(It(a+1)); in test() local
27 CommonIt lv = CommonIt(sent); in test()
28 assert(lv == CommonIt(sent)); in test()
34 CommonIt rv = CommonIt(std::move(sent)); in test()
35 assert(rv == CommonIt(sent)); in test()
H A Dplus_plus.pass.cpp159 auto sent = Common(sentinel_type<int*>{buffer + 5}); in test() local
172 assert(iter != sent); in test()
174 assert(iter == sent); in test()
/llvm-project-15.0.7/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.next/
H A Diterator_sentinel.pass.cpp26 auto sent = assignable_sentinel(It(last)); in check_assignable() local
27 It result = std::ranges::next(std::move(it), sent); in check_assignable()
36 auto sent = distance_apriori_sentinel(size); in check_sized_sentinel() local
37 std::same_as<It> auto result = std::ranges::next(std::move(it), sent); in check_sized_sentinel()
44 auto sent = sentinel_wrapper(It(last)); in check_sentinel() local
45 std::same_as<It> auto result = std::ranges::next(std::move(it), sent); in check_sentinel()
H A Diterator_count_sentinel.pass.cpp25 auto sent = sentinel_wrapper(It(last)); in check() local
27 std::same_as<It> auto result = std::ranges::next(std::move(it), n, sent); in check()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.filter/sentinel/
H A Dcompare.pass.cpp33 auto const sent = view.end(); in test() local
34 std::same_as<bool> decltype(auto) result = (it == sent); in test()
41 auto const sent = view.end(); in test() local
42 std::same_as<bool> decltype(auto) result = (it == sent); in test()
H A Dbase.pass.cpp37 FilterSentinel const sent = view.end(); in test() local
38 std::same_as<Sentinel> decltype(auto) result = sent.base(); in test()
H A Dctor.parent.pass.cpp37 FilterSentinel sent(view); in test() local
38 assert(base(base(sent.base())) == base(base(view.end().base()))); in test()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.utility/view.interface/
H A Dview.interface.pass.cpp138 …perator==(ForwardIter const& iter, SentinelType const& sent) noexcept { return {base(iter) == sent… in operator ==()
139 …ResultType operator==(SentinelType const& sent, ForwardIter const& iter) noexcept { return {base(i… in operator ==()
140 …perator!=(ForwardIter const& iter, SentinelType const& sent) noexcept { return {base(iter) != sent… in operator !=()
141 …ResultType operator!=(SentinelType const& sent, ForwardIter const& iter) noexcept { return {base(i… in operator !=()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.join.view/sentinel/
H A Dctor.default.pass.cpp21 std::ranges::sentinel_t<std::ranges::join_view<CopyableParent>> sent; in test() local
22 (void) sent; in test()
H A Dctor.parent.pass.cpp26 std::ranges::sentinel_t<decltype(jv)> sent(jv); in test() local
27 assert(sent == std::ranges::next(jv.begin(), 16)); in test()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.transform/
H A Dranges.transform.pass.cpp67 concept HasTransformIt = requires(It it, Sent sent, int* out) {
68 std::ranges::transform(it, sent, out, std::identity{});
69 std::ranges::transform(it, sent, it, sent, out, BinaryFunc{});
79 concept HasTransformOut = requires(int* it, int* sent, It out, std::array<int, 2> range) {
80 std::ranges::transform(it, sent, out, std::identity{});
81 std::ranges::transform(it, sent, it, sent, out, BinaryFunc{});
100 concept HasTransformFuncUnary = requires(int* it, int* sent, int* out, std::array<int, 2> range, Fu…
101 std::ranges::transform(it, sent, out, func);
108 concept HasTransformFuncBinary = requires(int* it, int* sent, int* out, std::array<int, 2> range, F…
109 std::ranges::transform(it, sent, it, sent, out, func);
/llvm-project-15.0.7/lldb/tools/lldb-vscode/
H A DREADME.md85 …up prior to creating the LLDB target. Commands and command output will be sent to the debugger con…
86 …ter the LLDB target has been created. Commands and command output will be sent to the debugger con…
87 …mmands executed just after each stop. Commands and command output will be sent to the debugger con…
88 …ands executed when the program exits. Commands and command output will be sent to the debugger con…
89 …uted when the debugging session ends. Commands and command output will be sent to the debugger con…
112 …up prior to creating the LLDB target. Commands and command output will be sent to the debugger con…
113 …ter the LLDB target has been created. Commands and command output will be sent to the debugger con…
114 …mmands executed just after each stop. Commands and command output will be sent to the debugger con…
115 …ands executed when the program exits. Commands and command output will be sent to the debugger con…
116 …uted when the debugging session ends. Commands and command output will be sent to the debugger con…
/llvm-project-15.0.7/libcxx/test/std/iterators/iterator.primitives/range.iter.ops/range.iter.ops.prev/
H A Diterator_count_sentinel.pass.cpp25 It sent(first); // for std::ranges::prev, the sentinel *must* have the same type as the iterator in check() local
27 std::same_as<It> auto result = std::ranges::prev(std::move(it), n, std::move(sent)); in check()
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.filter/
H A Dtypes.h36 constexpr explicit minimal_view(Iterator it, Sentinel sent) in minimal_view()
38 , sent_(base(std::move(sent))) in minimal_view()
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/
H A Dranges_is_heap.pass.cpp37 requires(Iter&& iter, Sent&& sent, Comp&& comp) {
38 …std::ranges::is_heap(std::forward<Iter>(iter), std::forward<Sent>(sent), std::forward<Comp>(comp));
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.fill/
H A Dranges.fill.pass.cpp29 concept HasFillIt = requires(Iter iter, Sent sent) { std::ranges::fill(iter, sent, int{}); };
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.sorting/alg.sort/is.sorted/
H A Dranges.is_sorted.pass.cpp32 concept HasIsSortedIt = requires(Iter iter, Sent sent) { std::ranges::is_sorted(iter, sent); };
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/
H A Dranges_partition_point.pass.cpp40 requires(Iter&& iter, Sent&& sent, Pred&& pred) {
41 …std::ranges::partition_point(std::forward<Iter>(iter), std::forward<Sent>(sent), std::forward<Pred…

123456