Home
last modified time | relevance | path

Searched refs:new_type (Results 1 - 25 of 55) sorted by relevance

123

/third_party/node/deps/v8/src/compiler/
H A Dtype-narrowing-reducer.cc23 Type new_type = Type::Any(); in Reduce() local
34 new_type = op_typer_.singleton_true(); in Reduce()
36 new_type = op_typer_.singleton_false(); in Reduce()
43 new_type = op_typer_.TypeTypeGuard( in Reduce()
50 new_type = op_typer_.Name(NodeProperties::GetType(node->InputAt(0)), \ in Reduce()
60 new_type = op_typer_.Name(NodeProperties::GetType(node->InputAt(0))); \ in Reduce()
72 Type restricted = Type::Intersect(new_type, original_type, zone()); in Reduce()
/third_party/vk-gl-cts/external/amber/src/src/
H A Dscript.cc142 auto new_type = parser.Parse(str); in ParseType() local
143 if (new_type != nullptr) { in ParseType()
144 type = new_type.get(); in ParseType()
145 RegisterType(std::move(new_type)); in ParseType()
/third_party/skia/modules/skottie/src/effects/
H A DGradientEffect.cpp72 auto update_gradient = [this] (InstanceType new_type) {
73 if (new_type != fInstanceType) {
74 fGradient = new_type == InstanceType::kLinear
79 fInstanceType = new_type;
/third_party/selinux/libsepol/src/
H A Dlink.c443 type_datum_t *type, *base_type, *new_type = NULL; in type_copy_callback() local
482 if ((new_type = in type_copy_callback()
483 (type_datum_t *) calloc(1, sizeof(*new_type))) == NULL) { in type_copy_callback()
486 new_type->primary = type->primary; in type_copy_callback()
487 new_type->flags = type->flags; in type_copy_callback()
488 new_type->flavor = type->flavor; in type_copy_callback()
489 /* for attributes, the writing of new_type->types is in type_copy_callback()
492 new_type->s.value = state->base->p_types.nprim + 1; in type_copy_callback()
496 (hashtab_datum_t) new_type); in type_copy_callback()
501 base_type = new_type; in type_copy_callback()
859 type_datum_t *type, *base_type, *new_type = NULL, *target_type; alias_copy_callback() local
1138 type_datum_t *type, *new_type = NULL; type_fix_callback() local
[all...]
H A Dexpand.c111 type_datum_t *type, *new_type; in type_copy_callback() local
137 new_type = (type_datum_t *) malloc(sizeof(type_datum_t)); in type_copy_callback()
138 if (!new_type) { in type_copy_callback()
143 memset(new_type, 0, sizeof(type_datum_t)); in type_copy_callback()
145 new_type->flavor = type->flavor; in type_copy_callback()
146 new_type->flags = type->flags; in type_copy_callback()
147 new_type->s.value = ++state->out->p_types.nprim; in type_copy_callback()
148 if (new_type->s.value > UINT16_MAX) { in type_copy_callback()
150 free(new_type); in type_copy_callback()
154 new_type in type_copy_callback()
180 type_datum_t *type, *new_type; attr_convert_callback() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dpass.cpp102 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()
H A Dtype_manager.cpp995 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()
H A Dconst_folding_rules.cpp206 const analysis::Type* new_type = type_mgr->GetType(inst->type_id()); in FoldCompositeWithConstants() local
231 return const_mgr->GetConstant(new_type, ids); in FoldCompositeWithConstants()
584 const analysis::Type* new_type = type_mgr->GetType(inst->type_id());
585 assert(new_type->AsFloat() && "OpDot should have a float return type.");
586 const analysis::Float* float_type = new_type->AsFloat();
640 new_type, a_components[i], b_components[i], const_mgr);
645 FOLD_FPARITH_OP(+)(new_type, result_const, component, const_mgr);
H A Dtype_manager.h263 // |new_type|.
264 void ReplaceType(Type* new_type, Type* original_type);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dpass.cpp102 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()
H A Dtype_manager.cpp995 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()
H A Dconst_folding_rules.cpp262 const analysis::Type* new_type = type_mgr->GetType(inst->type_id()); in FoldCompositeWithConstants() local
287 return const_mgr->GetConstant(new_type, ids); in FoldCompositeWithConstants()
693 const analysis::Type* new_type = type_mgr->GetType(inst->type_id());
694 assert(new_type->AsFloat() && "OpDot should have a float return type.");
695 const analysis::Float* float_type = new_type->AsFloat();
749 new_type, a_components[i], b_components[i], const_mgr);
754 FOLD_FPARITH_OP(+)(new_type, result_const, component, const_mgr);
/third_party/spirv-tools/source/opt/
H A Dpass.cpp99 analysis::Type* new_type = type_mgr->GetType(new_type_id); in GenerateCopy() local
105 analysis::Array* new_array_type = new_type->AsArray(); in GenerateCopy()
126 analysis::Struct* new_struct_type = new_type->AsStruct(); in GenerateCopy()
H A Dtype_manager.cpp1028 void TypeManager::ReplaceType(Type* new_type, Type* original_type) { in ReplaceType() argument
1029 assert(original_type->kind() == new_type->kind() && in ReplaceType()
1041 type->AsArray()->ReplaceElementType(new_type); in ReplaceType()
1047 type->AsRuntimeArray()->ReplaceElementType(new_type); in ReplaceType()
1054 member_type = new_type; in ReplaceType()
1061 type->AsPointer()->SetPointeeType(new_type); in ReplaceType()
1068 func_type->SetReturnType(new_type); in ReplaceType()
1074 param_type = new_type; in ReplaceType()
/third_party/mesa3d/src/compiler/glsl/
H A Dopt_rebalance_tree.cpp290 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()
H A Dlink_uniform_blocks.cpp331 const glsl_type *new_type = in resize_block_array() local
334 ub_array->ir->array->type = new_type; in resize_block_array()
335 return new_type; in resize_block_array()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_tex_shadow.c51 const struct glsl_type *new_type = in strip_shadow() local
56 return new_type; in strip_shadow()
H A Dnir_split_vars.c1398 const struct glsl_type *new_type = in shrink_vec_var_list() local
1408 new_type = glsl_matrix_type(glsl_get_base_type(new_type), in shrink_vec_var_list()
1412 new_type = glsl_array_type(new_type, usage->levels[i].array_len, 0); in shrink_vec_var_list()
1415 var->type = new_type; in shrink_vec_var_list()
/third_party/vk-gl-cts/external/vulkancts/scripts/
H A Dgen_framework_c.py75 for old_type, new_type in TYPE_SUBSTITUTIONS:
76 dst = dst.replace(old_type, new_type)
H A Dohos_gen_framework_c.py75 for old_type, new_type in TYPE_SUBSTITUTIONS:
76 dst = dst.replace(old_type, new_type)
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c942 struct lp_type new_type; in lp_build_conv() local
944 new_type = tmp_type; in lp_build_conv()
945 new_type.sign = dst_type.sign; in lp_build_conv()
946 new_type.width = dst_type.width; in lp_build_conv()
947 new_type.length = dst_type.length; in lp_build_conv()
953 lp_build_resize(gallivm, tmp_type, new_type, tmp, num_srcs, tmp, num_dsts); in lp_build_conv()
955 tmp_type = new_type; in lp_build_conv()
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_common.hpp1436 void set(IVariant *val, Types new_type) in set() argument
1442 if (!allow_type_rewrite && type != TypeNone && type != new_type) in set()
1445 group->pools[new_type]->free_opaque(val); in set()
1450 type = new_type; in set()
1455 T *allocate_and_set(Types new_type, Ts &&... ts) in allocate_and_set() argument
1457 T *val = static_cast<ObjectPool<T> &>(*group->pools[new_type]).allocate(std::forward<Ts>(ts)...); in allocate_and_set()
1458 set(val, new_type); in allocate_and_set()
/third_party/node/deps/v8/src/torque/
H A Ddeclarations.cc37 void CheckAlreadyDeclared(const std::string& name, const char* new_type) { in CheckAlreadyDeclared() argument
42 ReportError("cannot redeclare ", name, " (type ", *new_type, scope, ")"); in CheckAlreadyDeclared()
/third_party/mbedtls/library/
H A Dpk.c556 psa_key_type_t new_type = old_type; in mbedtls_pk_get_psa_attributes() local
561 new_type = PSA_KEY_TYPE_PUBLIC_KEY_OF_KEY_PAIR(new_type); in mbedtls_pk_get_psa_attributes()
567 psa_set_key_type(attributes, new_type); in mbedtls_pk_get_psa_attributes()
/third_party/googletest/googlemock/scripts/generator/cpp/
H A Dast.py1254 new_type = ctor(token.start, token.end, name, fields,
1259 return new_type
1260 name = new_type
1424 new_type = tokens
1426 new_type = self.converter.ToType(tokens)[0]
1428 new_type, self.namespace_stack)

Completed in 29 milliseconds

123