Searched refs:nfat_arch (Results 1 – 5 of 5) sorted by relevance
| /xnu-8020.121.3/bsd/kern/ |
| H A D | mach_fat.c | 75 size_t nfat_arch, max_nfat_arch; in fatfile_getarch() local 86 nfat_arch = OSSwapBigToHostInt32(header->nfat_arch); in fatfile_getarch() 89 if (nfat_arch > max_nfat_arch) { in fatfile_getarch() 99 for (; nfat_arch-- > 0; arch++) { in fatfile_getarch() 239 size_t nfat_arch, max_nfat_arch, i, j; in fatfile_validate_fatarches() local 251 nfat_arch = OSSwapBigToHostInt32(header->nfat_arch); in fatfile_validate_fatarches() 259 if (nfat_arch > max_nfat_arch) { in fatfile_validate_fatarches() 265 fat_header_size = sizeof(struct fat_header) + nfat_arch * sizeof(struct fat_arch); in fatfile_validate_fatarches() 268 for (i = 0; i < nfat_arch; i++) { in fatfile_validate_fatarches() 290 for (j = i + 1; j < nfat_arch; j++) { in fatfile_validate_fatarches()
|
| /xnu-8020.121.3/EXTERNAL_HEADERS/mach-o/ |
| H A D | fat.h | 53 uint32_t nfat_arch; /* number of structs that follow */ member
|
| /xnu-8020.121.3/tests/ |
| H A D | macho_size_63133398.c | 3194 fat_header->nfat_arch = htonl(1);
|
| /xnu-8020.121.3/tools/kt-dump/ |
| H A D | kt-dump.cpp | 274 OSSwapInt32(fhdr->nfat_arch)); in find_arm64_slice()
|
| /xnu-8020.121.3/libkern/kxld/ |
| H A D | kxld_object.c | 506 boolean_t ovr = os_mul_and_add_overflow(fat->nfat_arch, sizeof(*archs), sizeof(*fat), &arch_size); in get_macho_slice_for_arch() 515 (void) swap_fat_arch(archs, fat->nfat_arch, object->host_order); in get_macho_slice_for_arch() 520 arch = NXFindBestFatArch(object->cputype, object->cpusubtype, archs, fat->nfat_arch); in get_macho_slice_for_arch()
|