Home
last modified time | relevance | path

Searched refs:index_sequence (Results 1 – 25 of 221) sorted by relevance

123456789

/third_party/boost/libs/hana/include/boost/hana/
Dsort.hpp75 struct concat<std::index_sequence<l...>, std::index_sequence<r...>> {
76 using type = std::index_sequence<l..., r...>;
92 std::index_sequence<l0, l1, l...>,
93 std::index_sequence<r0, r...>
96 std::index_sequence<l0>,
100 std::index_sequence<l1, l...>,
101 std::index_sequence<r0, r...>
114 std::index_sequence<l0>,
115 std::index_sequence<r0, r...>
117 using type = std::index_sequence<l0, r0, r...>;
[all …]
Dscan_left.hpp67 apply1_impl(Xs&& xs, F const& f, std::index_sequence<n1, n2, ns...>) { in apply1_impl()
74 f, std::index_sequence<n2, ns...>{} in apply1_impl()
79 static constexpr auto apply1_impl(Xs&& xs, F const&, std::index_sequence<n>) { in apply1_impl()
84 static constexpr auto apply1_impl(Xs&&, F const&, std::index_sequence<>) { in apply1_impl()
101 std::index_sequence<n1, n2, ns...>) in apply_impl()
106 f, std::index_sequence<n2, ns...>{}); in apply_impl()
112 apply_impl(Xs&& xs, State&& state, F const& f, std::index_sequence<n>) { in apply_impl()
119 apply_impl(Xs&&, State&& state, F const&, std::index_sequence<>) { in apply_impl()
Dscan_right.hpp68 apply1_impl(Xs&& xs, F const& f, std::index_sequence<n1, n2, ns...>) { in apply1_impl()
70 f, std::index_sequence<n2, ns...>{}); in apply1_impl()
76 static constexpr auto apply1_impl(Xs&& xs, F const&, std::index_sequence<n>) { in apply1_impl()
81 static constexpr auto apply1_impl(Xs&&, F const&, std::index_sequence<>) { in apply1_impl()
98 std::index_sequence<n1, n2, ns...>) in apply_impl()
102 f, std::index_sequence<n2, ns...>{}); in apply_impl()
109 apply_impl(Xs&& xs, State&& state, F const& f, std::index_sequence<n>) { in apply_impl()
116 apply_impl(Xs&&, State&& state, F const&, std::index_sequence<>) { in apply_impl()
Dgroup.hpp66 constexpr auto get_subsequence_(Xs&& xs, std::index_sequence<i...>) { in get_subsequence_()
75 struct offset_by<offset, std::index_sequence<i...>> {
76 using type = std::index_sequence<(offset + i)...>;
104 static constexpr auto finish(Xs&& xs, std::index_sequence<i...>) { in finish()
122 group_helper(Xs&& xs, Pred&& pred, std::index_sequence<0, i...>) { in group_helper()
134 group_helper(Xs&& xs, Pred&&, std::index_sequence<0>) { in group_helper()
140 group_helper(Xs&&, Pred&&, std::index_sequence<>) { in group_helper()
Dbasic_tuple.hpp53 struct __declspec(empty_bases) basic_tuple_impl<std::index_sequence<n...>, Xn...>
55 struct basic_tuple_impl<std::index_sequence<n...>, Xn...>
114 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...> const& xs, F&& f) { in apply()
124 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...>& xs, F&& f) { in apply()
134 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...>&& xs, F&& f) { in apply()
150 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...> const& xs, F const& f) { in apply()
160 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...>& xs, F const& f) { in apply()
170 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...>&& xs, F const& f) { in apply()
194 static constexpr auto drop_front_helper(Xs&& xs, std::index_sequence<i...>) { in drop_front_helper()
/third_party/boost/boost/hana/
Dsort.hpp75 struct concat<std::index_sequence<l...>, std::index_sequence<r...>> {
76 using type = std::index_sequence<l..., r...>;
92 std::index_sequence<l0, l1, l...>,
93 std::index_sequence<r0, r...>
96 std::index_sequence<l0>,
100 std::index_sequence<l1, l...>,
101 std::index_sequence<r0, r...>
114 std::index_sequence<l0>,
115 std::index_sequence<r0, r...>
117 using type = std::index_sequence<l0, r0, r...>;
[all …]
Dscan_left.hpp67 apply1_impl(Xs&& xs, F const& f, std::index_sequence<n1, n2, ns...>) { in apply1_impl()
74 f, std::index_sequence<n2, ns...>{} in apply1_impl()
79 static constexpr auto apply1_impl(Xs&& xs, F const&, std::index_sequence<n>) { in apply1_impl()
84 static constexpr auto apply1_impl(Xs&&, F const&, std::index_sequence<>) { in apply1_impl()
101 std::index_sequence<n1, n2, ns...>) in apply_impl()
106 f, std::index_sequence<n2, ns...>{}); in apply_impl()
112 apply_impl(Xs&& xs, State&& state, F const& f, std::index_sequence<n>) { in apply_impl()
119 apply_impl(Xs&&, State&& state, F const&, std::index_sequence<>) { in apply_impl()
Dscan_right.hpp68 apply1_impl(Xs&& xs, F const& f, std::index_sequence<n1, n2, ns...>) { in apply1_impl()
70 f, std::index_sequence<n2, ns...>{}); in apply1_impl()
76 static constexpr auto apply1_impl(Xs&& xs, F const&, std::index_sequence<n>) { in apply1_impl()
81 static constexpr auto apply1_impl(Xs&&, F const&, std::index_sequence<>) { in apply1_impl()
98 std::index_sequence<n1, n2, ns...>) in apply_impl()
102 f, std::index_sequence<n2, ns...>{}); in apply_impl()
109 apply_impl(Xs&& xs, State&& state, F const& f, std::index_sequence<n>) { in apply_impl()
116 apply_impl(Xs&&, State&& state, F const&, std::index_sequence<>) { in apply_impl()
Dgroup.hpp66 constexpr auto get_subsequence_(Xs&& xs, std::index_sequence<i...>) { in get_subsequence_()
75 struct offset_by<offset, std::index_sequence<i...>> {
76 using type = std::index_sequence<(offset + i)...>;
104 static constexpr auto finish(Xs&& xs, std::index_sequence<i...>) { in finish()
122 group_helper(Xs&& xs, Pred&& pred, std::index_sequence<0, i...>) { in group_helper()
134 group_helper(Xs&& xs, Pred&&, std::index_sequence<0>) { in group_helper()
140 group_helper(Xs&&, Pred&&, std::index_sequence<>) { in group_helper()
Dbasic_tuple.hpp53 struct __declspec(empty_bases) basic_tuple_impl<std::index_sequence<n...>, Xn...>
55 struct basic_tuple_impl<std::index_sequence<n...>, Xn...>
114 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...> const& xs, F&& f) { in apply()
124 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...>& xs, F&& f) { in apply()
134 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...>&& xs, F&& f) { in apply()
150 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...> const& xs, F const& f) { in apply()
160 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...>& xs, F const& f) { in apply()
170 apply(detail::basic_tuple_impl<std::index_sequence<i...>, Xn...>&& xs, F const& f) { in apply()
194 static constexpr auto drop_front_helper(Xs&& xs, std::index_sequence<i...>) { in drop_front_helper()
/third_party/boost/libs/hana/test/ext/std/integer_sequence/
Ddrop_front_exactly.cpp17 hana::drop_front_exactly(std::index_sequence<0>{}), in main()
18 std::index_sequence<>{} in main()
21 hana::drop_front_exactly(std::index_sequence<0, 1>{}), in main()
22 std::index_sequence<1>{} in main()
25 hana::drop_front_exactly(std::index_sequence<0, 1, 2>{}), in main()
26 std::index_sequence<1, 2>{} in main()
31 hana::drop_front_exactly(std::index_sequence<0, 1, 2>{}, hana::size_c<2>), in main()
32 std::index_sequence<2>{} in main()
36 hana::drop_front_exactly(std::index_sequence<0, 1, 2, 3>{}, hana::size_c<2>), in main()
37 std::index_sequence<2, 3>{} in main()
[all …]
Dfind_if.cpp23 hana::find_if(std::index_sequence<>{}, in main()
29 hana::find_if(std::index_sequence<0>{}, in main()
34 hana::find_if(std::index_sequence<0>{}, in main()
40 hana::find_if(std::index_sequence<0, 1>{}, in main()
45 hana::find_if(std::index_sequence<0, 1>{}, in main()
50 hana::find_if(std::index_sequence<0, 1>{}, in main()
56 hana::find_if(std::index_sequence<0, 1, 2>{}, in main()
61 hana::find_if(std::index_sequence<0, 1, 2>{}, in main()
66 hana::find_if(std::index_sequence<0, 1, 2>{}, in main()
71 hana::find_if(std::index_sequence<0, 1, 2>{}, in main()
[all …]
Dis_empty.cpp15 BOOST_HANA_CONSTANT_CHECK(hana::is_empty(std::index_sequence<>{})); in main()
16 BOOST_HANA_CONSTANT_CHECK(hana::not_(hana::is_empty(std::index_sequence<0>{}))); in main()
17 BOOST_HANA_CONSTANT_CHECK(hana::not_(hana::is_empty(std::index_sequence<1>{}))); in main()
/third_party/boost/libs/fusion/test/support/
Dindex_sequence.cpp19 BOOST_MPL_ASSERT((boost::is_same<detail::make_index_sequence<0>::type, detail::index_sequence<> >));
20 BOOST_MPL_ASSERT((boost::is_same<detail::make_index_sequence<1>::type, detail::index_sequence<0> >)…
21 BOOST_MPL_ASSERT((boost::is_same<detail::make_index_sequence<2>::type, detail::index_sequence<0, 1>…
22 BOOST_MPL_ASSERT((boost::is_same<detail::make_index_sequence<3>::type, detail::index_sequence<0, 1,…
23 BOOST_MPL_ASSERT((boost::is_same<detail::make_index_sequence<4>::type, detail::index_sequence<0, 1,…
24 BOOST_MPL_ASSERT((boost::is_same<detail::make_index_sequence<5>::type, detail::index_sequence<0, 1,…
25 BOOST_MPL_ASSERT((boost::is_same<detail::make_index_sequence<6>::type, detail::index_sequence<0, 1,…
26 BOOST_MPL_ASSERT((boost::is_same<detail::make_index_sequence<7>::type, detail::index_sequence<0, 1,…
27 BOOST_MPL_ASSERT((boost::is_same<detail::make_index_sequence<8>::type, detail::index_sequence<0, 1,…
29 BOOST_MPL_ASSERT((boost::is_same<detail::make_index_sequence<15>::type, detail::index_sequence<0, 1…
[all …]
/third_party/boost/boost/fusion/support/detail/
Dindex_sequence.hpp28 using index_sequence = std::index_sequence<Ints...>; typedef
37 struct index_sequence
46 typedef index_sequence type;
54 index_sequence<Left...>, index_sequence<Right...>
55 > : index_sequence<Left..., (sizeof...(Left) + Right)...>
68 : index_sequence<0>
73 : index_sequence<>
/third_party/boost/boost/context/detail/
Dindex_sequence.hpp26 using index_sequence = std::index_sequence< I ... >; typedef
35 struct index_sequence {
36 using type = index_sequence;
47 struct concat_sequence< index_sequence< I1 ... >, index_sequence< I2 ... > > : public index_sequenc…
56 struct make_index_sequence< 0 > : public index_sequence<> {
59 struct make_index_sequence< 1 > : public index_sequence< 0 > {
Dtuple.hpp29 std::tuple< T ... > & t, index_sequence< I ... >) { in head_impl()
36 std::tuple< T ... > & t, index_sequence< I ... >) { in head_impl()
42 tail_impl( std::tuple< S ... > & s, index_sequence< I1 ... >, in tail_impl()
43 std::tuple< T ... > & t, index_sequence< I2 ... >) { in tail_impl()
50 tail_impl( std::tuple< S ... > && s, index_sequence< I1 ... >, in tail_impl()
51 std::tuple< T ... > & t, index_sequence< I2 ... >) { in tail_impl()
/third_party/boost/boost/callable_traits/detail/polyfills/
Dmake_index_sequence.hpp13 ::boost::callable_traits::detail::index_sequence<__VA_ARGS__>
22 struct index_sequence { using type = index_sequence; }; argument
28 struct concat<index_sequence<I1...>, index_sequence<I2...>>
29 : index_sequence<I1..., (sizeof...(I1)+I2)...> {};
40 struct make_index_sequence_t<0> : index_sequence<> {};
43 struct make_index_sequence_t<1> : index_sequence<0> {};
/third_party/boost/libs/mp11/test/
Dinteger_sequence.cpp18 using boost::mp11::index_sequence; in main()
46 BOOST_TEST_TRAIT_TRUE((std::is_same<make_index_sequence<0>, index_sequence<>>)); in main()
47 BOOST_TEST_TRAIT_TRUE((std::is_same<make_index_sequence<1>, index_sequence<0>>)); in main()
48 BOOST_TEST_TRAIT_TRUE((std::is_same<make_index_sequence<2>, index_sequence<0, 1>>)); in main()
49 BOOST_TEST_TRAIT_TRUE((std::is_same<make_index_sequence<3>, index_sequence<0, 1, 2>>)); in main()
50 BOOST_TEST_TRAIT_TRUE((std::is_same<make_index_sequence<4>, index_sequence<0, 1, 2, 3>>)); in main()
52 BOOST_TEST_TRAIT_TRUE((std::is_same<index_sequence_for<>, index_sequence<>>)); in main()
53 BOOST_TEST_TRAIT_TRUE((std::is_same<index_sequence_for<void>, index_sequence<0>>)); in main()
54 BOOST_TEST_TRAIT_TRUE((std::is_same<index_sequence_for<void, void>, index_sequence<0, 1>>)); in main()
55 …BOOST_TEST_TRAIT_TRUE((std::is_same<index_sequence_for<void, void, void>, index_sequence<0, 1, 2>>… in main()
[all …]
/third_party/json/include/nlohmann/detail/meta/
Dcpp_future.hpp20 struct index_sequence struct
22 using type = index_sequence; argument
34 struct merge_and_renumber<index_sequence<I1...>, index_sequence<I2...>>
35 : index_sequence < I1..., (sizeof...(I1) + I2)... > {};
42 template<> struct make_index_sequence<0> : index_sequence<> {};
43 template<> struct make_index_sequence<1> : index_sequence<0> {};
/third_party/boost/boost/test/data/
Dindex_sequence.hpp31 struct index_sequence {}; struct
37 struct merge_index_sequence<index_sequence<Ns1...>, index_sequence<Ns2...>> {
38 typedef index_sequence<Ns1..., Ns2...> type;
49 typedef index_sequence<B> type;
54 typedef index_sequence<> type;
/third_party/boost/libs/mp11/doc/mp11/
Dinteger_sequence.adoc30 ## index_sequence<I...>
32 template<std::size_t... I> using index_sequence = integer_sequence<std::size_t, I...>;
34 `index_sequence<I...>` is an alias for `integer_sequence<size_t, I...>`. Same as C++14's `std::inde…
41 `make_index_sequence<N>` is `index_sequence<0, 1, ..., N-1>`. Same as C++14's `std::make_index_sequ…
/third_party/flutter/skia/include/private/
DSkTLogic.h44 template <std::size_t... Ints> struct index_sequence { struct
45 using type = index_sequence; argument
52 struct make_index_sequence_combine<skstd::index_sequence<I1...>, skstd::index_sequence<I2...>> argument
53 : skstd::index_sequence<I1..., (sizeof...(I1)+I2)...>
59 template<> struct make_index_sequence<0> : skstd::index_sequence< >{};
60 template<> struct make_index_sequence<1> : skstd::index_sequence<0>{};
/third_party/boost/libs/pfr/include/boost/pfr/detail/
Dcore14_classic.hpp351 constexpr void* flat_type_to_array_of_type_ids(std::size_t* types, std::index_sequence<I...>) noexc… in flat_type_to_array_of_type_ids()
395 constexpr auto as_flat_tuple_impl(std::index_sequence<First, I...>) noexcept;
398 constexpr sequence_tuple::tuple<> as_flat_tuple_impl(std::index_sequence<>) noexcept { in as_flat_tuple_impl() argument
403 constexpr auto increment_index_sequence(std::index_sequence<I...>) noexcept { in increment_index_sequence()
404 return std::index_sequence<I + Increment...>{}; in increment_index_sequence()
456 constexpr auto as_flat_tuple_impl_drop_helpers(std::index_sequence<First, I...>, std::index_sequenc… in as_flat_tuple_impl_drop_helpers()
495 constexpr auto as_flat_tuple_impl(std::index_sequence<First, I...>) noexcept { in as_flat_tuple_impl()
500 std::index_sequence<First, I...>{}, in as_flat_tuple_impl()
537 constexpr bool is_flat_refelectable(std::index_sequence<I...>) noexcept { in is_flat_refelectable()
608 void for_each_field_in_depth(T& t, F&& f, std::index_sequence<I0, I...>, identity<Fields>...);
[all …]
/third_party/boost/boost/pfr/detail/
Dcore14_classic.hpp351 constexpr void* flat_type_to_array_of_type_ids(std::size_t* types, std::index_sequence<I...>) noexc… in flat_type_to_array_of_type_ids()
395 constexpr auto as_flat_tuple_impl(std::index_sequence<First, I...>) noexcept;
398 constexpr sequence_tuple::tuple<> as_flat_tuple_impl(std::index_sequence<>) noexcept { in as_flat_tuple_impl() argument
403 constexpr auto increment_index_sequence(std::index_sequence<I...>) noexcept { in increment_index_sequence()
404 return std::index_sequence<I + Increment...>{}; in increment_index_sequence()
456 constexpr auto as_flat_tuple_impl_drop_helpers(std::index_sequence<First, I...>, std::index_sequenc… in as_flat_tuple_impl_drop_helpers()
495 constexpr auto as_flat_tuple_impl(std::index_sequence<First, I...>) noexcept { in as_flat_tuple_impl()
500 std::index_sequence<First, I...>{}, in as_flat_tuple_impl()
537 constexpr bool is_flat_refelectable(std::index_sequence<I...>) noexcept { in is_flat_refelectable()
608 void for_each_field_in_depth(T& t, F&& f, std::index_sequence<I0, I...>, identity<Fields>...);
[all …]

123456789