/third_party/boost/libs/multiprecision/test/ |
D | test_arithmetic.hpp | 1499 Real>::type cast_type; in test_negative_mixed() typedef 1520 BOOST_CHECK_EQUAL(Real(n1), static_cast<cast_type>(n1)); in test_negative_mixed() 1521 BOOST_CHECK_EQUAL(Real(n2), static_cast<cast_type>(n2)); in test_negative_mixed() 1522 BOOST_CHECK_EQUAL(Real(n3), static_cast<cast_type>(n3)); in test_negative_mixed() 1523 BOOST_CHECK_EQUAL(Real(n4), static_cast<cast_type>(n4)); in test_negative_mixed() 1524 BOOST_CHECK_EQUAL(static_cast<cast_type>(n1), Real(n1)); in test_negative_mixed() 1525 BOOST_CHECK_EQUAL(static_cast<cast_type>(n2), Real(n2)); in test_negative_mixed() 1526 BOOST_CHECK_EQUAL(static_cast<cast_type>(n3), Real(n3)); in test_negative_mixed() 1527 BOOST_CHECK_EQUAL(static_cast<cast_type>(n4), Real(n4)); in test_negative_mixed() 1552 BOOST_CHECK(r != static_cast<cast_type>(n1)); in test_negative_mixed() [all …]
|
D | test.hpp | 93 typedef typename boost::mpl::if_c<boost::is_convertible<T, U>::value, U, T>::type cast_type; in relative_error() typedef 94 return relative_error<cast_type>(static_cast<cast_type>(a), static_cast<cast_type>(b)); in relative_error()
|
/third_party/boost/libs/locale/src/icu/ |
D | numeric.cpp | 31 typedef int32_t cast_type; typedef 35 typedef int32_t cast_type; typedef 40 typedef int32_t cast_type; typedef 44 typedef int32_t cast_type; typedef 48 typedef int32_t cast_type; typedef 52 typedef int64_t cast_type; typedef 56 typedef int64_t cast_type; typedef 60 typedef int64_t cast_type; typedef 64 typedef double cast_type; typedef 175 typedef typename details::cast_traits<ValueType>::cast_type cast_type; in do_real_put() typedef [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/ |
D | reduce_precision_fusion.cc | 31 const TypeId &cast_type) { in ReducePrecision() argument 39 prim->AddAttr("dst_type", TypeIdToType(cast_type)); in ReducePrecision() 41 AnfAlgo::SetOutputInferTypeAndShape({cast_type}, cast_shape, cast.get()); in ReducePrecision() 49 builder.SetOutputsDeviceType({cast_type}); in ReducePrecision() 55 const TypeId &cast_type) { in ProcessTupleGetItem() argument 66 ReducePrecision(graph, used_node, used_node_index, src_type, cast_type); in ProcessTupleGetItem()
|
D | insert_cast_gpu.cc | 35 const TypeId &cast_type) { in InsertCast() argument 44 AnfAlgo::SetOutputInferTypeAndShape({cast_type}, cast_shape, cast.get()); in InsertCast() 51 const TypeId &cast_type) { in ProcessTupleGetItem() argument 62 InsertCast(graph, used_node, used_node_index, src_type, cast_type); in ProcessTupleGetItem()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_nir.c | 45 static LLVMValueRef cast_type(struct lp_build_nir_context *bld_base, LLVMValueRef val, in cast_type() function 310 LLVMValueRef result = LLVMBuildAnd(builder, cast_type(bld_base, src0, nir_type_int, 32), in emit_b2f() 335 LLVMValueRef result = LLVMBuildAnd(builder, cast_type(bld_base, src0, nir_type_int, 32), in emit_b2i() 355 LLVMValueRef sel = cast_type(bld_base, src[0], nir_type_int, 32); in emit_b32csel() 1096 … result[i] = cast_type(bld_base, src[i], nir_op_infos[instr->op].input_types[i], src_bit_size[i]); in visit_alu() 1102 …temp_chan = cast_type(bld_base, temp_chan, nir_op_infos[instr->op].input_types[0], src_bit_size[0]… in visit_alu() 1115 …src_chan[i] = cast_type(bld_base, src_chan[i], nir_op_infos[instr->op].input_types[i], src_bit_siz… in visit_alu() 1118 …result[c] = cast_type(bld_base, result[c], nir_op_infos[instr->op].output_type, nir_dest_bit_size(… in visit_alu() 1183 idx_src = cast_type(bld_base, idx_src, nir_type_uint, 32); in get_deref_offset() 1346 LLVMValueRef idx = cast_type(bld_base, get_src(bld_base, instr->src[0]), nir_type_uint, 32); in visit_load_ssbo() [all …]
|
/third_party/boost/libs/sort/example/ |
D | wstringsample.cpp | 65 wchar_t cast_type = 0; in main() local 71 string_sort(array.begin(), array.end(), cast_type); in main()
|
/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/ |
D | do_signature.cc | 271 auto cast_type = parse::GetMixedPrecisionTargetType(func_graph); in BuildNewCNode() local 294 … if (cast_type != nullptr && IsSubType(source_element, kFloat) && *source_element != *cast_type) { in BuildNewCNode() 296 … param = func_graph->NewCNodeAfter(param, {NewValueNode(cast), param, NewValueNode(cast_type)}); in BuildNewCNode() 297 type = cast_type->type_id() == kNumberTypeFloat16 ? kTensorTypeFP16 : kTensorTypeFP32; in BuildNewCNode()
|
/third_party/boost/boost/detail/ |
D | basic_pointerbuf.hpp | 79 typedef typename boost::int_t<sizeof(way) * CHAR_BIT>::least cast_type; in seekoff() typedef 86 switch(static_cast<cast_type>(way)) in seekoff()
|
/third_party/boost/boost/lambda/ |
D | casts.hpp | 96 template<template <class> class cast_type, class T, class A> 97 struct return_type_N<cast_action< cast_type<T> >, A> {
|
/third_party/boost/libs/math/tools/ |
D | lanczos_generator.cpp | 4810 const char* cast_type; in print_code() local 4815 cast_type = "static_cast<boost::uint16_t>"; in print_code() 4821 cast_type = "static_cast<boost::uint32_t>"; in print_code() 4828 cast_type = ""; in print_code() 4835 cast_type = "static_cast<T>"; in print_code() 4874 std::cout << " " << cast_type << "(" << rat.denom[i] << suffix_type << ")"; in print_code() 4906 std::cout << " " << cast_type << "(" << rat.denom[i] << suffix_type << ")"; in print_code()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_deref.c | 1007 const struct glsl_type *cast_type = cast->type; in opt_remove_sampler_cast() local 1008 while (glsl_type_is_array(parent_type) && glsl_type_is_array(cast_type)) { in opt_remove_sampler_cast() 1009 if (glsl_get_length(parent_type) != glsl_get_length(cast_type)) in opt_remove_sampler_cast() 1012 cast_type = glsl_get_array_element(cast_type); in opt_remove_sampler_cast() 1015 if (glsl_type_is_array(parent_type) || glsl_type_is_array(cast_type)) in opt_remove_sampler_cast() 1019 cast_type != glsl_bare_sampler_type()) in opt_remove_sampler_cast()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | expression.c | 640 token = typename(token->next, &expr->cast_type, NULL); in type_info_expression() 658 cast->cast_type = expr->cast_type; in type_info_expression() 659 expr->cast_type = NULL; in type_info_expression() 768 cast->cast_type = sym; in cast_expression()
|
D | inline.c | 160 struct symbol *sym = expr->cast_type; in copy_expression() 163 expr->cast_type = alloc_symbol(sym->pos, sym->type); in copy_expression() 164 *expr->cast_type = *sym; in copy_expression()
|
D | expression.h | 214 struct symbol *cast_type; member
|
D | ast-inspect.c | 206 ast_append_child(node, "cast_type:", expr->cast_type, inspect_symbol); in inspect_expression()
|
D | evaluate.c | 326 expr->cast_type = type; in cast_to() 2180 struct symbol *sym = expr->cast_type; in evaluate_type_information() 2247 base->cast_type = base_type; in evaluate_sizeof() 2256 size->cast_type = size_t_ctype; in evaluate_sizeof() 2954 struct symbol *sym = expr->cast_type; in evaluate_compound_literal() 2997 ctype = examine_symbol_type(expr->cast_type); in evaluate_cast() 3000 expr->cast_type = ctype; in evaluate_cast()
|
D | dissect.c | 363 ret = base_type(expr->cast_type); in do_expression()
|
/third_party/boost/boost/multiprecision/detail/functions/ |
D | trig.hpp | 827 typedef typename mpl::if_<is_same<A, canonical_type>, T, canonical_type>::type cast_type; in eval_atan2() typedef 828 cast_type c; in eval_atan2() 837 typedef typename mpl::if_<is_same<A, canonical_type>, T, canonical_type>::type cast_type; in eval_atan2() typedef 838 cast_type c; in eval_atan2()
|
D | pow.hpp | 732 typedef typename mpl::if_<is_same<A, canonical_type>, T, canonical_type>::type cast_type; typedef 733 cast_type c; 747 typedef typename mpl::if_<is_same<A, canonical_type>, T, canonical_type>::type cast_type; typedef 748 cast_type c;
|
/third_party/mesa3d/src/microsoft/clc/ |
D | clc_compiler.c | 581 const struct glsl_type *cast_type = get_cast_type(alignment * 8); in split_unaligned_load() local 582 … nir_deref_instr *cast = nir_build_deref_cast(b, &ptr->dest.ssa, ptr->modes, cast_type, alignment); in split_unaligned_load() 609 const struct glsl_type *cast_type = get_cast_type(alignment * 8); in split_unaligned_store() local 610 … nir_deref_instr *cast = nir_build_deref_cast(b, &ptr->dest.ssa, ptr->modes, cast_type, alignment); in split_unaligned_store()
|
/third_party/mindspore/mindspore/numpy/ |
D | array_creations.py | 1507 cast_type = dtype 1510 cast_type = mstype.float32 1511 prod = F.cast(prod, cast_type) 1516 if not _check_same_type(cast_type, dtype):
|
/third_party/boost/boost/multiprecision/cpp_int/ |
D | misc.hpp | 28 typedef typename boost::multiprecision::detail::canonical<R, CppInt>::type cast_type; in check_in_range() typedef 33 if (val.compare(static_cast<cast_type>((std::numeric_limits<R>::min)())) < 0) in check_in_range() 38 if (val.compare(static_cast<cast_type>((std::numeric_limits<R>::max)())) > 0) in check_in_range()
|
/third_party/boost/boost/regex/v4/ |
D | cpp_regex_traits.hpp | 112 typedef typename boost::int_t<sizeof(way) * CHAR_BIT>::least cast_type; in seekoff() typedef 119 switch(static_cast<cast_type>(way)) in seekoff()
|
/third_party/boost/boost/multiprecision/detail/ |
D | default_ops.hpp | 1144 typedef typename mpl::if_<is_same<A, canonical_type>, T, canonical_type>::type cast_type; in eval_fmod() typedef 1145 cast_type c; in eval_fmod() 1154 typedef typename mpl::if_<is_same<A, canonical_type>, T, canonical_type>::type cast_type; in eval_fmod() typedef 1155 cast_type c; in eval_fmod() 1185 typedef typename mpl::if_<is_same<A, canonical_type>, T, canonical_type>::type cast_type; in eval_remquo() typedef 1186 cast_type c = cast_type(); in eval_remquo() 1194 typedef typename mpl::if_<is_same<A, canonical_type>, T, canonical_type>::type cast_type; in eval_remquo() typedef 1195 cast_type c = cast_type(); in eval_remquo()
|