Home
last modified time | relevance | path

Searched refs:cputype (Results 1 – 25 of 60) 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/test/tools/llvm-objdump/X86/
Dmacho-universal-x86_64.i386.test34 FAT: cputype CPU_TYPE_X86_64
41 FAT: cputype CPU_TYPE_I386
52 NON-VERBOSE: cputype 16777223
59 NON-VERBOSE: cputype 7
Dmacho-private-headers.test26 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
122 EXE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
446 FATi386: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
450 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/llvm/include/llvm/Object/
DMachOUniversal.h54 uint32_t getCPUType() const { return Header.cputype; } in getCPUType()
60 Triple T = MachOObjectFile::getArch(Header.cputype, Header.cpusubtype); in getArchTypeName()
/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/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/tools/llvm-objdump/
DMachODump.cpp314 uint32_t cputype = O->getHeader().cputype; in PrintIndirectSymbolTable() local
315 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable()
324 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable()
947 uint32_t cputype = O->getHeader().cputype; in DumpRawSectionContents() local
948 if (cputype == MachO::CPU_TYPE_I386 || cputype == MachO::CPU_TYPE_X86_64) { in DumpRawSectionContents()
1130 T = MachOObjectFile::getArch(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags()
1133 T = MachOObjectFile::getArch(H.cputype, H.cpusubtype); in checkMachOAndArchFlags()
1216 static void printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) { in printUnknownCPUType() argument
1217 outs() << " cputype (" << cputype << ")\n"; in printUnknownCPUType()
1223 static void printCPUType(uint32_t cputype, uint32_t cpusubtype) { in printCPUType() argument
[all …]
/external/llvm/lib/Object/
DMachOUniversal.cpp36 sys::swapByteOrder(H.cputype); in SwapStruct()
/external/llvm/include/llvm/Support/
DMachO.h536 uint32_t cputype; member
546 uint32_t cputype; member
931 uint32_t cputype; member
998 sys::swapByteOrder(mh.cputype); in swapStruct()
1008 sys::swapByteOrder(H.cputype); in swapStruct()
/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
/external/llvm/test/tools/llvm-objdump/ARM/
Dmacho-private-headers.test6 CHECK: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
128 EXE: magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
/external/llvm/tools/llvm-size/
Dllvm-size.cpp394 T = MachOObjectFile::getArch(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags()
397 T = MachOObjectFile::getArch(H.cputype, H.cpusubtype); in checkMachOAndArchFlags()
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp398 W.printEnum("CpuType", Header.cputype, makeArrayRef(MachOHeaderCpuTypes)); in printFileHeaders()
400 switch (Header.cputype) { in printFileHeaders()
/external/libunwind/aux/
Dconfig.guess1088 if test "$cputype" = "386"; then
1091 UNAME_MACHINE="$cputype"
/external/netperf/
Dconfig.guess1223 if test "$cputype" = "386"; then
1226 UNAME_MACHINE="$cputype"

123