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