1 record_types { 2 type_info { 3 name: "HiddenBase" 4 size: 8 5 alignment: 4 6 referenced_type: "_ZTI10HiddenBase" 7 source_file: "development/vndk/tools/header-checker/tests/input/example3.h" 8 linker_set_key: "_ZTI10HiddenBase" 9 self_type: "_ZTI10HiddenBase" 10 } 11 fields { 12 referenced_type: "_ZTIi" 13 field_offset: 0 14 field_name: "hide" 15 access: private_access 16 } 17 fields { 18 referenced_type: "_ZTIf" 19 field_offset: 32 20 field_name: "seek" 21 access: private_access 22 } 23 access: public_access 24 record_kind: class_kind 25 } 26 record_types { 27 type_info { 28 name: "test2::HelloAgain" 29 size: 40 30 alignment: 8 31 referenced_type: "_ZTIN5test210HelloAgainE" 32 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 33 linker_set_key: "_ZTIN5test210HelloAgainE" 34 self_type: "_ZTIN5test210HelloAgainE" 35 } 36 fields { 37 referenced_type: "_ZTINSt3__16vectorIPN5test210HelloAgainENS_9allocatorIS3_EEEE" 38 field_offset: 64 39 field_name: "foo_again" 40 access: public_access 41 } 42 fields { 43 referenced_type: "_ZTIi" 44 field_offset: 256 45 field_name: "bar_again" 46 access: public_access 47 } 48 vtable_layout { 49 vtable_components { 50 kind: OffsetToTop 51 mangled_component_name: "" 52 component_value: 0 53 is_pure: false 54 } 55 vtable_components { 56 kind: RTTI 57 mangled_component_name: "_ZTIN5test210HelloAgainE" 58 component_value: 0 59 is_pure: false 60 } 61 vtable_components { 62 kind: FunctionPointer 63 mangled_component_name: "_ZN5test210HelloAgain5againEv" 64 component_value: 0 65 is_pure: false 66 } 67 vtable_components { 68 kind: CompleteDtorPointer 69 mangled_component_name: "_ZN5test210HelloAgainD1Ev" 70 component_value: 0 71 is_pure: false 72 } 73 vtable_components { 74 kind: DeletingDtorPointer 75 mangled_component_name: "_ZN5test210HelloAgainD0Ev" 76 component_value: 0 77 is_pure: false 78 } 79 } 80 access: public_access 81 record_kind: struct_kind 82 } 83 record_types { 84 type_info { 85 name: "test3::Outer::Inner" 86 size: 4 87 alignment: 4 88 referenced_type: "_ZTIN5test35Outer5InnerE" 89 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 90 linker_set_key: "_ZTIN5test35Outer5InnerE" 91 self_type: "_ZTIN5test35Outer5InnerE" 92 } 93 fields { 94 referenced_type: "_ZTIi" 95 field_offset: 0 96 field_name: "b" 97 access: private_access 98 } 99 access: private_access 100 record_kind: class_kind 101 } 102 record_types { 103 type_info { 104 name: "test3::Outer" 105 size: 4 106 alignment: 4 107 referenced_type: "_ZTIN5test35OuterE" 108 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 109 linker_set_key: "_ZTIN5test35OuterE" 110 self_type: "_ZTIN5test35OuterE" 111 } 112 fields { 113 referenced_type: "_ZTIi" 114 field_offset: 0 115 field_name: "a" 116 access: public_access 117 } 118 access: public_access 119 record_kind: class_kind 120 } 121 record_types { 122 type_info { 123 name: "test3::ByeAgain<double>" 124 size: 16 125 alignment: 8 126 referenced_type: "_ZTIN5test38ByeAgainIdEE" 127 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 128 linker_set_key: "_ZTIN5test38ByeAgainIdEE" 129 self_type: "_ZTIN5test38ByeAgainIdEE" 130 } 131 fields { 132 referenced_type: "_ZTId" 133 field_offset: 0 134 field_name: "foo_again" 135 access: public_access 136 } 137 fields { 138 referenced_type: "_ZTIi" 139 field_offset: 64 140 field_name: "bar_again" 141 access: public_access 142 } 143 template_info { 144 elements { 145 referenced_type: "_ZTId" 146 } 147 } 148 access: public_access 149 record_kind: struct_kind 150 } 151 record_types { 152 type_info { 153 name: "test3::ByeAgain<float>" 154 size: 8 155 alignment: 4 156 referenced_type: "_ZTIN5test38ByeAgainIfEE" 157 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 158 linker_set_key: "_ZTIN5test38ByeAgainIfEE" 159 self_type: "_ZTIN5test38ByeAgainIfEE" 160 } 161 fields { 162 referenced_type: "_ZTIf" 163 field_offset: 0 164 field_name: "foo_again" 165 access: public_access 166 } 167 fields { 168 referenced_type: "_ZTIf" 169 field_offset: 32 170 field_name: "bar_Again" 171 access: public_access 172 } 173 template_info { 174 elements { 175 referenced_type: "_ZTIf" 176 } 177 } 178 access: public_access 179 record_kind: struct_kind 180 } 181 enum_types { 182 type_info { 183 name: "Foo_s" 184 size: 4 185 alignment: 4 186 referenced_type: "_ZTI5Foo_s" 187 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 188 linker_set_key: "_ZTI5Foo_s" 189 self_type: "_ZTI5Foo_s" 190 } 191 underlying_type: "_ZTIj" 192 enum_fields { 193 enum_field_value: 10 194 name: "foosball" 195 } 196 enum_fields { 197 enum_field_value: 11 198 name: "foosbat" 199 } 200 access: public_access 201 } 202 enum_types { 203 type_info { 204 name: "test3::Kind" 205 size: 4 206 alignment: 4 207 referenced_type: "_ZTIN5test34KindE" 208 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 209 linker_set_key: "_ZTIN5test34KindE" 210 self_type: "_ZTIN5test34KindE" 211 } 212 underlying_type: "_ZTIj" 213 enum_fields { 214 enum_field_value: 24 215 name: "test3::kind1" 216 } 217 enum_fields { 218 enum_field_value: 2312 219 name: "test3::kind2" 220 } 221 access: public_access 222 } 223 pointer_types { 224 type_info { 225 name: "test2::HelloAgain *" 226 size: 8 227 alignment: 8 228 referenced_type: "_ZTIN5test210HelloAgainE" 229 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 230 linker_set_key: "_ZTIPN5test210HelloAgainE" 231 self_type: "_ZTIPN5test210HelloAgainE" 232 } 233 } 234 pointer_types { 235 type_info { 236 name: "test3::ByeAgain<double> *" 237 size: 8 238 alignment: 8 239 referenced_type: "_ZTIN5test38ByeAgainIdEE" 240 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 241 linker_set_key: "_ZTIPN5test38ByeAgainIdEE" 242 self_type: "_ZTIPN5test38ByeAgainIdEE" 243 } 244 } 245 pointer_types { 246 type_info { 247 name: "test3::ByeAgain<float> *" 248 size: 8 249 alignment: 8 250 referenced_type: "_ZTIN5test38ByeAgainIfEE" 251 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 252 linker_set_key: "_ZTIPN5test38ByeAgainIfEE" 253 self_type: "_ZTIPN5test38ByeAgainIfEE" 254 } 255 } 256 builtin_types { 257 type_info { 258 name: "bool" 259 size: 1 260 alignment: 1 261 referenced_type: "_ZTIb" 262 source_file: "" 263 linker_set_key: "_ZTIb" 264 self_type: "_ZTIb" 265 } 266 is_unsigned: true 267 is_integral: true 268 } 269 builtin_types { 270 type_info { 271 name: "double" 272 size: 8 273 alignment: 8 274 referenced_type: "_ZTId" 275 source_file: "" 276 linker_set_key: "_ZTId" 277 self_type: "_ZTId" 278 } 279 is_unsigned: false 280 is_integral: false 281 } 282 builtin_types { 283 type_info { 284 name: "float" 285 size: 4 286 alignment: 4 287 referenced_type: "_ZTIf" 288 source_file: "" 289 linker_set_key: "_ZTIf" 290 self_type: "_ZTIf" 291 } 292 is_unsigned: false 293 is_integral: false 294 } 295 builtin_types { 296 type_info { 297 name: "int" 298 size: 4 299 alignment: 4 300 referenced_type: "_ZTIi" 301 source_file: "" 302 linker_set_key: "_ZTIi" 303 self_type: "_ZTIi" 304 } 305 is_unsigned: false 306 is_integral: true 307 } 308 builtin_types { 309 type_info { 310 name: "unsigned int" 311 size: 4 312 alignment: 4 313 referenced_type: "_ZTIj" 314 source_file: "" 315 linker_set_key: "_ZTIj" 316 self_type: "_ZTIj" 317 } 318 is_unsigned: true 319 is_integral: true 320 } 321 builtin_types { 322 type_info { 323 name: "void" 324 size: 0 325 alignment: 0 326 referenced_type: "_ZTIv" 327 source_file: "" 328 linker_set_key: "_ZTIv" 329 self_type: "_ZTIv" 330 } 331 is_unsigned: false 332 is_integral: false 333 } 334 qualified_types { 335 type_info { 336 name: "bool const[2]" 337 size: 2 338 alignment: 1 339 referenced_type: "_ZTIA2_b" 340 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 341 linker_set_key: "_ZTIA2_Kb" 342 self_type: "_ZTIA2_Kb" 343 } 344 is_const: true 345 is_volatile: false 346 is_restricted: false 347 } 348 array_types { 349 type_info { 350 name: "bool [2]" 351 size: 2 352 alignment: 1 353 referenced_type: "_ZTIb" 354 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 355 linker_set_key: "_ZTIA2_b" 356 self_type: "_ZTIA2_b" 357 } 358 } 359 functions { 360 return_type: "_ZTIi" 361 function_name: "test2::HelloAgain::again" 362 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 363 parameters { 364 referenced_type: "_ZTIPN5test210HelloAgainE" 365 default_arg: false 366 is_this_ptr: true 367 } 368 linker_set_key: "_ZN5test210HelloAgain5againEv" 369 access: public_access 370 } 371 functions { 372 return_type: "_ZTIv" 373 function_name: "test2::HelloAgain::~HelloAgain" 374 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 375 parameters { 376 referenced_type: "_ZTIPN5test210HelloAgainE" 377 default_arg: false 378 is_this_ptr: true 379 } 380 linker_set_key: "_ZN5test210HelloAgainD0Ev" 381 access: public_access 382 } 383 functions { 384 return_type: "_ZTIv" 385 function_name: "test2::HelloAgain::~HelloAgain" 386 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 387 parameters { 388 referenced_type: "_ZTIPN5test210HelloAgainE" 389 default_arg: false 390 is_this_ptr: true 391 } 392 linker_set_key: "_ZN5test210HelloAgainD1Ev" 393 access: public_access 394 } 395 functions { 396 return_type: "_ZTIv" 397 function_name: "test2::HelloAgain::~HelloAgain" 398 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 399 parameters { 400 referenced_type: "_ZTIPN5test210HelloAgainE" 401 default_arg: false 402 is_this_ptr: true 403 } 404 linker_set_key: "_ZN5test210HelloAgainD2Ev" 405 access: public_access 406 } 407 functions { 408 return_type: "_ZTIb" 409 function_name: "test3::End" 410 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 411 parameters { 412 referenced_type: "_ZTIf" 413 default_arg: true 414 is_this_ptr: false 415 } 416 linker_set_key: "_ZN5test33EndEf" 417 access: public_access 418 } 419 functions { 420 return_type: "_ZTIb" 421 function_name: "test3::Begin" 422 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 423 parameters { 424 referenced_type: "_ZTIf" 425 default_arg: false 426 is_this_ptr: false 427 } 428 parameters { 429 referenced_type: "_ZTIi" 430 default_arg: false 431 is_this_ptr: false 432 } 433 parameters { 434 referenced_type: "_ZTIi" 435 default_arg: false 436 is_this_ptr: false 437 } 438 template_info { 439 elements { 440 referenced_type: "_ZTIf" 441 } 442 elements { 443 referenced_type: "_ZTIi" 444 } 445 } 446 linker_set_key: "_ZN5test35BeginIfiEEbT_T0_i" 447 access: public_access 448 } 449 functions { 450 return_type: "_ZTINSt3__16vectorIPiNS_9allocatorIS1_EEEE" 451 function_name: "test3::Dummy" 452 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 453 parameters { 454 referenced_type: "_ZTIi" 455 default_arg: false 456 is_this_ptr: false 457 } 458 linker_set_key: "_ZN5test35DummyEi" 459 access: public_access 460 } 461 functions { 462 return_type: "_ZTId" 463 function_name: "test3::ByeAgain<double>::method_foo" 464 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 465 parameters { 466 referenced_type: "_ZTIPN5test38ByeAgainIdEE" 467 default_arg: false 468 is_this_ptr: true 469 } 470 parameters { 471 referenced_type: "_ZTId" 472 default_arg: false 473 is_this_ptr: false 474 } 475 linker_set_key: "_ZN5test38ByeAgainIdE10method_fooEd" 476 access: public_access 477 } 478 functions { 479 return_type: "_ZTIf" 480 function_name: "test3::ByeAgain<float>::method_foo" 481 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 482 parameters { 483 referenced_type: "_ZTIPN5test38ByeAgainIfEE" 484 default_arg: false 485 is_this_ptr: true 486 } 487 parameters { 488 referenced_type: "_ZTIi" 489 default_arg: false 490 is_this_ptr: false 491 } 492 linker_set_key: "_ZN5test38ByeAgainIfE10method_fooEi" 493 access: public_access 494 } 495 global_vars { 496 name: "__test_var" 497 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 498 linker_set_key: "_ZL10__test_var" 499 referenced_type: "_ZTIA2_Kb" 500 access: public_access 501 } 502 global_vars { 503 name: "test2::HelloAgain::hello_forever" 504 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 505 linker_set_key: "_ZN5test210HelloAgain13hello_foreverE" 506 referenced_type: "_ZTIi" 507 access: public_access 508 } 509 global_vars { 510 name: "test3::double_bye" 511 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 512 linker_set_key: "_ZN5test310double_byeE" 513 referenced_type: "_ZTIN5test38ByeAgainIdEE" 514 access: public_access 515 } 516 global_vars { 517 name: "test3::ByeAgain<float>::foo_forever" 518 source_file: "development/vndk/tools/header-checker/tests/input/example2.h" 519 linker_set_key: "_ZN5test38ByeAgainIfE11foo_foreverE" 520 referenced_type: "_ZTIi" 521 access: public_access 522 } 523