1record_types { 2 type_info { 3 name: "Foo" 4 size: 8 5 alignment: 4 6 referenced_type: "type-1" 7 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" 8 linker_set_key: "Foo" 9 self_type: "type-1" 10 } 11 fields { 12 referenced_type: "type-2" 13 field_offset: 0 14 field_name: "a_" 15 access: private_access 16 } 17 fields { 18 referenced_type: "type-2" 19 field_offset: 32 20 field_name: "b_" 21 access: private_access 22 } 23 access: public_access 24 record_kind: class_kind 25 tag_info { 26 unique_id: "_ZTS3Foo" 27 } 28} 29record_types { 30 type_info { 31 name: "Cstruct" 32 size: 8 33 alignment: 4 34 referenced_type: "type-6" 35 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" 36 linker_set_key: "Cstruct" 37 self_type: "type-6" 38 } 39 fields { 40 referenced_type: "type-3" 41 field_offset: 0 42 field_name: "a" 43 access: public_access 44 } 45 fields { 46 referenced_type: "type-7" 47 field_offset: 32 48 field_name: "b" 49 access: public_access 50 } 51 access: public_access 52 record_kind: struct_kind 53 tag_info { 54 unique_id: "Cstruct" 55 } 56} 57record_types { 58 type_info { 59 name: "Cinner" 60 size: 4 61 alignment: 4 62 referenced_type: "type-8" 63 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" 64 linker_set_key: "Cinner" 65 self_type: "type-8" 66 } 67 fields { 68 referenced_type: "type-3" 69 field_offset: 0 70 field_name: "c" 71 access: public_access 72 } 73 access: public_access 74 record_kind: struct_kind 75 tag_info { 76 unique_id: "Cinner" 77 } 78} 79pointer_types { 80 type_info { 81 name: "Foo *" 82 size: 4 83 alignment: 4 84 referenced_type: "type-1" 85 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" 86 linker_set_key: "Foo *" 87 self_type: "type-10" 88 } 89} 90pointer_types { 91 type_info { 92 name: "int *" 93 size: 4 94 alignment: 4 95 referenced_type: "type-3" 96 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" 97 linker_set_key: "int *" 98 self_type: "type-2" 99 } 100} 101pointer_types { 102 type_info { 103 name: "Cstruct **" 104 size: 4 105 alignment: 4 106 referenced_type: "type-5" 107 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" 108 linker_set_key: "Cstruct **" 109 self_type: "type-4" 110 } 111} 112pointer_types { 113 type_info { 114 name: "Cstruct *" 115 size: 4 116 alignment: 4 117 referenced_type: "type-6" 118 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" 119 linker_set_key: "Cstruct *" 120 self_type: "type-5" 121 } 122} 123pointer_types { 124 type_info { 125 name: "Cinner *" 126 size: 4 127 alignment: 4 128 referenced_type: "type-8" 129 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" 130 linker_set_key: "Cinner *" 131 self_type: "type-7" 132 } 133} 134builtin_types { 135 type_info { 136 name: "int" 137 size: 4 138 alignment: 4 139 referenced_type: "type-3" 140 source_file: "" 141 linker_set_key: "int" 142 self_type: "type-3" 143 } 144 is_unsigned: false 145 is_integral: true 146} 147builtin_types { 148 type_info { 149 name: "void" 150 size: 0 151 alignment: 0 152 referenced_type: "type-9" 153 source_file: "" 154 linker_set_key: "void" 155 self_type: "type-9" 156 } 157 is_unsigned: false 158 is_integral: false 159} 160functions { 161 return_type: "type-9" 162 function_name: "CFunction" 163 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_include.h" 164 parameters { 165 referenced_type: "type-4" 166 default_arg: false 167 } 168 linker_set_key: "CFunction" 169 access: public_access 170} 171functions { 172 return_type: "type-1" 173 function_name: "foo" 174 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" 175 parameters { 176 referenced_type: "type-2" 177 default_arg: false 178 } 179 parameters { 180 referenced_type: "type-2" 181 default_arg: false 182 } 183 linker_set_key: "_Z3fooPiS_" 184 access: public_access 185} 186elf_functions { 187 name: "CFunction" 188} 189elf_functions { 190 name: "_Z3fooPiS_" 191} 192