Home
last modified time | relevance | path

Searched refs:save_path (Results 1 – 5 of 5) sorted by relevance

/base/global/timezone/tool/update_tool/
Ddownload_iana.py34 def try_download(file_type, try_version, save_path, version): argument
48 with open(save_path + file_name, 'wb+') as file:
54 def download(file_type, save_path, version): argument
64 version_suffixes[version_index], save_path,
79 def decompress(file_name, save_path): argument
80 tar = tarfile.open(save_path + file_name, "r:gz")
81 tar.extractall(save_path)
/base/update/packaging_tools/
Dunpack_updater_package.py69 self.save_path = None
85 not os.path.exists(self.save_path):
145 image_file_path = os.path.join(self.save_path, component_name)
173 self.save_path = os.path.join(OPTIONS_MANAGER.target_package, filename)
174 os.makedirs(self.save_path)
Dcreate_update_package.py75 def __init__(self, head_list, component_list, save_path, key_path): argument
78 self.save_path = save_path
94 self.save_path is None or self.key_path is None:
248 with open(self.save_path, "rb+") as package_file:
318 package_fd = os.open(self.save_path, os.O_RDWR | os.O_CREAT, 0o755)
Dcreate_hashdata.py195 def parse_print_hashdata(self, save_path): argument
196 hash_check_file_p = open(os.path.join(save_path + "hash_check_file_parse"), "wb+")
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/python/ohos/global/i18n/
Dgenerate_dat.py202 save_path = [os.path.dirname(current_file_path)] + up_path + ["frameworks", "i18n", "i18n.dat"] variable
203 save_path = os.path.join(*save_path) variable
204 content2bytes(metas, pool, save_path)