/macosx-10.9.5/file-46/file/src/ |
H A D | readmacho.c | 67 struct fat_header fat_header; local 79 if (nbytes < sizeof(struct fat_header)) { 83 memcpy(&fat_header, buf, sizeof(struct fat_header)); 85 swap_fat_header(&fat_header, NX_LittleEndian); 89 if(!(fat_header.magic == FAT_MAGIC && fat_header.nfat_arch < 20)) { 93 arch_size = fat_header.nfat_arch * sizeof(struct fat_arch); 95 if (nbytes < sizeof(struct fat_header) [all...] |
/macosx-10.9.5/cctools-845/include/mach-o/ |
H A D | fat.h | 28 * there is one fat_header structure followed by a number of fat_arch 30 * cputype and cpusubtype, the fat_header describes the file offset, file 51 struct fat_header { struct
|
H A D | swap.h | 39 struct fat_header *fat_header,
|
/macosx-10.9.5/xnu-2422.115.4/EXTERNAL_HEADERS/mach-o/ |
H A D | fat.h | 28 * there is one fat_header structure followed by a number of fat_arch 30 * cputype and cpusubtype, the fat_header describes the file offset, file 51 struct fat_header { struct
|
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | mach_fat.c | 83 struct fat_header *header; 92 header = (struct fat_header *)data_ptr; 101 sizeof(struct fat_header); 114 end_of_archs < (off_t)(sizeof(struct fat_header)+sizeof(struct fat_arch))) 129 arch = (struct fat_arch *) (addr + sizeof(struct fat_header));
|
/macosx-10.9.5/IOKitUser-907.100.13/kext.subproj/ |
H A D | fat_util.c | 51 struct fat_header * fat_header; member in struct:__fat_iterator 85 if (length < sizeof(struct fat_header)) { 89 iter->fat_header = (struct fat_header *)file_data; 90 iter->fat_arches = (struct fat_arch *)((char *)iter->fat_header + 91 sizeof(struct fat_header)); 93 iter->fat_header->nfat_arch); 258 if (!iter->fat_header) { 326 if (iter->fat_header) { [all...] |
/macosx-10.9.5/xar-202/xar/lib/ |
H A D | macho.h | 53 struct fat_header { struct
|
H A D | macho.c | 67 struct fat_header fath; /* Need to read and buffer the fat header */ 116 if( inlen >= sizeof(struct fat_header) ) { 117 struct fat_header *fh = (struct fat_header *)in;
|
/macosx-10.9.5/cctools-845/ld/ |
H A D | pass1.h | 150 struct fat_header *fat_header,
|
H A D | rld.c | 873 struct fat_header *fat_header; local 875 struct fat_header struct_fat_header; 996 if(sizeof(struct fat_header) > size){ 1004 fat_header = (struct fat_header *)addr; 1009 if(fat_header->magic == FAT_MAGIC) 1012 if(fat_header->magic == SWAP_LONG(FAT_MAGIC)) 1017 struct_fat_header = *fat_header; 1019 fat_header [all...] |
H A D | pass1.c | 351 struct fat_header *fat_header; local 484 if(sizeof(struct fat_header) > file_size){ 489 fat_header = (struct fat_header *)file_addr; 491 if(fat_header->magic == FAT_MAGIC) 494 if(fat_header->magic == SWAP_LONG(FAT_MAGIC)) 674 struct fat_header *fat_header; local 676 struct fat_header struct_fat_heade 868 check_fat( char *file_name, unsigned long file_size, struct fat_header *fat_header, struct fat_arch *fat_archs, char *ar_name, unsigned long ar_name_size) argument 1001 struct fat_header *fat_header; local 3610 struct fat_header *fat_header; local [all...] |
/macosx-10.9.5/cctools-845/misc/ |
H A D | lipo.c | 80 struct fat_header *fat_header; member in struct:input_file 144 static struct fat_header fat_header = { 0 }; variable in typeref:struct:fat_header 559 if(input_files[0].fat_header == NULL) 599 if(input_files[0].fat_header == NULL) 649 if(input_files[0].fat_header == NULL) 699 if(input_files[0].fat_header == NULL) 733 if(input_files[i].fat_header != NULL){ 736 for(j = 0; j < input_files[i].fat_header [all...] |
/macosx-10.9.5/kext_tools-326.95.1/ |
H A D | kclist_main.c | 43 void * fat_header = NULL; // must unmapFatHeaderPage() local 97 fat_header = mapAndSwapFatHeaderPage(kernelcache_fd); 98 if (!fat_header) { 106 fat_arch = getFirstFatArch(fat_header); 179 if (fat_header) { 180 unmapFatHeaderPage(fat_header);
|
H A D | kctool_main.c | 30 void * fat_header = NULL; // must unmapFatHeaderPage() local 75 fat_header = mapAndSwapFatHeaderPage(kernelcache_fd); 76 if (!fat_header) { 84 fat_arch = getFirstFatArch(fat_header); 160 if (fat_header) { 161 unmapFatHeaderPage(fat_header);
|
H A D | kernelcache.c | 33 struct fat_header fatHeader; 92 fatOffset = sizeof(struct fat_header) + 169 struct fat_header * fatHeader = NULL; // do not free 187 fatHeader = (struct fat_header *) headerPage; 219 struct fat_header * fatHeader = NULL; 222 fatHeader = (struct fat_header *) headerPage; 240 struct fat_header * fatHeader = NULL; 245 fatHeader = (struct fat_header *) headerPage; 270 struct fat_header * fatHeader = NULL; 273 fatHeader = (struct fat_header *)headerPag [all...] |
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/Launcher/mac/ |
H A D | DynamicLinkerEnvironmentExtractor.mm | 163 if (length < sizeof(fat_header)) 166 const fat_header* header = static_cast<const fat_header*>(data); 171 if ((length - sizeof(fat_header)) / sizeof(fat_arch) < numberOfArchitectures)
|
/macosx-10.9.5/iodbc-42.5/iodbc/iodbcinst/ |
H A D | dlf.h | 164 struct fat_header *fat_header; /* If a fat file these are filled in and */ member in struct:ofile
|
/macosx-10.9.5/cctools-845/include/stuff/ |
H A D | ofile.h | 64 struct fat_header *fat_header; /* If a fat file these are filled in and */ member in struct:ofile
|
/macosx-10.9.5/cctools-845/libstuff/ |
H A D | ofile.c | 930 if(size >= sizeof(struct fat_header) && magic == FAT_MAGIC) 933 if(size >= sizeof(struct fat_header) && SWAP_INT(magic) == FAT_MAGIC) 937 ofile->fat_header = (struct fat_header *)addr; 939 swap_fat_header(ofile->fat_header, host_byte_sex); 945 big_size = ofile->fat_header->nfat_arch; 947 big_size += sizeof(struct fat_header); 952 ofile->fat_archs = allocate(size - sizeof(struct fat_header)); 954 size - sizeof(struct fat_header)); 956 addr + sizeof(struct fat_header), [all...] |
/macosx-10.9.5/tcl-102/tcl/tcl/unix/ |
H A D | tclLoadDyld.c | 635 const struct fat_header *fh = buffer; 649 if ((size_t) codeSize >= sizeof(struct fat_header) 658 if ((size_t) codeSize >= sizeof(struct fat_header) + 660 void *fatarchs = (char*)buffer + sizeof(struct fat_header);
|
/macosx-10.9.5/tcl-102/tcl84/tcl/unix/ |
H A D | tclLoadDyld.c | 637 const struct fat_header *fh = buffer; 651 if ((size_t) codeSize >= sizeof(struct fat_header) 660 if ((size_t) codeSize >= sizeof(struct fat_header) + 662 void *fatarchs = (char*)buffer + sizeof(struct fat_header);
|
/macosx-10.9.5/WebKit-7537.78.2/mac/Plugins/ |
H A D | WebBasePluginPackage.mm | 410 COMPILE_ASSERT(sizeof(struct fat_header) % sizeof(uint32_t) == 0, struct_fat_header_must_be_integral_size_of_uint32_t); 411 archs = reinterpret_cast<struct fat_arch*>(rawData.data() + sizeof(struct fat_header) / sizeof(uint32_t)); 412 numArchs = reinterpret_cast<struct fat_header*>(rawData.data())->nfat_arch; 414 unsigned maxArchs = (sizeInBytes - sizeof(struct fat_header)) / sizeof(struct fat_arch);
|
/macosx-10.9.5/dtrace-118.1/libelf/ |
H A D | begin.c | 316 if ((elf->ed_fsz >= sizeof(struct fat_header)) && 317 (_elf_vm(elf, (size_t)0, (size_t)sizeof(struct fat_header)) == OK_YES) && 321 struct fat_header *fat_header = (struct fat_header *)(elf->ed_ident); local 322 int nfat_arch = OSSwapBigToHostInt32(fat_header->nfat_arch); 323 int end_of_archs = sizeof(struct fat_header) + nfat_arch * sizeof(struct fat_arch); 324 struct fat_arch *arch = (struct fat_arch *)(elf->ed_ident + sizeof(struct fat_header));
|
/macosx-10.9.5/objc4-551.1/ |
H A D | markgc.c | 376 struct fat_header *fh = start; 440 struct fat_header *fh = (struct fat_header *)FileBase;
|
/macosx-10.9.5/emacs-92/ |
H A D | dumpemacs.c | 262 struct fat_header *fh = (struct fat_header *)buffer; 391 struct fat_header *fh = (struct fat_header *)buffer;
|