Home
last modified time | relevance | path

Searched refs:function_ir (Results 1 – 6 of 6) sorted by relevance

/development/vndk/tools/header-checker/src/repr/protobuf/
Dir_reader.cpp92 FunctionIR function_ir; in FunctionProtobufToIR() local
93 function_ir.SetReturnType(function_protobuf.return_type()); in FunctionProtobufToIR()
94 function_ir.SetLinkerSetKey(function_protobuf.linker_set_key()); in FunctionProtobufToIR()
95 function_ir.SetName(function_protobuf.function_name()); in FunctionProtobufToIR()
96 function_ir.SetAccess(AccessProtobufToIR(function_protobuf.access())); in FunctionProtobufToIR()
97 function_ir.SetSourceFile(function_protobuf.source_file()); in FunctionProtobufToIR()
102 function_ir.AddParameter(std::move(param_ir)); in FunctionProtobufToIR()
105 function_ir.SetTemplateInfo( in FunctionProtobufToIR()
107 return function_ir; in FunctionProtobufToIR()
276 FunctionIR function_ir = FunctionProtobufToIR(function_protobuf); in ReadFunctions() local
[all …]
Dir_diff_dumper.cpp219 const FunctionIR *function_ir, DiffKind diff_kind) { in AddLoneFunctionDiffIR() argument
232 *added_function = IRToProtobufConverter::ConvertFunctionIR(function_ir); in AddLoneFunctionDiffIR()
/development/vndk/tools/header-checker/src/repr/json/
Dir_reader.cpp262 const JsonObjectRef &function, CFunctionLikeIR *function_ir) { in ReadFunctionParametersAndReturnType() argument
263 function_ir->SetReturnType(function.GetString("return_type")); in ReadFunctionParametersAndReturnType()
268 function_ir->AddParameter(std::move(param_ir)); in ReadFunctionParametersAndReturnType()
273 FunctionIR function_ir; in FunctionJsonToIR() local
274 function_ir.SetLinkerSetKey(function.GetString("linker_set_key")); in FunctionJsonToIR()
275 function_ir.SetName(function.GetString("function_name")); in FunctionJsonToIR()
276 function_ir.SetAccess(GetAccess(function)); in FunctionJsonToIR()
277 function_ir.SetSourceFile(function.GetString("source_file")); in FunctionJsonToIR()
278 ReadFunctionParametersAndReturnType(function, &function_ir); in FunctionJsonToIR()
279 ReadTemplateInfo(function, &function_ir); in FunctionJsonToIR()
[all …]
Dir_reader.h169 CFunctionLikeIR *function_ir);
/development/vndk/tools/header-checker/src/repr/
Dir_reader.cpp524 FunctionIR function_ir = *addend_node; in MergeFunction() local
525 MergeFunctionDeps(&function_ir, addend, local_to_global_type_id_map); in MergeFunction()
527 module_->functions_.emplace(function_linkage_name, std::move(function_ir)); in MergeFunction()
563 for (auto &&function_ir : addend.module_->functions_) { in MergeGraphs()
564 MergeFunction(&function_ir.second, addend, &merged_types_cache); in MergeGraphs()
Dabi_diff_helpers.cpp122 const AbiElementMap<const TypeIR *> &type_graph, FunctionIR *function_ir) { in ReplaceFunctionTypeIdsWithTypeNames() argument
124 function_ir->SetReturnType( in ReplaceFunctionTypeIdsWithTypeNames()
125 ConvertTypeIdToString(type_graph, function_ir->GetReturnType())); in ReplaceFunctionTypeIdsWithTypeNames()
128 function_ir->GetParameters()); in ReplaceFunctionTypeIdsWithTypeNames()
131 function_ir->GetTemplateElements()); in ReplaceFunctionTypeIdsWithTypeNames()