Lines Matching refs:os
7 import os
33 system_path = os.path.normpath(os.path.join(out_path, 'system'))
34 system_path_dirs = system_path.split(os.sep)
36 return os.path.join(*system_path_dirs[out_index:])
42 system_prefix = os.path.join(path, 'system')
46 for root, dirs, files in os.walk(system_prefix, topdown=True):
49 if not os.path.islink(os.path.join(root, file)):
50 system_files.append(os.path.join(root[system_prefix_len:], file))
62 with open(os.path.join(path, 'module-info.json')) as module_info_json:
89 system_prefix = os.path.join(path, 'system')
94 with open(os.path.join(path, 'module-info.json')) as module_info_json:
138 with open(os.path.join(args.out1, 'module-info.json')) as module_info_json:
151 full_path = os.path.join(args.out1, 'system', file)
152 size = os.stat(full_path).st_size