Lines Matching refs:root
1501 root, ext = os.path.splitext(tag_file_path)
1502 return root + '-properties' + ext
1621 def scan_elf_files(root, mount_point=None, unzip_files=True): argument
1625 root_prefix_len = len(root) + 1
1632 for base, dirnames, filenames in os.walk(root):
1633 if base == root and 'apex' in dirnames:
1635 for path, elf in scan_apex_files(os.path.join(root, 'apex'),
2282 def _compile_path_matcher(root, subdirs): argument
2283 dirs = [os.path.normpath(os.path.join(root, i)) for i in subdirs]
2288 def add_executables_in_dir(self, partition_name, partition, root, argument
2291 root = os.path.abspath(root)
2292 prefix_len = len(root) + 1
2295 alter_patt = ELFLinker._compile_path_matcher(root, alter_subdirs)
2298 root, ignored_subdirs)
2300 for path, elf in scan_elf_files(root, unzip_files=unzip_files):
2973 def _load_from_sym_dir(self, root): argument
2974 root = os.path.abspath(root)
2975 prefix_len = len(root) + 1
2976 for base, _, filenames in os.walk(root):
2986 def create_from_sym_dir(root): argument
2988 result._load_from_sym_dir(root)
2992 def _load_from_image_dir(self, root, prefix): argument
2993 root = os.path.abspath(root)
2994 root_len = len(root) + 1
2995 for path, elf in scan_elf_files(root):
3000 def create_from_image_dir(root, prefix): argument
3002 result._load_from_image_dir(root, prefix)
3033 root, ext = os.path.splitext(name)
3042 names[root].add(lib)
3044 if root.startswith('lib') and len(root) > min_name_len:
3051 if root != 'libandroid':
3052 names[root[3:]].add(lib)
3056 def _enumerate_partition_paths(partition, root): argument
3057 prefix_len = len(root) + 1
3058 for base, _, files in os.walk(root):
3068 for root in system_dirs:
3069 for ap, path in _enumerate_partition_paths('system', root):
3071 for root in vendor_dirs:
3072 for ap, path in _enumerate_partition_paths('vendor', root):
3227 root = os.path.abspath(args.dir)
3228 print(root)
3229 prefix_len = len(root) + 1
3230 for path, elf in scan_elf_files(root):