Home
last modified time | relevance | path

Searched refs:xs (Results 1 – 25 of 866) sorted by relevance

12345678910>>...35

/third_party/libxml2/fuzz/
Dschema.dict3 xs_annotation="<xs:annotation></xs:annotation>"
5 xs_attribute="<xs:attribute name='a'></xs:attribute>"
6 xs_attribute_required="<xs:attribute name='a' use='required'></xs:attribute>"
7 xs_element="<xs:element name='e'></xs:element>"
10 type_string=" type='xs:string'"
11 type_boolean=" type='xs:boolean'"
12 type_decimal=" type='xs:decimal'"
13 type_float=" type='xs:float'"
14 type_double=" type='xs:double'"
15 type_date_time=" type='xs:dateTime'"
[all …]
/third_party/libxml2/test/schemas/
D570702_0.xsd1 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 <xs:element name="dn_len_list">
4 <xs:complexType>
5 <xs:sequence maxOccurs="3">
6 <xs:element name="dn_length" minOccurs="0">
7 <xs:annotation>
8 <xs:documentation>Destination Number Length</xs:documentation>
9 </xs:annotation>
10 <xs:simpleType>
11 <xs:restriction base="xs:byte">
[all …]
Dbug310264_0.xsd1 <xs:schema xmlns:tns="http://myns"
3 xmlns:xs="http://www.w3.org/2001/XMLSchema"
6 <xs:element name="a" />
8 <xs:complexType name="c" >
9 <xs:sequence minOccurs="2" maxOccurs="4">
10 <xs:sequence minOccurs="19" maxOccurs="20">
11 <xs:element ref="tns:a" />
12 </xs:sequence>
13 </xs:sequence>
14 </xs:complexType>
[all …]
/third_party/boost/libs/hana/example/misc/
Dlambda_tuple.cpp53 auto lambda_tuple = [](auto ...xs) { in __anon21af8a690102() argument
54 auto storage = [=](auto f) -> decltype(auto) { return f(xs...); }; in __anon21af8a690102()
65 static constexpr decltype(auto) apply(Xs&& xs, F&& f) { in apply()
66 return static_cast<Xs&&>(xs).storage(static_cast<F&&>(f)); in apply()
76 static constexpr decltype(auto) apply(Xs&& xs, F f) { in apply()
77 return static_cast<Xs&&>(xs).storage( in apply()
78 [f(std::move(f))](auto&& ...xs) -> decltype(auto) { in apply()
79 return lambda_tuple(f(static_cast<decltype(xs)&&>(xs))...); in apply()
91 static constexpr decltype(auto) apply(Xs&& xs) { in apply()
92 return static_cast<Xs&&>(xs).storage( in apply()
[all …]
/third_party/boost/libs/hana/test/_include/laws/
Diterable.hpp50 TestIterable(Xs xs) { in TestIterable()
51 hana::for_each(xs, [](auto xs) { in TestIterable() argument
52 static_assert(Iterable<decltype(xs)>{}, ""); in TestIterable()
55 hana::is_empty(xs) ^iff^ hana::is_empty(hana::to<tuple_tag>(xs)) in TestIterable()
58 only_when_(hana::not_(hana::is_empty(xs)), hana::make_lazy([](auto xs) { in TestIterable() argument
60 hana::front(xs), in TestIterable()
61 hana::front(hana::to<tuple_tag>(xs)) in TestIterable()
65 hana::to<tuple_tag>(hana::drop_front_exactly(xs)), in TestIterable()
66 hana::drop_front_exactly(hana::to<tuple_tag>(xs)) in TestIterable()
72 hana::back(xs), in TestIterable()
[all …]
/third_party/boost/libs/hana/test/map/
Dat_key.ref.cpp21 auto xs = hana::make_map( in main() local
28 BOOST_HANA_RUNTIME_CHECK(hana::at_key(xs, hana::int_c<0>) == 0); in main()
29 BOOST_HANA_RUNTIME_CHECK(hana::at_key(xs, hana::int_c<1>) == '1'); in main()
30 BOOST_HANA_RUNTIME_CHECK(hana::at_key(xs, hana::int_c<2>) == 2.2); in main()
32 int& a = hana::at_key(xs, hana::int_c<0>); in main()
33 char& b = hana::at_key(xs, hana::int_c<1>); in main()
34 double& c = hana::at_key(xs, hana::int_c<2>); in main()
40 int const& ca = hana::at_key(cref(xs), hana::int_c<0>); in main()
41 char const& cb = hana::at_key(cref(xs), hana::int_c<1>); in main()
42 double const& cc = hana::at_key(cref(xs), hana::int_c<2>); in main()
[all …]
/third_party/boost/boost/hof/
Dlift.hpp71 constexpr auto operator()(Ts&&... xs) const in operator ()()
72 noexcept(decltype(std::declval<NoExcept>()(BOOST_HOF_FORWARD(Ts)(xs)...)){}) in operator ()()
73 -> decltype(std::declval<F>()(BOOST_HOF_FORWARD(Ts)(xs)...))
74 { return F(*this)(BOOST_HOF_FORWARD(Ts)(xs)...);}
93 BOOST_HOF_STATIC_LAMBDA(auto&&... xs) \
94 -> decltype((__VA_ARGS__)(BOOST_HOF_FORWARD(decltype(xs))(xs)...)) \
95 { return (__VA_ARGS__)(BOOST_HOF_FORWARD(decltype(xs))(xs)...); }, \
96 …OST_HOF_STATIC_LAMBDA(auto&&... xs) { return BOOST_HOF_LIFT_IS_NOEXCEPT((__VA_ARGS__)(BOOST_HOF_FO…
99 …(...) (BOOST_HOF_STATIC_LAMBDA(auto&&... xs) BOOST_HOF_RETURNS((__VA_ARGS__)(BOOST_HOF_FORWARD(dec…
106 constexpr auto operator()(Ts&&... xs) const \
[all …]
Ddecorate.hpp105 constexpr const compressed_pair<D, T>& get_pair(Ts&&... xs) const noexcept in BOOST_HOF_INHERIT_CONSTRUCTOR()
107 return this->first(xs...); in BOOST_HOF_INHERIT_CONSTRUCTOR()
111 constexpr const F& base_function(Ts&&... xs) const noexcept in base_function()
113 return this->second(xs...); in base_function()
117 constexpr const D& get_decorator(Ts&&... xs) const noexcept in get_decorator()
119 return this->get_pair(xs...).first(xs...); in get_decorator()
123 constexpr const T& get_data(Ts&&... xs) const noexcept in get_data()
125 return this->get_pair(xs...).second(xs...); in get_data()
148 operator()(Ts&&... xs) const BOOST_HOF_SFINAE_RETURNS
150 BOOST_HOF_MANGLE_CAST(const D&)(BOOST_HOF_CONST_THIS->get_decorator(xs...))(
[all …]
/third_party/boost/libs/hana/test/tuple/
Dmove_only.cpp27 auto xs = hana::make_tuple(MoveOnly{}); in main() local
30 by_val(std::move(xs)); in main()
31 by_val(hana::front(std::move(xs))); in main()
32 by_val(hana::at_c<0>(std::move(xs))); in main()
33 by_val(hana::back(std::move(xs))); in main()
37 auto const& xs = hana::make_tuple(MoveOnly{}); in main() local
40 by_const_ref(xs); in main()
41 by_const_ref(hana::front(xs)); in main()
42 by_const_ref(hana::at_c<0>(xs)); in main()
43 by_const_ref(hana::back(xs)); in main()
[all …]
/third_party/boost/libs/hana/test/_include/support/
Dseq.hpp30 constexpr auto operator()(Xs&& ...xs) const { in operator ()()
31 auto storage = boost::hana::make_tuple(xs...); in operator ()()
52 static constexpr auto apply(Xs xs, S s, F f) { in apply()
53 return hana::fold_left(xs.storage, s, f); in apply()
57 static constexpr auto apply(Xs xs, F f) { in apply()
58 return hana::fold_left(xs.storage, f); in apply()
65 static constexpr auto apply(Xs const& xs) {
66 return hana::length(xs.storage);
73 static constexpr auto apply(Xs xs, F f)
74 { return hana::unpack(xs.storage, f); }
[all …]
/third_party/boost/boost/hana/
Dset.hpp67 explicit constexpr set(tuple<Xs...> const& xs) in set()
68 : storage(xs) in set()
71 explicit constexpr set(tuple<Xs...>&& xs) in set()
72 : storage(static_cast<tuple<Xs...>&&>(xs)) in set()
97 static constexpr auto apply(Xs&& ...xs) { in apply()
106 Constant<decltype(hana::equal(xs, xs))>::value... in apply()
116 hana::make_tuple(static_cast<Xs&&>(xs)...) in apply()
161 static constexpr auto apply(Xs&& xs, Pred&& pred) { in apply()
162 return hana::find_if(static_cast<Xs&&>(xs).storage, static_cast<Pred&&>(pred)); in apply()
181 static constexpr auto apply(Xs const& xs, Pred const& pred) { in apply()
[all …]
Dany_of.hpp37 constexpr auto any_of_t::operator()(Xs&& xs, Pred&& pred) const { in operator ()() argument
48 return AnyOf::apply(static_cast<Xs&&>(xs), static_cast<Pred&&>(pred)); in operator ()()
64 static constexpr auto apply(bool prev_cond, Xs&& xs, Pred&& pred) { in apply()
67 hana::if_(pred(hana::at_c<k>(xs)), hana::true_c, hana::false_c), in apply()
68 static_cast<Xs&&>(xs), in apply()
78 static constexpr auto apply(hana::false_, Xs&& xs, Pred&& pred) { in apply()
79 auto cond = hana::if_(pred(hana::at_c<k>(xs)), hana::true_c, in apply()
82 static_cast<Xs&&>(xs), in apply()
95 static constexpr auto apply(Xs&& xs, Pred&& pred) { in apply()
96 constexpr std::size_t len = decltype(hana::length(xs))::value; in apply()
[all …]
Ddrop_while.hpp30 constexpr auto drop_while_t::operator()(Xs&& xs, Pred&& pred) const { in operator ()() argument
41 return DropWhile::apply(static_cast<Xs&&>(xs), static_cast<Pred&&>(pred)); in operator ()()
49 constexpr decltype(auto) operator()(Xs&& xs, Pred&& pred) const { in operator ()()
51 hana::drop_front(static_cast<Xs&&>(xs)), in operator ()()
58 constexpr decltype(auto) operator()(Xs&& xs, Pred&& pred) const { in operator ()()
59 return hana::eval_if(pred(hana::front(xs)), in operator ()()
60 hana::make_lazy(next{})(xs, pred), in operator ()()
61 hana::make_lazy(xs) in operator ()()
70 static constexpr auto apply(Xs&& xs, Pred&& pred) { in apply()
71 return hana::eval_if(hana::is_empty(xs), in apply()
[all …]
Dlexicographical_compare.hpp29 constexpr auto lexicographical_compare_t::operator()(Xs const& xs, Ys const& ys) const { in operator ()() argument
30 return hana::lexicographical_compare(xs, ys, hana::less); in operator ()()
34 …constexpr auto lexicographical_compare_t::operator()(Xs const& xs, Ys const& ys, Pred const& pred)… in operator ()() argument
51 return LexicographicalCompare::apply(xs, ys, pred); in operator ()()
64 helper2(Xs const& xs, Ys const& ys, Pred const& pred, hana::false_) in helper2()
65 { return apply(hana::drop_front(xs), hana::drop_front(ys), pred); } in helper2()
69 helper2(Xs const& xs, Ys const& ys, Pred const& pred, bool is_greater) in helper2()
70 { return is_greater ? false : apply(hana::drop_front(xs), hana::drop_front(ys), pred); } in helper2()
80 helper1(Xs const& xs, Ys const& ys, Pred const& pred, hana::false_) in helper1()
81 …{ return helper2(xs, ys, pred, hana::if_(pred(hana::front(ys), hana::front(xs)), hana::true_c, han… in helper1()
[all …]
Dscan_left.hpp31 constexpr auto scan_left_t::operator()(Xs&& xs, F const& f) const { in operator ()() argument
42 return ScanLeft::apply(static_cast<Xs&&>(xs), f); in operator ()()
46 constexpr auto scan_left_t::operator()(Xs&& xs, State&& state, F const& f) const { in operator ()() argument
57 return ScanLeft::apply(static_cast<Xs&&>(xs), in operator ()()
67 apply1_impl(Xs&& xs, F const& f, std::index_sequence<n1, n2, ns...>) { in apply1_impl()
72 static_cast<Xs&&>(xs), in apply1_impl()
73 hana::at_c<0>(static_cast<Xs&&>(xs)), in apply1_impl()
79 static constexpr auto apply1_impl(Xs&& xs, F const&, std::index_sequence<n>) { in apply1_impl()
80 return hana::make<S>(hana::at_c<n>(static_cast<Xs&&>(xs))); in apply1_impl()
89 static constexpr auto apply(Xs&& xs, F const& f) { in apply()
[all …]
Dgroup.hpp33 constexpr auto group_t::operator()(Xs&& xs) const { in operator ()()
44 return Group::apply(static_cast<Xs&&>(xs)); in operator ()()
48 constexpr auto group_t::operator()(Xs&& xs, Predicate&& pred) const { in operator ()() argument
59 return Group::apply(static_cast<Xs&&>(xs), in operator ()()
66 constexpr auto get_subsequence_(Xs&& xs, std::index_sequence<i...>) { in get_subsequence_() argument
68 return hana::make<S>(hana::at_c<i>(static_cast<Xs&&>(xs))...); in get_subsequence_()
104 static constexpr auto finish(Xs&& xs, std::index_sequence<i...>) { in finish()
107 static_cast<Xs&&>(xs), in finish()
122 group_helper(Xs&& xs, Pred&& pred, std::index_sequence<0, i...>) { in group_helper()
124 pred(hana::at_c<i - 1>(static_cast<Xs&&>(xs)), in group_helper()
[all …]
Dscan_right.hpp32 constexpr auto scan_right_t::operator()(Xs&& xs, F const& f) const { in operator ()() argument
43 return ScanRight::apply(static_cast<Xs&&>(xs), f); in operator ()()
47 constexpr auto scan_right_t::operator()(Xs&& xs, State&& state, F const& f) const { in operator ()() argument
58 return ScanRight::apply(static_cast<Xs&&>(xs), in operator ()()
68 apply1_impl(Xs&& xs, F const& f, std::index_sequence<n1, n2, ns...>) { in apply1_impl()
69 auto rest = scan_right_impl::apply1_impl(static_cast<Xs&&>(xs), in apply1_impl()
71 auto element = f(hana::at_c<n1>(static_cast<Xs&&>(xs)), hana::front(rest)); in apply1_impl()
76 static constexpr auto apply1_impl(Xs&& xs, F const&, std::index_sequence<n>) { in apply1_impl()
77 return hana::make<S>(hana::at_c<n>(static_cast<Xs&&>(xs))); in apply1_impl()
86 static constexpr auto apply(Xs&& xs, F const& f) { in apply()
[all …]
/third_party/boost/libs/hana/include/boost/hana/
Dset.hpp67 explicit constexpr set(tuple<Xs...> const& xs) in set()
68 : storage(xs) in set()
71 explicit constexpr set(tuple<Xs...>&& xs) in set()
72 : storage(static_cast<tuple<Xs...>&&>(xs)) in set()
97 static constexpr auto apply(Xs&& ...xs) { in apply()
106 Constant<decltype(hana::equal(xs, xs))>::value... in apply()
116 hana::make_tuple(static_cast<Xs&&>(xs)...) in apply()
161 static constexpr auto apply(Xs&& xs, Pred&& pred) { in apply()
162 return hana::find_if(static_cast<Xs&&>(xs).storage, static_cast<Pred&&>(pred)); in apply()
181 static constexpr auto apply(Xs const& xs, Pred const& pred) { in apply()
[all …]
Dany_of.hpp37 constexpr auto any_of_t::operator()(Xs&& xs, Pred&& pred) const { in operator ()() argument
48 return AnyOf::apply(static_cast<Xs&&>(xs), static_cast<Pred&&>(pred)); in operator ()()
64 static constexpr auto apply(bool prev_cond, Xs&& xs, Pred&& pred) { in apply()
67 hana::if_(pred(hana::at_c<k>(xs)), hana::true_c, hana::false_c), in apply()
68 static_cast<Xs&&>(xs), in apply()
78 static constexpr auto apply(hana::false_, Xs&& xs, Pred&& pred) { in apply()
79 auto cond = hana::if_(pred(hana::at_c<k>(xs)), hana::true_c, in apply()
82 static_cast<Xs&&>(xs), in apply()
95 static constexpr auto apply(Xs&& xs, Pred&& pred) { in apply()
96 constexpr std::size_t len = decltype(hana::length(xs))::value; in apply()
[all …]
Ddrop_while.hpp30 constexpr auto drop_while_t::operator()(Xs&& xs, Pred&& pred) const { in operator ()() argument
41 return DropWhile::apply(static_cast<Xs&&>(xs), static_cast<Pred&&>(pred)); in operator ()()
49 constexpr decltype(auto) operator()(Xs&& xs, Pred&& pred) const { in operator ()()
51 hana::drop_front(static_cast<Xs&&>(xs)), in operator ()()
58 constexpr decltype(auto) operator()(Xs&& xs, Pred&& pred) const { in operator ()()
59 return hana::eval_if(pred(hana::front(xs)), in operator ()()
60 hana::make_lazy(next{})(xs, pred), in operator ()()
61 hana::make_lazy(xs) in operator ()()
70 static constexpr auto apply(Xs&& xs, Pred&& pred) { in apply()
71 return hana::eval_if(hana::is_empty(xs), in apply()
[all …]
Dlexicographical_compare.hpp29 constexpr auto lexicographical_compare_t::operator()(Xs const& xs, Ys const& ys) const { in operator ()() argument
30 return hana::lexicographical_compare(xs, ys, hana::less); in operator ()()
34 …constexpr auto lexicographical_compare_t::operator()(Xs const& xs, Ys const& ys, Pred const& pred)… in operator ()() argument
51 return LexicographicalCompare::apply(xs, ys, pred); in operator ()()
64 helper2(Xs const& xs, Ys const& ys, Pred const& pred, hana::false_) in helper2()
65 { return apply(hana::drop_front(xs), hana::drop_front(ys), pred); } in helper2()
69 helper2(Xs const& xs, Ys const& ys, Pred const& pred, bool is_greater) in helper2()
70 { return is_greater ? false : apply(hana::drop_front(xs), hana::drop_front(ys), pred); } in helper2()
80 helper1(Xs const& xs, Ys const& ys, Pred const& pred, hana::false_) in helper1()
81 …{ return helper2(xs, ys, pred, hana::if_(pred(hana::front(ys), hana::front(xs)), hana::true_c, han… in helper1()
[all …]
Dscan_left.hpp31 constexpr auto scan_left_t::operator()(Xs&& xs, F const& f) const { in operator ()() argument
42 return ScanLeft::apply(static_cast<Xs&&>(xs), f); in operator ()()
46 constexpr auto scan_left_t::operator()(Xs&& xs, State&& state, F const& f) const { in operator ()() argument
57 return ScanLeft::apply(static_cast<Xs&&>(xs), in operator ()()
67 apply1_impl(Xs&& xs, F const& f, std::index_sequence<n1, n2, ns...>) { in apply1_impl()
72 static_cast<Xs&&>(xs), in apply1_impl()
73 hana::at_c<0>(static_cast<Xs&&>(xs)), in apply1_impl()
79 static constexpr auto apply1_impl(Xs&& xs, F const&, std::index_sequence<n>) { in apply1_impl()
80 return hana::make<S>(hana::at_c<n>(static_cast<Xs&&>(xs))); in apply1_impl()
89 static constexpr auto apply(Xs&& xs, F const& f) { in apply()
[all …]
Dgroup.hpp33 constexpr auto group_t::operator()(Xs&& xs) const { in operator ()()
44 return Group::apply(static_cast<Xs&&>(xs)); in operator ()()
48 constexpr auto group_t::operator()(Xs&& xs, Predicate&& pred) const { in operator ()() argument
59 return Group::apply(static_cast<Xs&&>(xs), in operator ()()
66 constexpr auto get_subsequence_(Xs&& xs, std::index_sequence<i...>) { in get_subsequence_() argument
68 return hana::make<S>(hana::at_c<i>(static_cast<Xs&&>(xs))...); in get_subsequence_()
104 static constexpr auto finish(Xs&& xs, std::index_sequence<i...>) { in finish()
107 static_cast<Xs&&>(xs), in finish()
122 group_helper(Xs&& xs, Pred&& pred, std::index_sequence<0, i...>) { in group_helper()
124 pred(hana::at_c<i - 1>(static_cast<Xs&&>(xs)), in group_helper()
[all …]
Dscan_right.hpp32 constexpr auto scan_right_t::operator()(Xs&& xs, F const& f) const { in operator ()() argument
43 return ScanRight::apply(static_cast<Xs&&>(xs), f); in operator ()()
47 constexpr auto scan_right_t::operator()(Xs&& xs, State&& state, F const& f) const { in operator ()() argument
58 return ScanRight::apply(static_cast<Xs&&>(xs), in operator ()()
68 apply1_impl(Xs&& xs, F const& f, std::index_sequence<n1, n2, ns...>) { in apply1_impl()
69 auto rest = scan_right_impl::apply1_impl(static_cast<Xs&&>(xs), in apply1_impl()
71 auto element = f(hana::at_c<n1>(static_cast<Xs&&>(xs)), hana::front(rest)); in apply1_impl()
76 static constexpr auto apply1_impl(Xs&& xs, F const&, std::index_sequence<n>) { in apply1_impl()
77 return hana::make<S>(hana::at_c<n>(static_cast<Xs&&>(xs))); in apply1_impl()
86 static constexpr auto apply(Xs&& xs, F const& f) { in apply()
[all …]
/third_party/node/deps/npm/node_modules/text-table/
Dindex.js62 function reduce (xs, f, init) { argument
63 if (xs.reduce) return xs.reduce(f, init);
65 var acc = arguments.length >= 3 ? init : xs[i++];
66 for (; i < xs.length; i++) {
67 f(acc, xs[i], i);
72 function forEach (xs, f) { argument
73 if (xs.forEach) return xs.forEach(f);
74 for (var i = 0; i < xs.length; i++) {
75 f.call(xs, xs[i], i);
79 function map (xs, f) { argument
[all …]

12345678910>>...35