Home
last modified time | relevance | path

Searched refs:out_file (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/build/ohos/testfwk/
H A Dtest_js_stage_file_copy.py36 with open(module_info_file, 'w') as out_file:
37 json.dump(module_info_data, out_file)
49 with open(json_file_path, "r") as out_file:
50 json_data = json.load(out_file)
H A Dtest_js_file_copy.py67 with open(json_file, 'w') as out_file:
68 json.dump(json_info_data, out_file)
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/sdk/dump/
H A Dresource_index.py209 out_file = os.open(out_path, os.O_WRONLY | os.O_CREAT, 0o664)
215 os.write(out_file, str.encode("keyconfig:{}\n".format(key_)))
216 os.write(out_file, str.encode("{}\n".format(key_str)))
218 … os.write(out_file, str.encode("id:{}, '{}' '{}'\n".format(str(id_), idsets[0], str(idsets[1]))))
219 os.close(out_file)
/ohos5.0/base/hiviewdfx/hitrace/tools/hitrace_converter/
H A Dhitrace_converter.py31 out_file = "" variable
77 global out_file
92 if options.out_file is not None:
93 out_file = options.out_file
121 outfile = os.fdopen(os.open(out_file, outfile_flags, outfile_mode), "w+", encoding="utf-8")
456 outfile = os.fdopen(os.open(out_file, outfile_flags, outfile_mode), 'w', encoding="utf-8")
/ohos5.0/build/ohos/update/
H A Dcheck_abi_and_copy_deps.py111 out_file = os.path.join(target_out_dir, target_name + "_abi_info.dump")
112 ret = subprocess.call([abidw, "--out-file", out_file, check_file])
119 base_name = os.path.basename(out_file)
123 ret = subprocess.call([abidiff, out_file, base_file])
125 raise Exception("ABI info in " + out_file + " and " + base_file + " are different!")
/ohos5.0/build/scripts/
H A Dgen_summary_ebpf_testcase_config.py54 with open(summary_file, 'w') as out_file:
55 json.dump(context, out_file, sort_keys=True, indent=2)
H A Dcargo2gn.py829 with open(cargo_toml, 'w') as out_file:
830 out_file.write('[workspace]\n')
835 with open(cargo_toml, 'w') as out_file:
836 out_file.writelines(cargo_toml_lines)
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/ts/streamhash/
H A Dbuild_ts_js.py55 if not os.path.exists(INPUT_ARGUMENTS.out_file):
57 CMD_INST = shutil.copy(INPUT_ARGUMENTS.out_file, INPUT_ARGUMENTS.dst_file)
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/ts/streamrw/
H A Dbuild_ts_js.py55 if not os.path.exists(INPUT_ARGUMENTS.out_file):
57 CMD_INST = shutil.copy(INPUT_ARGUMENTS.out_file, INPUT_ARGUMENTS.dst_file)
/ohos5.0/commonlibrary/ets_utils/js_api_module/
H A Dbuild_ts_js.py57 if not os.path.exists(INPUT_ARGUMENTS.out_file):
59 CMD_INST = shutil.copy(INPUT_ARGUMENTS.out_file, INPUT_ARGUMENTS.dst_file)
/ohos5.0/commonlibrary/ets_utils/js_util_module/
H A Dbuild_ts_js.py55 if not os.path.exists(INPUT_ARGUMENTS.out_file):
57 CMD_INST = shutil.copy(INPUT_ARGUMENTS.out_file, INPUT_ARGUMENTS.dst_file)
/ohos5.0/build/ohos/ndk/
H A Dscan_ndk_targets.py55 def do_dos2unix(in_file: str, out_file: str):
63 with open(out_file, 'w') as fout:
/ohos5.0/build/
H A Dprebuilts_config.py182 os.open(file_path, os.O_WRONLY | os.O_CREAT, mode=0o640), 'wb') as out_file:
186 print_process(chunk_size, downloaded_size, out_file, response, total_size)
194 def print_process(chunk_size, downloaded_size, out_file, response, total_size): argument
199 out_file.write(chunk)
/ohos5.0/base/update/sys_installer/services/module_update/
H A D模块升级编译打包和使用指南.md298 [OHOS ERROR]     raise Exception("ABI info in " + out_file + " and " + base_file + " are different!…