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

123

/external/valgrind/coregrind/
H A Dlauncher-darwin.c58 cpu_type_t cputype; member in struct:__anon15855
74 static const char *name_for_cputype(cpu_type_t cputype) argument
78 if (valid_archs[i].cputype == cputype) {
133 static int fat_has_cputype(struct fat_header *fh, cpu_type_t cputype) argument
139 if (ntohl(fa[i].cputype) == cputype) return 1;
166 return name_for_cputype(mh->cputype);
168 return name_for_cputype(OSSwapInt32(mh->cputype));
181 return name_for_cputype(ntohl(fa->cputype));
[all...]
H A Dfixup_macho_loadcmds.c298 Int cputype; local
300 cputype = CPU_TYPE_X86;
302 cputype = CPU_TYPE_X86_64;
306 arch.cputype = ntohl(arch_be->cputype);
310 if (arch.cputype == cputype) {
/external/lldb/tools/debugserver/source/MacOSX/
H A DMachVMMemory.h31 nub_bool_t GetMemoryProfile(DNBProfileDataScanType scanType, task_t task, struct task_basic_info ti, cpu_type_t cputype, nub_process_t pid, vm_statistics_data_t &vm_stats, uint64_t &physical_memory, mach_vm_size_t &rprvt, mach_vm_size_t &rsize, mach_vm_size_t &vprvt, mach_vm_size_t &vsize, mach_vm_size_t &dirty_size, mach_vm_size_t &purgable, mach_vm_size_t &anonymous);
38 void GetMemorySizes(task_t task, cpu_type_t cputype, nub_process_t pid, mach_vm_size_t &rprvt, mach_vm_size_t &vprvt);
H A DMachVMMemory.cpp340 MachVMMemory::GetMemorySizes(task_t task, cpu_type_t cputype, nub_process_t pid, mach_vm_size_t &rprvt, mach_vm_size_t &vprvt) argument
359 if (InSharedRegion(addr, cputype))
516 MachVMMemory::GetMemoryProfile(DNBProfileDataScanType scanType, task_t task, struct task_basic_info ti, cpu_type_t cputype, nub_process_t pid, vm_statistics_data_t &vm_stats, uint64_t &physical_memory, mach_vm_size_t &rprvt, mach_vm_size_t &rsize, mach_vm_size_t &vprvt, mach_vm_size_t &vsize, mach_vm_size_t &dirty_size, mach_vm_size_t &purgeable, mach_vm_size_t &anonymous) argument
528 GetMemorySizes(task, cputype, pid, rprvt, vprvt);
/external/llvm/include/llvm/Object/
H A DMachOUniversal.h54 uint32_t getCPUType() const { return Header.cputype; }
60 Triple T = MachOObjectFile::getArch(Header.cputype, Header.cpusubtype);
/external/google-breakpad/src/common/mac/
H A Dmacho_utilities.cc65 mh->cputype = ByteSwap(mh->cputype);
H A Darch_utilities.cc63 arm64->cputype = CPU_TYPE_ARM64;
H A Dmacho_walker.cc89 valid_cpu_type = arch->cputype;
161 if (cpu_type != header.cputype ||
190 if (arch.cputype == cpu_type &&
H A Dmacho_reader.cc107 cursor >> objfile->cputype
135 if (!(cursor >> object_files_[0].cputype
H A Dmacho_reader_unittest.cc310 EXPECT_EQ(0x5e3a6e91, object_files[0].cputype);
342 EXPECT_EQ(0x0cb92c30, object_files[0].cputype);
349 EXPECT_EQ(0x0f3f1cbb, object_files[1].cputype);
356 EXPECT_EQ(0x3717276d, object_files[2].cputype);
379 EXPECT_EQ(0x1a9d0518, object_files[0].cputype);
401 EXPECT_EQ(0x5aff8487, object_files[0].cputype);
423 EXPECT_EQ(0x1a9d0518, object_files[0].cputype);
445 EXPECT_EQ(0x5aff8487, object_files[0].cputype);
/external/google-breakpad/src/tools/mac/dump_syms/
H A Dmacho_dump.cc148 file.cputype, file.cpusubtype);
165 if (!reader.Read(file_contents, file.cputype, file.cpusubtype)) {
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderMacOSXDYLD.h229 if (header.cputype)
231 if (header.cputype & llvm::MachO::CPUArchABI64)
245 return lldb_private::ArchSpec (lldb_private::eArchTypeMachO, header.cputype, header.cpusubtype);
/external/lldb/source/Host/common/
H A DHost.cpp305 uint32_t cputype, cpusubtype; local
307 size_t len = sizeof(cputype);
311 if (::sysctlbyname("hw.cputype", &cputype, &len, NULL, 0) == 0)
330 if (cputype & CPU_ARCH_ABI64)
333 g_host_arch_32.SetArchitecture (eArchTypeMachO, ~(CPU_ARCH_MASK) & cputype, cpusubtype);
334 g_host_arch_64.SetArchitecture (eArchTypeMachO, cputype, cpusubtype);
339 g_host_arch_32.SetArchitecture (eArchTypeMachO, cputype, cpusubtype);
340 cputype |= CPU_ARCH_ABI64;
341 g_host_arch_64.SetArchitecture (eArchTypeMachO, cputype, cpusubtyp
[all...]
/external/google-breakpad/src/client/mac/handler/
H A Dbreakpad_nlist_64.cc235 fat_archs[i].cputype =
236 CFSwapInt32BigToHost(fat_archs[i].cputype);
249 if (fat_archs[i].cputype == cpu_type) {
/external/valgrind/coregrind/m_debuginfo/
H A Dreadmacho.c198 Int cputype = CPU_TYPE_POWERPC; local
200 Int cputype = CPU_TYPE_POWERPC64BE;
202 Int cputype = CPU_TYPE_POWERPC64LE;
204 Int cputype = CPU_TYPE_X86;
206 Int cputype = CPU_TYPE_X86_64;
214 arch.cputype = VG_(ntohl)(arch_be.cputype);
218 if (arch.cputype == cputype) {
/external/llvm/lib/Object/
H A DMachOUniversal.cpp36 sys::swapByteOrder(H.cputype);
/external/valgrind/coregrind/m_ume/
H A Dmacho.c750 arch.cputype, (ULong)arch_offset);
754 arch.cputype = VG_(ntohl)(arch.cputype);
759 if (arch.cputype == good_arch) {
/external/lldb/source/Plugins/Process/mach-core/
H A DProcessMachCore.cpp153 header.cputype = llvm::ByteSwap_32(header.cputype);
/external/llvm/tools/llvm-objdump/
H A DMachODump.cpp335 uint32_t cputype = O->getHeader().cputype; local
336 if (cputype & MachO::CPU_ARCH_ABI64)
345 if (cputype & MachO::CPU_ARCH_ABI64)
985 uint32_t cputype = O->getHeader().cputype; local
986 if (cputype == MachO::CPU_TYPE_I386 || cputype == MachO::CPU_TYPE_X86_64) {
1173 T = MachOObjectFile::getArch(H_64.cputype, H_64.cpusubtype);
1176 T = MachOObjectFile::getArch(H.cputype,
1260 printUnknownCPUType(uint32_t cputype, uint32_t cpusubtype) argument
1267 printCPUType(uint32_t cputype, uint32_t cpusubtype) argument
1386 uint32_t cputype = OFA.getCPUType(); local
6860 PrintMachHeader(uint32_t magic, uint32_t cputype, uint32_t cpusubtype, uint32_t filetype, uint32_t ncmds, uint32_t sizeofcmds, uint32_t flags, bool verbose) argument
8099 PrintThreadCommand(MachO::thread_command t, const char *Ptr, bool isLittleEndian, uint32_t cputype) argument
8363 PrintLoadCommands(const MachOObjectFile *Obj, uint32_t ncmds, uint32_t filetype, uint32_t cputype, bool verbose) argument
8497 getAndPrintMachHeader(const MachOObjectFile *Obj, uint32_t &ncmds, uint32_t &filetype, uint32_t &cputype, bool verbose) argument
8523 uint32_t cputype = 0; local
[all...]
/external/lldb/source/Plugins/ObjectContainer/Universal-Mach-O/
H A DObjectContainerUniversalMachO.cpp201 arch.SetArchitecture (eArchTypeMachO, m_fat_archs[idx].cputype, m_fat_archs[idx].cpusubtype);
/external/llvm/include/llvm/Support/
H A DMachO.h538 uint32_t cputype; member in struct:llvm::MachO::mach_header
548 uint32_t cputype; member in struct:llvm::MachO::mach_header_64
935 uint32_t cputype; member in struct:llvm::MachO::fat_arch
1003 sys::swapByteOrder(mh.cputype);
1013 sys::swapByteOrder(H.cputype);
1312 // Constants for the cputype field.
/external/lldb/tools/debugserver/source/
H A DRNBRemote.cpp3897 uint32_t cputype, is_64_bit_capable; local
3898 size_t len = sizeof(cputype);
3900 if (::sysctlbyname("hw.cputype", &cputype, &len, NULL, 0) == 0)
3905 if (is_64_bit_capable && ((cputype & CPU_ARCH_ABI64) == 0))
3908 cputype |= CPU_ARCH_ABI64;
3912 strm << "cputype:" << std::dec << cputype << ';'; local
3920 cputype == CPU_TYPE_X86_64 &&
3930 if (cputype
4006 cpu_type_t cputype = DNBProcessGetCPUType (pid); local
4015 rep << "cputype:" << std::hex << cputype << ";"; local
[all...]
/external/lldb/source/Host/macosx/
H A DSymbols.cpp74 const uint32_t cputype = data.GetU32(&data_offset); // cpu specifier local
84 ArchSpec file_arch(eArchTypeMachO, cputype, cpusubtype);
/external/llvm/tools/llvm-readobj/
H A DMachODumper.cpp354 W.printEnum("CpuType", Header.cputype, makeArrayRef(MachOHeaderCpuTypes));
356 switch (Header.cputype) {
/external/lldb/source/Plugins/ObjectFile/Mach-O/
H A DObjectFileMachO.cpp524 header.cputype,
667 data.GetU32(data_offset_ptr, &header.cputype, 6);
723 m_data.GetU32(&offset, &m_header.cputype, 6);
725 ArchSpec mach_arch(eArchTypeMachO, m_header.cputype, m_header.cpusubtype);
802 if (m_header.cputype == llvm::MachO::CPUTypeARM)
860 if (m_header.cputype == llvm::MachO::CPUTypeARM)
1705 const bool is_arm = (m_header.cputype == llvm::MachO::CPUTypeARM);
1805 ArchSpec header_arch(eArchTypeMachO, m_header.cputype, m_header.cpusubtype);
3671 ArchSpec header_arch(eArchTypeMachO, m_header.cputype, m_header.cpusubtype);
3850 switch (m_header.cputype)
[all...]

Completed in 2263 milliseconds

123