Lines Matching refs:root

1278         root, ext = os.path.splitext(tag_file_path)
1279 return root + '-properties' + ext
1294 def scan_accessible_files(root): argument
1295 for base, dirs, files in os.walk(root):
1302 def scan_elf_files(root): argument
1303 for path in scan_accessible_files(root):
1310 def scan_elf_dump_files(root): argument
1311 for path in scan_accessible_files(root):
1871 def _compile_path_matcher(root, subdirs): argument
1872 dirs = [os.path.normpath(os.path.join(root, i)) for i in subdirs]
1876 def add_executables_in_dir(self, partition_name, partition, root, argument
1879 root = os.path.abspath(root)
1880 prefix_len = len(root) + 1
1883 alter_patt = ELFLinker._compile_path_matcher(root, alter_subdirs)
1885 ignored_patt = ELFLinker._compile_path_matcher(root, ignored_subdirs)
1887 for path, elf in scan_elf_files(root):
2511 def _load_from_sym_dir(self, root): argument
2512 root = os.path.abspath(root)
2513 prefix_len = len(root) + 1
2514 for base, dirnames, filenames in os.walk(root):
2524 def create_from_sym_dir(root): argument
2526 result._load_from_sym_dir(root)
2529 def _load_from_image_dir(self, root, prefix): argument
2530 root = os.path.abspath(root)
2531 root_len = len(root) + 1
2532 for path, elf in scan_elf_files(root):
2536 def create_from_image_dir(root, prefix): argument
2538 result._load_from_image_dir(root, prefix)
2566 root, ext = os.path.splitext(name)
2575 names[root].add(lib)
2577 if root.startswith('lib') and len(root) > min_name_len:
2584 if root != 'libandroid':
2585 names[root[3:]].add(lib)
2589 def _enumerate_partition_paths(partition, root): argument
2590 prefix_len = len(root) + 1
2591 for base, dirs, files in os.walk(root):
2599 for root in system_dirs:
2600 for ap, path in _enumerate_partition_paths('system', root):
2602 for root in vendor_dirs:
2603 for ap, path in _enumerate_partition_paths('vendor', root):
2726 root = os.path.abspath(args.dir)
2727 print(root)
2728 prefix_len = len(root) + 1
2729 for path, elf in scan_elf_files(root):
2939 root, ext = os.path.splitext(name)
2940 return root