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()
274 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.cpp257 const JsonObjectRef &function, CFunctionLikeIR *function_ir) { in ReadFunctionParametersAndReturnType() argument
258 function_ir->SetReturnType(function.GetString("return_type")); in ReadFunctionParametersAndReturnType()
263 function_ir->AddParameter(std::move(param_ir)); in ReadFunctionParametersAndReturnType()
268 FunctionIR function_ir; in FunctionJsonToIR() local
269 function_ir.SetLinkerSetKey(function.GetString("linker_set_key")); in FunctionJsonToIR()
270 function_ir.SetName(function.GetString("function_name")); in FunctionJsonToIR()
271 function_ir.SetAccess(GetAccess(function)); in FunctionJsonToIR()
272 function_ir.SetSourceFile(function.GetString("source_file")); in FunctionJsonToIR()
273 ReadFunctionParametersAndReturnType(function, &function_ir); in FunctionJsonToIR()
274 ReadTemplateInfo(function, &function_ir); in FunctionJsonToIR()
[all …]
Dir_reader.h166 CFunctionLikeIR *function_ir);
/development/vndk/tools/header-checker/src/linker/
Dmodule_merger.cpp535 repr::FunctionIR function_ir = *addend_node; in MergeFunction() local
536 MergeFunctionDeps(&function_ir, addend, local_to_global_type_id_map); in MergeFunction()
538 module_->functions_.emplace(function_linkage_name, std::move(function_ir)); in MergeFunction()
569 for (auto &&function_ir : addend.functions_) { in MergeGraphs()
570 MergeFunction(&function_ir.second, addend, &merged_types_cache); in MergeGraphs()
/development/vndk/tools/header-checker/src/repr/
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()