Searched refs:type_decl (Results 1 – 4 of 4) sorted by relevance
/development/vndk/tools/header-checker/src/repr/json/ |
D | ir_dumper.cpp | 38 static void AddAccess(JsonObject &type_decl, AccessSpecifierIR value) { in AddAccess() argument 40 type_decl.Set("access", in AddAccess() 74 JsonObject &type_decl, const TemplatedArtifactIR *template_ir) { in AddTemplateInfo() argument 79 type_decl.Set("template_args", args); in AddTemplateInfo() 82 void IRToJsonConverter::AddTypeInfo(JsonObject &type_decl, in AddTypeInfo() argument 84 type_decl.Set("linker_set_key", type_ir->GetLinkerSetKey()); in AddTypeInfo() 85 type_decl.Set("source_file", type_ir->GetSourceFile()); in AddTypeInfo() 86 type_decl.Set("name", type_ir->GetName()); in AddTypeInfo() 87 type_decl.Set("size", (uint64_t)type_ir->GetSize()); in AddTypeInfo() 88 type_decl.Set("alignment", (uint64_t)type_ir->GetAlignment()); in AddTypeInfo() [all …]
|
D | ir_reader.cpp | 116 static AccessSpecifierIR GetAccess(const JsonObjectRef &type_decl) { in GetAccess() argument 117 std::string access(type_decl.GetString("access")); in GetAccess() 192 void JsonIRReader::ReadTagTypeInfo(const JsonObjectRef &type_decl, in ReadTagTypeInfo() argument 194 tag_type_ir->SetUniqueId(type_decl.GetString("unique_id")); in ReadTagTypeInfo() 197 void JsonIRReader::ReadTemplateInfo(const JsonObjectRef &type_decl, in ReadTemplateInfo() argument 200 for (auto &&referenced_type : type_decl.GetStrings("template_args")) { in ReadTemplateInfo() 207 void JsonIRReader::ReadTypeInfo(const JsonObjectRef &type_decl, in ReadTypeInfo() argument 209 type_ir->SetLinkerSetKey(type_decl.GetString("linker_set_key")); in ReadTypeInfo() 210 type_ir->SetSourceFile(type_decl.GetString("source_file")); in ReadTypeInfo() 211 type_ir->SetName(type_decl.GetString("name")); in ReadTypeInfo() [all …]
|
D | ir_dumper.h | 30 static void AddTemplateInfo(JsonObject &type_decl, 34 static void AddTypeInfo(JsonObject &type_decl, const TypeIR *type_ir); 45 static void AddTagTypeInfo(JsonObject &type_decl,
|
D | ir_reader.h | 148 static void ReadTemplateInfo(const JsonObjectRef &type_decl, 151 static void ReadTypeInfo(const JsonObjectRef &type_decl, TypeIR *type_ir); 162 static void ReadTagTypeInfo(const JsonObjectRef &type_decl,
|