Searched refs:cputype (Results 1 - 25 of 138) sorted by relevance

123456

/macosx-10.10/xnu-2782.1.97/EXTERNAL_HEADERS/mach-o/
H A Dfat.h30 * cputype and cpusubtype, the fat_header describes the file offset, file
57 cpu_type_t cputype; /* cpu specifier (int) */ member in struct:fat_arch
/macosx-10.10/IOKitUser-1050.1.21/kext.subproj/
H A Dfat_util.h172 * @param cputype The CPU type code requested (see <mach/machine.h> for a list).
183 cpu_type_t cputype,
195 * @param cputype The CPU type code specified (see <mach/machine.h> for a list).
207 cpu_type_t cputype,
H A Dfat_util.c310 cpu_type_t cputype,
346 fat_arches[index].cputype =
347 OSSwapBigToHostInt32(fat_arches[index].cputype);
370 fat_arches[0].cputype = CondSwapInt32(swap, mach_hdr->cputype);
378 found_arch = NXFindBestFatArch(cputype, cpusubtype, fat_arches, nfat_arch);
399 cpu_type_t cputype,
407 if (!fat_iterator_find_fat_arch(iter, cputype, cpusubtype, &found_arch)) {
437 return fat_iterator_find_arch(iter, archinfo->cputype,
308 fat_iterator_find_fat_arch( fat_iterator iter, cpu_type_t cputype, cpu_subtype_t cpusubtype, struct fat_arch * fat_arch_out) argument
397 fat_iterator_find_arch( fat_iterator iter, cpu_type_t cputype, cpu_subtype_t cpusubtype, void ** arch_end_ptr) argument
/macosx-10.10/xar-254/xar/lib/
H A Dmacho.h40 uint32_t cputype; member in struct:mach_header
59 uint32_t cputype; member in struct:fat_arch
H A Dmacho.c97 static const char *macho_cpustr(uint32_t cputype) argument
100 switch(cputype) {
161 context->arches[context->curarch].cputype = xar_swap32(fa->cputype);
216 context->me[context->curme].mh.cputype = xar_swap32(mh->cputype);
226 cpustr = macho_cpustr(context->me[context->curme].mh.cputype);
321 tmpstr = macho_cpustr(context->me[context->curme].mh.cputype);
/macosx-10.10/xnu-2782.1.97/osfmk/kern/
H A Dpage_decrypt.h61 cpu_type_t cputype; member in struct:crypt_file_data
/macosx-10.10/file-46/file/src/
H A Dreadmacho.c43 print_arch_name_for_file(struct magic_set *ms, cpu_type_t cputype, argument
51 if(ai->cputype == cputype && ai->cpusubtype == (cpu_subtype_t)(cpusubtype & ~CPU_SUBTYPE_MASK)) {
57 file_printf(ms, " (for architecture cputype (%d) cpusubtype (%d))",
58 cputype, cpusubtype);
111 fat_archs[i].cputype, fat_archs[i].cpusubtype);
/macosx-10.10/emacs-93/
H A Ddumpemacs.c295 archs[i].cputype = OSSwapBigToHostInt32(archs[i].cputype);
305 fakearch.cputype = mh->cputype;
314 fakearch.cputype = OSSwapInt32(mh->cputype);
323 fakearch.cputype = mh->cputype;
332 fakearch.cputype = OSSwapInt32(mh->cputype);
[all...]
/macosx-10.10/libutil-38/
H A Dreexec_to_match_kernel.c40 static int reexec(cpu_type_t cputype, const char *guardenv);
113 cpu_type_t current_arch = (_NSGetMachExecuteHeader())->cputype;
154 static int reexec(cpu_type_t cputype, const char *guardenv) argument
192 ret = posix_spawnattr_setbinpref_np(&attr, 1, &cputype, &copied);
198 fprintf(stderr, "reexec: %s (arch=%d)\n", execpath, cputype);
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dmach_fat.c131 testtype = OSSwapBigToHostInt32(arch->cputype);
161 archret->cputype =
162 OSSwapBigToHostInt32(best_arch->cputype);
H A Dmach_loader.c162 cpu_type_t cputype,
173 cpu_type_t cputype,
535 if (((cpu_type_t)(header->cputype & ~CPU_ARCH_MASK) != (cpu_type() & ~CPU_ARCH_MASK)) ||
536 !grade_binary(header->cputype,
540 abi64 = ((header->cputype & CPU_ARCH_ABI64) == CPU_ARCH_ABI64);
740 dlarchbits = (header->cputype & CPU_ARCH_MASK);
765 header->cputype,
784 header->cputype, header->cpusubtype);
1567 cpu_type_t cputype,
1587 blob = ubc_cs_blob_get(vp, cputype,
1562 load_code_signature( struct linkedit_data_command *lcp, struct vnode *vp, off_t macho_offset, off_t macho_size, cpu_type_t cputype, load_result_t *result) argument
1667 set_code_unprotect( struct encryption_info_command *eip, caddr_t addr, vm_map_t map, int64_t slide, struct vnode *vp, cpu_type_t cputype, cpu_subtype_t cpusubtype) argument
[all...]
/macosx-10.10/xnu-2782.1.97/libkern/kxld/
H A Dkxld_stubs.c46 KXLDFlags flags __unused, cpu_type_t cputype __unused,
H A Dkxld.c65 cpu_type_t cputype; member in struct:kxld_context
107 KXLDFlags flags, cpu_type_t cputype, cpu_subtype_t cpusubtype)
127 context->cputype = cputype;
153 context->section_order = kxld_dict_find(s_order_dict, &cputype);
170 *cputype_p = cputype;
436 context->section_order, context->cputype, context->cpusubtype, context->flags);
105 kxld_create_context(KXLDContext **_context, KXLDAllocateCallback allocate_callback, KXLDLoggingCallback logging_callback, KXLDFlags flags, cpu_type_t cputype, cpu_subtype_t cpusubtype) argument
H A Dkxld_object.c78 cpu_type_t cputype; member in struct:kxld_object
113 cpu_type_t cputype, cpu_subtype_t cpusubtype);
205 cpu_type_t cputype, cpu_subtype_t cpusubtype, KXLDFlags flags __unused)
226 rval = get_target_machine_info(object, cputype, cpusubtype);
245 object->symtab, &object->sects, object->cputype,
318 get_target_machine_info(KXLDObject *object, cpu_type_t cputype __unused,
331 object->cputype = CPU_TYPE_X86_64;
342 kKxldLogArchNotSupported, _mh_execute_header->cputype);
363 /* If the user did not specify a cputype, use the local architecture.
366 if (cputype) {
203 kxld_object_init_from_macho(KXLDObject *object, u_char *file, u_long size, const char *name, KXLDArray *section_order __unused, cpu_type_t cputype, cpu_subtype_t cpusubtype, KXLDFlags flags __unused) argument
[all...]
/macosx-10.10/xnu-2782.1.97/libkern/libkern/
H A Dkxld.h51 * cputype The target arch's CPU type (0 for host arch)
59 cpu_type_t cputype,
H A Dmkext.h71 * - cputype & cpusubtype - in version 1 could be CPU_TYPE_ANY
85 cpu_type_t cputype; \
102 #define MKEXT_GET_CPUTYPE(hdr) (MKEXT_SWAP(MKEXT_HDR_CAST(hdr)->cputype))
/macosx-10.10/xnu-2782.1.97/tools/tests/execperf/
H A Dprintexecinfo.c35 const NXArchInfo *arch = NXGetArchInfoFromCpuType(_mh_execute_header.cputype, _mh_execute_header.cpusubtype & ~CPU_SUBTYPE_MASK);
38 printf("executable cputype 0x%08x cpusubtype 0x%08x (%s:%s)\n",
39 _mh_execute_header.cputype,
/macosx-10.10/kext_tools-384.1.4/
H A Dkernelcache.c115 fatArch.cputype = OSSwapHostToBigInt32(targetArch->cputype);
295 fatArch = NXFindBestFatArch(archInfo->cputype, archInfo->cpusubtype,
335 result = NXGetArchInfoFromCpuType(machHdr->cputype,
339 result = NXGetArchInfoFromCpuType(machHdr64->cputype,
387 return ((a1->cputype == a2->cputype) && (a1->cpusubtype == a2->cpusubtype));
417 archInfo = NXGetArchInfoFromCpuType(fatArch->cputype,
578 fatArch = NXFindBestFatArch(archInfo->cputype, archInfo->cpusubtype,
698 cpu_type_t cputype local
[all...]
/macosx-10.10/WebKit-7600.1.25/mac/Plugins/
H A DWebBasePluginPackage.mm378 singleArch.cputype = header->cputype;
391 singleArch.cputype = header->cputype;
420 cpu_type_t cputype = localArch->cputype;
426 cputype = CPU_TYPE_X86_64;
429 return NXFindBestFatArch(cputype, cpusubtype, archs, numArchs) != 0;
/macosx-10.10/top-100.1.2/
H A Dpid.c39 switch (psamp->cputype) {
/macosx-10.10/Security-57031.1.35/Security/include/security_utilities/
H A Dmacho++.cpp47 : pair<cpu_type_t, cpu_subtype_t>(arch.cputype, arch.cpusubtype)
54 this->first = nxa->cputype;
269 return Architecture(flip(mHeader->cputype), flip(mHeader->cpusubtype));
482 n2hi(arch->cputype);
489 if (last_arch->cputype == (CPU_ARCH_ABI64 | CPU_TYPE_ARM)) {
561 mThinArch = Architecture(mheader.cputype, mheader.cpusubtype);
568 mThinArch = Architecture(flip(mheader.cputype), flip(mheader.cpusubtype));
669 if (arch->cputype == target.cpuType()
674 if (arch->cputype == target.cpuType() && arch->cpusubtype == 0)
678 if (arch->cputype
[all...]
/macosx-10.10/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dmacho++.cpp47 : pair<cpu_type_t, cpu_subtype_t>(arch.cputype, arch.cpusubtype)
54 this->first = nxa->cputype;
269 return Architecture(flip(mHeader->cputype), flip(mHeader->cpusubtype));
482 n2hi(arch->cputype);
489 if (last_arch->cputype == (CPU_ARCH_ABI64 | CPU_TYPE_ARM)) {
561 mThinArch = Architecture(mheader.cputype, mheader.cpusubtype);
568 mThinArch = Architecture(flip(mheader.cputype), flip(mheader.cpusubtype));
669 if (arch->cputype == target.cpuType()
674 if (arch->cputype == target.cpuType() && arch->cpusubtype == 0)
678 if (arch->cputype
[all...]
/macosx-10.10/dyld-353.2.1/launch-cache/
H A DMachOLayout.hpp291 // use matching cputype and cpusubtype
336 // must match cputype and cpusubtype
385 if ( requestedSlice(onlyArchs, OSSwapBigToHostInt32(slices[i].cputype), OSSwapBigToHostInt32(slices[i].cpusubtype)) ) {
389 i, OSSwapBigToHostInt32(slices[i].cputype), path);
393 i, OSSwapBigToHostInt32(slices[i].cputype), path);
396 switch ( OSSwapBigToHostInt32(slices[i].cputype) ) {
421 if ( (OSSwapLittleToHostInt32(mh->magic) == MH_MAGIC) && (OSSwapLittleToHostInt32(mh->cputype) == CPU_TYPE_I386)) {
422 if ( requestedSlice(onlyArchs, OSSwapLittleToHostInt32(mh->cputype), OSSwapLittleToHostInt32(mh->cpusubtype)) )
425 else if ( (OSSwapLittleToHostInt32(mh->magic) == MH_MAGIC_64) && (OSSwapLittleToHostInt32(mh->cputype) == CPU_TYPE_X86_64)) {
426 if ( requestedSlice(onlyArchs, OSSwapLittleToHostInt32(mh->cputype), OSSwapLittleToHostInt3
[all...]
/macosx-10.10/Libc-1044.1.2/gen/
H A Dnlist.c203 fat_archs[i].cputype =
204 OSSwapBigToHostInt32(fat_archs[i].cputype);
222 if (fat_archs[i].cputype == hbi.cpu_type) {
/macosx-10.10/xnu-2782.1.97/osfmk/vm/
H A Dvm_shared_region.c152 cpu_type_t cputype,
379 cpu_type_t cputype,
388 (void *)VM_KERNEL_ADDRPERM(root_dir), cputype, is_64bit));
400 if (shared_region->sr_cpu_type == cputype &&
412 cputype,
445 cputype, is_64bit,
614 cpu_type_t cputype,
628 (void *)VM_KERNEL_ADDRPERM(root_dir), cputype, is_64bit));
646 switch (cputype) {
662 cputype));
377 vm_shared_region_lookup( void *root_dir, cpu_type_t cputype, boolean_t is_64bit) argument
612 vm_shared_region_create( void *root_dir, cpu_type_t cputype, boolean_t is_64bit) argument
[all...]

Completed in 338 milliseconds

123456