• Home
  • Raw
  • Download

Lines Matching refs:path

12 import os.path
29 bionic_libc_root = os.path.join(os.environ["ANDROID_BUILD_TOP"], "bionic/libc")
35 def make_dir(path): argument
36 path = os.path.abspath(path)
37 if not os.path.exists(path):
38 parent = os.path.dirname(path)
41 os.mkdir(path)
45 full_path = os.path.join(bionic_temp, relpath)
46 dir = os.path.dirname(full_path)
560 def scan_linux_unistd_h(self, fp, path): argument
563 for line in open(path):
581 …self.scan_linux_unistd_h(glibc_fp, os.path.join(bionic_libc_root, "kernel/uapi/asm-generic/unistd.…
583 …self.scan_linux_unistd_h(glibc_fp, os.path.join(bionic_libc_root, "kernel/uapi/asm-arm/asm/unistd.…
585 …self.scan_linux_unistd_h(glibc_fp, os.path.join(bionic_libc_root, "kernel/uapi/asm-mips/asm/unistd…
587 …self.scan_linux_unistd_h(glibc_fp, os.path.join(bionic_libc_root, "kernel/uapi/asm-x86/asm/unistd_…
589 …self.scan_linux_unistd_h(glibc_fp, os.path.join(bionic_libc_root, "kernel/uapi/asm-x86/asm/unistd_…
615 logging.info("scanning " + os.path.join(bionic_libc_root, arch_dir))
616 rel_path = os.path.join(arch_dir, "syscalls")
617 for file in os.listdir(os.path.join(bionic_libc_root, rel_path)):
619 self.old_stubs.append(os.path.join(rel_path, file))
623 if not os.path.exists(bionic_temp):
637 tmp_file = os.path.join(bionic_temp, stub)
638 libc_file = os.path.join(bionic_libc_root, stub)
639 if not os.path.exists(libc_file):
653 deletes.append(os.path.join(bionic_libc_root, stub))
662 shutil.copyfile(os.path.join(bionic_temp, file),
663 os.path.join(bionic_libc_root, file))
664 …commands.getoutput("git add " + " ".join((os.path.join(bionic_libc_root, file)) for file in edits))
666 commands.getoutput("git add %s" % (os.path.join(bionic_libc_root, "SYSCALLS.TXT")))
676 state.process_file(os.path.join(bionic_libc_root, "SYSCALLS.TXT"))