Home
last modified time | relevance | path

Searched refs:cpu_subtype (Results 1 – 18 of 18) sorted by relevance

/external/google-breakpad/src/common/mac/
Darch_utilities.cc55 const NXArchInfo* ArchInfo_arm64(cpu_subtype_t cpu_subtype) { in ArchInfo_arm64() argument
57 switch (cpu_subtype) { in ArchInfo_arm64()
73 arm64->cpusubtype = cpu_subtype; in ArchInfo_arm64()
110 cpu_subtype_t cpu_subtype) { in BreakpadGetArchInfoFromCpuType() argument
112 if (cpu_type == CPU_TYPE_ARM64 && cpu_subtype == CPU_SUBTYPE_ARM64_ALL) { in BreakpadGetArchInfoFromCpuType()
113 static const NXArchInfo* arm64 = ArchInfo_arm64(cpu_subtype); in BreakpadGetArchInfoFromCpuType()
117 if (cpu_type == CPU_TYPE_ARM64 && cpu_subtype == CPU_SUBTYPE_ARM64_E) { in BreakpadGetArchInfoFromCpuType()
118 static const NXArchInfo* arm64e = ArchInfo_arm64(cpu_subtype); in BreakpadGetArchInfoFromCpuType()
123 if (cpu_type == CPU_TYPE_ARM && cpu_subtype == CPU_SUBTYPE_ARM_V7S) { in BreakpadGetArchInfoFromCpuType()
128 return NXGetArchInfoFromCpuType(cpu_type, cpu_subtype); in BreakpadGetArchInfoFromCpuType()
Dmacho_id.cc155 cpu_subtype_t cpu_subtype, in UUIDCommand() argument
159 if (!WalkHeader(cpu_type, cpu_subtype, UUIDWalkerCB, &uuid_cmd)) in UUIDCommand()
173 cpu_subtype_t cpu_subtype, in IDCommand() argument
177 if (!WalkHeader(cpu_type, cpu_subtype, IDWalkerCB, &dylib_cmd)) in IDCommand()
215 uint32_t MachoID::Adler32(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) { in Adler32() argument
219 if (!WalkHeader(cpu_type, cpu_subtype, WalkerCB, this)) in Adler32()
225 bool MachoID::MD5(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype, unsigned char identifier[16]) { in MD5() argument
230 if (!WalkHeader(cpu_type, cpu_subtype, WalkerCB, this)) in MD5()
238 cpu_subtype_t cpu_subtype, in WalkHeader() argument
243 return walker.WalkHeader(cpu_type, cpu_subtype); in WalkHeader()
[all …]
Dmacho_id.h56 cpu_subtype_t cpu_subtype,
63 cpu_subtype_t cpu_subtype,
70 cpu_subtype_t cpu_subtype);
76 cpu_subtype_t cpu_subtype,
95 bool WalkHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype,
Dmacho_walker.cc80 bool MachoWalker::WalkHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) { in WalkHeader() argument
82 cpu_subtype_t valid_cpu_subtype = cpu_subtype; in WalkHeader()
130 cpu_subtype_t cpu_subtype, in FindHeader() argument
160 (cpu_subtype != CPU_SUBTYPE_MULTIPLE && in FindHeader()
161 cpu_subtype != header.cpusubtype)) { in FindHeader()
189 (cpu_subtype == CPU_SUBTYPE_MULTIPLE || in FindHeader()
190 arch.cpusubtype == cpu_subtype)) { in FindHeader()
Dfile_id.cc75 cpu_subtype_t cpu_subtype, in MachoIdentifier() argument
79 if (macho.UUIDCommand(cpu_type, cpu_subtype, identifier)) in MachoIdentifier()
82 return macho.MD5(cpu_type, cpu_subtype, identifier); in MachoIdentifier()
Ddump_syms.cc213 cpu_subtype_t cpu_subtype) { in SetArchitecture() argument
216 cpu_type, cpu_subtype); in SetArchitecture()
235 cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) { in FindBestMatchForArchitecture() argument
255 = NXFindBestFatArch(cpu_type, cpu_subtype, &fat_arch_vector[0], in FindBestMatchForArchitecture()
271 static_cast<cpu_subtype_t>(it->cpusubtype) == cpu_subtype) in FindBestMatchForArchitecture()
281 "larger than 2**32.\n", cpu_type, cpu_subtype); in FindBestMatchForArchitecture()
289 cpu_subtype_t cpu_subtype = selected_object_file_->cpusubtype; in Identifier() local
290 if (!file_id.MachoIdentifier(cpu_type, cpu_subtype, identifier_bytes)) { in Identifier()
510 macho_reader.cpu_type(), macho_reader.cpu_subtype()); in ReadCFI()
517 macho_reader.cpu_type(), macho_reader.cpu_subtype()); in ReadCFI()
Dmacho_walker.h67 bool WalkHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype);
79 cpu_subtype_t cpu_subtype,
Ddump_syms.h84 bool SetArchitecture(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype);
134 cpu_type_t cpu_type, cpu_subtype_t cpu_subtype);
Dmacho_reader.h258 cpu_subtype_t cpu_subtype,
389 cpu_subtype_t cpu_subtype() const { return cpu_subtype_; } in cpu_subtype() function
Darch_utilities.h43 cpu_subtype_t cpu_subtype);
Dfile_id.h64 cpu_subtype_t cpu_subtype,
Dmacho_reader_unittest.cc90 cpu_subtype_t cpu_subtype,
715 cpu_subtype_t cpu_subtype = CPU_SUBTYPE_I386_ALL, in Header() argument
722 D32(cpu_subtype); // cpu subtype in Header()
886 EXPECT_EQ(kCPUSubType, reader.cpu_subtype()); in TEST_F()
909 EXPECT_EQ(kCPUSubType, reader.cpu_subtype()); in TEST_F()
932 EXPECT_EQ(kCPUSubType, reader.cpu_subtype()); in TEST_F()
955 EXPECT_EQ(kCPUSubType, reader.cpu_subtype()); in TEST_F()
998 EXPECT_EQ(CPU_SUBTYPE_I386_ALL, reader.cpu_subtype()); in TEST_F()
1024 EXPECT_EQ(CPU_SUBTYPE_I386_ALL, reader.cpu_subtype()); in TEST_F()
Dmacho_reader.cc165 cpu_subtype_t cpu_subtype, in CPUTypeMismatch() argument
170 filename_.c_str(), cpu_type, cpu_subtype, in CPUTypeMismatch()
/external/google-breakpad/src/tools/mac/upload_system_symbols/
Darch_constants.h57 const char* GetNXArchInfoName(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) { in GetNXArchInfoName() argument
58 const NXArchInfo* arch_info = NXGetArchInfoFromCpuType(cpu_type, cpu_subtype); in GetNXArchInfoName()
/external/google-breakpad/src/tools/mac/dump_syms/
Dmacho_dump.cc175 reader.cpu_subtype()); in DumpFile()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DHost.cpp1186 switch (hostInfo.cpu_subtype) { in getHostCPUName()
1253 switch (hostInfo.cpu_subtype) { in getHostCPUName()
/external/llvm/lib/Support/
DHost.cpp920 switch (hostInfo.cpu_subtype) { in getHostCPUName()
/external/rust/crates/libc/src/unix/bsd/apple/
Dmod.rs1160 pub cpu_subtype: cpu_subtype_t,
1947 && self.cpu_subtype == other.cpu_subtype
1958 .field("cpu_subtype", &self.cpu_subtype)
1968 self.cpu_subtype.hash(state);