/third_party/node/deps/v8/src/compiler/ |
H A D | type-narrowing-reducer.cc | 23 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 D | script.cc | 142 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 D | GradientEffect.cpp | 72 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 D | link.c | 443 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 D | expand.c | 111 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 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()
|
H A 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()
|
H A D | const_folding_rules.cpp | 206 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 D | type_manager.h | 263 // |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 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()
|
H A 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()
|
H A D | const_folding_rules.cpp | 262 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 D | pass.cpp | 99 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 D | type_manager.cpp | 1028 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 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()
|
H A D | link_uniform_blocks.cpp | 331 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 D | nir_lower_tex_shadow.c | 51 const struct glsl_type *new_type = in strip_shadow() local 56 return new_type; in strip_shadow()
|
H A D | nir_split_vars.c | 1398 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 D | gen_framework_c.py | 75 for old_type, new_type in TYPE_SUBSTITUTIONS: 76 dst = dst.replace(old_type, new_type)
|
H A D | ohos_gen_framework_c.py | 75 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 D | lp_bld_conv.c | 942 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 D | spirv_common.hpp | 1436 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 D | declarations.cc | 37 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 D | pk.c | 556 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 D | ast.py | 1254 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)
|