Home
last modified time | relevance | path

Searched refs:ast_type (Results 1 - 13 of 13) sorted by relevance

/third_party/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class.py49 def _RenderType(ast_type):
53 ast_type: The AST of the type.
60 if ast_type.modifiers:
61 modifiers = ' '.join(ast_type.modifiers) + ' '
62 return_type = modifiers + ast_type.name
63 if ast_type.templated_types:
66 for arg in ast_type.templated_types:
70 if ast_type.pointer:
72 if ast_type.reference:
/third_party/ltp/tools/sparse/sparse-src/
H A Dast-model.c88 static GType ast_type = 0; in ast_get_type() local
108 if (ast_type) in ast_get_type()
109 return ast_type; in ast_get_type()
112 ast_type = g_type_register_static(G_TYPE_OBJECT, "AstNode", in ast_get_type()
116 g_type_add_interface_static(ast_type, GTK_TYPE_TREE_MODEL, &tree_model_info); in ast_get_type()
118 return ast_type; in ast_get_type()
/third_party/skia/third_party/externals/tint/src/inspector/
H A Dentry_point.cc26 ast::InterpolationType ast_type) { in ASTToInspectorInterpolationType()
27 switch (ast_type) { in ASTToInspectorInterpolationType()
25 ASTToInspectorInterpolationType( ast::InterpolationType ast_type) ASTToInspectorInterpolationType() argument
H A Dentry_point.h78 /// @param ast_type internal value to convert from
81 ast::InterpolationType ast_type);
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dparser_impl.cc1355 const Type* ast_type = nullptr; in EmitScalarSpecConstants() local
1361 ast_type = ConvertType(inst.type_id()); in EmitScalarSpecConstants()
1367 ast_type = ConvertType(inst.type_id()); in EmitScalarSpecConstants()
1369 if (ast_type->Is<I32>()) { in EmitScalarSpecConstants()
1372 } else if (ast_type->Is<U32>()) { in EmitScalarSpecConstants()
1375 } else if (ast_type->Is<F32>()) { in EmitScalarSpecConstants()
1389 if (ast_type && ast_expr) { in EmitScalarSpecConstants()
1405 MakeVariable(inst.result_id(), ast::StorageClass::kNone, ast_type, in EmitScalarSpecConstants()
1419 const Type* ast_type) { in MaybeGenerateAlias()
1434 return ast_type; in MaybeGenerateAlias()
1416 MaybeGenerateAlias( uint32_t type_id, const spvtools::opt::analysis::Type* type, const Type* ast_type) MaybeGenerateAlias() argument
1499 const Type* ast_type = nullptr; EmitModuleScopeVariables() local
1864 auto* ast_type = ty_.Vector(x.type, 3); MakeConstantExpression() local
1951 auto* ast_type = original_ast_type->UnwrapAlias(); MakeConstantExpressionForScalarSpirvConstant() local
[all...]
H A Dfunction_arithmetic_test.cc309 const std::string ast_type; member
316 << "," << data.rhs << "," << data.ast_type << "," << data.ast_lhs << "," in operator <<()
342 ss << "let x_1 : " << GetParam().ast_type << " = (" << GetParam().ast_lhs in TEST_P()
949 const std::string ast_type; member
953 << data.ast_type << "}"; in operator <<()
983 HasSubstr("let x_2 : " + arg.ast_type + " = " + intrinsic.wgsl + in TEST_P()
H A Dfunction_bit_test.cc101 const std::string ast_type; member
108 << "," << data.rhs << "," << data.ast_type << "," << data.ast_lhs << "," in operator <<()
134 ss << "let x_1 : " << GetParam().ast_type << " = (" << GetParam().ast_lhs in TEST_P()
H A Dfunction_logical_test.cc166 const std::string ast_type; member
173 << "," << data.rhs << "," << data.ast_type << "," << data.ast_lhs << "," in operator <<()
198 ss << "let x_1 : " << GetParam().ast_type << " = (" << GetParam().ast_lhs in TEST_P()
H A Dfunction.cc3163 auto* ast_type = parser_impl_.ConvertType(function_.type_id()); in EmitNormalTerminator() local
3165 Source{}, parser_impl_.MakeNullValue(ast_type))); in EmitNormalTerminator()
3843 const Type* ast_type = nullptr; in MaybeEmitCombinatorialValue() local
3845 ast_type = parser_impl_.ConvertType(inst.type_id()); in MaybeEmitCombinatorialValue()
3846 if (!ast_type) { in MaybeEmitCombinatorialValue()
3862 TypedExpression result{ast_type, binary_expr}; in MaybeEmitCombinatorialValue()
3871 TypedExpression result{ast_type, unary_expr}; in MaybeEmitCombinatorialValue()
3879 return {ast_type, in MaybeEmitCombinatorialValue()
3901 return {ast_type, in MaybeEmitCombinatorialValue()
3902 create<ast::BitcastExpression>(Source{}, ast_type in MaybeEmitCombinatorialValue()
4769 auto* ast_type = parser_impl_.ConvertType(type_id); GetStorageClassForPointerValue() local
[all...]
H A Dparser_impl.h202 /// @param ast_type the ast type that might get an alias
203 /// @returns an alias type or `ast_type` if no alias was created
206 const Type* ast_type);
448 /// @param ast_type the AST type for the value
453 const Type* ast_type,
/third_party/skia/third_party/externals/tint/src/transform/
H A Dpad_array_elements.cc109 ctx.ReplaceAll([&](const ast::Type* ast_type) -> const ast::Type* {
110 auto* type = ctx.src->TypeOf(ast_type);
H A Dcanonicalize_entry_point_io.cc161 auto* ast_type = CreateASTTypeFor(ctx, type); in AddInput() local
185 ast_type = ctx.dst->ty.array(ast_type, 1); in AddInput()
188 ctx.dst->Global(symbol, ast_type, ast::StorageClass::kInput, in AddInput()
199 ctx.dst->Param(symbol, ast_type, std::move(attributes))); in AddInput()
207 ctx.dst->Member(symbol, ast_type, std::move(attributes))); in AddInput()
H A Dwrap_arrays_in_structs.cc54 ctx.ReplaceAll([&](const ast::Type* ast_type) -> const ast::Type* { in Run()
55 auto* type = ctx.src->TypeOf(ast_type); in Run()

Completed in 19 milliseconds