/third_party/boost/libs/hana/include/boost/hana/ |
D | lexicographical_compare.hpp | 29 constexpr auto lexicographical_compare_t::operator()(Xs const& xs, Ys const& ys) const { in operator ()() 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 …]
|
D | concat.hpp | 31 constexpr auto concat_t::operator()(Xs&& xs, Ys&& ys) const { in operator ()() 46 return Concat::apply(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys)); in operator ()() 60 concat_helper(Xs&& xs, Ys&& ys, std::index_sequence<xi...>, in concat_helper() 65 hana::at_c<yi>(static_cast<Ys&&>(ys))... in concat_helper() 70 static constexpr auto apply(Xs&& xs, Ys&& ys) { in apply() 72 constexpr std::size_t yi = decltype(hana::length(ys))::value; in apply() 73 return concat_helper(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys), in apply()
|
D | is_disjoint.hpp | 25 constexpr auto is_disjoint_t::operator()(Xs&& xs, Ys&& ys) const { in operator ()() 42 return IsDisjoint::apply(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys)); in operator ()() 49 Ys const& ys; member 52 { return hana::contains(ys, x); } in operator ()() 59 static constexpr auto apply(Xs const& xs, Ys const& ys) { in apply() 60 return hana::none_of(xs, detail::in_by_reference<Ys>{ys}); in apply()
|
D | symmetric_difference.hpp | 24 constexpr auto symmetric_difference_t::operator()(Xs&& xs, Ys&& ys) const { in operator ()() 30 return SymmetricDifference::apply(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys)); in operator ()() 37 static constexpr auto apply(Xs&& xs, Ys&& ys) { in apply() 39 hana::difference(xs, ys), in apply() 40 hana::difference(ys, xs) in apply()
|
D | set.hpp | 190 Ys const& ys; member 194 hana::value<decltype(hana::contains(ys, x))>()... in operator ()() 200 static constexpr auto apply(Xs const& xs, Ys const& ys) { in apply() 201 return hana::unpack(xs, all_contained<Ys>{ys}); in apply() 267 Ys const& ys; member 281 constexpr bool keep = hana::value<decltype(hana::contains(ys, key))>(); in operator ()() 292 static constexpr auto apply(Xs&& xs, Ys const& ys) { in apply() 294 detail::set_insert_if_contains<Ys>{ys}); in apply() 304 static constexpr auto apply(Xs&& xs, Ys&& ys) { in apply() 305 return hana::fold_left(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys), in apply() [all …]
|
D | is_subset.hpp | 29 constexpr auto is_subset_t::operator()(Xs&& xs, Ys&& ys) const { in operator ()() 51 return IsSubset::apply(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys)); in operator ()() 64 static constexpr decltype(auto) apply(Xs&& xs, Ys&& ys) { in apply() 66 hana::partial(hana::contains, static_cast<Ys&&>(ys))); in apply() 77 static constexpr decltype(auto) apply(Xs&& xs, Ys&& ys) { in apply() 79 hana::to<C>(static_cast<Ys&&>(ys))); in apply()
|
/third_party/boost/boost/hana/ |
D | lexicographical_compare.hpp | 29 constexpr auto lexicographical_compare_t::operator()(Xs const& xs, Ys const& ys) const { in operator ()() 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 …]
|
D | concat.hpp | 31 constexpr auto concat_t::operator()(Xs&& xs, Ys&& ys) const { in operator ()() 46 return Concat::apply(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys)); in operator ()() 60 concat_helper(Xs&& xs, Ys&& ys, std::index_sequence<xi...>, in concat_helper() 65 hana::at_c<yi>(static_cast<Ys&&>(ys))... in concat_helper() 70 static constexpr auto apply(Xs&& xs, Ys&& ys) { in apply() 72 constexpr std::size_t yi = decltype(hana::length(ys))::value; in apply() 73 return concat_helper(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys), in apply()
|
D | is_disjoint.hpp | 25 constexpr auto is_disjoint_t::operator()(Xs&& xs, Ys&& ys) const { in operator ()() 42 return IsDisjoint::apply(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys)); in operator ()() 49 Ys const& ys; member 52 { return hana::contains(ys, x); } in operator ()() 59 static constexpr auto apply(Xs const& xs, Ys const& ys) { in apply() 60 return hana::none_of(xs, detail::in_by_reference<Ys>{ys}); in apply()
|
D | symmetric_difference.hpp | 24 constexpr auto symmetric_difference_t::operator()(Xs&& xs, Ys&& ys) const { in operator ()() 30 return SymmetricDifference::apply(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys)); in operator ()() 37 static constexpr auto apply(Xs&& xs, Ys&& ys) { in apply() 39 hana::difference(xs, ys), in apply() 40 hana::difference(ys, xs) in apply()
|
D | set.hpp | 190 Ys const& ys; member 194 hana::value<decltype(hana::contains(ys, x))>()... in operator ()() 200 static constexpr auto apply(Xs const& xs, Ys const& ys) { in apply() 201 return hana::unpack(xs, all_contained<Ys>{ys}); in apply() 267 Ys const& ys; member 281 constexpr bool keep = hana::value<decltype(hana::contains(ys, key))>(); in operator ()() 292 static constexpr auto apply(Xs&& xs, Ys const& ys) { in apply() 294 detail::set_insert_if_contains<Ys>{ys}); in apply() 304 static constexpr auto apply(Xs&& xs, Ys&& ys) { in apply() 305 return hana::fold_left(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys), in apply() [all …]
|
D | is_subset.hpp | 29 constexpr auto is_subset_t::operator()(Xs&& xs, Ys&& ys) const { in operator ()() 51 return IsSubset::apply(static_cast<Xs&&>(xs), static_cast<Ys&&>(ys)); in operator ()() 64 static constexpr decltype(auto) apply(Xs&& xs, Ys&& ys) { in apply() 66 hana::partial(hana::contains, static_cast<Ys&&>(ys))); in apply() 77 static constexpr decltype(auto) apply(Xs&& xs, Ys&& ys) { in apply() 79 hana::to<C>(static_cast<Ys&&>(ys))); in apply()
|
/third_party/boost/libs/hana/test/tuple/ |
D | hold_refs.cpp | 25 hana::tuple<RefOnly&&, RefOnly&&> ys{std::move(e), std::move(e)}; in main() local 26 (void)xs; (void)ys; in main() 37 hana::tuple<RefOnly&, RefOnly&> ys{e, e}; in main() local 38 (void)xs; (void)ys; in main() 49 hana::tuple<RefOnly const&, RefOnly const&> ys{e, e}; in main() local 50 (void)xs; (void)ys; in main() 64 hana::tuple<RefOnly const&, Empty> ys = {r, e}; in main() local 65 (void)xs; (void)ys; in main() 69 hana::tuple<RefOnly&, Empty> ys = {r, e}; in main() local 70 (void)xs; (void)ys; in main() [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_fs_cse.cpp | 120 fs_reg *ys = b->src; in operands_match() local 123 return xs[0].equals(ys[0]) && in operands_match() 124 ((xs[1].equals(ys[1]) && xs[2].equals(ys[2])) || in operands_match() 125 (xs[2].equals(ys[1]) && xs[1].equals(ys[2]))); in operands_match() 130 bool ys0_negate = ys[0].negate; in operands_match() 131 bool ys1_negate = ys[1].file == IMM ? ys[1].f < 0.0f in operands_match() 132 : ys[1].negate; in operands_match() 134 float ys1_imm = ys[1].f; in operands_match() 138 ys[0].negate = false; in operands_match() 139 ys[1].negate = false; in operands_match() [all …]
|
D | brw_vec4_cse.cpp | 101 const src_reg *ys = b->src; in operands_match() local 104 return xs[0].equals(ys[0]) && in operands_match() 105 ((xs[1].equals(ys[1]) && xs[2].equals(ys[2])) || in operands_match() 106 (xs[2].equals(ys[1]) && xs[1].equals(ys[2]))); in operands_match() 111 src_reg tmp_y = ys[0]; in operands_match() 127 return xs[0].equals(ys[0]) && xs[1].equals(ys[1]) && xs[2].equals(ys[2]); in operands_match() 129 return (xs[0].equals(ys[0]) && xs[1].equals(ys[1])) || in operands_match() 130 (xs[1].equals(ys[0]) && xs[0].equals(ys[1])); in operands_match()
|
/third_party/node/deps/npm/node_modules/concat-map/test/ |
D | map.js | 7 var ys = concatMap(xs, function (x, ix) { 11 t.same(ys, [ 0.9, 1, 1.1, 2.9, 3, 3.1, 4.9, 5, 5.1 ]); 18 var ys = concatMap(xs, function (x) { 21 t.same(ys, [ 'a', 'B', 'B', 'B', 'c', 'd' ]); 27 var ys = concatMap(xs, function (x) { 30 t.same(ys, [ 'a', 'B', 'B', 'B', 'c', 'd' ]); 36 var ys = concatMap(xs, function () {}); 37 t.same(ys, [ undefined, undefined, undefined, undefined ]);
|
/third_party/skia/src/gpu/geometry/ |
D | GrQuad.cpp | 19 V4f* xs, V4f* ys) { in map_rect_translate_scale() argument 34 *ys = skvx::shuffle<1, 3, 1, 3>(r); in map_rect_translate_scale() 38 V4f* xs, V4f* ys, V4f* ws) { in map_quad_general() argument 40 *ys = m.getSkewY() * qx + (m.getScaleY() * qy + m.getTranslateY()); in map_quad_general() 50 *ys *= iw; in map_quad_general() 58 V4f* xs, V4f* ys, V4f* ws) { in map_rect_general() argument 61 map_quad_general(rx, ry, matrix, xs, ys, ws); in map_rect_general() 66 static void rearrange_sk_to_gr_points(const SkPoint skQuadPts[4], V4f* xs, V4f* ys) { in rearrange_sk_to_gr_points() argument 68 *ys = V4f{skQuadPts[0].fY, skQuadPts[3].fY, skQuadPts[1].fY, skQuadPts[2].fY}; in rearrange_sk_to_gr_points() 117 V4f xs, ys; in MakeFromSkQuad() local [all …]
|
/third_party/flutter/skia/src/gpu/geometry/ |
D | GrQuad.cpp | 19 V4f* xs, V4f* ys) { in map_rect_translate_scale() argument 34 *ys = skvx::shuffle<1, 3, 1, 3>(r); in map_rect_translate_scale() 38 V4f* xs, V4f* ys, V4f* ws) { in map_quad_general() argument 40 *ys = mad(m.getSkewY(), qx, mad(m.getScaleY(), qy, m.getTranslateY())); in map_quad_general() 51 *ys *= iw; in map_quad_general() 59 V4f* xs, V4f* ys, V4f* ws) { in map_rect_general() argument 62 map_quad_general(rx, ry, matrix, xs, ys, ws); in map_rect_general() 67 static void rearrange_sk_to_gr_points(const SkPoint skQuadPts[4], V4f* xs, V4f* ys) { in rearrange_sk_to_gr_points() argument 69 *ys = V4f{skQuadPts[0].fY, skQuadPts[3].fY, skQuadPts[1].fY, skQuadPts[2].fY}; in rearrange_sk_to_gr_points() 118 V4f xs, ys; in MakeFromSkQuad() local [all …]
|
/third_party/boost/libs/hana/example/ |
D | lexicographical_compare.cpp | 18 constexpr auto ys = hana::make_tuple(1, 6, 3, 4); in main() local 19 static_assert(hana::lexicographical_compare(xs, ys), ""); in main() 25 auto ys = hana::make_tuple(hana::int_c<1>, hana::int_c<5>, hana::int_c<3>); in main() local 26 BOOST_HANA_CONSTANT_CHECK(hana::lexicographical_compare(xs, ys)); in main() 32 auto ys = hana::make_tuple(hana::type_c<int>, hana::type_c<long>, hana::type_c<void*>); in main() local 34 hana::lexicographical_compare(xs, ys, [](auto t, auto u) { in main()
|
/third_party/typescript/tests/baselines/reference/ |
D | iteratorsAndStrictNullChecks.types | 23 const ys = [4, 5]; 24 >ys : number[] 29 xs.push(...ys); 30 >xs.push(...ys) : number 34 >...ys : number 35 >ys : number[]
|
D | mismatchedExplicitTypeParameterAndArgumentType.js | 3 var ys: U[] = []; variable 4 xs.forEach(x => ys.push(f(x))); 5 return ys; 17 var ys = []; 18 xs.forEach(function (x) { return ys.push(f(x)); }); 19 return ys;
|
D | iteratorsAndStrictNullChecks.symbols | 16 const ys = [4, 5]; 17 >ys : Symbol(ys, Decl(iteratorsAndStrictNullChecks.ts, 7, 5)) 19 xs.push(...ys); 23 >ys : Symbol(ys, Decl(iteratorsAndStrictNullChecks.ts, 7, 5))
|
/third_party/optimized-routines/math/tools/ |
D | plot.py | 22 ys = [] 35 ys.append(y) 40 return xs, gs, ys, es 42 def plot(xs, gs, ys, es): argument 54 ax1.plot(xs,ys,'r.',label='want') 60 xs, gs, ys, es = parse(sys.stdin) variable 61 plot(xs, gs, ys, es)
|
/third_party/boost/libs/hana/include/boost/hana/ext/std/ |
D | array.hpp | 135 static constexpr bool apply(std::array<T, n> const& xs, std::array<U, n> const& ys) in apply() 136 { return detail::equal(&xs[0], &xs[0] + n, &ys[0], &ys[0] + n); } in apply() 153 static constexpr auto apply(std::array<T, n> const& xs, std::array<U, m> const& ys) { in apply() 158 return !ys.empty(); in apply() 160 if (ys.empty()) { in apply() 164 &ys[0], &ys[0] + m); in apply()
|
/third_party/boost/boost/hana/ext/std/ |
D | array.hpp | 135 static constexpr bool apply(std::array<T, n> const& xs, std::array<U, n> const& ys) in apply() 136 { return detail::equal(&xs[0], &xs[0] + n, &ys[0], &ys[0] + n); } in apply() 153 static constexpr auto apply(std::array<T, n> const& xs, std::array<U, m> const& ys) { in apply() 158 return !ys.empty(); in apply() 160 if (ys.empty()) { in apply() 164 &ys[0], &ys[0] + m); in apply()
|