Home
last modified time | relevance | path

Searched refs:open (Results 1 - 25 of 158) sorted by relevance

1234567

/developtools/integration_verification/DeployDevice/src/util/
H A Dfind_fail_task.py15 with open(log_path,'a+') as fw:
28 with open(os.path.join(dir_path, 'upgrade.log'),'r') as fr:
31 with open(log_path,'a+') as fw:
39 with open(log_path,'a+') as fw:
/developtools/hiperf/script/
H A Dmake_diff.py44 with open('json_base.txt', 'r') as json_file:
46 with open('json_target.txt', 'r') as json_file:
49 with open('report-diff.html', 'r', encoding='utf-8') as html_file:
52 with open(report_file, 'w', encoding='utf-8') as report_html_file:
H A Dmake_report.py34 with open('json.txt', 'r') as json_file:
37 with open(template, 'r', encoding='utf-8') as html_file:
39 with open(report_file, 'w', encoding='utf-8') as report_html_file:
/developtools/hdc/scripts/
H A Dhdc_hash_gen.py36 with open("{}{}".format(OUTPUT_DIR, OUTPUT_FILE_NAME), 'rb') as fd:
48 with open("{}{}".format(OUTPUT_DIR, OUTPUT_FILE_NAME), 'w') as fd_struct:
57 with open("{}{}".format(OUTPUT_DIR, HDC_FILE), 'w') as fd_hdc:
71 with open("{}/{}".format(INPUT_DIR, CFG_FILE_NAME), mode='r', encoding='utf-8') as fd_path:
74 with open("{}{}".format(INPUT_DIR, file_name), mode='r', encoding='utf-8') as fd_file:
/developtools/hapsigner/autosign/
H A Dautosign.py120 with open("log.txt", mode='a+', encoding='utf-8') as f:
128 with open("error.txt", mode='a+', encoding='utf-8') as f:
231 with open(config_file, 'r', encoding='utf-8') as f:
279 with open(app_cert_file, 'r', encoding='utf-8') as f:
285 with open(profile_file, 'r', encoding='utf-8') as f:
296 with os.fdopen(os.open(profile_file, flags, modes), 'w') as profile_write:
/developtools/profiler/hiebpf/src/
H A Dbpf_log_reader.cpp88 ofd_ = open("/dev/stdout", O_WRONLY); in OpenLogFile()
101 ofd_ = open(fileName.c_str(), O_WRONLY | O_CREAT, FILE_MODE); in OpenLogFile()
115 int fd = open(confPath_.c_str(), O_WRONLY); in EnableTracePipe()
133 ifd_ = open(pipePath_.c_str(), O_RDONLY | O_NONBLOCK); in OpenTracePipe()
H A Dlibbpf_logger.cpp61 fd_ = open("/dev/stdout", O_WRONLY); in OpenLogFile()
75 fd_ = open(fileName.c_str(), O_WRONLY | O_CREAT, FILE_MODE); in OpenLogFile()
/developtools/hdc/hdc_rust/src/common/
H A Dfilemanager.rs42 pub fn open(&mut self) -> (bool, String) { in open() functions
46 let mut _file = OpenOptions::new().read(true).open(path); in open()
85 let mut _file = File::open(path); in buffer_read()
/developtools/profiler/hiebpf/scripts/
H A Dhiebpf_code_generator.py70 with open(FSTRACE_PROGS_FILE, 'w') as progs_ouf:
74 with open(FSTRACE_TYPES_FILE, 'w') as fstrace_ouf:
/developtools/profiler/build/
H A Dmake_proto.py25 with open(target_file_path, 'r+') as content:
41 with open(target_file_path, 'r+') as content:
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/hdi/
H A Dhdi_parser.py35 with open(out_file) as f:
40 with open(out_file) as f:
/developtools/hapsigner/tools/
H A Dauto_test.py259 with open('commands.config', 'r', encoding='utf-8') as f:
280 with open("log.txt", mode='a+', encoding='utf-8') as f:
288 with open("error.txt", mode='a+', encoding='utf-8') as f:
331 with open('test_result.log', 'r', encoding='utf-8') as f:
348 with open("test_result.log", mode='w', encoding='utf-8') as tr:
461 with open("test_result.log", mode='w', encoding='utf-8') as file_result:
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/src/
H A Dget_subsystem_component.py37 with open(subsystem_json_path, 'rb') as f:
52 with open(bundle_path, 'rb') as bundle_file:
84 with os.fdopen(os.open(output_filename, os.O_WRONLY | os.O_CREAT, mode=0o640), 'w') as f:
/developtools/ace_ets2bundle/
H A DgenerateSysResource.py27 with open(os.path.join(json_file), 'r') as fp:
51 output = open(js_file, 'w+')
/developtools/integration_verification/cases/smoke/basic/screenshot32/new_script/
H A Dmain.py14 with open(os.path.join(BASE_DIR, 'testcases.json'), 'r', encoding='utf-8') as f:
61 with open(report, 'r+', encoding=encoding) as f:
/developtools/integration_verification/cases/smoke/basic/screenshot32/new_script/testcases/
H A Dtest_acl_check.py16 json_data = json.load(open(check_list_file, 'r'))
46 with open(token_file, 'r') as f:
/developtools/syscap_codec/tools/
H A Dsyscap_config_merge.py90 with open(path, 'r') as fb:
155 with os.fdopen(os.open(output_file, os.O_WRONLY | os.O_CREAT, mode=0o640), 'w') as out:
/developtools/hdc/test/scripts/
H A Dhdc_recv_all_test.py151 with os.fdopen(os.open(save_file, flags, modes), 'w') as fd:
170 with os.fdopen(os.open(save_csv, flags, modes), 'w') as fd:
197 with open(file_name, 'r') as fd:
229 with os.fdopen(os.open(new_file, flags, modes), 'w') as fd:
240 with open(input_file, 'r') as f:
/developtools/profiler/device/plugins/ftrace_plugin/tools/
H A Dftrace_proto_generator.py139 with open(bundle_proto_path, "w+") as f:
144 with open(protos_gni_path, "w+") as f:
153 with open(proto_path, "w+") as f:
/developtools/hapsigner/hapsigntool_cpp_test/unittest/hapVerify/
H A Dhap_verify_test.cpp74 SIGNATURE_TOOLS_LOGE("Unable to open file: %s", path.c_str()); in GenUnvaildVerfyHap()
166 appFile.open(errorFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
210 hapFile.open(filePath, std::ifstream::binary); in HWTEST_F()
232 errorFile.open(errorfilePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
243 errorFile.open(errorfilePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
254 errorFile.open(errorfilePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
284 hapFile.open(rightFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
298 hapFile1.open(rightFile1.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
312 hapFile2.open(invalidFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in HWTEST_F()
395 appFile.open(errorFil in HWTEST_F()
[all...]
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
H A Dsimple_yaml_tool.py26 with open(file_name, mode, encoding=encoding) as f:
/developtools/integration_verification/tools/components_deps/
H A Dcomponents_deps_analyzer.py57 with os.fdopen(os.open(result_json_name + ".json", os.O_WRONLY | os.O_CREAT, mode=0o640), "w",
66 with open(xml_path, 'r', encoding='utf-8') as r:
91 with open(os.path.join(config_path, file), 'r', encoding='utf-8') as r:
107 with open(gn_path, 'r', encoding='utf-8') as r:
181 help="open component name set")
/developtools/integration_verification/tools/opensource_tools/src/
H A Dvalidate_readme_opensource.py53 with open(readme_path, 'r', encoding='utf-8') as f:
80 with open(reference_data_path, "r", encoding='utf-8') as f:
98 with open(readme_path, "r", encoding='utf-8') as f:
/developtools/integration_verification/cases/daily/mini_system/
H A DL2_mini_system_test.py44 with open(os.path.join(args.save_path, 'L2_mini_test_{}.log'.format(args.device_num)), mode='a', encoding='utf-8') as log_file:
73 with open(os.path.join(args.save_path, 'mini_test_{}.bat'.format(args.device_num)), mode='a', encoding='utf-8') as cmd_file:
82 with open(os.path.join(args.save_path, 'mini_test_{}.bat'.format(args.device_num)), mode='a', encoding='utf-8') as cmd_file:
H A Drk3568_chipset_only_test.py44 with open(os.path.join(args.save_path, 'L2_mini_test_{}.log'.format(args.device_num)), mode='a', encoding='utf-8') as log_file:
73 with open(os.path.join(args.save_path, 'mini_test_{}.bat'.format(args.device_num)), mode='a', encoding='utf-8') as cmd_file:
82 with open(os.path.join(args.save_path, 'mini_test_{}.bat'.format(args.device_num)), mode='a', encoding='utf-8') as cmd_file:

Completed in 10 milliseconds

1234567