Home
last modified time | relevance | path

Searched refs:src_file (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/build/ohos/
H A Dcopy_files.py27 for src_file in source_files:
28 if not os.path.exists(src_file):
29 raise Exception("src file '{}' doesn't exist.".format(src_file))
30 if not os.path.isfile(src_file):
32 file_name = os.path.basename(src_file)
36 shutil.copy2(src_file, output_file)
/ohos5.0/build/ohos/testfwk/
H A Dtest_py_file_copy.py29 for src_file in source_files:
30 if not os.path.exists(src_file):
31 raise Exception("src file '{}' doesn't exist.".format(src_file))
32 relative_path = os.path.relpath(src_file, target_base_dir)
37 shutil.copy2(src_file, output_file)
H A Dtestcase_resource_copy.py175 src_file = resource_info.get('src')
176 if not os.path.exists(src_file):
178 src_file))
182 if os.path.isdir(src_file):
183 result_files = copy_dir(src_file, dest_file)
188 shutil.copy2(src_file, dest_file)
189 if src_file:
190 result_dest_list.append(src_file)
/ohos5.0/build/lite/testfwk/
H A Dlite_testcase_resource_copy.py170 src_file = resource_info.get('src')
171 if not os.path.exists(src_file):
173 src_file))
177 if os.path.isdir(src_file):
178 copy_dir(src_file, dest_file)
182 shutil.copy2(src_file, dest_file)
/ohos5.0/base/web/webview/
H A Dcopy_files.py54 src_file = os.path.join(src_dir, item)
56 if os.path.isfile(src_file):
57 source_files.append(src_file)
58 shutil.copy2(src_file, dst_file)
/ohos5.0/build/
H A Dprebuilts_download.py88 def _uncompress(args, src_file: str, code_dir: str, unzip_dir: str, unzip_filename: str, mark_file_…
90 if src_file[-3:] == 'zip':
91 cmd = 'unzip -o {} -d {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path)
92 elif src_file[-6:] == 'tar.gz':
93 cmd = 'tar -xvzf {} -C {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path)
95 cmd = 'tar -xvf {} -C {};echo 0 > {}'.format(src_file, dest_dir, mark_file_path)
/ohos5.0/base/security/selinux_adapter/scripts/
H A Dbuild_ignore_cfg.py126 with open(ignore_cfg, "r") as src_file:
127 for line in src_file:
/ohos5.0/base/hiviewdfx/hiview/build/
H A Dcopy_plugin_config.py35 copy_file(args.src_file, args.dst_file)
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/json_fuzzer/
H A DBUILD.gn44 ohos_source_set("src_file") {
107 ":src_file",
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/jsoninner_fuzzer/
H A DBUILD.gn44 ohos_source_set("src_file") {
107 ":src_file",
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/test/unittest/
H A DBUILD.gn44 ohos_source_set("src_file") {
121 ":src_file",
/ohos5.0/base/update/packaging_tools/
H A Dpatch_package_process.py478 def apply_compute_patch(src_file, tgt_file, pkgdiff=False): argument
493 cmd.extend(['-s', src_file, '-d', tgt_file,
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/
H A DBUILD.gn125 ohos_source_set("src_file") {
201 ":src_file",