/arkcompiler/runtime_core/static_core/runtime/include/ |
H A D | class_helper.h | 156 result.append("void"); in GetNameUndecorated() 159 result.append("u1"); in GetNameUndecorated() 162 result.append("i8"); in GetNameUndecorated() 165 result.append("u8"); in GetNameUndecorated() 168 result.append("i16"); in GetNameUndecorated() 171 result.append("u16"); in GetNameUndecorated() 174 result.append("i32"); in GetNameUndecorated() 177 result.append("u32"); in GetNameUndecorated() 180 result.append("i64"); in GetNameUndecorated() 183 result.append("u6 in GetNameUndecorated() [all...] |
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/reports/ |
H A D | xml_view.py | 58 test_cases.append( 69 test_cases.append('</testcase>') 76 xml_report.append('</testsuite>\n') 99 result.append('<failure>') 100 result.append('<![CDATA[') 101 result.append(f"error kind = {test_result.fail_kind.name}") 102 result.append(f"To reproduce:{test_result.reproduce}\n") 103 result.append(f"OUT: {test_result.report.output}") 104 result.append(f"ERR: {test_result.report.error}") 105 result.append( [all...] |
H A D | report.py | 146 result_expected.append(self.__get_good_line(expected_line)) 147 result_actual.append(self.__get_good_line(actual_line)) 149 result_expected.append(self.__get_failed_line(expected_line)) 150 result_actual.append(self.__get_failed_line(actual_line)) 156 result_expected.append(self.__get_good_line(expected_list[i])) 158 result_actual.append(self.__get_good_line(actual_list[i])) 218 result.append(self.__get_md_good_line(expected_line, actual_line)) 220 result.append(self.__get_md_failed_line(expected_line, actual_line)) 226 result.append(self.__get_md_good_line(expected_list[i], " ")) 228 result.append(sel [all...] |
/arkcompiler/toolchain/build/templates/cxx/ |
H A D | external_deps_handler.py | 94 deps.append(get_full_path_from_target_name(config_info, target_name)) 98 deps.append(get_full_path_from_target_name(config_info, target_name)) 102 deps.append(get_full_path_from_target_name(config_info, target_name)) 106 deps.append(get_full_path_from_target_name(config_info, target_name)) 111 deps.append(get_full_path_from_target_name(config_info, target_name)) 116 deps.append(get_full_path_from_target_name(config_info, target_name)) 121 deps.append(get_full_path_from_target_name(config_info, target_name)) 126 deps.append(get_full_path_from_target_name(config_info, target_name)) 131 deps.append(get_full_path_from_target_name(config_info, target_name)) 136 deps.append(get_full_path_from_target_nam [all...] |
/arkcompiler/ets_frontend/es2panda/test/benchmark/ |
H A D | run_benchmark.py | 61 cmds[ES2ABC].append('--parse-only') 62 self.select_params.append(f'{PARSE_ONLY}:True') 64 self.select_params.append(f'{PARSE_ONLY}:False') 66 cmds[ES2ABC].append(f'--opt-level {self.args.opt_level}') 67 self.select_params.append(f'{OPT_LEVEL}:{self.args.opt_level}') 69 self.select_params.append(f'{OPT_LEVEL}:0') 70 self.select_params.append(f'{RUNS_NUM}:{self.args.runs}') 74 self.select_params.append(f'{COMP}:True') 76 self.select_params.append(f'{COMP}:False') 101 html_data[engine_type].append(test_resul [all...] |
/arkcompiler/ets_runtime/ecmascript/platform/common/ |
H A D | map.cpp | 24 return std::string(HEAP_TAG).append(spaceName); in GetPageTagString() 26 return std::string(HEAP_TAG).append(std::to_string(threadId)).append(spaceName); in GetPageTagString() 31 return std::string(CODE_TAG).append(std::to_string(threadId)); in GetPageTagString()
|
/arkcompiler/ets_runtime/test/workloadtest/ |
H A D | work_load.py | 200 data_one.append(row) 202 data_two.append(row) 209 result_sheet.append(['case', 'percentage']) 211 result_sheet.append(row) 218 result_sheet.append(['Total_Case', str(len(result_data))]) 219 result_sheet.append(['Boundary_Total_Case', str(boundary_num)]) 240 result_data.append([case, percentage]) 285 execute_args.append('--code-v') 286 execute_args.append(code_v) 288 execute_args.append(' [all...] |
/arkcompiler/ets_runtime/test/ffiworkloadtest/ |
H A D | get_ffi_workload_report.py | 62 xml_list.append(file_path) 79 test_retult_list.append(test_result) 159 ws.append(new_row) 187 xml_list.append(file_path) 201 excute_time_list.append(time) 274 Constants.logger.info("begin to append summary infomation to today report.") 278 # append 3 blank 282 ws.append(new_row) 285 ws.append(new_row) 291 ws.append(new_ro [all...] |
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ |
H A D | ets_test_suite.py | 118 self._preparation_steps.append(CopyStep( 124 self._preparation_steps.append(JitStep( 139 self._preparation_steps.append(CopyStep( 145 self._preparation_steps.append(JitStep( 160 self._preparation_steps.append(CopyStep( 166 self._preparation_steps.append(JitStep( 182 self._preparation_steps.append(CustomGeneratorTestPreparationStep( 191 self._preparation_steps.append(CopyStep( 197 self._preparation_steps.append(JitStep( 212 self._preparation_steps.append(CtsTestPreparationSte [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/arkts_header/ |
H A D | header_writer.cpp | 98 sign.append(panda_file::Type::GetSignatureByTypeId(type)); in ProcessProtoType() 99 args.append(ConvertEtsPrimitiveTypeToString(ConvertPandaTypeToEtsType(type))); in ProcessProtoType() 102 sign.append(name); in ProcessProtoType() 103 args.append(ConvertEtsReferenceToString(name)); in ProcessProtoType() 138 args.append(", "); in PrintPrototype() 147 sign.append(":"); in PrintPrototype() 148 sign.append(returnSign); in PrintPrototype()
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | report.py | 142 times1.append(t1.mean_time) 143 times2.append(t2.mean_time) 144 sizes1.append(t1.code_size) 145 sizes2.append(t2.code_size) 146 rss1.append(t1.mem_bytes) 147 rss2.append(t2.mem_bytes) 194 times.append(mean(e.avg_time for e in t.execution_forks 196 sizes.append(t.code_size) 197 rsss.append(t.mem_bytes) 411 times1.append(l [all...] |
/arkcompiler/runtime_core/assembler/ |
H A D | meta.cpp | 240 return Error(std::string("Unexpected attribute '").append(attribute) + in Store() 256 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpRecordAttribute() 270 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpIdAttribute() 276 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpIdAttribute() 290 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementNameAttribute() 296 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementNameAttribute() 310 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementTypeAttribute() 316 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementTypeAttribute() 330 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementArrayComponentTypeAttribute() 336 return Error(std::string("Unexpected attribute '").append(attribut in MeetExpElementArrayComponentTypeAttribute() [all...] |
/arkcompiler/runtime_core/static_core/assembler/ |
H A D | meta.cpp | 241 return Error(std::string("Unexpected attribute '").append(attribute) + in Store() 257 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpRecordAttribute() 271 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpIdAttribute() 277 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpIdAttribute() 291 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementNameAttribute() 297 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementNameAttribute() 311 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementTypeAttribute() 317 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementTypeAttribute() 331 return Error(std::string("Unexpected attribute '").append(attribute) + in MeetExpElementArrayComponentTypeAttribute() 337 return Error(std::string("Unexpected attribute '").append(attribut in MeetExpElementArrayComponentTypeAttribute() [all...] |
/arkcompiler/runtime_core/static_core/scripts/intrusive-testing/ |
H A D | intrusive_instrumentator.py | 231 s.append("class: %s" % (str(self.cl))) 233 s.append("method: %s" % (str(self.method))) 235 s.append("source: %s" % (str(self.source))) 456 incl_text_list.append("#include \"") 457 incl_text_list.append(header) 458 incl_text_list.append("\"\n") 485 sync_point_code.append("#endif\n") 500 sync_point_code.append("\nelse ") 501 sync_point_code.append("if(") 502 sync_point_code.append(CPP_CODE_TO_GET_TEST_ID_IN_PAND [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/test/mempool/ |
H A D | maple_string_test.cpp | 178 // test method:append(const MapleString &str) in TEST() 179 ASSERT_STREQ((ms_obj1.append(ms_obj2)).c_str(), "ms_obj1"); in TEST() 180 ASSERT_STREQ((ms_obj1.append(ms_obj3)).c_str(), "ms_obj1MS_OBJ3"); in TEST() 181 // test method:append(const std::string &str) in TEST() 182 ASSERT_STREQ((ms_obj1.append(testStr4)).c_str(), "ms_obj1MS_OBJ3"); in TEST() 183 ASSERT_STREQ((ms_obj1.append(testStr5)).c_str(), "ms_obj1MS_OBJ3STR5"); in TEST() 184 // test method:append(const char *s) in TEST() 185 ASSERT_STREQ((ms_obj1.append(nullptr)).c_str(), "ms_obj1MS_OBJ3STR5"); in TEST() 186 ASSERT_STREQ((ms_obj1.append(testStr3)).c_str(), "ms_obj1MS_OBJ3STR5MS_OBJ3"); in TEST() 187 // test method:append(cons in TEST() [all...] |
/arkcompiler/ets_frontend/es2panda/test/ |
H A D | runner.py | 140 '--aot-args', action='append', dest='aot_args', default=[], 195 cmd.append("--target-api-sub-version=beta3") 226 cmd.append(self.path) 268 test_options[opt].append(value) 290 cmd.append('--module') 291 cmd.append(self.path) 398 results.append(res) 422 fail_list.append(test) 424 success_list.append(test) 506 gen_abc_cmd.append(sel [all...] |
/arkcompiler/runtime_core/static_core/scripts/clang-tidy/ |
H A D | clang_tidy_check.py | 263 jobs.append((proc, msg)) 273 upd_job.append((proc, msg)) 338 file_list.append((file_path, compile_args)) 350 filtered.append((file_path, keys)) 354 filtered.append((file_path, keys)) 358 filtered.append((file_path, keys)) 382 filtered.append((file_path, keys)) 386 filtered.append((file_path, keys)) 426 result.append(f"Error: use of header starting with tools/es2panda in {file_path}") 440 system_headers_.append((pat [all...] |
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | pandargs.h | 497 errstr_.append("pandargs: Invalid option \""); in FindArg() 498 errstr_.append(argName); in FindArg() 499 errstr_.append("\"\n"); in FindArg() 511 errstr_.append("pandargs: Invalid sub-argument \""); in ParseSubArgument() 512 errstr_.append(argName); in ParseSubArgument() 513 errstr_.append("\"\n"); in ParseSubArgument() 525 errstr_.append("pandargs: Only boolean arguments might have no value \""); in ParseSubArgument() 526 errstr_.append(argName); in ParseSubArgument() 527 errstr_.append("\"\n"); in ParseSubArgument() 545 errstr_.append("pandarg in ParseCompoundArg() [all...] |
/arkcompiler/runtime_core/static_core/libllvmbackend/ |
H A D | llvm_irtoc_compiler.cpp | 144 features.append(feature).append(","); in GetFastPathFeatures() 149 features.append("+reserve-").append(arkInterface_.GetFramePointerRegister()); in GetFastPathFeatures() 150 features.append(","); in GetFastPathFeatures() 151 features.append("+reserve-").append(arkInterface_.GetThreadRegister()); in GetFastPathFeatures()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | js_date.cpp | 674 str.append(WEEK_DAY_NAME[fields[WEEKDAY]]) // Append weekdy name in ToDateString() 675 .append(SPACE_STR) // Append SPACE in ToDateString() 676 .append(MONTH_NAME[fields[MONTH]]) // Append mouth name in ToDateString() 677 .append(SPACE_STR); // Append SPACE in ToDateString() 706 str.append(WEEK_DAY_NAME[fields[WEEKDAY]]) // Append weekday name in ToDateString() 707 .append(SPACE_STR) // Append SPACE in ToDateString() 708 .append(MONTH_NAME[fields[MONTH]]) // Append mouth name in ToDateString() 709 .append(SPACE_STR); // Append SPACE in ToDateString() 719 str.append(SPACE_STR) // Append SPACE in ToDateString() 720 .append("GM in ToDateString() [all...] |
/arkcompiler/ets_runtime/ecmascript/base/ |
H A D | path_helper.cpp | 51 res.append(e); in NormalizePath() 54 res.append(1, SLASH_TAG).append(e); in NormalizePath()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | pandargs.h | 498 errstr_.append("pandargs: Invalid option \""); in FindArg() 499 errstr_.append(arg_name); in FindArg() 500 errstr_.append("\"\n"); in FindArg() 512 errstr_.append("pandargs: Invalid sub-argument \""); in ParseSubArgument() 513 errstr_.append(arg_name); in ParseSubArgument() 514 errstr_.append("\"\n"); in ParseSubArgument() 526 errstr_.append("pandargs: Only boolean arguments might have no value \""); in ParseSubArgument() 527 errstr_.append(arg_name); in ParseSubArgument() 528 errstr_.append("\"\n"); in ParseSubArgument() 601 errstr_.append("pandarg in ParseNextRegularArg() [all...] |
/arkcompiler/toolchain/build/compile_script/ |
H A D | ark.py | 343 cmd.append("--ark-arch aarch64") 344 cmd.append(f"--ark-arch-root=../../{out_path}/common/common/libc/") 345 cmd.append(f"--ark-frontend-binary=../../{x64_out_path}/arkcompiler/ets_frontend/es2abc") 346 cmd.append(f"--merge-abc-binary=../../{x64_out_path}/arkcompiler/ets_frontend/merge_abc") 348 cmd.append(f"--ark-aot-tool=../../{out_path}/arkcompiler/ets_runtime/ark_aot_compiler") 350 cmd.append(f"--stub-path=../../{out_path}/gen/arkcompiler/ets_runtime/stub.an") 352 cmd.append(f"--ark-frontend-binary=../../{out_path}/arkcompiler/ets_frontend/es2abc") 353 cmd.append(f"--merge-abc-binary=../../{out_path}/arkcompiler/ets_frontend/merge_abc") 355 cmd.append(f"--ark-aot-tool=../../{out_path}/arkcompiler/ets_runtime/ark_aot_compiler") 357 cmd.append( [all...] |
/arkcompiler/ets_frontend/testTs/ |
H A D | run_testTs.py | 123 result_path.append(result) 127 result_path.append(result) 137 result_path.append(result) 141 result_path.append(result) 151 result_path.append(result) 155 result_path.append(result) 168 out_list.append(''.join(out_content.split('\n'))) 185 out_text_list.append(out_txt) 189 out_text_list.append(c) 221 expectcontlist.append( [all...] |
/arkcompiler/ets_frontend/arkguard/scripts/ |
H A D | grammar_test.py | 88 all_task.append(pool.submit(action, data)) 176 file_list.append(abs_path) 178 file_list.append(abs_path) 180 file_list.append(abs_path) 182 file_list.append(abs_path) 250 self.time_list.append(unit) 256 self.obfuscation_tasks.append(task) 269 self.obfuscate_result.failed_cases.append(self.obfuscation_tasks[i]) 284 run_with_node_list.append(one) 297 self.run_with_node_result.failed_cases.append(run_with_node_lis [all...] |