Home
last modified time | relevance | path

Searched defs:cast (Results 1 – 25 of 147) sorted by relevance

123456

/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DTraits.inl23 Pointer<Byte> CToReactorPtr<T, ENABLE>::cast(const T *v) function in rr::CToReactorPtr
32 CToReactorPtr<T, std::enable_if_t<HasReactorType<T>::value>>::cast(const T *v) function in rr::CToReactorPtr::enable_if_t::value
38 Pointer<Byte> CToReactorPtr<void, void>::cast(const void *v) function in rr::CToReactorPtr
46 CToReactorPtr<T, std::enable_if_t<std::is_function<T>::value>>::cast(T *v) function in rr::CToReactorPtr::enable_if_t::is_function::value
54 CToReactor<T, std::enable_if_t<std::is_pointer<T>::value>>::cast(T v) function in rr::CToReactor::enable_if_t::is_pointer::value
62 CToReactor<T, std::enable_if_t<std::is_enum<T>::value>>::cast(T v) function in rr::CToReactor::enable_if_t::is_enum::value
/third_party/boost/boost/serialization/
Dsmart_cast.hpp72 static T cast(U & u){ in cast() function
79 static T cast(U & u){ in cast() function
85 static T cast(U & u){ in cast() function
120 static T cast(U & u){ in cast() function
125 static T cast(U & u){ in cast() function
183 static T cast(U * u){ in cast() function
195 static T cast(U * u){ in cast() function
201 static T cast(U * u){ in cast() function
215 static TPtr cast(UPtr uptr){ in cast() function
226 static T cast(U){ in cast() function
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_constructor_expression_test.cc97 auto* cast = Construct(ty.Of(alias), 2.3f); in TEST_F() local
169 auto* cast = Construct<bool>(true); in TEST_F() local
186 auto* cast = Construct<i32>(2); in TEST_F() local
201 auto* cast = Construct<u32>(2u); in TEST_F() local
216 auto* cast = Construct<f32>(2.0f); in TEST_F() local
231 auto* cast = vec2<bool>(true); in TEST_F() local
249 auto* cast = vec2<bool>(var); in TEST_F() local
272 auto* cast = vec2<f32>(2.0f); in TEST_F() local
290 auto* cast = vec2<f32>(var); in TEST_F() local
312 auto* cast = vec2<f32>(2.0f, 2.0f); in TEST_F() local
[all …]
/third_party/boost/boost/parameter/aux_/preprocessor/impl/
Dfunction_cast.hpp58 struct cast<void*,Args> struct
79 struct cast<void*(Predicate),Args> struct
80 : ::boost::parameter::aux::cast<void*,Args>
252 struct cast<void(Target),Args> struct
263 , ::boost::parameter::aux::cast_impl<Target,T,Args>
278 , ::boost::parameter::aux::cast_impl<Target,T,Args>
508 struct cast<void*,Args> struct
511 struct apply
536 struct cast< ::boost::parameter::aux::voidstar(Predicate),Args> struct
540 : ::boost::parameter::aux::cast<void*,Args>
[all …]
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_cast_test.cc25 auto* cast = Construct<f32>(1); in TEST_F() local
36 auto* cast = vec3<f32>(vec3<i32>(1, 2, 3)); in TEST_F() local
47 auto* cast = Construct<u32>(std::numeric_limits<int32_t>::min()); in TEST_F() local
/third_party/boost/boost/fusion/support/
Diterator_base.hpp22 cast() const BOOST_NOEXCEPT in cast() function
29 cast() BOOST_NOEXCEPT in cast() function
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl_cast_test.cc25 auto* cast = Construct<f32>(1); in TEST_F() local
36 auto* cast = vec3<f32>(vec3<i32>(1, 2, 3)); in TEST_F() local
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl_cast_test.cc25 auto* cast = Construct<f32>(1); in TEST_F() local
36 auto* cast = vec3<f32>(vec3<i32>(1, 2, 3)); in TEST_F() local
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl_cast_test.cc25 auto* cast = Construct<f32>(1); in TEST_F() local
36 auto* cast = vec3<f32>(vec3<i32>(1, 2, 3)); in TEST_F() local
/third_party/boost/boost/log/detail/
Dthread_specific.hpp92 value_storage cast = {}; in get() local
100 value_storage cast = {}; in set() local
/third_party/boost/boost/safe_numerics/
Dchecked_float.hpp43 cast(const T & t) noexcept { in cast() function
68 cast(const T & t) noexcept { in cast() function
79 constexpr static checked_result<R> cast(const T & t) { in cast() function
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/cpu/
Dinsert_cast_cpu.cc41 …CNodePtr cast = func_graph->NewCNode({NewValueNode(std::make_shared<Primitive>(prim::kPrimCast->na… in AddCastOpNodeToGraph() local
87 auto cast = in InsertCast() local
114 auto cast = in InsertCastForGraphOutput() local
/third_party/mesa3d/src/compiler/nir/
Dnir_deref.c30 is_trivial_deref_cast(nir_deref_instr *cast) in is_trivial_deref_cast()
855 is_trivial_array_deref_cast(nir_deref_instr *cast) in is_trivial_array_deref_cast()
880 opt_remove_restricting_cast_alignments(nir_deref_instr *cast) in opt_remove_restricting_cast_alignments()
953 opt_remove_cast_cast(nir_deref_instr *cast) in opt_remove_cast_cast()
996 opt_remove_sampler_cast(nir_deref_instr *cast) in opt_remove_sampler_cast()
1043 opt_replace_struct_wrapper_cast(nir_builder *b, nir_deref_instr *cast) in opt_replace_struct_wrapper_cast()
1072 opt_deref_cast(nir_builder *b, nir_deref_instr *cast) in opt_deref_cast()
1168 is_vector_bitcast_deref(nir_deref_instr *cast, in is_vector_bitcast_deref()
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/buffer_fusion/
Dbuffer_fusion_test.cc60 auto cast = tuple->cast<CNodePtr>()->input(1); in TEST_F() local
121 auto cast = tuple->cast<CNodePtr>()->input(1); in TEST_F() local
211 auto cast = tuple->cast<CNodePtr>()->input(1); in TEST_F() local
303 auto cast = tuple->cast<CNodePtr>()->input(1); in TEST_F() local
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/format_type/
Dcheck_consistency_test.cc76 auto cast = make_tuple->input(1)->cast<CNodePtr>(); in TEST_F() local
137 auto cast = make_tuple->input(1)->cast<CNodePtr>(); in TEST_F() local
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dparameter_and_transop_fusion.cc61 kernel::KernelBuildInfoPtr GetKernelBuildInfo(const CNodePtr &cast, const string &format, TypeId in… in GetKernelBuildInfo()
117 auto cast = trans_road[kIndex1]; in Run() local
/third_party/skia/src/utils/
DSkJSON.h176 const T* cast() const { in cast() function
186 T* cast() { return const_cast<T*>(const_cast<const Value*>(this)->cast<T>()); } in cast() function
/third_party/skia/third_party/externals/tint/src/resolver/
Dbitcast_validation_test.cc86 auto* cast = Bitcast(dst.ast(*this), src.expr(*this, 0)); in TEST_P() local
120 auto* cast = Bitcast(dst.ast(*this), Expr(Source{{12, 34}}, "src")); in TEST_P() local
/third_party/skia/third_party/externals/angle2/include/
Dangle_cl.h67 T &cast() in cast() function
73 const T &cast() const in cast() function
/third_party/flutter/skia/src/utils/
DSkJSON.h168 const T* cast() const { in cast() function
175 T* cast() { return const_cast<T*>(const_cast<const Value*>(this)->cast<T>()); } in cast() function
/third_party/typescript/tests/cases/conformance/types/conditional/
Dvariance.ts22 cast(_name: ([T] extends [string] ? string : string)) { } method in Bar
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/core/
Dpybind_support.h55 static handle cast(T src, return_value_policy, handle) { in cast() function
/third_party/mindspore/mindspore/ccsrc/pybind_api/ir/
Dtensor_py.h56 static handle cast(T src, return_value_policy, handle) { in cast() function
/third_party/boost/tools/build/src/tools/
Dcast.py58 def cast(name, type, sources, requirements, default_build, usage_requirements): function
/third_party/boost/boost/random/detail/
Diterator_mixin.hpp39 Generator & cast() { return static_cast<Generator&>(*this); } in cast() function in boost::generator_iterator_mixin_adapter

123456