Searched refs:fat_header (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/mach-o/
H A Dfat.h31 * there is one fat_header structure followed by a number of fat_arch
33 * cputype and cpusubtype, the fat_header describes the file offset, file
52 struct fat_header { struct
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dmach_fat.c82 struct fat_header *header;
91 header = (struct fat_header *)data_ptr;
100 sizeof(struct fat_header);
113 end_of_archs < (sizeof(struct fat_header)+sizeof(struct fat_arch)))
134 arch = (struct fat_arch *) (addr + sizeof(struct fat_header));
H A Dkern_exec.c594 struct fat_header *fat_header = (struct fat_header *)imgp->ip_vdata; local
601 if ((fat_header->magic != FAT_MAGIC) &&
602 (fat_header->magic != FAT_CIGAM)) {
610 struct fat_arch *arches = (struct fat_arch *) (fat_header + 1);
613 nfat_arch = OSSwapBigToHostInt32(fat_header->nfat_arch);
652 (vm_offset_t)fat_header,
H A Dmach_loader.c1559 struct fat_header fat_header; member in union:__anon147
1630 else if (header.fat_header.magic == FAT_MAGIC ||
1631 header.fat_header.magic == FAT_CIGAM)
1640 error = fatfile_getarch_with_bits(vp, archbits, (vm_offset_t)(&header.fat_header), &fat_arch);
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dkld_patch.c777 struct fat_header *fat;
783 fat = (struct fat_header *) file->fMachO;
814 return_if(file->fMapSize < sizeof(struct fat_header)
836 fatsize = sizeof(struct fat_header)

Completed in 30 milliseconds