/developtools/integration_verification/DeployDevice/src/util/ |
H A D | find_fail_task.py | 15 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 D | make_diff.py | 44 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 D | make_report.py | 34 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 D | hdc_hash_gen.py | 36 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 D | autosign.py | 120 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 D | bpf_log_reader.cpp | 88 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 D | libbpf_logger.cpp | 61 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 D | filemanager.rs | 42 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 D | hiebpf_code_generator.py | 70 with open(FSTRACE_PROGS_FILE, 'w') as progs_ouf: 74 with open(FSTRACE_TYPES_FILE, 'w') as fstrace_ouf:
|
/developtools/profiler/build/ |
H A D | make_proto.py | 25 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 D | hdi_parser.py | 35 with open(out_file) as f:
40 with open(out_file) as f:
|
/developtools/hapsigner/tools/ |
H A D | auto_test.py | 259 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 D | get_subsystem_component.py | 37 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 D | generateSysResource.py | 27 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 D | main.py | 14 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 D | test_acl_check.py | 16 json_data = json.load(open(check_list_file, 'r')) 46 with open(token_file, 'r') as f:
|
/developtools/syscap_codec/tools/ |
H A D | syscap_config_merge.py | 90 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 D | hdc_recv_all_test.py | 151 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 D | ftrace_proto_generator.py | 139 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 D | hap_verify_test.cpp | 74 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 D | simple_yaml_tool.py | 26 with open(file_name, mode, encoding=encoding) as f:
|
/developtools/integration_verification/tools/components_deps/ |
H A D | components_deps_analyzer.py | 57 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 D | validate_readme_opensource.py | 53 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 D | L2_mini_system_test.py | 44 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 D | rk3568_chipset_only_test.py | 44 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:
|