Home
last modified time | relevance | path

Searched refs:from_type (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/libs/hana/test/type/
Dis_valid.cpp30 auto from_type = hana::is_valid([](auto t) -> decltype( in main() local
33 BOOST_HANA_CONSTANT_CHECK(from_type(hana::type_c<yes>)); in main()
34 BOOST_HANA_CONSTANT_CHECK(hana::not_(from_type(hana::type_c<no>))); in main()
48 auto from_type = hana::is_valid([](auto t) -> decltype( in main() local
51 BOOST_HANA_CONSTANT_CHECK(from_type(hana::type_c<yes>)); in main()
52 BOOST_HANA_CONSTANT_CHECK(hana::not_(from_type(hana::type_c<no>))); in main()
66 auto from_type = hana::is_valid([](auto t) -> decltype( in main() local
69 BOOST_HANA_CONSTANT_CHECK(from_type(hana::type_c<yes>)); in main()
70 BOOST_HANA_CONSTANT_CHECK(hana::not_(from_type(hana::type_c<no>))); in main()
84 auto from_type = hana::is_valid([](auto t) -> decltype(hana::type_c< in main() local
[all …]
/third_party/boost/libs/locale/src/encoding/
Duconv_codepage.ipp36 … cvt_from_.reset(new from_type(charset,how == skip ? impl_icu::cvt_skip : impl_icu::cvt_stop));
63 typedef impl_icu::icu_std_converter<char> from_type;
66 hold_ptr<from_type> cvt_from_;
80 … cvt_from_.reset(new from_type("UTF-8",how == skip ? impl_icu::cvt_skip : impl_icu::cvt_stop));
107 typedef impl_icu::icu_std_converter<CharType> from_type;
110 hold_ptr<from_type> cvt_from_;
121 …cvt_from_.reset(new from_type(from_charset,how == skip ? impl_icu::cvt_skip : impl_icu::cvt_stop));
148 typedef impl_icu::icu_std_converter<char> from_type;
151 hold_ptr<from_type> cvt_from_;
/third_party/mesa3d/src/compiler/glsl/
Dir_function.cpp139 const glsl_type *from_type; in get_parameter_match_type() local
143 from_type = param->type; in get_parameter_match_type()
146 from_type = actual->type; in get_parameter_match_type()
150 if (from_type == to_type) in get_parameter_match_type()
154 if (from_type->is_float()) in get_parameter_match_type()
/third_party/boost/boost/iostreams/detail/
Dcodecvt_holder.hpp25 typedef wchar_t intern_type, from_type; typedef
Dcodecvt_helper.hpp57 struct codecvt_intern { typedef typename T::from_type type; };
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc1532 auto* from_type = TypeOf(from_expr)->UnwrapRef(); in GenerateCastOrCopyOrPassthrough() local
1535 if ((from_type->Is<sem::I32>() && to_type->Is<sem::F32>()) || in GenerateCastOrCopyOrPassthrough()
1536 (from_type->is_signed_integer_vector() && to_type->is_float_vector())) { in GenerateCastOrCopyOrPassthrough()
1538 } else if ((from_type->Is<sem::U32>() && to_type->Is<sem::F32>()) || in GenerateCastOrCopyOrPassthrough()
1539 (from_type->is_unsigned_integer_vector() && in GenerateCastOrCopyOrPassthrough()
1542 } else if ((from_type->Is<sem::F32>() && to_type->Is<sem::I32>()) || in GenerateCastOrCopyOrPassthrough()
1543 (from_type->is_float_vector() && in GenerateCastOrCopyOrPassthrough()
1546 } else if ((from_type->Is<sem::F32>() && to_type->Is<sem::U32>()) || in GenerateCastOrCopyOrPassthrough()
1547 (from_type->is_float_vector() && in GenerateCastOrCopyOrPassthrough()
1550 } else if ((from_type->Is<sem::Bool>() && to_type->Is<sem::Bool>()) || in GenerateCastOrCopyOrPassthrough()
[all …]
/third_party/boost/boost/multiprecision/
Dmpfi.hpp1090 …st mpl::int_<number_kind_integer>& to_type, const mpl::int_<number_kind_floating_point>& from_type) in generic_interconvert() argument
1095 generic_interconvert(to, t, to_type, from_type); in generic_interconvert()
1099 …t mpl::int_<number_kind_rational>& to_type, const mpl::int_<number_kind_floating_point>& from_type) in generic_interconvert() argument
1104 generic_interconvert(to, t, to_type, from_type); in generic_interconvert()
1108 …:int_<number_kind_floating_point>& to_type, const mpl::int_<number_kind_floating_point>& from_type) in generic_interconvert() argument
1113 generic_interconvert(to, t, to_type, from_type); in generic_interconvert()
/third_party/python/Lib/unittest/
Dmock.py730 from_type = dir(type(self))
736 from_type = [e for e in from_type if not e.startswith('_')]
739 return sorted(set(extras + from_type + from_dict + from_child_mocks))
/third_party/glslang/glslang/MachineIndependent/
DParseHelper.cpp6493 TBasicType from_type = from.getBasicType(); in findFunctionExplicitTypes() local
6496 bool isPromotion1 = (intermediate.isIntegralPromotion(from_type, to1_type) || in findFunctionExplicitTypes()
6497 intermediate.isFPPromotion(from_type, to1_type)); in findFunctionExplicitTypes()
6498 bool isPromotion2 = (intermediate.isIntegralPromotion(from_type, to2_type) || in findFunctionExplicitTypes()
6499 intermediate.isFPPromotion(from_type, to2_type)); in findFunctionExplicitTypes()
6506 bool isConversion1 = (intermediate.isIntegralConversion(from_type, to1_type) || in findFunctionExplicitTypes()
6507 intermediate.isFPConversion(from_type, to1_type) || in findFunctionExplicitTypes()
6508 intermediate.isFPIntegralConversion(from_type, to1_type)); in findFunctionExplicitTypes()
6509 bool isConversion2 = (intermediate.isIntegralConversion(from_type, to2_type) || in findFunctionExplicitTypes()
6510 intermediate.isFPConversion(from_type, to2_type) || in findFunctionExplicitTypes()
[all …]
/third_party/python/Objects/
Dunicodeobject.c187 #define _PyUnicode_CONVERT_BYTES(from_type, to_type, begin, end, to) \ argument
190 const from_type *_iter = (const from_type *)(begin);\
191 const from_type *_end = (const from_type *)(end);\
193 const from_type *_unrolled_end = \