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