/macosx-10.9.5/cctools-845/include/stuff/ |
H A D | best_arch.h | 32 * fat_arch structs and selects the best one that matches (if any) and returns 33 * a pointer to that fat_arch struct (or NULL). The fat_arch structs must be 38 * cpusubtype and one of the fat_arch structs this routine will always succeed. 40 __private_extern__ struct fat_arch * cpusubtype_findbestarch( 43 struct fat_arch *fat_archs,
|
H A D | breakout.h | 53 struct fat_arch *fat_arch; /* If this came from fat file this is valid */ member in struct:arch
|
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | mach_fat.h | 38 struct fat_arch *archret, int affinity); 40 vm_offset_t data_ptr, struct fat_arch *archret);
|
H A D | mach_fat.c | 53 * archret (out): Pointer to fat_arch structure to hold 69 struct fat_arch *archret) 75 struct fat_arch *arch; 76 struct fat_arch *best_arch; 100 end_of_archs = (off_t)nfat_arch * sizeof(struct fat_arch) + 114 end_of_archs < (off_t)(sizeof(struct fat_header)+sizeof(struct fat_arch))) 118 * Round size of fat_arch structures up to page boundry. 125 * Scan the fat_arch's looking for the best one. */ 129 arch = (struct fat_arch *) (addr + sizeof(struct fat_header)); 185 struct fat_arch *archre [all...] |
/macosx-10.9.5/cctools-845/include/mach-o/ |
H A D | arch.h | 76 * fat_arch structs and selects the best one that matches (if any) and returns 77 * a pointer to that fat_arch struct (or NULL). The fat_arch structs must be 82 * cpusubtype and one of the fat_arch structs this routine will always succeed. 84 extern struct fat_arch *NXFindBestFatArch(cpu_type_t cputype, 86 struct fat_arch *fat_archs,
|
H A D | fat.h | 28 * there is one fat_header structure followed by a number of fat_arch 56 struct fat_arch { struct
|
/macosx-10.9.5/cctools-845/misc/ |
H A D | lipo.c | 81 struct fat_arch *fat_arches; 91 struct fat_arch fat_arch; member in struct:thin_file 182 struct fat_arch *fat_arch); 528 if(thin_files[i].fat_arch.cputype == 529 thin_files[j].fat_arch.cputype && 530 (thin_files[i].fat_arch.cpusubtype & ~CPU_SUBTYPE_MASK)== 531 (thin_files[j].fat_arch.cpusubtype & ~CPU_SUBTYPE_MASK)){ 535 thin_files[j].fat_arch 1734 print_arch( struct fat_arch *fat_arch) argument [all...] |
/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 56 struct fat_arch { struct
|
/macosx-10.9.5/IOKitUser-907.100.13/kext.subproj/ |
H A D | fat_util.h | 165 * @abstract Find the specified fat_arch entry in a fat_iterator, 169 * fat_arch struct for the specified architecture 175 * @param fat_arch A pointer to the fat_arch struct to fill in. 185 struct fat_arch * fat_arch);
|
H A D | fat_util.c | 52 struct fat_arch * fat_arches; 90 iter->fat_arches = (struct fat_arch *)((char *)iter->fat_header + 95 (iter->num_arches * sizeof(struct fat_arch)); 268 struct fat_arch * arch_start; 271 arch_start = (struct fat_arch *)((void *)iter->fat_arches + 272 (iter->arch_index * sizeof(struct fat_arch))); 312 struct fat_arch * fat_arch_out) 319 struct fat_arch * fat_arches; 320 struct fat_arch * fat_arches_copy = NULL; // must free 322 struct fat_arch * found_arc [all...] |
/macosx-10.9.5/kext_tools-326.95.1/ |
H A D | kernelcache.h | 51 struct fat_arch * getFirstFatArch( 53 struct fat_arch * getNextFatArch( 55 struct fat_arch *lastArch); 56 struct fat_arch * getFatArchForArchInfo(
|
H A D | kernelcache.c | 34 struct fat_arch fatArch; 93 (sizeof(struct fat_arch) * numArchs); 170 struct fat_arch * fatArch = NULL; // do not free 188 fatArch = (struct fat_arch *) (&fatHeader[1]); 215 struct fat_arch * 220 struct fat_arch * fatArch = NULL; 227 fatArch = (struct fat_arch *) (&fatHeader[1]); 235 struct fat_arch * 238 struct fat_arch *prevArch) 241 struct fat_arch * firstArc [all...] |
H A D | kclist_main.c | 44 struct fat_arch * fat_arch = NULL; local 106 fat_arch = getFirstFatArch(fat_header); 107 if (fat_arch && !toolArgs.archInfo) { 108 toolArgs.archInfo = NXGetArchInfoFromCpuType(fat_arch->cputype, fat_arch->cpusubtype);
|
H A D | kctool_main.c | 31 struct fat_arch * fat_arch = NULL; local 84 fat_arch = getFirstFatArch(fat_header); 85 if (fat_arch && !toolArgs.archInfo) { 86 toolArgs.archInfo = NXGetArchInfoFromCpuType(fat_arch->cputype, fat_arch->cpusubtype);
|
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/ |
H A D | macho++.cpp | 46 Architecture::Architecture(const fat_arch &arch) 465 size_t archSize = sizeof(fat_arch) * (mArchCount + 1); 466 mArchList = (fat_arch *)malloc(archSize); 473 for (fat_arch *arch = mArchList; arch <= mArchList + mArchCount; arch++) { 480 const fat_arch *last_arch = mArchList + mArchCount; 490 std::list<struct fat_arch *> sortedList; 494 sortedList.sort(^ bool (const struct fat_arch *arch1, const struct fat_arch *arch2) { return arch1->offset < arch2->offset; }); 496 const size_t universalHeaderEnd = mBase + sizeof(header) + (sizeof(fat_arch) * mArchCount); 655 const fat_arch *Universa [all...] |
H A D | macho++.h | 52 Architecture(const fat_arch &archInFile); 222 const fat_arch *findArch(const Architecture &arch) const; 226 fat_arch *mArchList; // architectures (NULL if thin file)
|
/macosx-10.9.5/Security-55471.14.18/libsecurity_utilities/lib/ |
H A D | macho++.cpp | 46 Architecture::Architecture(const fat_arch &arch) 465 size_t archSize = sizeof(fat_arch) * (mArchCount + 1); 466 mArchList = (fat_arch *)malloc(archSize); 473 for (fat_arch *arch = mArchList; arch <= mArchList + mArchCount; arch++) { 480 const fat_arch *last_arch = mArchList + mArchCount; 490 std::list<struct fat_arch *> sortedList; 494 sortedList.sort(^ bool (const struct fat_arch *arch1, const struct fat_arch *arch2) { return arch1->offset < arch2->offset; }); 496 const size_t universalHeaderEnd = mBase + sizeof(header) + (sizeof(fat_arch) * mArchCount); 655 const fat_arch *Universa [all...] |
H A D | macho++.h | 52 Architecture(const fat_arch &archInFile); 222 const fat_arch *findArch(const Architecture &arch) const; 226 fat_arch *mArchList; // architectures (NULL if thin file)
|
/macosx-10.9.5/file-46/file/src/ |
H A D | readmacho.c | 68 struct fat_arch *fat_archs; 93 arch_size = fat_header.nfat_arch * sizeof(struct fat_arch); 99 if ((fat_archs = (struct fat_arch *)malloc(arch_size)) == NULL) {
|
/macosx-10.9.5/xar-202/xar/lib/ |
H A D | macho.h | 58 struct fat_arch { struct
|
H A D | macho.c | 68 struct fat_arch *arches; /* Read and buffer array of arches */ 121 context->arches = calloc(1,sizeof(struct fat_arch) * fh->nfat_arch); 131 context->arches = calloc(1,sizeof(struct fat_arch) * context->fath.nfat_arch); 158 if( inlen >= sizeof(struct fat_arch) ) { 159 struct fat_arch *fa = in; 167 memcpy(&context->arches[context->curarch], in, sizeof(struct fat_arch)); 174 consumed = sizeof(struct fat_arch);
|
/macosx-10.9.5/cctools-845/libstuff/ |
H A D | writeout.c | 304 struct fat_arch *fat_arch; local 327 fat_arch = NULL; /* here to quite compiler maybe warning message */ 341 if(narchs > 1 || archs[0].fat_arch != NULL) 343 sizeof(struct fat_arch) * narchs; 355 if(archs[i].fat_arch != NULL) 356 file_size = rnd(file_size, 1 << archs[i].fat_arch->align); 358 if(archs[i].fat_arch != NULL) 359 archs[i].fat_arch->size = archs[i].library_size; 366 if(archs[i].fat_arch ! [all...] |
/macosx-10.9.5/Libc-997.90.3/gen/ |
H A D | nlist.c | 163 struct fat_arch *fat_archs, *fap; 186 fat_archs = (struct fat_arch *)malloc(fh.nfat_arch * 187 sizeof(struct fat_arch)); 192 sizeof(struct fat_arch) * fh.nfat_arch) != 193 sizeof(struct fat_arch) * fh.nfat_arch) {
|
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/Launcher/mac/ |
H A D | DynamicLinkerEnvironmentExtractor.mm | 170 // Ensure that we have enough data remaining for numberOfArchitectures fat_arch structs. 171 if ((length - sizeof(fat_header)) / sizeof(fat_arch) < numberOfArchitectures) 174 const fat_arch* archs = reinterpret_cast<const fat_arch*>(reinterpret_cast<const char*>(data) + sizeof(*header));
|
/macosx-10.9.5/cctools-845/ld/ |
H A D | pass1.h | 151 struct fat_arch *fat_archs,
|