/third_party/boost/boost/python/object/ |
D | pointer_holder.hpp | 68 inline void* holds_wrapped(type_info dst_t, wrapper<T>*,T* p) in holds_wrapped() 70 return python::type_id<T>() == dst_t ? p : 0; in holds_wrapped() 128 void* pointer_holder<Pointer, Value>::holds(type_info dst_t, bool null_ptr_only) in holds() argument 132 if (dst_t == python::type_id<Pointer>() in holds() 149 if (void* wrapped = holds_wrapped(dst_t, p, p)) in holds() 153 return src_t == dst_t ? p : find_dynamic_type(p, src_t, dst_t); in holds() 157 void* pointer_holder_back_reference<Pointer, Value>::holds(type_info dst_t, bool null_ptr_only) in holds() argument 159 if (dst_t == python::type_id<Pointer>() in holds() 169 if (dst_t == python::type_id<held_type>()) in holds() 173 return src_t == dst_t ? p : find_dynamic_type(p, src_t, dst_t); in holds()
|
D | value_holder.hpp | 52 inline void* holds_wrapped(type_info dst_t, wrapper<T>*,T* p) in holds_wrapped() 54 return python::type_id<T>() == dst_t ? p : 0; in holds_wrapped() 85 void* value_holder<Value>::holds(type_info dst_t, bool /*null_ptr_only*/) in holds() argument 87 if (void* wrapped = holds_wrapped(dst_t, boost::addressof(m_held), boost::addressof(m_held))) in holds() 91 return src_t == dst_t ? boost::addressof(m_held) in holds() 92 : find_static_type(boost::addressof(m_held), src_t, dst_t); in holds() 97 type_info dst_t, bool /*null_ptr_only*/) in holds() argument 102 if (dst_t == src_t) in holds() 104 else if (dst_t == python::type_id<Held>()) in holds() 107 return find_static_type(x, src_t, dst_t); in holds()
|
D | inheritance.hpp | 27 class_id src_t, class_id dst_t, void* (*cast)(void*), bool is_downcast);
|
/third_party/boost/boost/gil/ |
D | color_convert.hpp | 166 using dst_t = typename channel_type<DstPixel>::type; in operator ()() typedef 167 dst_t const c = channel_invert(channel_convert<dst_t>(r)); // c = 1 - r in operator ()() 168 dst_t const m = channel_invert(channel_convert<dst_t>(g)); // m = 1 - g in operator ()() 169 dst_t const y = channel_invert(channel_convert<dst_t>(b)); // y = 1 - b in operator ()() 170 dst_t const k = (std::min)(c, (std::min)(m, y)); // k = minimum(c, m, y) in operator ()() 174 dst_t const dst_max = channel_traits<dst_t>::max_value(); in operator ()() 175 dst_t const s_div = dst_max - k; in operator ()() 179 get_color(dst, cyan_t()) = static_cast<dst_t>((c - k) * s); in operator ()() 180 get_color(dst, magenta_t()) = static_cast<dst_t>((m - k) * s); in operator ()() 181 get_color(dst, yellow_t()) = static_cast<dst_t>((y - k) * s); in operator ()() [all …]
|
/third_party/mindspore/mindspore/core/ops/ |
D | to_format.cc | 35 void ToFormat::set_dst_t(const int64_t dst_t) { (void)this->AddAttr(kDstT, MakeValue(dst_t)); } in set_dst_t() argument 41 void ToFormat::Init(const int64_t src_t, const int64_t dst_t) { in Init() argument 43 this->set_dst_t(dst_t); in Init()
|
D | quant_dtype_cast.cc | 26 void QuantDTypeCast::set_dst_t(const int64_t dst_t) { (void)AddAttr(kDstT, MakeValue(dst_t)); } in set_dst_t() argument 28 void QuantDTypeCast::Init(const int64_t src_t, const int64_t dst_t) { in Init() argument 30 this->set_dst_t(dst_t); in Init()
|
D | to_format.h | 35 void Init(const int64_t src_t, const int64_t dst_t); 37 void set_dst_t(const int64_t dst_t);
|
D | quant_dtype_cast.h | 49 void Init(const int64_t src_t, const int64_t dst_t); 64 void set_dst_t(const int64_t dst_t);
|
/third_party/boost/libs/python/src/object/ |
D | inheritance.cpp | 390 inline void* convert_type(void* const p, class_id src_t, class_id dst_t, bool polymorphic) in convert_type() argument 397 index_entry* dst_p = seek_type(dst_t); in convert_type() 410 cache_element seek(boost::make_tuple(src_t, dst_t, offset, dynamic_id.second)); in convert_type() 441 BOOST_PYTHON_DECL void* find_dynamic_type(void* p, class_id src_t, class_id dst_t) in find_dynamic_type() argument 443 return convert_type(p, src_t, dst_t, true); in find_dynamic_type() 446 BOOST_PYTHON_DECL void* find_static_type(void* p, class_id src_t, class_id dst_t) in find_static_type() argument 448 return convert_type(p, src_t, dst_t, false); in find_static_type() 452 class_id src_t, class_id dst_t, cast_function cast, bool is_downcast) in add_cast() argument 470 type_index_iterator_pair types = demand_types(src_t, dst_t); in add_cast()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_opcodes.py | 239 for dst_t in dst_types: 240 for dst_bit_size in type_sizes(dst_t): 241 if dst_bit_size == 16 and dst_t == tfloat and src_t == tfloat: 264 dst_t[0], 267 dst_t + str(dst_bit_size), 269 elif dst_bit_size == 32 and dst_t == tfloat and src_t == tfloat: 277 unop_numeric_convert("{0}2{1}{2}".format(src_t[0], dst_t[0], 279 dst_t + str(dst_bit_size), src_t, conv_expr) 281 conv_expr = "src0 != 0" if dst_t == tbool else "src0" 282 unop_numeric_convert("{0}2{1}{2}".format(src_t[0], dst_t[0], [all …]
|
/third_party/mindspore/mindspore/lite/tools/converter/legacy_optimizer/graph/ |
D | dtype_trans_pass.h | 76 QuantDTypeCastParam->dst_t = oldQuantDTypeCastParam->dst_t;
|
D | dtype_trans_pass.cc | 285 quant_dtype_cast_param->dst_t = output_data_type; in InsertDTypeTransNode()
|
/third_party/boost/libs/python/doc/reference/ |
D | instance_holder.qbk | 76 void* holds(type_info dst_t) 79 if (dst_t == python::type_id<SmartPtr>()) 84 return python::type_id<Value>() == dst_t ? &*this->m_p : 0;
|
/third_party/mindspore/mindspore/lite/tools/converter/legacy_optimizer/fusion/ |
D | quant_cast_fusion_pass.cc | 64 if (srcAttr->dst_t != dstAttr->src_t) { in DoFusion() 75 if (srcAttr->src_t == dstAttr->dst_t) { in DoFusion()
|
/third_party/mindspore/mindspore/lite/src/ops/populate/ |
D | quant_dtype_cast_populate.cc | 40 param->dstT = value->dst_t(); in PopulateQuantDTypeCastParameter()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_surface.c | 454 struct pipe_transfer *dst_t; in llvmpipe_clear_buffer() local 464 &dst_t); in llvmpipe_clear_buffer() 478 pipe->buffer_unmap(pipe, dst_t); in llvmpipe_clear_buffer()
|
/third_party/mindspore/mindspore/lite/tools/common/ |
D | graph_util.cc | 535 } else if (prim->dst_t == TypeId::kNumberTypeUInt8) { in InsertNodeBefore() 543 toAddTensor->dataType = prim->dst_t; in InsertNodeBefore() 607 if (prim->dst_t == TypeId::kNumberTypeUInt8) { in InsertNodeAfter() 621 toAddTensor->dataType = prim->dst_t; in InsertNodeAfter()
|
/third_party/mindspore/mindspore/lite/mindir/include/ |
D | mindir.h | 280 PrimitivePtr MindIR_QuantDTypeCast_CreatePrimitive(int64_t src_t, int64_t dst_t); 284 void MindIR_QuantDTypeCast_SetDstT(PrimitivePtr *primitive, int64_t dst_t);
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_execute.c | 2128 struct pipe_transfer *src_t, *dst_t; in handle_copy_image_to_buffer2_khr() local 2160 &dst_t); in handle_copy_image_to_buffer2_khr() 2198 state->pctx->buffer_unmap(state->pctx, dst_t); in handle_copy_image_to_buffer2_khr() 2209 struct pipe_transfer *src_t, *dst_t; in handle_copy_buffer_to_image() local 2242 &dst_t); in handle_copy_buffer_to_image() 2264 dst_t->stride, dst_t->layer_stride, in handle_copy_buffer_to_image() 2273 dst_t->stride, dst_t->layer_stride, in handle_copy_buffer_to_image() 2282 state->pctx->texture_unmap(state->pctx, dst_t); in handle_copy_buffer_to_image() 2450 struct pipe_transfer *dst_t; in handle_update_buffer() local 2459 &dst_t); in handle_update_buffer() [all …]
|
/third_party/mindspore/mindspore/lite/schema/ |
D | ops.fbs | 869 dst_t: long;
|
D | ops_generated.h | 9006 int64_t dst_t() const { 9024 void add_dst_t(int64_t dst_t) { 9025 fbb_.AddElement<int64_t>(QuantDTypeCast::VT_DST_T, dst_t, 0); 9041 int64_t dst_t = 0) { 9043 builder_.add_dst_t(dst_t);
|
/third_party/mindspore/mindspore/lite/mindir/src/ |
D | mindir.cc | 2814 PrimitivePtr MindIR_QuantDTypeCast_CreatePrimitive(int64_t src_t, int64_t dst_t) { in MindIR_QuantDTypeCast_CreatePrimitive() argument 2816 auto ops_offset = schema::CreateQuantDTypeCast(fbb, src_t, dst_t); in MindIR_QuantDTypeCast_CreatePrimitive() 2844 auto ops_offset = schema::CreateQuantDTypeCast(fbb, src_t, value->dst_t()); in MindIR_QuantDTypeCast_SetSrcT() 2859 return value->dst_t(); in MindIR_QuantDTypeCast_GetDstT() 2868 void MindIR_QuantDTypeCast_SetDstT(PrimitivePtr *primitive, int64_t dst_t) { in MindIR_QuantDTypeCast_SetDstT() argument 2874 auto ops_offset = schema::CreateQuantDTypeCast(fbb, value->src_t(), dst_t); in MindIR_QuantDTypeCast_SetDstT()
|
D | mindir_nnrt_lite_graph_to_model.cc | 875 quant_d_type_cast.dstT = value->dst_t(); in ConvertQuantDTypeCast()
|
/third_party/mindspore/mindspore/lite/src/ops/ |
D | ops_def.cc | 869 OP_ATTR(dst_t, long)
|
/third_party/mindspore/mindspore/lite/schema/inner/ |
D | ops_generated.h | 13936 int64_t dst_t = 0; 13955 int64_t dst_t() const { 13979 void add_dst_t(int64_t dst_t) { 13980 fbb_.AddElement<int64_t>(QuantDTypeCast::VT_DST_T, dst_t, 0); 13996 int64_t dst_t = 0) { 13998 builder_.add_dst_t(dst_t); 22728 { auto _e = dst_t(); _o->dst_t = _e; } 22740 auto _dst_t = _o->dst_t;
|