/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/code_coverage/ |
H A D | coverage_dir.py | 34 html_out_path.mkdir(parents=True, exist_ok=True) 52 root.mkdir(parents=True, exist_ok=True) 61 profdata_out_path.mkdir(parents=True, exist_ok=True) 67 work_dir.mkdir(parents=True, exist_ok=True)
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/mirrors/ |
H A D | _plugin.py | 23 @hookimpl(hookwrapper=True) 26 __tracebackhide__ = True 33 @hookimpl(wrapper=True, trylast=True)
|
/arkcompiler/toolchain/build/templates/cxx/ |
H A D | external_deps_handler.py | 37 return True 60 os.makedirs(file_dir, exist_ok=True) 62 if check_changes is True: 65 changed = True 66 if changed is True: 68 json.dump(content, output_f, sort_keys=True, indent=2) 84 parser.add_argument("--root-src-dir", required=True) 85 parser.add_argument("--external-deps-temp-file", required=True) 86 parser.add_argument("--external-deps", nargs='+', required=True)
|
/arkcompiler/toolchain/build/prebuilts_download/ |
H A D | util.py | 64 os.makedirs(file_dir, exist_ok=True) 66 if check_changes is True: 69 changed = True 70 if changed is True: 72 json.dump(content, output_f, sort_keys=True, indent=2) 87 return True 96 os.makedirs(file_dir, exist_ok=True)
|
/arkcompiler/runtime_core/verifier/tests/ |
H A D | verify_es2panda_test_abc.py | 27 "--es2abc-dir", required=True, help="Path to the es2abc directory.") 29 "--verifier-dir", required=True, help="Path to the ark_verifier directory.") 61 os.makedirs(temp_js_ts_dir, exist_ok=True) 62 os.makedirs(temp_abc_dir, exist_ok=True) 76 return False, True 81 return True, False 88 result = subprocess.run(command, capture_output=True, text=True)
|
H A D | version_compatibility_test.py | 28 "--verifier-dir", required=True, help="Path to the ark_verifier.") 30 "--es2abc-dir", required=True, help="Path to the es2abc.") 67 result = subprocess.run(cmd, capture_output=True, text=True) 86 result = subprocess.run(cmd, capture_output=True, text=True)
|
/arkcompiler/runtime_core/static_core/plugins/ets/doc/ |
H A D | validate_spec.py | 42 on_file_list = True 62 correct_meta_line = True 64 correct_meta_line = True 68 meta_with_errors = True 73 on_meta_flag = True
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/multiple_config_test/ |
H A D | multiple_config_test.py | 56 'show-progress': True 89 'show-progress': True, 103 'enable': True, 126 'show-progress': True, 161 'show-progress': True, 196 'show-progress': True, 232 'show-progress': True, 273 'show-progress': True, 289 'enable': True,
|
/arkcompiler/ets_runtime/test/quickfix/ |
H A D | generate_merge_file.py | 29 parser.add_argument('--input', type=str, required=True) 30 parser.add_argument('--output', type=str, required=True) 31 parser.add_argument('--prefix', type=str, required=True)
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
H A D | rich_logging.py | 276 @hookimpl(trylast=True) 292 console_options.update(force_terminal=True) 316 filepath.parent.mkdir(parents=True, exist_ok=True) 372 @hookimpl(wrapper=True, tryfirst=True) 380 @hookimpl(wrapper=True, tryfirst=True) 388 @hookimpl(wrapper=True) 409 @hookimpl(wrapper=True) [all...] |
/arkcompiler/ets_frontend/test/scripts/utils/flash_image/ |
H A D | burn_image.py | 41 r = requests.get(url, stream=True) 50 unit_scale=True, 64 while True: 87 while True:
|
/arkcompiler/runtime_core/static_core/scripts/ |
H A D | compiler_bisect.py | 142 shutil.rmtree('ir_dump', ignore_errors=True) 157 exit_fail(str(e), usage=True) 161 verbose = True 193 # If script failed, updates the option and returns True; 200 return True 207 while True: 225 # continue `while True` 262 exit_fail(usage=True) 273 res = run(None, [], None, dump=True, expect_fail=True) [all...] |
/arkcompiler/ets_runtime/test/workloadtest/ |
H A D | work_load.py | 45 return True 89 subprocess.run(command, check=True, shell=False) 91 subprocess.run(command, check=True) 114 stderr=subprocess.PIPE, universal_newlines=True) 115 while True: 189 "%Y%m%d%H%M%S"), reverse=True) 199 for row in sheet_one.iter_rows(min_row=2, values_only=True): 201 for row in sheet_two.iter_rows(min_row=2, values_only=True): 254 os.makedirs(destination_dir, exist_ok=True)
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ |
H A D | preparation_step.py | 86 self.test_gen_path.mkdir(exist_ok=True) 109 result.extend(glob(glob_expression, recursive=True)) 144 confs = list(glob(os.path.join(self.test_source_path, "**/*.yaml"), recursive=True)) 164 capture_output=True, 175 return list(glob(glob_expression, recursive=True)) 185 return list(glob(glob_expression, recursive=True)) 208 tests = list(glob(glob_expression, recursive=True)) 258 required=True) 262 required=True)
|
/arkcompiler/runtime_core/static_core/plugins/ets/snippet_verifier/ |
H A D | verify.py | 129 snippet_tags[trailed_line] = True 133 snippet_tags["expect-cte"] = True 142 snippet_tags["marked"] = True 191 names[name] = True 196 correct_tags = True 250 return True 261 result = True 272 result = True
|
/arkcompiler/runtime_core/static_core/scripts/code_style/ |
H A D | doxygen_style_check.py | 55 return True 69 is_right_style = True 98 found_wrong_comment = True 103 found_wrong_comment = True 130 found_wrong_comment = True 143 found_wrong_comment = True 164 found_wrong_comment = True 234 main_ret_val = True
|
H A D | code_style_check.py | 57 return True 67 return True 84 main_ret_val = True 115 for dirpath, dirnames, filenames in os.walk(panda_dir, followlinks=True):
|
/arkcompiler/toolchain/test/autotest/aw/ |
H A D | websocket.py | 54 return True 59 while True: 70 while True: 91 return True 122 while True: 165 return True
|
/arkcompiler/runtime_core/static_core/scripts/cmake-checker/ |
H A D | cmake_checker.py | 55 for root, dirs, files in os.walk(directory, followlinks=True): 65 ignore = True 87 error = True 121 process = subprocess.run(args, capture_output=True)
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/ |
H A D | test_result.py | 266 vmb_rep.text_report(full=True) 282 cmp.print(full=True) 309 vmb_rep.text_report(full=True) 319 cmp.print(full=True)
|
/arkcompiler/ets_frontend/ets2panda/public/headers_parser/ |
H A D | line_iterator.py | 41 self.processed_first_line = True 43 return True 61 return True 88 return True
|
H A D | supported_types.py | 297 return True 312 return True
|
/arkcompiler/toolchain/build/toolchain/ |
H A D | gcc_solink_wrapper.py | 33 naflag = True 49 required=True, 53 required=True,
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/internal_tests/ |
H A D | test_expect.py | 30 with warnings.catch_warnings(record=True) as w: 39 with warnings.catch_warnings(record=True) as w:
|
/arkcompiler/toolchain/test/autotest/aw/cdp/ |
H A D | runtime.py | 27 own_properties: bool = True 29 generate_preview: bool = True
|