Home
last modified time | relevance | path

Searched refs:cpu_type (Results 1 – 25 of 27) sorted by relevance

12

/external/google-breakpad/src/common/mac/
Dmacho_id.cc156 bool MachoID::UUIDCommand(cpu_type_t cpu_type, in UUIDCommand() argument
161 if (!WalkHeader(cpu_type, cpu_subtype, UUIDWalkerCB, &uuid_cmd)) in UUIDCommand()
174 bool MachoID::IDCommand(cpu_type_t cpu_type, in IDCommand() argument
179 if (!WalkHeader(cpu_type, cpu_subtype, IDWalkerCB, &dylib_cmd)) in IDCommand()
206 identifier[12] = (cpu_type >> 24) & 0xFF; in IDCommand()
207 identifier[13] = (cpu_type >> 16) & 0xFF; in IDCommand()
208 identifier[14] = (cpu_type >> 8) & 0xFF; in IDCommand()
209 identifier[15] = cpu_type & 0xFF; in IDCommand()
217 uint32_t MachoID::Adler32(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) { in Adler32() argument
221 if (!WalkHeader(cpu_type, cpu_subtype, WalkerCB, this)) in Adler32()
[all …]
Dmacho_id.h55 bool UUIDCommand(cpu_type_t cpu_type,
62 bool IDCommand(cpu_type_t cpu_type,
69 uint32_t Adler32(cpu_type_t cpu_type,
75 bool MD5(cpu_type_t cpu_type,
95 bool WalkHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype,
Dmacho_walker.cc82 bool MachoWalker::WalkHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) { in WalkHeader() argument
83 cpu_type_t valid_cpu_type = cpu_type; in WalkHeader()
86 if (cpu_type == 0) { in WalkHeader()
94 if (cpu_type & CPU_ARCH_ABI64) in WalkHeader()
131 bool MachoWalker::FindHeader(cpu_type_t cpu_type, in FindHeader() argument
161 if (cpu_type != header.cputype || in FindHeader()
190 if (arch.cputype == cpu_type && in FindHeader()
Darch_utilities.cc96 const NXArchInfo* BreakpadGetArchInfoFromCpuType(cpu_type_t cpu_type, in BreakpadGetArchInfoFromCpuType() argument
99 if (cpu_type == CPU_TYPE_ARM64 && cpu_subtype == CPU_SUBTYPE_ARM64_ALL) { in BreakpadGetArchInfoFromCpuType()
105 if (cpu_type == CPU_TYPE_ARM && cpu_subtype == CPU_SUBTYPE_ARM_V7S) { in BreakpadGetArchInfoFromCpuType()
110 return NXGetArchInfoFromCpuType(cpu_type, cpu_subtype); in BreakpadGetArchInfoFromCpuType()
Dfile_id.cc73 bool FileID::MachoIdentifier(cpu_type_t cpu_type, in MachoIdentifier() argument
78 if (macho.UUIDCommand(cpu_type, cpu_subtype, identifier)) in MachoIdentifier()
81 return macho.MD5(cpu_type, cpu_subtype, identifier); in MachoIdentifier()
Dmacho_walker.h67 bool WalkHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype);
78 bool FindHeader(cpu_type_t cpu_type,
Dmacho_reader.h252 virtual void CPUTypeMismatch(cpu_type_t cpu_type,
297 virtual void UnsupportedCPUType(cpu_type_t cpu_type);
383 cpu_type_t cpu_type() const { return cpu_type_; } in cpu_type() function
Dmacho_reader.cc160 void Reader::Reporter::CPUTypeMismatch(cpu_type_t cpu_type, in CPUTypeMismatch() argument
166 filename_.c_str(), cpu_type, cpu_subtype, in CPUTypeMismatch()
219 void Reader::Reporter::UnsupportedCPUType(cpu_type_t cpu_type) { in UnsupportedCPUType() argument
221 filename_.c_str(), cpu_type); in UnsupportedCPUType()
Darch_utilities.h42 const NXArchInfo* BreakpadGetArchInfoFromCpuType(cpu_type_t cpu_type,
Dfile_id.h63 bool MachoIdentifier(cpu_type_t cpu_type,
Ddump_syms.mm187 bool DumpSymbols::SetArchitecture(cpu_type_t cpu_type,
191 = NXFindBestFatArch(cpu_type, cpu_subtype, &object_files_[0],
213 cpu_type_t cpu_type = selected_object_file_->cputype;
215 if (!file_id.MachoIdentifier(cpu_type, cpu_subtype, identifier_bytes)) {
326 switch (macho_reader.cpu_type()) {
341 macho_reader.cpu_type(), macho_reader.cpu_subtype());
348 macho_reader.cpu_type(), macho_reader.cpu_subtype());
Dmacho_reader_unittest.cc89 MOCK_METHOD4(CPUTypeMismatch, void(cpu_type_t cpu_type,
103 MOCK_METHOD1(UnsupportedCPUType, void(cpu_type_t cpu_type));
710 cpu_type_t cpu_type = CPU_TYPE_X86, in Header() argument
717 D32(cpu_type); // cpu type in Header()
881 EXPECT_EQ(kCPUType, reader.cpu_type()); in TEST_F()
904 EXPECT_EQ(kCPUType, reader.cpu_type()); in TEST_F()
927 EXPECT_EQ(kCPUType, reader.cpu_type()); in TEST_F()
950 EXPECT_EQ(kCPUType, reader.cpu_type()); in TEST_F()
993 EXPECT_EQ(CPU_TYPE_X86, reader.cpu_type()); in TEST_F()
1019 EXPECT_EQ(CPU_TYPE_X86, reader.cpu_type()); in TEST_F()
Ddump_syms.h89 bool SetArchitecture(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype);
/external/google-breakpad/src/client/mac/handler/
Dbreakpad_nlist_64.cc135 cpu_type_t cpu_type);
145 cpu_type_t cpu_type) { in breakpad_nlist_common() argument
149 int n = __breakpad_fdnlist(fd, list, symbolNames, cpu_type); in breakpad_nlist_common()
157 cpu_type_t cpu_type) { in breakpad_nlist() argument
158 return breakpad_nlist_common(name, list, symbolNames, cpu_type); in breakpad_nlist()
164 cpu_type_t cpu_type) { in breakpad_nlist() argument
165 return breakpad_nlist_common(name, list, symbolNames, cpu_type); in breakpad_nlist()
172 cpu_type_t cpu_type) { in __breakpad_fdnlist() argument
249 if (fat_archs[i].cputype == cpu_type) { in __breakpad_fdnlist()
Dbreakpad_nlist_64.h41 cpu_type_t cpu_type);
45 cpu_type_t cpu_type);
Ddynamic_images.cc348 cpu_type_t cpu_type) { in LookupSymbol() argument
357 cpu_type); in LookupSymbol()
568 cpu_type_t cpu_type; in DetermineTaskCPUType() local
569 size_t cpuTypeSize = sizeof(cpu_type); in DetermineTaskCPUType()
570 sysctl(mib, static_cast<u_int>(mibLen), &cpu_type, &cpuTypeSize, 0, 0); in DetermineTaskCPUType()
571 return cpu_type; in DetermineTaskCPUType()
Ddynamic_images.h117 cpu_type_t cpu_type) in DynamicImage() argument
128 cpu_type_(cpu_type) { in DynamicImage()
Dminidump_generator.cc1337 int cpu_type = header->cputype; in WriteModuleStream() local
1365 if (!WriteCVRecord(module, cpu_type, name, in_memory)) in WriteModuleStream()
1402 bool MinidumpGenerator::WriteCVRecord(MDRawModule *module, int cpu_type, in WriteCVRecord() argument
1435 result = macho.UUIDCommand(cpu_type, CPU_SUBTYPE_MULTIPLE, identifier); in WriteCVRecord()
1437 result = macho.MD5(cpu_type, CPU_SUBTYPE_MULTIPLE, identifier); in WriteCVRecord()
1442 result = file_id.MachoIdentifier(cpu_type, CPU_SUBTYPE_MULTIPLE, in WriteCVRecord()
/external/libchrome/base/process/
Dprocess_metrics_mac.cc53 bool GetCPUTypeForProcess(pid_t /* pid */, cpu_type_t* cpu_type) { in GetCPUTypeForProcess() argument
54 size_t len = sizeof(*cpu_type); in GetCPUTypeForProcess()
56 cpu_type, in GetCPUTypeForProcess()
139 cpu_type_t cpu_type; in GetMemoryBytes() local
140 if (!GetCPUTypeForProcess(process_, &cpu_type)) in GetMemoryBytes()
183 if (IsAddressInSharedRegion(address, cpu_type) && in GetMemoryBytes()
/external/google-breakpad/src/tools/mac/upload_system_symbols/
Darch_constants.h52 const char* GetNXArchInfoName(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) { in GetNXArchInfoName() argument
53 const NXArchInfo* arch_info = NXGetArchInfoFromCpuType(cpu_type, cpu_subtype); in GetNXArchInfoName()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dvm86.h100 unsigned long cpu_type; member
122 unsigned long cpu_type; member
/external/google-breakpad/src/processor/
Dminidump.cc460 uint32_t cpu_type = context_amd64->context_flags & MD_CONTEXT_CPU_MASK; in Read() local
461 if (cpu_type == 0) { in Read()
462 if (minidump_->GetContextCPUFlagsFromSystemInfo(&cpu_type)) { in Read()
463 context_amd64->context_flags |= cpu_type; in Read()
470 if (cpu_type != MD_CONTEXT_AMD64) { in Read()
479 if (!CheckAgainstSystemInfo(cpu_type)) { in Read()
560 uint32_t cpu_type = context_flags & MD_CONTEXT_CPU_MASK; in Read() local
563 if (cpu_type == 0) { in Read()
564 if (minidump_->GetContextCPUFlagsFromSystemInfo(&cpu_type)) { in Read()
565 context_ppc64->context_flags |= cpu_type; in Read()
[all …]
/external/valgrind/include/vki/
Dvki-x86-linux.h878 unsigned long cpu_type; member
896 unsigned long cpu_type; member
Dvki-arm-linux.h866 unsigned long cpu_type; member
884 unsigned long cpu_type; member
/external/google-breakpad/src/tools/mac/dump_syms/
Dmacho_dump.cc170 NXGetArchInfoFromCpuType(reader.cpu_type(), in DumpFile()

12