/external/valgrind/coregrind/ |
D | launcher-darwin.c | 58 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 …]
|
D | fixup_macho_loadcmds.c | 298 Int cputype; in map_image_aboard() local 300 cputype = CPU_TYPE_X86; in map_image_aboard() 302 cputype = CPU_TYPE_X86_64; in map_image_aboard() 306 arch.cputype = ntohl(arch_be->cputype); in map_image_aboard() 310 if (arch.cputype == cputype) { in map_image_aboard()
|
/external/llvm/test/tools/llvm-objdump/X86/ |
D | macho-universal-x86_64.i386.test | 34 FAT: cputype CPU_TYPE_X86_64 41 FAT: cputype CPU_TYPE_I386 52 NON-VERBOSE: cputype 16777223 59 NON-VERBOSE: cputype 7
|
D | macho-private-headers.test | 26 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/lldb/tools/debugserver/source/MacOSX/ |
D | MachVMMemory.h | 31 …ataScanType scanType, task_t task, struct task_basic_info ti, cpu_type_t cputype, nub_process_t pi… 38 …void GetMemorySizes(task_t task, cpu_type_t cputype, nub_process_t pid, mach_vm_size_t &rpr…
|
D | MachVMMemory.cpp | 340 MachVMMemory::GetMemorySizes(task_t task, cpu_type_t cputype, nub_process_t pid, mach_vm_size_t &rp… in GetMemorySizes() argument 359 if (InSharedRegion(addr, cputype)) in GetMemorySizes() 516 …ataScanType scanType, task_t task, struct task_basic_info ti, cpu_type_t cputype, nub_process_t pi… in GetMemoryProfile() argument 528 GetMemorySizes(task, cputype, pid, rprvt, vprvt); in GetMemoryProfile()
|
/external/google-breakpad/src/common/mac/ |
D | macho_walker.cc | 89 valid_cpu_type = arch->cputype; in WalkHeader() 161 if (cpu_type != header.cputype || in FindHeader() 190 if (arch.cputype == cpu_type && in FindHeader()
|
D | macho_utilities.cc | 65 mh->cputype = ByteSwap(mh->cputype); in breakpad_swap_mach_header_64()
|
D | arch_utilities.cc | 63 arm64->cputype = CPU_TYPE_ARM64; in ArchInfo_arm64()
|
D | macho_reader_unittest.cc | 308 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()
|
D | dump_syms.mm | 205 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,
|
D | macho_reader.cc | 107 cursor >> objfile->cputype in Read() 135 if (!(cursor >> object_files_[0].cputype in Read()
|
/external/llvm/include/llvm/Object/ |
D | MachOUniversal.h | 54 uint32_t getCPUType() const { return Header.cputype; } in getCPUType() 60 Triple T = MachOObjectFile::getArch(Header.cputype, Header.cpusubtype); in getArchTypeName()
|
/external/lldb/source/Host/common/ |
D | Host.cpp | 305 uint32_t cputype, cpusubtype; in GetArchitecture() local 307 size_t len = sizeof(cputype); in GetArchitecture() 311 if (::sysctlbyname("hw.cputype", &cputype, &len, NULL, 0) == 0) in GetArchitecture() 330 if (cputype & CPU_ARCH_ABI64) in GetArchitecture() 333 … g_host_arch_32.SetArchitecture (eArchTypeMachO, ~(CPU_ARCH_MASK) & cputype, cpusubtype); in GetArchitecture() 334 g_host_arch_64.SetArchitecture (eArchTypeMachO, cputype, cpusubtype); in GetArchitecture() 339 g_host_arch_32.SetArchitecture (eArchTypeMachO, cputype, cpusubtype); in GetArchitecture() 340 cputype |= CPU_ARCH_ABI64; in GetArchitecture() 341 g_host_arch_64.SetArchitecture (eArchTypeMachO, cputype, cpusubtype); in GetArchitecture() 346 g_host_arch_32.SetArchitecture (eArchTypeMachO, cputype, cpusubtype); in GetArchitecture()
|
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/ |
D | DynamicLoaderMacOSXDYLD.h | 229 if (header.cputype) in GetAddressByteSize() 231 if (header.cputype & llvm::MachO::CPUArchABI64) in GetAddressByteSize() 245 … return lldb_private::ArchSpec (lldb_private::eArchTypeMachO, header.cputype, header.cpusubtype); in GetArchitecture()
|
/external/valgrind/coregrind/m_debuginfo/ |
D | readmacho.c | 198 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/ |
D | breakpad_nlist_64.cc | 235 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/ |
D | macho_dump.cc | 148 file.cputype, file.cpusubtype); in DumpFile() 165 if (!reader.Read(file_contents, file.cputype, file.cpusubtype)) { in DumpFile()
|
D | dump_syms_tool.mm | 124 if (!dump_symbols.SetArchitecture(options.arch->cputype, 139 arch->cputype, arch->cpusubtype); 144 arch->cputype, arch->cpusubtype);
|
/external/valgrind/coregrind/m_ume/ |
D | macho.c | 750 arch.cputype, (ULong)arch_offset); in load_fat_file() 754 arch.cputype = VG_(ntohl)(arch.cputype); in load_fat_file() 759 if (arch.cputype == good_arch) { in load_fat_file()
|
/external/lldb/tools/debugserver/source/ |
D | RNBRemote.cpp | 3897 uint32_t cputype, is_64_bit_capable; in HandlePacket_qHostInfo() local 3898 size_t len = sizeof(cputype); in HandlePacket_qHostInfo() 3900 if (::sysctlbyname("hw.cputype", &cputype, &len, NULL, 0) == 0) in HandlePacket_qHostInfo() 3905 if (is_64_bit_capable && ((cputype & CPU_ARCH_ABI64) == 0)) in HandlePacket_qHostInfo() 3908 cputype |= CPU_ARCH_ABI64; in HandlePacket_qHostInfo() 3912 strm << "cputype:" << std::dec << cputype << ';'; in HandlePacket_qHostInfo() 3920 cputype == CPU_TYPE_X86_64 && in HandlePacket_qHostInfo() 3930 if (cputype == CPU_TYPE_ARM) in HandlePacket_qHostInfo() 4006 cpu_type_t cputype = DNBProcessGetCPUType (pid); in HandlePacket_qProcessInfo() local 4007 if (cputype == 0) in HandlePacket_qProcessInfo() [all …]
|
/external/lldb/source/Plugins/Process/mach-core/ |
D | ProcessMachCore.cpp | 153 header.cputype = llvm::ByteSwap_32(header.cputype); in GetDynamicLoaderAddress()
|
/external/llvm/tools/llvm-objdump/ |
D | MachODump.cpp | 335 uint32_t cputype = O->getHeader().cputype; in PrintIndirectSymbolTable() local 336 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable() 345 if (cputype & MachO::CPU_ARCH_ABI64) in PrintIndirectSymbolTable() 985 uint32_t cputype = O->getHeader().cputype; in DumpRawSectionContents() local 986 if (cputype == MachO::CPU_TYPE_I386 || cputype == MachO::CPU_TYPE_X86_64) { in DumpRawSectionContents() 1173 T = MachOObjectFile::getArch(H_64.cputype, H_64.cpusubtype); in checkMachOAndArchFlags() 1176 T = MachOObjectFile::getArch(H.cputype, H.cpusubtype); in checkMachOAndArchFlags() 1260 static void printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) { in printUnknownCPUType() argument 1261 outs() << " cputype (" << cputype << ")\n"; in printUnknownCPUType() 1267 static void printCPUType(uint32_t cputype, uint32_t cpusubtype) { in printCPUType() argument [all …]
|
/external/libvpx/libvpx/build/make/ |
D | obj_int_extract.c | 87 if (header.cputype == CPU_TYPE_ARM in parse_macho() 88 || header.cputype == CPU_TYPE_X86) { in parse_macho() 96 if (header.cputype == CPU_TYPE_X86_64) { in parse_macho()
|
/external/lldb/source/Plugins/ObjectFile/Mach-O/ |
D | ObjectFileMachO.cpp | 524 header.cputype, in GetModuleSpecifications() 667 data.GetU32(data_offset_ptr, &header.cputype, 6); in ParseHeader() 723 m_data.GetU32(&offset, &m_header.cputype, 6); in ParseHeader() 725 ArchSpec mach_arch(eArchTypeMachO, m_header.cputype, m_header.cpusubtype); in ParseHeader() 802 if (m_header.cputype == llvm::MachO::CPUTypeARM) in GetAddressClass() 860 if (m_header.cputype == llvm::MachO::CPUTypeARM) in GetAddressClass() 1705 const bool is_arm = (m_header.cputype == llvm::MachO::CPUTypeARM); in ParseSymtab() 1805 ArchSpec header_arch(eArchTypeMachO, m_header.cputype, m_header.cpusubtype); in ParseSymtab() 3671 ArchSpec header_arch(eArchTypeMachO, m_header.cputype, m_header.cpusubtype); in Dump() 3850 switch (m_header.cputype) in GetEntryPointAddress() [all …]
|