Lines Matching refs:arch
372 self.arch = None
379 # Find MDRawSystemInfo stream and determine arch.
384 self.arch = system_info.processor_architecture
385 assert self.arch in [MD_CPU_ARCHITECTURE_AMD64, MD_CPU_ARCHITECTURE_X86]
386 assert not self.arch is None
394 if self.arch == MD_CPU_ARCHITECTURE_X86:
397 elif self.arch == MD_CPU_ARCHITECTURE_AMD64:
438 if self.arch == MD_CPU_ARCHITECTURE_AMD64:
440 elif self.arch == MD_CPU_ARCHITECTURE_X86:
463 arch = None
464 if self.arch == MD_CPU_ARCHITECTURE_X86:
465 arch = "ia32"
466 elif self.arch == MD_CPU_ARCHITECTURE_AMD64:
467 arch = "x64"
471 arch,
480 if self.arch == MD_CPU_ARCHITECTURE_AMD64:
482 elif self.arch == MD_CPU_ARCHITECTURE_X86:
486 if self.arch == MD_CPU_ARCHITECTURE_AMD64:
488 elif self.arch == MD_CPU_ARCHITECTURE_X86:
492 if self.arch == MD_CPU_ARCHITECTURE_AMD64:
494 elif self.arch == MD_CPU_ARCHITECTURE_X86:
498 if self.arch == MD_CPU_ARCHITECTURE_AMD64:
500 elif self.arch == MD_CPU_ARCHITECTURE_X86:
999 if self.reader.arch == MD_CPU_ARCHITECTURE_AMD64:
1001 elif self.reader.arch == MD_CPU_ARCHITECTURE_X86:
1025 for r in CONTEXT_FOR_ARCH[reader.arch]: