Home
last modified time | relevance | path

Searched refs:cputype (Results 1 – 25 of 75) sorted by relevance

123

/external/valgrind/coregrind/
Dlauncher-darwin.c58 cpu_type_t cputype; member
74 static const char *name_for_cputype(cpu_type_t cputype) in name_for_cputype() argument
78 if (valid_archs[i].cputype == cputype) { in name_for_cputype()
133 static int fat_has_cputype(struct fat_header *fh, cpu_type_t cputype) in fat_has_cputype() argument
139 if (ntohl(fa[i].cputype) == cputype) return 1; in fat_has_cputype()
166 return name_for_cputype(mh->cputype); in select_arch()
168 return name_for_cputype(OSSwapInt32(mh->cputype)); in select_arch()
181 return name_for_cputype(ntohl(fa->cputype)); in select_arch()
190 if (fat_has_cputype(fh, valid_archs[i].cputype)) { in select_arch()
306 if (!valid_archs[i].cputype) continue; in main()
[all …]
Dfixup_macho_loadcmds.c299 Int cputype; in map_image_aboard() local
301 cputype = CPU_TYPE_X86; in map_image_aboard()
303 cputype = CPU_TYPE_X86_64; in map_image_aboard()
307 arch.cputype = ntohl(arch_be->cputype); in map_image_aboard()
311 if (arch.cputype == cputype) { in map_image_aboard()
/external/llvm/include/llvm/Object/
DMachOUniversal.h58 return Header.cputype; in getCPUType()
60 return Header64.cputype; in getCPUType()
95 MachOObjectFile::getArchTriple(Header.cputype, Header.cpusubtype); in getArchTypeName()
99 MachOObjectFile::getArchTriple(Header64.cputype, in getArchTypeName()
/external/ImageMagick/m4/
Dax_gcc_archflag.m4166cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /va…
167cputype=`echo "$cputype" | tr -d ' -' | $SED 's/SPARCIIi/SPARCII/' |tr $as_cr_LETTERS $as_cr_lette…
168 case $cputype in
189cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | $SED 's/ //g') ; /usr/…
190 cputype=`echo $cputype | $SED -e 's/ppc//g;s/ *//g'`
191 case $cputype in
193 *740[[0-9]]*) ax_gcc_arch="$cputype 7400 G4" ;;
194 *74[[4-5]][[0-9]]*) ax_gcc_arch="$cputype 7450 G4" ;;
195 *74[[0-9]][[0-9]]*) ax_gcc_arch="$cputype G4" ;;
199 603ev|8240) ax_gcc_arch="$cputype 603e 603";;
[all …]
/external/llvm/test/tools/llvm-objdump/X86/
Dmacho-universal-x86_64.i386.test36 FAT: cputype CPU_TYPE_X86_64
43 FAT: cputype CPU_TYPE_I386
54 NON-VERBOSE: cputype 16777223
61 NON-VERBOSE: cputype 7
Dmacho-private-header.test4 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
Dmacho-private-headers.test28 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
124 EXE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
448 FATi386: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
452 NON_VERBOSE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
/external/google-breakpad/src/common/mac/
Dmacho_walker.cc89 valid_cpu_type = arch->cputype; in WalkHeader()
161 if (cpu_type != header.cputype || in FindHeader()
190 if (arch.cputype == cpu_type && in FindHeader()
Dmacho_utilities.cc65 mh->cputype = ByteSwap(mh->cputype); in breakpad_swap_mach_header_64()
Darch_utilities.cc63 arm64->cputype = CPU_TYPE_ARM64; in ArchInfo_arm64()
Dmacho_reader_unittest.cc308 EXPECT_EQ(0x5e3a6e91, object_files[0].cputype); in TEST_F()
340 EXPECT_EQ(0x0cb92c30, object_files[0].cputype); in TEST_F()
347 EXPECT_EQ(0x0f3f1cbb, object_files[1].cputype); in TEST_F()
354 EXPECT_EQ(0x3717276d, object_files[2].cputype); in TEST_F()
377 EXPECT_EQ(0x1a9d0518, object_files[0].cputype); in TEST_F()
399 EXPECT_EQ(0x5aff8487, object_files[0].cputype); in TEST_F()
421 EXPECT_EQ(0x1a9d0518, object_files[0].cputype); in TEST_F()
443 EXPECT_EQ(0x5aff8487, object_files[0].cputype); in TEST_F()
Ddump_syms.mm205 arch_set = SetArchitecture(arch_info->cputype, arch_info->cpusubtype);
213 cpu_type_t cpu_type = selected_object_file_->cputype;
474 if (!SetArchitecture(local_arch->cputype, local_arch->cpusubtype)) {
491 selected_object_file_->cputype, selected_object_file_->cpusubtype);
526 selected_object_file_->cputype,
Dmacho_reader.cc107 cursor >> objfile->cputype in Read()
135 if (!(cursor >> object_files_[0].cputype in Read()
/external/valgrind/coregrind/m_debuginfo/
Dreadmacho.c198 Int cputype = CPU_TYPE_POWERPC; in map_image_aboard() local
200 Int cputype = CPU_TYPE_POWERPC64BE; in map_image_aboard()
202 Int cputype = CPU_TYPE_POWERPC64LE; in map_image_aboard()
204 Int cputype = CPU_TYPE_X86; in map_image_aboard()
206 Int cputype = CPU_TYPE_X86_64; in map_image_aboard()
214 arch.cputype = VG_(ntohl)(arch_be.cputype); in map_image_aboard()
218 if (arch.cputype == cputype) { in map_image_aboard()
/external/google-breakpad/src/client/mac/handler/
Dbreakpad_nlist_64.cc235 fat_archs[i].cputype = in __breakpad_fdnlist()
236 CFSwapInt32BigToHost(fat_archs[i].cputype); in __breakpad_fdnlist()
249 if (fat_archs[i].cputype == cpu_type) { in __breakpad_fdnlist()
/external/google-breakpad/src/tools/mac/dump_syms/
Dmacho_dump.cc148 file.cputype, file.cpusubtype); in DumpFile()
165 if (!reader.Read(file_contents, file.cputype, file.cpusubtype)) { in DumpFile()
Ddump_syms_tool.mm124 if (!dump_symbols.SetArchitecture(options.arch->cputype,
139 arch->cputype, arch->cpusubtype);
144 arch->cputype, arch->cpusubtype);
/external/llvm/include/llvm/Support/
DMachO.h494 uint32_t cputype; member
504 uint32_t cputype; member
889 uint32_t cputype; member
897 uint32_t cputype; member
969 sys::swapByteOrder(mh.cputype); in swapStruct()
977 sys::swapByteOrder(mh.cputype); in swapStruct()
987 sys::swapByteOrder(mh.cputype); in swapStruct()
997 sys::swapByteOrder(H.cputype); in swapStruct()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DMachO.h281 uint32_t cputype; member
291 uint32_t cputype; member
625 uint32_t cputype; member
/external/llvm/tools/yaml2obj/
Dyaml2macho.cpp78 Header.cputype = Obj.Header.cputype; in writeHeader()
481 FatArch.cputype = Arch.cputype; in constructFatArch()
/external/valgrind/coregrind/m_ume/
Dmacho.c754 arch.cputype, (ULong)arch_offset); in load_fat_file()
758 arch.cputype = VG_(ntohl)(arch.cputype); in load_fat_file()
763 if (arch.cputype == good_arch) { in load_fat_file()
/external/llvm/include/llvm/ObjectYAML/
DMachOYAML.h42 llvm::yaml::Hex32 cputype; member
118 llvm::yaml::Hex32 cputype; member
/external/llvm/tools/obj2yaml/
Dmacho2yaml.cpp171 Y->Header.cputype = Obj.getHeader().cputype; in dumpHeader()
487 arch.cputype = Slice.getCPUType(); in macho2yaml()
/external/llvm/tools/llvm-objdump/
DMachODump.cpp350 uint32_t cputype = O->getHeader().cputype; in PrintIndirectSymbolTable() local
351 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable()
360 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable()
1006 uint32_t cputype = O->getHeader().cputype; in DumpRawSectionContents() local
1007 if (cputype == MachO::CPU_TYPE_I386 || cputype == MachO::CPU_TYPE_X86_64) { in DumpRawSectionContents()
1202 T = MachOObjectFile::getArchTriple(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags()
1205 T = MachOObjectFile::getArchTriple(H.cputype, H.cpusubtype); in checkMachOAndArchFlags()
1300 static void printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) { in printUnknownCPUType() argument
1301 outs() << " cputype (" << cputype << ")\n"; in printUnknownCPUType()
1307 static void printCPUType(uint32_t cputype, uint32_t cpusubtype) { in printCPUType() argument
[all …]
/external/llvm/test/tools/llvm-objdump/AArch64/
Dmacho-private-headers.test6 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
81 EXE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags

123