Lines Matching refs:ARCH
48 ARCH = None variable
145 if _CACHED_TOOLCHAIN is not None and _CACHED_TOOLCHAIN_ARCH == ARCH:
153 _CACHED_TOOLCHAIN_ARCH = ARCH
320 global ARCH
321 if ARCH == "arm":
501 global ARCH
507 ARCH = None
511 ARCH = abi_match.group(1)
517 ARCH = Get64BitArch()
519 ARCH = Get32BitArch()
525 ARCH = Get64BitArch()
529 ARCH = Get32BitArch()
532 if not ARCH:
538 global ARCH
539 ARCH = abi
552 global ARCH
555 self.assertEqual(ARCH, "arm")
557 self.assertEqual(ARCH, "arm64")
560 self.assertEqual(ARCH, "mips")
562 self.assertEqual(ARCH, "mips64")
565 self.assertEqual(ARCH, "x86")
567 self.assertEqual(ARCH, "x86_64")
570 global ARCH
575 self.assertEqual(ARCH, "arm")
580 self.assertEqual(ARCH, "mips")
585 self.assertEqual(ARCH, "x86")
588 global ARCH
594 self.assertEqual(ARCH, "arm")
600 self.assertEqual(ARCH, "mips")
606 self.assertEqual(ARCH, "x86")
609 global ARCH
614 self.assertEqual(ARCH, "arm64")
619 self.assertEqual(ARCH, "mips64")
624 self.assertEqual(ARCH, "x86_64")
627 global ARCH
631 self.assertEqual(ARCH, "arm")
633 self.assertEqual(ARCH, "arm64")
636 global ARCH
641 self.assertEqual(ARCH, "arm")
646 self.assertEqual(ARCH, "mips")
651 self.assertEqual(ARCH, "x86")
654 global ARCH
660 self.assertEqual(ARCH, "arm")
666 self.assertEqual(ARCH, "mips")
672 self.assertEqual(ARCH, "x86")
675 global ARCH
680 self.assertEqual(ARCH, "arm64")
685 self.assertEqual(ARCH, "mips64")
690 self.assertEqual(ARCH, "x86_64")
694 ARCH = None
699 self.assertEqual(ARCH, "x86_64")
702 global ARCH
706 self.assertEqual(ARCH, "arm64")
708 self.assertEqual(ARCH, "arm")
711 global ARCH