1 record_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 } 29 record_types { 30 type_info { 31 name: "Cstruct" 32 size: 8 33 alignment: 4 34 referenced_type: "type-5" 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-5" 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-6" 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 } 57 record_types { 58 type_info { 59 name: "Cinner" 60 size: 4 61 alignment: 4 62 referenced_type: "type-7" 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-7" 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 } 79 pointer_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 } 90 pointer_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 } 101 pointer_types { 102 type_info { 103 name: "Cstruct **" 104 size: 4 105 alignment: 4 106 referenced_type: "type-4" 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-8" 110 } 111 } 112 pointer_types { 113 type_info { 114 name: "Cstruct *" 115 size: 4 116 alignment: 4 117 referenced_type: "type-5" 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-4" 121 } 122 } 123 pointer_types { 124 type_info { 125 name: "Cinner *" 126 size: 4 127 alignment: 4 128 referenced_type: "type-7" 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-6" 132 } 133 } 134 builtin_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 } 147 builtin_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 } 160 functions { 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-8" 166 default_arg: false 167 is_this_ptr: false 168 } 169 linker_set_key: "CFunction" 170 access: public_access 171 } 172 functions { 173 return_type: "type-1" 174 function_name: "foo" 175 source_file: "/development/vndk/tools/header-checker/tests/integration/c_and_cpp/include/c_and_cpp.h" 176 parameters { 177 referenced_type: "type-2" 178 default_arg: false 179 is_this_ptr: false 180 } 181 parameters { 182 referenced_type: "type-2" 183 default_arg: false 184 is_this_ptr: false 185 } 186 linker_set_key: "_Z3fooPiS_" 187 access: public_access 188 } 189 elf_functions { 190 name: "CFunction" 191 binding: Global 192 } 193 elf_functions { 194 name: "_Z3fooPiS_" 195 binding: Global 196 } 197