/arkcompiler/ets_frontend/test/scripts/sdk_test/ |
H A D | preparation.py | 55 if not os.path.exists(java_path): 60 if not os.path.exists(node_path): 71 if os.path.exists(output_log_file): 73 if os.path.exists(daily_report_file): 75 if os.path.exists(pictures_dic):
|
/arkcompiler/ets_frontend/testTs/ |
H A D | utils.py | 35 if not os.path.exists(path):
40 if os.path.exists(path):
45 if os.path.exists(path):
87 if os.path.exists(os.path.join(ts2abc_build_dir, "package.json")):
89 elif os.path.exists(os.path.join(ts2abc_build_dir, "..", "package.json")):
|
H A D | run_testTs.py | 86 if not os.path.exists(out_dir_path): 105 if os.path.exists(temp_abc_file_path): 108 if os.path.exists(temp_out_file_path): 212 if (not os.path.exists(out_path) or not os.path.exists(expect_path)): 231 if not os.path.exists(OUT_RESULT_FILE): 259 if (os.path.exists(TS_CASES_DIR)): 270 if not os.path.exists("./tests/cases/conformance/"):
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/ |
H A D | compare.py | 32 def exists(name, d): function 41 if not os.path.exists(args.old): 42 print("Input file (%s) does not exists." % args.old) 45 if not os.path.exists(args.new): 46 print("Input file (%s) does not exists." % args.new) 70 if not exists("error", old_res[filename]): 71 if not exists("error", new_res[filename]): 72 if exists("code_item section", new_res[filename]):
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | draw_cfg_test.cpp | 110 EXPECT_TRUE(std::filesystem::exists(dump_file)); in HWTEST_F() 117 EXPECT_TRUE(std::filesystem::exists(dot_file)); in HWTEST_F() 118 EXPECT_TRUE(std::filesystem::exists(png_file)); in HWTEST_F() 144 EXPECT_TRUE(std::filesystem::exists(dump_file)); in HWTEST_F() 151 EXPECT_TRUE(std::filesystem::exists(dot_file)); in HWTEST_F() 152 EXPECT_TRUE(std::filesystem::exists(png_file)); in HWTEST_F()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/benchmark/ |
H A D | compare.py | 33 def exists(name, d): function 42 if not os.path.exists(args.old): 43 logging.error("Input file (%s) does not exists.", args.old) 46 if not os.path.exists(args.new): 47 logging.error("Input file (%s) does not exists.", args.new) 71 if not exists("error", old_res[filename]): 72 if not exists("error", new_res[filename]): 73 if exists("code_item section", new_res[filename]):
|
/arkcompiler/ets_frontend/test/scripts/auto_xts_test/ |
H A D | result.py | 30 if (os.path.exists(summary_report)): 34 if (os.path.exists(details_report)): 38 if (os.path.exists(failures_report)):
|
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/src/arkdb/ |
H A D | runnable_module.py | 52 if not source_file.exists(): 71 if not (self._disasm_file and self._disasm_file.exists()): 88 if not self.source_file.exists(): 93 if not self.source_file.exists(): 95 if not self.panda_file.exists():
|
/arkcompiler/toolchain/build/prebuilts_download/ |
H A D | util.py | 24 if not os.path.exists(input_file): 43 if not os.path.exists(input_file): 63 if not os.path.exists(file_dir): 76 if os.path.exists(output_file) and os.path.isfile(output_file): 95 if not os.path.exists(file_dir):
|
H A D | prebuilts_download.py | 72 return os.path.exists(mark_file_path) 146 if not os.path.exists(abs_unzip_dir): 156 if os.path.exists(local_file) and not _check_sha256(huaweicloud_url, local_file): 159 if not os.path.exists(local_file): 191 if os.path.exists(src_dir): 197 if os.path.exists(dest_dir): 201 if os.path.exists(dest_dir) and dest_dir != src_dir: 228 if not os.path.exists(args.bin_dir):
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
H A D | bytecode_analysis_results.h | 70 bool &exists); 73 static BytecodeAnalysisResult &GetOrCreateBytecodeAnalysisResult(const std::string &recordname, bool &exists); 77 // Following methods should only be called when no writer modifying analysis results exists 91 const std::string &name, bool &exists) in GetOrCreateElementInMap() 96 exists = false; in GetOrCreateElementInMap() 90 GetOrCreateElementInMap(std::unordered_map<std::string, std::unique_ptr<T>> &map, const std::string &name, bool &exists) GetOrCreateElementInMap() argument
|
H A D | bytecode_analysis_results.cpp | 149 const std::string &filename, bool &exists) in GetOrCreateBytecodeMaps() 151 return GetOrCreateElementInMap<pandasm::AsmEmitter::PandaFileToPandaAsmMaps>(bytecode_maps_, filename, exists); in GetOrCreateBytecodeMaps() 161 bool &exists) in GetOrCreateBytecodeAnalysisResult() 163 return GetOrCreateElementInMap<BytecodeAnalysisResult>(analysis_results_, recordname, exists); in GetOrCreateBytecodeAnalysisResult() 148 GetOrCreateBytecodeMaps( const std::string &filename, bool &exists) GetOrCreateBytecodeMaps() argument 160 GetOrCreateBytecodeAnalysisResult(const std::string &recordname, bool &exists) GetOrCreateBytecodeAnalysisResult() argument
|
/arkcompiler/runtime_core/disassembler/tests/ |
H A D | gen_pa_file.py | 41 if os.path.isabs(out_dir) and not os.path.exists(out_dir): 164 if not os.path.exists(out_merged_dependency_proto_dir): 201 if not os.path.exists(out_dependency_abc_dir): 204 if not os.path.exists(out_dependency_proto_dir): 250 if os.path.exists(out_dir_disassember_test): 266 if not os.path.exists(out_dir): 277 if not os.path.exists(out_file): 308 if not os.path.exists(tc_file): 338 is_out_tc_pa_file = os.path.exists(out_tc_pa_file) 342 is_target_pa_file = os.path.exists(target_pa_fil [all...] |
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/ |
H A D | utils.py | 57 if path.exists(target_path): 81 if not force_download and path.exists(stamp_file): 86 if force_download or not path.exists(temp_path): 89 if path.exists(dest_path): 110 if path.exists(dest_path) and remove_if_exist: 125 write content to file if file exists it will be truncated. if file does not exist it wil be created
|
/arkcompiler/ets_frontend/es2panda/test/benchmark/ |
H A D | utils.py | 70 if os.path.exists(path): 76 if os.path.exists(path): 81 if os.path.exists(file): 86 if not os.path.exists(path): 155 if os.path.exists(case_data): 167 if os.path.exists(need_case_data_path):
|
/arkcompiler/runtime_core/bytecode_optimizer/tests/ |
H A D | analysis_bytecode_test.cpp | 59 bool exists = false; in HWTEST_F() local 60 auto &result = BytecodeAnalysisResults::GetOrCreateBytecodeAnalysisResult(RECORD_NAME, exists); in HWTEST_F() 62 EXPECT_FALSE(exists); in HWTEST_F()
|
/arkcompiler/ets_frontend/test/scripts/utils/send_email/ |
H A D | send_email.py | 30 if not os.path.exists(file_name): 40 if os.path.exists(file): 49 if os.path.exists(path):
|
/arkcompiler/ets_frontend/es2panda/test/bytecode_file_size_comparison/ |
H A D | size_compare.py | 115 help='Path to java bin where exists java/jar/javac command, \ 214 if os.path.exists(dir_path): 263 if os.path.exists(abc_file_path): 284 if os.path.exists(dex_size_data): 317 if os.path.exists(dex_size_data): 321 if os.path.exists(source_size_data): 355 if os.path.exists(self.js_test_root): 357 if os.path.exists(self.ts_test_root): 359 if os.path.exists(self.java_test_root):
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/declgenparser/ |
H A D | runner_declgenparser.py | 41 if symlink_es2panda_test.exists(): 45 if not es2panda_test.exists():
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/ |
H A D | ets_templates_generator.py | 42 if not path.exists() or path in seen: 54 if self.__output_path.exists():
|
/arkcompiler/ets_frontend/ets2panda/public/headers_parser/ |
H A D | runtime_collections.py | 77 if not os.path.exists(headers_path): 92 if not os.path.exists(logs_path):
|
/arkcompiler/ets_frontend/test/scripts/performance_test/ |
H A D | performance_entry.py | 44 if os.path.exists(performance_config.MailPicConfig.html_file_path): 46 if os.path.exists(performance_config.MailPicConfig.attach_path): 48 if not os.path.exists(performance_config.MailPicConfig.mail_data_path): 58 if os.path.exists(pic_path): 171 if os.path.exists(csv_filename):
|
/arkcompiler/ets_runtime/test/jsperftest/ |
H A D | run_js_test.py | 263 if os.path.exists(fangzhou_test_path):
267 if not os.path.exists(class_folder_path):
315 if os.path.exists(api_log_path):
324 if os.path.exists(api_log_path):
339 if not os.path.exists(jspath):
384 if os.path.exists(json_path):
483 if not os.path.exists(args.binarypath):
490 if args.ver_platform.find("arm64") == -1 and not os.path.exists(args.d_8_binary_path):
615 if not os.path.exists(yesterday_report) or not os.path.isfile(yesterday_report):
687 if os.path.exists(v_8_log_pat [all...] |
/arkcompiler/runtime_core/verifier/tests/ |
H A D | version_compatibility_test.py | 38 if os.path.exists(output_dir): 122 if not os.path.exists(js_file): 128 if not os.path.exists(es2abc_path):
|
/arkcompiler/toolchain/build/templates/cxx/ |
H A D | external_deps_handler.py | 26 if os.path.exists(output_file) and os.path.isfile(output_file): 42 if not os.path.exists(input_file): 59 if not os.path.exists(file_dir):
|