/external/crosvm/data_model/src/ |
D | endian.rs | 41 ($old_type:ident, $new_type:ident, $to_new:ident, $from_new:ident) => { 46 pub struct $new_type($old_type); 48 impl $new_type { 50 const_assert!(align_of::<$new_type>() == align_of::<$old_type>()); 51 const_assert!(size_of::<$new_type>() == size_of::<$old_type>()); 60 unsafe impl DataInit for $new_type {} 62 impl PartialEq<$old_type> for $new_type { 68 impl PartialEq<$new_type> for $old_type { 69 fn eq(&self, other: &$new_type) -> bool { 74 impl From<$new_type> for $old_type { [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/utils/ |
D | convert_op_folder.cc | 28 mlir::Type new_type) { in ConvertElementsAttr() argument 30 size_t bit_width = new_type.isBF16() ? 64 : new_type.getIntOrFloatBitWidth(); in ConvertElementsAttr() 36 if (auto newFloatType = new_type.dyn_cast<mlir::FloatType>()) { in ConvertElementsAttr() 39 new_type, llvm::function_ref<func_type>( in ConvertElementsAttr() 52 new_type, llvm::function_ref<func_type>( in ConvertElementsAttr() 67 if (auto newFloatType = new_type.dyn_cast<mlir::FloatType>()) { in ConvertElementsAttr() 70 new_type, llvm::function_ref<func_type>([&newFloatType, &is_bool]( in ConvertElementsAttr() 83 new_type, llvm::function_ref<func_type>([&bit_width, &is_bool]( in ConvertElementsAttr()
|
/external/llvm-project/lldb/source/Interpreter/ |
D | OptionValueLanguage.cpp | 44 LanguageType new_type = in SetValueFromString() local 46 if (new_type && languages_for_types[new_type]) { in SetValueFromString() 48 m_current_value = new_type; in SetValueFromString()
|
/external/e2fsprogs/lib/blkid/ |
D | dev.c | 133 char *new_type, *new_value; in blkid_dev_set_search() local 138 new_type = malloc(strlen(search_type)+1); in blkid_dev_set_search() 140 if (!new_type || !new_value) { in blkid_dev_set_search() 141 free(new_type); in blkid_dev_set_search() 145 strcpy(new_type, search_type); in blkid_dev_set_search() 149 iter->search_type = new_type; in blkid_dev_set_search()
|
/external/deqp-deps/amber/src/ |
D | script.cc | 126 auto new_type = parser.Parse(str); in ParseType() local 127 if (new_type != nullptr) { in ParseType() 128 type = new_type.get(); in ParseType() 129 RegisterType(std::move(new_type)); in ParseType()
|
/external/skia/modules/skottie/src/effects/ |
D | GradientEffect.cpp | 72 auto update_gradient = [this] (InstanceType new_type) { in onSync() argument 73 if (new_type != fInstanceType) { in onSync() 74 fGradient = new_type == InstanceType::kLinear in onSync() 79 fInstanceType = new_type; in onSync()
|
/external/selinux/libsepol/src/ |
D | link.c | 441 type_datum_t *type, *base_type, *new_type = NULL; in type_copy_callback() local 480 if ((new_type = in type_copy_callback() 481 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) { in type_copy_callback() 484 new_type->primary = type->primary; in type_copy_callback() 485 new_type->flags = type->flags; in type_copy_callback() 486 new_type->flavor = type->flavor; in type_copy_callback() 490 new_type->s.value = state->base->p_types.nprim + 1; in type_copy_callback() 494 (hashtab_datum_t) new_type); in type_copy_callback() 499 base_type = new_type; in type_copy_callback() 504 if ((new_type = calloc(1, sizeof(*new_type))) == NULL) { in type_copy_callback() [all …]
|
D | expand.c | 79 type_datum_t *type, *new_type; in type_copy_callback() local 105 new_type = (type_datum_t *) malloc(sizeof(type_datum_t)); in type_copy_callback() 106 if (!new_type) { in type_copy_callback() 111 memset(new_type, 0, sizeof(type_datum_t)); in type_copy_callback() 113 new_type->flavor = type->flavor; in type_copy_callback() 114 new_type->flags = type->flags; in type_copy_callback() 115 new_type->s.value = ++state->out->p_types.nprim; in type_copy_callback() 116 if (new_type->s.value > UINT16_MAX) { in type_copy_callback() 118 free(new_type); in type_copy_callback() 122 new_type->primary = 1; in type_copy_callback() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | default_quant_params.cc | 169 Type new_type = quant_params.castFromExpressedType(expressed_type); in QuantizeValue() local 171 if (!new_type) return; in QuantizeValue() 180 TypeAttr type_attr = TypeAttr::get(new_type); in QuantizeValue() 181 auto quantize = builder.create<TFL::QuantizeOp>(value.getLoc(), new_type, in QuantizeValue()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/mac80211/drv_change_interface/ |
D | format | 14 field:u32 new_type; offset:64; size:4; signed:0; 17 …_name, __get_str(vif_name), REC->vif_type, REC->p2p ? "/p2p" : "", REC->new_type, REC->new_p2p ? "…
|
/external/deqp/external/vulkancts/scripts/ |
D | gen_framework_c.py | 71 for old_type, new_type in TYPE_SUBSTITUTIONS: 72 dst = dst.replace(old_type, new_type)
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | pass.cpp | 102 analysis::Type* new_type = type_mgr->GetType(new_type_id); in GenerateCopy() local 108 analysis::Array* new_array_type = new_type->AsArray(); in GenerateCopy() 129 analysis::Struct* new_struct_type = new_type->AsStruct(); in GenerateCopy()
|
D | type_manager.cpp | 995 void TypeManager::ReplaceType(Type* new_type, Type* original_type) { in ReplaceType() argument 996 assert(original_type->kind() == new_type->kind() && in ReplaceType() 1008 type->AsArray()->ReplaceElementType(new_type); in ReplaceType() 1014 type->AsRuntimeArray()->ReplaceElementType(new_type); in ReplaceType() 1021 member_type = new_type; in ReplaceType() 1028 type->AsPointer()->SetPointeeType(new_type); in ReplaceType() 1035 func_type->SetReturnType(new_type); in ReplaceType() 1041 param_type = new_type; in ReplaceType()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | pass.cpp | 102 analysis::Type* new_type = type_mgr->GetType(new_type_id); in GenerateCopy() local 108 analysis::Array* new_array_type = new_type->AsArray(); in GenerateCopy() 129 analysis::Struct* new_struct_type = new_type->AsStruct(); in GenerateCopy()
|
D | type_manager.cpp | 995 void TypeManager::ReplaceType(Type* new_type, Type* original_type) { in ReplaceType() argument 996 assert(original_type->kind() == new_type->kind() && in ReplaceType() 1008 type->AsArray()->ReplaceElementType(new_type); in ReplaceType() 1014 type->AsRuntimeArray()->ReplaceElementType(new_type); in ReplaceType() 1021 member_type = new_type; in ReplaceType() 1028 type->AsPointer()->SetPointeeType(new_type); in ReplaceType() 1035 func_type->SetReturnType(new_type); in ReplaceType() 1041 param_type = new_type; in ReplaceType()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | pass.cpp | 102 analysis::Type* new_type = type_mgr->GetType(new_type_id); in GenerateCopy() local 108 analysis::Array* new_array_type = new_type->AsArray(); in GenerateCopy() 129 analysis::Struct* new_struct_type = new_type->AsStruct(); in GenerateCopy()
|
D | type_manager.cpp | 995 void TypeManager::ReplaceType(Type* new_type, Type* original_type) { in ReplaceType() argument 996 assert(original_type->kind() == new_type->kind() && in ReplaceType() 1008 type->AsArray()->ReplaceElementType(new_type); in ReplaceType() 1014 type->AsRuntimeArray()->ReplaceElementType(new_type); in ReplaceType() 1021 member_type = new_type; in ReplaceType() 1028 type->AsPointer()->SetPointeeType(new_type); in ReplaceType() 1035 func_type->SetReturnType(new_type); in ReplaceType() 1041 param_type = new_type; in ReplaceType()
|
/external/mesa3d/src/compiler/glsl/ |
D | opt_rebalance_tree.cpp | 290 const glsl_type *const new_type = in update_types() local 295 assert(new_type != glsl_type::error_type); in update_types() 296 expr->type = new_type; in update_types()
|
D | link_uniform_blocks.cpp | 327 const glsl_type *new_type = in resize_block_array() local 330 ub_array->ir->array->type = new_type; in resize_block_array() 331 return new_type; in resize_block_array()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/ |
D | quantization_driver.cc | 528 Type new_type = params.castFromExpressedType(expressed_type); in QuantizeValue() local 530 if (!new_type) return; in QuantizeValue() 532 auto quantize = builder_.create<quant::QuantizeCastOp>(loc, new_type, value); in QuantizeValue() 580 Type new_type; in RequantizeValue() local 585 new_type = state->params.castFromExpressedType(expressed_type); in RequantizeValue() 593 new_type = state->params.castFromExpressedType(expressed_type); in RequantizeValue() 596 if (!new_type) return; in RequantizeValue() 599 builder_.create<quant::QuantizeCastOp>(loc, new_type, value); in RequantizeValue()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/utils/ |
D | convert_op_folder.h | 29 mlir::Type new_type);
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_conv.c | 931 struct lp_type new_type; in lp_build_conv() local 933 new_type = tmp_type; in lp_build_conv() 934 new_type.sign = dst_type.sign; in lp_build_conv() 935 new_type.width = dst_type.width; in lp_build_conv() 936 new_type.length = dst_type.length; in lp_build_conv() 942 lp_build_resize(gallivm, tmp_type, new_type, tmp, num_srcs, tmp, num_dsts); in lp_build_conv() 944 tmp_type = new_type; in lp_build_conv()
|
/external/llvm-project/lldb/include/lldb/Utility/ |
D | Event.h | 208 void SetType(uint32_t new_type) { m_type = new_type; } in SetType() argument
|
/external/tensorflow/tensorflow/lite/delegates/ |
D | utils.cc | 30 TfLiteType new_type, in CreateNewTensorWithDifferentType() argument 36 (*new_tensor)->type = new_type; in CreateNewTensorWithDifferentType()
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | convert_tfl_uint8.cc | 244 Type new_type = RankedTensorType::get( in convert_graph_uint8_tensor() local 254 output_val.setType(new_type); in convert_graph_uint8_tensor()
|