Lines Matching refs:cro
2861 inline void swapStruct(struct class_ro64_t &cro) { in swapStruct() argument
2862 sys::swapByteOrder(cro.flags); in swapStruct()
2863 sys::swapByteOrder(cro.instanceStart); in swapStruct()
2864 sys::swapByteOrder(cro.instanceSize); in swapStruct()
2865 sys::swapByteOrder(cro.reserved); in swapStruct()
2866 sys::swapByteOrder(cro.ivarLayout); in swapStruct()
2867 sys::swapByteOrder(cro.name); in swapStruct()
2868 sys::swapByteOrder(cro.baseMethods); in swapStruct()
2869 sys::swapByteOrder(cro.baseProtocols); in swapStruct()
2870 sys::swapByteOrder(cro.ivars); in swapStruct()
2871 sys::swapByteOrder(cro.weakIvarLayout); in swapStruct()
2872 sys::swapByteOrder(cro.baseProperties); in swapStruct()
2875 inline void swapStruct(struct class_ro32_t &cro) { in swapStruct() argument
2876 sys::swapByteOrder(cro.flags); in swapStruct()
2877 sys::swapByteOrder(cro.instanceStart); in swapStruct()
2878 sys::swapByteOrder(cro.instanceSize); in swapStruct()
2879 sys::swapByteOrder(cro.ivarLayout); in swapStruct()
2880 sys::swapByteOrder(cro.name); in swapStruct()
2881 sys::swapByteOrder(cro.baseMethods); in swapStruct()
2882 sys::swapByteOrder(cro.baseProtocols); in swapStruct()
2883 sys::swapByteOrder(cro.ivars); in swapStruct()
2884 sys::swapByteOrder(cro.weakIvarLayout); in swapStruct()
2885 sys::swapByteOrder(cro.baseProperties); in swapStruct()
3154 struct class_ro64_t cro; in get_objc2_64bit_class_name() local
3155 memcpy(&cro, r, sizeof(struct class_ro64_t)); in get_objc2_64bit_class_name()
3157 swapStruct(cro); in get_objc2_64bit_class_name()
3158 if (cro.name == 0) in get_objc2_64bit_class_name()
3160 const char *name = get_pointer_64(cro.name, offset, left, S, info); in get_objc2_64bit_class_name()
4279 struct class_ro64_t cro; in print_class_ro64_t() local
4289 memset(&cro, '\0', sizeof(struct class_ro64_t)); in print_class_ro64_t()
4291 memcpy(&cro, r, left); in print_class_ro64_t()
4294 memcpy(&cro, r, sizeof(struct class_ro64_t)); in print_class_ro64_t()
4296 swapStruct(cro); in print_class_ro64_t()
4297 outs() << " flags " << format("0x%" PRIx32, cro.flags); in print_class_ro64_t()
4298 if (cro.flags & RO_META) in print_class_ro64_t()
4300 if (cro.flags & RO_ROOT) in print_class_ro64_t()
4302 if (cro.flags & RO_HAS_CXX_STRUCTORS) in print_class_ro64_t()
4305 outs() << " instanceStart " << cro.instanceStart << "\n"; in print_class_ro64_t()
4306 outs() << " instanceSize " << cro.instanceSize << "\n"; in print_class_ro64_t()
4307 outs() << " reserved " << format("0x%" PRIx32, cro.reserved) in print_class_ro64_t()
4309 outs() << " ivarLayout " << format("0x%" PRIx64, cro.ivarLayout) in print_class_ro64_t()
4311 print_layout_map64(cro.ivarLayout, info); in print_class_ro64_t()
4315 info, n_value, cro.name); in print_class_ro64_t()
4321 if (cro.name != 0) in print_class_ro64_t()
4322 outs() << " + " << format("0x%" PRIx64, cro.name); in print_class_ro64_t()
4324 outs() << format("0x%" PRIx64, cro.name); in print_class_ro64_t()
4325 name = get_pointer_64(cro.name + n_value, xoffset, left, xS, info); in print_class_ro64_t()
4332 S, info, n_value, cro.baseMethods); in print_class_ro64_t()
4338 if (cro.baseMethods != 0) in print_class_ro64_t()
4339 outs() << " + " << format("0x%" PRIx64, cro.baseMethods); in print_class_ro64_t()
4341 outs() << format("0x%" PRIx64, cro.baseMethods); in print_class_ro64_t()
4343 if (cro.baseMethods + n_value != 0) in print_class_ro64_t()
4344 print_method_list64_t(cro.baseMethods + n_value, info, ""); in print_class_ro64_t()
4349 info, n_value, cro.baseProtocols); in print_class_ro64_t()
4355 if (cro.baseProtocols != 0) in print_class_ro64_t()
4356 outs() << " + " << format("0x%" PRIx64, cro.baseProtocols); in print_class_ro64_t()
4358 outs() << format("0x%" PRIx64, cro.baseProtocols); in print_class_ro64_t()
4360 if (cro.baseProtocols + n_value != 0) in print_class_ro64_t()
4361 print_protocol_list64_t(cro.baseProtocols + n_value, info); in print_class_ro64_t()
4365 info, n_value, cro.ivars); in print_class_ro64_t()
4371 if (cro.ivars != 0) in print_class_ro64_t()
4372 outs() << " + " << format("0x%" PRIx64, cro.ivars); in print_class_ro64_t()
4374 outs() << format("0x%" PRIx64, cro.ivars); in print_class_ro64_t()
4376 if (cro.ivars + n_value != 0) in print_class_ro64_t()
4377 print_ivar_list64_t(cro.ivars + n_value, info); in print_class_ro64_t()
4382 info, n_value, cro.weakIvarLayout); in print_class_ro64_t()
4388 if (cro.weakIvarLayout != 0) in print_class_ro64_t()
4389 outs() << " + " << format("0x%" PRIx64, cro.weakIvarLayout); in print_class_ro64_t()
4391 outs() << format("0x%" PRIx64, cro.weakIvarLayout); in print_class_ro64_t()
4393 print_layout_map64(cro.weakIvarLayout + n_value, info); in print_class_ro64_t()
4398 info, n_value, cro.baseProperties); in print_class_ro64_t()
4404 if (cro.baseProperties != 0) in print_class_ro64_t()
4405 outs() << " + " << format("0x%" PRIx64, cro.baseProperties); in print_class_ro64_t()
4407 outs() << format("0x%" PRIx64, cro.baseProperties); in print_class_ro64_t()
4409 if (cro.baseProperties + n_value != 0) in print_class_ro64_t()
4410 print_objc_property_list64(cro.baseProperties + n_value, info); in print_class_ro64_t()
4412 is_meta_class = (cro.flags & RO_META) ? true : false; in print_class_ro64_t()
4417 struct class_ro32_t cro; in print_class_ro32_t() local
4426 memset(&cro, '\0', sizeof(struct class_ro32_t)); in print_class_ro32_t()
4428 memcpy(&cro, r, left); in print_class_ro32_t()
4431 memcpy(&cro, r, sizeof(struct class_ro32_t)); in print_class_ro32_t()
4433 swapStruct(cro); in print_class_ro32_t()
4434 outs() << " flags " << format("0x%" PRIx32, cro.flags); in print_class_ro32_t()
4435 if (cro.flags & RO_META) in print_class_ro32_t()
4437 if (cro.flags & RO_ROOT) in print_class_ro32_t()
4439 if (cro.flags & RO_HAS_CXX_STRUCTORS) in print_class_ro32_t()
4442 outs() << " instanceStart " << cro.instanceStart << "\n"; in print_class_ro32_t()
4443 outs() << " instanceSize " << cro.instanceSize << "\n"; in print_class_ro32_t()
4444 outs() << " ivarLayout " << format("0x%" PRIx32, cro.ivarLayout) in print_class_ro32_t()
4446 print_layout_map32(cro.ivarLayout, info); in print_class_ro32_t()
4448 outs() << " name " << format("0x%" PRIx32, cro.name); in print_class_ro32_t()
4449 name = get_pointer_32(cro.name, xoffset, left, xS, info); in print_class_ro32_t()
4455 << format("0x%" PRIx32, cro.baseMethods) in print_class_ro32_t()
4457 if (cro.baseMethods != 0) in print_class_ro32_t()
4458 print_method_list32_t(cro.baseMethods, info, ""); in print_class_ro32_t()
4461 << format("0x%" PRIx32, cro.baseProtocols) << "\n"; in print_class_ro32_t()
4462 if (cro.baseProtocols != 0) in print_class_ro32_t()
4463 print_protocol_list32_t(cro.baseProtocols, info); in print_class_ro32_t()
4464 outs() << " ivars " << format("0x%" PRIx32, cro.ivars) in print_class_ro32_t()
4466 if (cro.ivars != 0) in print_class_ro32_t()
4467 print_ivar_list32_t(cro.ivars, info); in print_class_ro32_t()
4469 << format("0x%" PRIx32, cro.weakIvarLayout) << "\n"; in print_class_ro32_t()
4470 print_layout_map32(cro.weakIvarLayout, info); in print_class_ro32_t()
4472 << format("0x%" PRIx32, cro.baseProperties) << "\n"; in print_class_ro32_t()
4473 if (cro.baseProperties != 0) in print_class_ro32_t()
4474 print_objc_property_list32(cro.baseProperties, info); in print_class_ro32_t()
4475 is_meta_class = (cro.flags & RO_META) ? true : false; in print_class_ro32_t()