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() 193 void JsonIRReader::ReadTemplateInfo(const JsonObjectRef &type_decl, in ReadTemplateInfo() argument 196 for (auto &&referenced_type : type_decl.GetStrings("template_args")) { in ReadTemplateInfo() 203 void JsonIRReader::ReadTypeInfo(const JsonObjectRef &type_decl, in ReadTypeInfo() argument 205 type_ir->SetLinkerSetKey(type_decl.GetString("linker_set_key")); in ReadTypeInfo() 206 type_ir->SetSourceFile(type_decl.GetString("source_file")); in ReadTypeInfo() 207 type_ir->SetName(type_decl.GetString("name")); in ReadTypeInfo() 208 type_ir->SetReferencedType(type_decl.GetString("referenced_type")); in ReadTypeInfo() 209 type_ir->SetSelfType(type_decl.GetString("self_type")); 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);
|
D | ir_reader.h | 148 static void ReadTemplateInfo(const JsonObjectRef &type_decl, 151 static void ReadTypeInfo(const JsonObjectRef &type_decl, TypeIR *type_ir);
|