Lines Matching refs:cro

2964 inline void swapStruct(struct class_ro64_t &cro) {  in swapStruct()  argument
2965 sys::swapByteOrder(cro.flags); in swapStruct()
2966 sys::swapByteOrder(cro.instanceStart); in swapStruct()
2967 sys::swapByteOrder(cro.instanceSize); in swapStruct()
2968 sys::swapByteOrder(cro.reserved); in swapStruct()
2969 sys::swapByteOrder(cro.ivarLayout); in swapStruct()
2970 sys::swapByteOrder(cro.name); in swapStruct()
2971 sys::swapByteOrder(cro.baseMethods); in swapStruct()
2972 sys::swapByteOrder(cro.baseProtocols); in swapStruct()
2973 sys::swapByteOrder(cro.ivars); in swapStruct()
2974 sys::swapByteOrder(cro.weakIvarLayout); in swapStruct()
2975 sys::swapByteOrder(cro.baseProperties); in swapStruct()
2978 inline void swapStruct(struct class_ro32_t &cro) { in swapStruct() argument
2979 sys::swapByteOrder(cro.flags); in swapStruct()
2980 sys::swapByteOrder(cro.instanceStart); in swapStruct()
2981 sys::swapByteOrder(cro.instanceSize); in swapStruct()
2982 sys::swapByteOrder(cro.ivarLayout); in swapStruct()
2983 sys::swapByteOrder(cro.name); in swapStruct()
2984 sys::swapByteOrder(cro.baseMethods); in swapStruct()
2985 sys::swapByteOrder(cro.baseProtocols); in swapStruct()
2986 sys::swapByteOrder(cro.ivars); in swapStruct()
2987 sys::swapByteOrder(cro.weakIvarLayout); in swapStruct()
2988 sys::swapByteOrder(cro.baseProperties); in swapStruct()
3257 struct class_ro64_t cro; in get_objc2_64bit_class_name() local
3258 memcpy(&cro, r, sizeof(struct class_ro64_t)); in get_objc2_64bit_class_name()
3260 swapStruct(cro); in get_objc2_64bit_class_name()
3261 if (cro.name == 0) in get_objc2_64bit_class_name()
3263 const char *name = get_pointer_64(cro.name, offset, left, S, info); in get_objc2_64bit_class_name()
4384 struct class_ro64_t cro; in print_class_ro64_t() local
4394 memset(&cro, '\0', sizeof(struct class_ro64_t)); in print_class_ro64_t()
4396 memcpy(&cro, r, left); in print_class_ro64_t()
4399 memcpy(&cro, r, sizeof(struct class_ro64_t)); in print_class_ro64_t()
4401 swapStruct(cro); in print_class_ro64_t()
4402 outs() << " flags " << format("0x%" PRIx32, cro.flags); in print_class_ro64_t()
4403 if (cro.flags & RO_META) in print_class_ro64_t()
4405 if (cro.flags & RO_ROOT) in print_class_ro64_t()
4407 if (cro.flags & RO_HAS_CXX_STRUCTORS) in print_class_ro64_t()
4410 outs() << " instanceStart " << cro.instanceStart << "\n"; in print_class_ro64_t()
4411 outs() << " instanceSize " << cro.instanceSize << "\n"; in print_class_ro64_t()
4412 outs() << " reserved " << format("0x%" PRIx32, cro.reserved) in print_class_ro64_t()
4414 outs() << " ivarLayout " << format("0x%" PRIx64, cro.ivarLayout) in print_class_ro64_t()
4416 print_layout_map64(cro.ivarLayout, info); in print_class_ro64_t()
4420 info, n_value, cro.name); in print_class_ro64_t()
4426 if (cro.name != 0) in print_class_ro64_t()
4427 outs() << " + " << format("0x%" PRIx64, cro.name); in print_class_ro64_t()
4429 outs() << format("0x%" PRIx64, cro.name); in print_class_ro64_t()
4430 name = get_pointer_64(cro.name + n_value, xoffset, left, xS, info); in print_class_ro64_t()
4437 S, info, n_value, cro.baseMethods); in print_class_ro64_t()
4443 if (cro.baseMethods != 0) in print_class_ro64_t()
4444 outs() << " + " << format("0x%" PRIx64, cro.baseMethods); in print_class_ro64_t()
4446 outs() << format("0x%" PRIx64, cro.baseMethods); in print_class_ro64_t()
4448 if (cro.baseMethods + n_value != 0) in print_class_ro64_t()
4449 print_method_list64_t(cro.baseMethods + n_value, info, ""); in print_class_ro64_t()
4454 info, n_value, cro.baseProtocols); in print_class_ro64_t()
4460 if (cro.baseProtocols != 0) in print_class_ro64_t()
4461 outs() << " + " << format("0x%" PRIx64, cro.baseProtocols); in print_class_ro64_t()
4463 outs() << format("0x%" PRIx64, cro.baseProtocols); in print_class_ro64_t()
4465 if (cro.baseProtocols + n_value != 0) in print_class_ro64_t()
4466 print_protocol_list64_t(cro.baseProtocols + n_value, info); in print_class_ro64_t()
4470 info, n_value, cro.ivars); in print_class_ro64_t()
4476 if (cro.ivars != 0) in print_class_ro64_t()
4477 outs() << " + " << format("0x%" PRIx64, cro.ivars); in print_class_ro64_t()
4479 outs() << format("0x%" PRIx64, cro.ivars); in print_class_ro64_t()
4481 if (cro.ivars + n_value != 0) in print_class_ro64_t()
4482 print_ivar_list64_t(cro.ivars + n_value, info); in print_class_ro64_t()
4487 info, n_value, cro.weakIvarLayout); in print_class_ro64_t()
4493 if (cro.weakIvarLayout != 0) in print_class_ro64_t()
4494 outs() << " + " << format("0x%" PRIx64, cro.weakIvarLayout); in print_class_ro64_t()
4496 outs() << format("0x%" PRIx64, cro.weakIvarLayout); in print_class_ro64_t()
4498 print_layout_map64(cro.weakIvarLayout + n_value, info); in print_class_ro64_t()
4503 info, n_value, cro.baseProperties); in print_class_ro64_t()
4509 if (cro.baseProperties != 0) in print_class_ro64_t()
4510 outs() << " + " << format("0x%" PRIx64, cro.baseProperties); in print_class_ro64_t()
4512 outs() << format("0x%" PRIx64, cro.baseProperties); in print_class_ro64_t()
4514 if (cro.baseProperties + n_value != 0) in print_class_ro64_t()
4515 print_objc_property_list64(cro.baseProperties + n_value, info); in print_class_ro64_t()
4517 is_meta_class = (cro.flags & RO_META) != 0; in print_class_ro64_t()
4523 struct class_ro32_t cro; in print_class_ro32_t() local
4532 memset(&cro, '\0', sizeof(struct class_ro32_t)); in print_class_ro32_t()
4534 memcpy(&cro, r, left); in print_class_ro32_t()
4537 memcpy(&cro, r, sizeof(struct class_ro32_t)); in print_class_ro32_t()
4539 swapStruct(cro); in print_class_ro32_t()
4540 outs() << " flags " << format("0x%" PRIx32, cro.flags); in print_class_ro32_t()
4541 if (cro.flags & RO_META) in print_class_ro32_t()
4543 if (cro.flags & RO_ROOT) in print_class_ro32_t()
4545 if (cro.flags & RO_HAS_CXX_STRUCTORS) in print_class_ro32_t()
4548 outs() << " instanceStart " << cro.instanceStart << "\n"; in print_class_ro32_t()
4549 outs() << " instanceSize " << cro.instanceSize << "\n"; in print_class_ro32_t()
4550 outs() << " ivarLayout " << format("0x%" PRIx32, cro.ivarLayout) in print_class_ro32_t()
4552 print_layout_map32(cro.ivarLayout, info); in print_class_ro32_t()
4554 outs() << " name " << format("0x%" PRIx32, cro.name); in print_class_ro32_t()
4555 name = get_pointer_32(cro.name, xoffset, left, xS, info); in print_class_ro32_t()
4561 << format("0x%" PRIx32, cro.baseMethods) in print_class_ro32_t()
4563 if (cro.baseMethods != 0) in print_class_ro32_t()
4564 print_method_list32_t(cro.baseMethods, info, ""); in print_class_ro32_t()
4567 << format("0x%" PRIx32, cro.baseProtocols) << "\n"; in print_class_ro32_t()
4568 if (cro.baseProtocols != 0) in print_class_ro32_t()
4569 print_protocol_list32_t(cro.baseProtocols, info); in print_class_ro32_t()
4570 outs() << " ivars " << format("0x%" PRIx32, cro.ivars) in print_class_ro32_t()
4572 if (cro.ivars != 0) in print_class_ro32_t()
4573 print_ivar_list32_t(cro.ivars, info); in print_class_ro32_t()
4575 << format("0x%" PRIx32, cro.weakIvarLayout) << "\n"; in print_class_ro32_t()
4576 print_layout_map32(cro.weakIvarLayout, info); in print_class_ro32_t()
4578 << format("0x%" PRIx32, cro.baseProperties) << "\n"; in print_class_ro32_t()
4579 if (cro.baseProperties != 0) in print_class_ro32_t()
4580 print_objc_property_list32(cro.baseProperties, info); in print_class_ro32_t()
4581 is_meta_class = (cro.flags & RO_META) != 0; in print_class_ro32_t()