/third_party/googletest/googlemock/scripts/generator/cpp/ |
H A D | gmock_class.py | 49 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 D | ast-model.c | 88 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 D | entry_point.cc | 26 ast::InterpolationType ast_type) { in ASTToInspectorInterpolationType() 27 switch (ast_type) { in ASTToInspectorInterpolationType() 25 ASTToInspectorInterpolationType( ast::InterpolationType ast_type) ASTToInspectorInterpolationType() argument
|
H A D | entry_point.h | 78 /// @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 D | parser_impl.cc | 1355 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 D | function_arithmetic_test.cc | 309 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 D | function_bit_test.cc | 101 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 D | function_logical_test.cc | 166 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 D | function.cc | 3163 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 D | parser_impl.h | 202 /// @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 D | pad_array_elements.cc | 109 ctx.ReplaceAll([&](const ast::Type* ast_type) -> const ast::Type* { 110 auto* type = ctx.src->TypeOf(ast_type);
|
H A D | canonicalize_entry_point_io.cc | 161 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 D | wrap_arrays_in_structs.cc | 54 ctx.ReplaceAll([&](const ast::Type* ast_type) -> const ast::Type* { in Run() 55 auto* type = ctx.src->TypeOf(ast_type); in Run()
|