Lines Matching refs:root
651 def scan_accessible_files(root): argument
652 for base, dirs, files in os.walk(root):
659 def scan_elf_files(root): argument
660 for path in scan_accessible_files(root):
667 def scan_elf_dump_files(root): argument
668 for path in scan_accessible_files(root):
953 def _compile_path_matcher(root, subdirs): argument
954 dirs = [os.path.normpath(os.path.join(root, i)) for i in subdirs]
958 def add_executables_in_dir(self, partition_name, partition, root, argument
961 root = os.path.abspath(root)
962 prefix_len = len(root) + 1
965 alter_patt = ELFLinker._compile_path_matcher(root, alter_subdirs)
967 ignored_patt = ELFLinker._compile_path_matcher(root, ignored_subdirs)
969 for path, elf in scan_elf_files(root):
1673 def _load_from_sym_dir(self, root): argument
1674 root = os.path.abspath(root)
1675 prefix_len = len(root) + 1
1676 for base, dirnames, filenames in os.walk(root):
1686 def create_from_sym_dir(root): argument
1688 result._load_from_sym_dir(root)
1691 def _load_from_image_dir(self, root, prefix): argument
1692 root = os.path.abspath(root)
1693 root_len = len(root) + 1
1694 for path, elf in scan_elf_files(root):
1698 def create_from_image_dir(root, prefix): argument
1700 result._load_from_image_dir(root, prefix)
1768 root = os.path.abspath(args.dir)
1769 print(root)
1770 prefix_len = len(root) + 1
1771 for path, elf in scan_elf_files(root):
1979 root, ext = os.path.splitext(name)
1980 return root