Lines Matching refs:ARCH
53 ARCH = None variable
148 if _CACHED_TOOLCHAIN is not None and _CACHED_TOOLCHAIN_ARCH == ARCH:
154 gcc_dir = ARCH
166 raise Exception("Could not find tool chain for %s" % (ARCH))
174 _CACHED_TOOLCHAIN_ARCH = ARCH
344 global ARCH
345 if ARCH == "arm":
515 global ARCH
521 ARCH = None
525 ARCH = abi_match.group(1)
531 ARCH = Get64BitArch()
533 ARCH = Get32BitArch()
539 ARCH = Get64BitArch()
543 ARCH = Get32BitArch()
546 if not ARCH:
552 global ARCH
553 ARCH = abi
566 global ARCH
569 self.assertEqual(ARCH, "arm")
571 self.assertEqual(ARCH, "arm64")
574 self.assertEqual(ARCH, "mips")
576 self.assertEqual(ARCH, "mips64")
579 self.assertEqual(ARCH, "x86")
581 self.assertEqual(ARCH, "x86_64")
584 global ARCH
589 self.assertEqual(ARCH, "arm")
594 self.assertEqual(ARCH, "mips")
599 self.assertEqual(ARCH, "x86")
602 global ARCH
608 self.assertEqual(ARCH, "arm")
614 self.assertEqual(ARCH, "mips")
620 self.assertEqual(ARCH, "x86")
623 global ARCH
628 self.assertEqual(ARCH, "arm64")
633 self.assertEqual(ARCH, "mips64")
638 self.assertEqual(ARCH, "x86_64")
641 global ARCH
645 self.assertEqual(ARCH, "arm")
647 self.assertEqual(ARCH, "arm64")
650 global ARCH
655 self.assertEqual(ARCH, "arm")
660 self.assertEqual(ARCH, "mips")
665 self.assertEqual(ARCH, "x86")
668 global ARCH
674 self.assertEqual(ARCH, "arm")
680 self.assertEqual(ARCH, "mips")
686 self.assertEqual(ARCH, "x86")
689 global ARCH
694 self.assertEqual(ARCH, "arm64")
699 self.assertEqual(ARCH, "mips64")
704 self.assertEqual(ARCH, "x86_64")
708 ARCH = None
713 self.assertEqual(ARCH, "x86_64")
716 global ARCH
720 self.assertEqual(ARCH, "arm64")
722 self.assertEqual(ARCH, "arm")
725 global ARCH