Searched refs:cpu_type (Results 1 - 25 of 26) sorted by relevance

12

/external/google-breakpad/src/client/mac/handler/
H A Dbreakpad_nlist_64.h41 cpu_type_t cpu_type);
45 cpu_type_t cpu_type);
H A Dbreakpad_nlist_64.cc135 cpu_type_t cpu_type);
145 cpu_type_t cpu_type) {
149 int n = __breakpad_fdnlist(fd, list, symbolNames, cpu_type);
157 cpu_type_t cpu_type) {
158 return breakpad_nlist_common(name, list, symbolNames, cpu_type);
164 cpu_type_t cpu_type) {
165 return breakpad_nlist_common(name, list, symbolNames, cpu_type);
172 cpu_type_t cpu_type) {
249 if (fat_archs[i].cputype == cpu_type) {
142 breakpad_nlist_common(const char *name, nlist_type *list, const char **symbolNames, cpu_type_t cpu_type) argument
154 breakpad_nlist(const char *name, struct nlist *list, const char **symbolNames, cpu_type_t cpu_type) argument
161 breakpad_nlist(const char *name, struct nlist_64 *list, const char **symbolNames, cpu_type_t cpu_type) argument
171 __breakpad_fdnlist(int fd, nlist_type *list, const char **symbolNames, cpu_type_t cpu_type) argument
H A Ddynamic_images.cc348 cpu_type_t cpu_type) {
357 cpu_type);
568 cpu_type_t cpu_type;
569 size_t cpuTypeSize = sizeof(cpu_type);
570 sysctl(mib, static_cast<u_int>(mibLen), &cpu_type, &cpuTypeSize, 0, 0);
571 return cpu_type;
346 LookupSymbol(const char* symbol_name, const char* filename, cpu_type_t cpu_type) argument
H A Ddynamic_images.h117 cpu_type_t cpu_type)
128 cpu_type_(cpu_type) {
111 DynamicImage(uint8_t *header, size_t header_size, uint64_t load_address, string file_path, uintptr_t image_mod_date, mach_port_t task, cpu_type_t cpu_type) argument
H A Dminidump_generator.h145 bool WriteCVRecord(MDRawModule *module, int cpu_type,
H A Dminidump_generator.cc1337 int cpu_type = header->cputype; local
1365 if (!WriteCVRecord(module, cpu_type, name, in_memory))
1402 bool MinidumpGenerator::WriteCVRecord(MDRawModule *module, int cpu_type, argument
1435 result = macho.UUIDCommand(cpu_type, CPU_SUBTYPE_MULTIPLE, identifier);
1437 result = macho.MD5(cpu_type, CPU_SUBTYPE_MULTIPLE, identifier);
1442 result = file_id.MachoIdentifier(cpu_type, CPU_SUBTYPE_MULTIPLE,
/external/google-breakpad/src/common/mac/
H A Darch_utilities.h42 const NXArchInfo* BreakpadGetArchInfoFromCpuType(cpu_type_t cpu_type,
H A Dmacho_id.h52 // For the given |cpu_type| and |cpu_subtype|, return a UUID from the LC_UUID
55 bool UUIDCommand(cpu_type_t cpu_type,
59 // For the given |cpu_type| and |cpu_subtype|, return a UUID from the
62 bool IDCommand(cpu_type_t cpu_type,
66 // For the given |cpu_type| and |cpu_subtype|, return the Adler32 CRC for the
69 uint32_t Adler32(cpu_type_t cpu_type,
72 // For the given |cpu_type|, and |cpu_subtype| return the MD5 for the mach-o
75 bool MD5(cpu_type_t cpu_type,
95 bool WalkHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype,
H A Darch_utilities.cc96 const NXArchInfo* BreakpadGetArchInfoFromCpuType(cpu_type_t cpu_type, argument
99 if (cpu_type == CPU_TYPE_ARM64 && cpu_subtype == CPU_SUBTYPE_ARM64_ALL) {
105 if (cpu_type == CPU_TYPE_ARM && cpu_subtype == CPU_SUBTYPE_ARM_V7S) {
110 return NXGetArchInfoFromCpuType(cpu_type, cpu_subtype);
H A Dfile_id.h54 // Accepted values for |cpu_type| and |cpu_subtype| (e.g., CPU_TYPE_X86 or
56 // If |cpu_type| is 0, then the native cpu type is used. If |cpu_subtype| is
57 // CPU_SUBTYPE_MULTIPLE, the match is only done on |cpu_type|.
58 // Returns false if opening the file failed or if the |cpu_type|/|cpu_subtype|
62 // LC_UUID, LC_ID_DYLIB, or MD5 hash of the given |cpu_type|.
63 bool MachoIdentifier(cpu_type_t cpu_type,
H A Dfile_id.cc73 bool FileID::MachoIdentifier(cpu_type_t cpu_type, argument
78 if (macho.UUIDCommand(cpu_type, cpu_subtype, identifier))
81 return macho.MD5(cpu_type, cpu_subtype, identifier);
H A Dmacho_id.cc156 bool MachoID::UUIDCommand(cpu_type_t cpu_type, argument
161 if (!WalkHeader(cpu_type, cpu_subtype, UUIDWalkerCB, &uuid_cmd))
174 bool MachoID::IDCommand(cpu_type_t cpu_type, argument
179 if (!WalkHeader(cpu_type, cpu_subtype, IDWalkerCB, &dylib_cmd))
206 identifier[12] = (cpu_type >> 24) & 0xFF;
207 identifier[13] = (cpu_type >> 16) & 0xFF;
208 identifier[14] = (cpu_type >> 8) & 0xFF;
209 identifier[15] = cpu_type & 0xFF;
217 uint32_t MachoID::Adler32(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) { argument
221 if (!WalkHeader(cpu_type, cpu_subtyp
227 MD5(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype, unsigned char identifier[16]) argument
239 WalkHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype, MachoWalker::LoadCommandCallback callback, void *context) argument
[all...]
H A Dmacho_walker.h60 // Begin walking the header for |cpu_type| and |cpu_subtype|. If |cpu_type|
64 // only done on |cpu_type|.
65 // Returns false if opening the file failed or if the |cpu_type|/|cpu_subtype|
67 bool WalkHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype);
76 // Locate (if any) the header offset for |cpu_type| and return in |offset|.
78 bool FindHeader(cpu_type_t cpu_type,
H A Dmacho_walker.cc82 bool MachoWalker::WalkHeader(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) { argument
83 cpu_type_t valid_cpu_type = cpu_type;
85 // if |cpu_type| is 0, use the native cpu type.
86 if (cpu_type == 0) {
94 if (cpu_type & CPU_ARCH_ABI64)
131 bool MachoWalker::FindHeader(cpu_type_t cpu_type, argument
161 if (cpu_type != header.cputype ||
190 if (arch.cputype == cpu_type &&
H A Dmacho_reader.h249 // The data contained in a Mach-O fat binary (|cpu_type|, |cpu_subtype|)
252 virtual void CPUTypeMismatch(cpu_type_t cpu_type,
296 // CPU architecture |cpu_type|.
297 virtual void UnsupportedCPUType(cpu_type_t cpu_type);
383 cpu_type_t cpu_type() const { return cpu_type_; } function in class:google_breakpad::mach_o::Reader
H A Ddump_syms.h80 // If this dumper's file includes an object file for |cpu_type| and
89 bool SetArchitecture(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype);
H A Dmacho_reader.cc160 void Reader::Reporter::CPUTypeMismatch(cpu_type_t cpu_type, argument
166 filename_.c_str(), cpu_type, cpu_subtype,
219 void Reader::Reporter::UnsupportedCPUType(cpu_type_t cpu_type) { argument
221 filename_.c_str(), cpu_type);
H A Dmacho_reader_unittest.cc90 MOCK_METHOD4(CPUTypeMismatch, void(cpu_type_t cpu_type,
104 MOCK_METHOD1(UnsupportedCPUType, void(cpu_type_t cpu_type));
713 cpu_type_t cpu_type = CPU_TYPE_X86,
720 D32(cpu_type); // cpu type
884 EXPECT_EQ(kCPUType, reader.cpu_type());
907 EXPECT_EQ(kCPUType, reader.cpu_type());
930 EXPECT_EQ(kCPUType, reader.cpu_type());
953 EXPECT_EQ(kCPUType, reader.cpu_type());
997 EXPECT_EQ(CPU_TYPE_X86, reader.cpu_type());
1023 EXPECT_EQ(CPU_TYPE_X86, reader.cpu_type());
[all...]
/external/google-breakpad/src/tools/mac/upload_system_symbols/
H A Darch_constants.h52 const char* GetNXArchInfoName(cpu_type_t cpu_type, cpu_subtype_t cpu_subtype) { argument
53 const NXArchInfo* arch_info = NXGetArchInfoFromCpuType(cpu_type, cpu_subtype);
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dvm86.h100 unsigned long cpu_type; member in struct:vm86_struct
122 unsigned long cpu_type; member in struct:vm86plus_struct
/external/libchrome/base/process/
H A Dprocess_metrics_mac.cc53 bool GetCPUTypeForProcess(pid_t /* pid */, cpu_type_t* cpu_type) { argument
54 size_t len = sizeof(*cpu_type);
56 cpu_type,
139 cpu_type_t cpu_type; local
140 if (!GetCPUTypeForProcess(process_, &cpu_type))
183 if (IsAddressInSharedRegion(address, cpu_type) &&
/external/google-breakpad/src/processor/
H A Dminidump.cc460 uint32_t cpu_type = context_amd64->context_flags & MD_CONTEXT_CPU_MASK; local
461 if (cpu_type == 0) {
462 if (minidump_->GetContextCPUFlagsFromSystemInfo(&cpu_type)) {
463 context_amd64->context_flags |= cpu_type;
470 if (cpu_type != MD_CONTEXT_AMD64) {
479 if (!CheckAgainstSystemInfo(cpu_type)) {
560 uint32_t cpu_type = context_flags & MD_CONTEXT_CPU_MASK; local
563 if (cpu_type == 0) {
564 if (minidump_->GetContextCPUFlagsFromSystemInfo(&cpu_type)) {
565 context_ppc64->context_flags |= cpu_type;
659 uint32_t cpu_type = context_flags & MD_CONTEXT_CPU_MASK; local
737 uint32_t cpu_type = context_flags & MD_CONTEXT_CPU_MASK; local
[all...]
/external/google-breakpad/src/tools/mac/dump_syms/
H A Dmacho_dump.cc170 NXGetArchInfoFromCpuType(reader.cpu_type(),
/external/valgrind/include/vki/
H A Dvki-arm-linux.h866 unsigned long cpu_type; member in struct:vki_vm86_struct
884 unsigned long cpu_type; member in struct:vki_vm86plus_struct
H A Dvki-x86-linux.h878 unsigned long cpu_type; member in struct:vki_vm86_struct
896 unsigned long cpu_type; member in struct:vki_vm86plus_struct

Completed in 225 milliseconds

12