| /arkcompiler/runtime_core/compiler/docs/ |
| D | aot_cha.md | 16 /mnt/scratch/build/panda/pandastdlib/arkstdlib.abc*2239629066:/mnt/scratch/build/panda/Application.… 27 $ bin/ark_aot --boot-panda-files=$LIBDIR/lib1.abc:$LIBDIR/lib2.abc \ 28 --paoc-panda-files application.abc \ 31 $ bin/ark --boot-panda-files=$LIBDIR/lib1.abc:$LIBDIR/lib2.abc \ 33 application.abc \ 40 $ bin/ark_aot --boot-panda-files=$LIBDIR/lib1.abc \ 41 --paoc-panda-files application.abc \ 44 $ bin/ark --boot-panda-files=$LIBDIR/lib1.abc:$LIBDIR/lib2.abc \ 46 application.abc \ 49 Runtime class context: '$LIBDIR/lib1.abc*2239629066:$LIBDIR/lib2.abc*2767220441:application.abc*252… [all …]
|
| /arkcompiler/runtime_core/tests/checked/verify_aot_tests/ |
| D | verify_aot_test.pa | 25 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch… 26 #! RUN options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc", entry: "Ver… 31 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch… 32 #! RUN options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc", entry: "Ver… 37 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch… 38 #! RUN options: "--panda-files=../../verify_aot_tests_file2.checked/test.abc", entry: "Ver… 43 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch… 44 #! RUN options: "--panda-files=../../verify_aot_tests_file2.checked/test.abc", entry: "Ver… 49 #! RUN_PAOC options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc --paoc-use-ch… 50 #! RUN options: "--panda-files=../../verify_aot_tests_file1.checked/test.abc", entry: "Ver… [all …]
|
| /arkcompiler/toolchain/test/resource/tooling/ |
| D | ohos_test.xml | 18 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/sample.abc -> /data/test" src="o… 19 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/exception.abc -> /data/test" src… 20 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/arrow_func.abc -> /data/test" sr… 21 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/async_func.abc -> /data/test" sr… 22 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/range_error.abc -> /data/test" s… 23 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/syntax_exception.abc -> /data/te… 24 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/throw_exception.abc -> /data/tes… 25 …<option name="push" value="obj/arkcompiler/toolchain/tooling/test/step.abc -> /data/test" src="out…
|
| /arkcompiler/ets_frontend/test262/ |
| D | run_sunspider.py | 79 parser.add_argument('--merge-abc-binary', 82 help="frontend merge abc binary tool") 83 parser.add_argument('--merge-abc-mode', 86 help="run test for merge abc mode") 233 output_abc = f"{output_file}.abc" 241 proto_bin_file, '--module', '--merge-abc'] 243 # for testing no-record-name abc 252 proto_abc_file = ".".join([os.path.splitext(os.path.basename(self.js_file))[0], "abc"]) 281 self.abc_file = f'{file_name_pre}.abc' 287 self.abc_file = f'{file_name_pre}.abc' [all …]
|
| /arkcompiler/ets_frontend/ts2panda/tests/expression/ |
| D | regular.test.js | 28 it("let a = /abc/;", function () { 29 let insns = compileMainSnippet("let a = /abc/;"); 33 new Createregexpwithliteral(new Imm(0), "abc", new Imm(0)), 39 it("let a = /abc/i;", function () { 40 let insns = compileMainSnippet("let a = /abc/i;"); 44 new Createregexpwithliteral(new Imm(0), "abc", new Imm(2)),
|
| /arkcompiler/runtime_core/docs/ |
| D | aot.md | 126 directory then path to `arkstdlib.abc` should be specified via `--boot-panda-files` option. 134 `ark --aot-file file.an file.abc _GLOBAL::main` 140 `ark_aot --panda-files=file1.abc:file2.abc --output file.an` 148 ark_aot --panda-files file.abc --output file.an 149 ark --aot-file file.an file.abc _GLOBAL::main 151 Bad ("file.abc" != "/local/data/tmp/file.abc"): 152 ark_aot --panda-files file.abc --output file.an 153 ark --aot-file file.an /local/data/tmp/file.abc _GLOBAL::main 156 ark_aot --panda-files file.abc --output file.an --location /local/data/tmp 157 ark --aot-file file.an /local/data/tmp/file.abc _GLOBAL::main [all …]
|
| /arkcompiler/runtime_core/verification/util/parser/tests/ |
| D | parser_test.cpp | 102 std::string aBc {"aBc"}; in TEST() local 103 it start = &(aBc[0]); in TEST() 104 it end = &(aBc[3]); in TEST() 106 start = &(aBc[1]); in TEST() 108 start = &(aBc[0]); in TEST() 110 start = &(aBc[0]); in TEST() 167 start = &(aBc[0]); in TEST() 168 end = &(aBc[3]); in TEST() 178 start = &(aBc[0]); in TEST() 179 end = &(aBc[3]); in TEST() [all …]
|
| /arkcompiler/runtime_core/tests/checked/ |
| D | aot_cha.pa | 26 #! RUN_PAOC options: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=true --com… 30 #! RUN options: "--panda-files=../../basics_aot.checked/test.abc", entry: "AotChaTest::mai… 34 #! RUN_PAOC options: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=false --co… 38 #! RUN options: "--panda-files=../../basics_aot.checked/test.abc", entry: "AotChaTest::mai… 46 #! RUN options: "--panda-files=../../basics_aot.checked/test.abc", entry: "AotChaTest::mai… 50 #! RUN_PAOC options: "--panda-files=../../basics_aot.checked/test.abc --paoc-use-cha=true --com…
|
| /arkcompiler/toolchain/build/compile_script/ |
| D | gen.sh | 55 rm -rf out *.log test.abc test test.js gen.sh .gn 62 elif [ "$1" = "abc" ] 69 ./$ark_root/ark_js_runtime/ark_js_vm test.abc 74 ./$ark_root/ark_js_runtime/ark_js_vm test.abc 87 echo -e "\033[32m + . == execute test.abc !\033[0m" 88 echo -e "\033[32m + abc == get test.abc !\033[0m"
|
| /arkcompiler/ets_runtime/ecmascript/module/tests/ |
| D | ecma_module_test.cpp | 204 std::string baseFileName = MODULE_ABC_PATH "module_test_module_test_module_base.abc"; in HWTEST_F_L0() 214 std::string baseFileName = MODULE_ABC_PATH "module_test_module_test_A.abc"; in HWTEST_F_L0() 224 std::string baseFileName = MODULE_ABC_PATH "module_test_module_test_C.abc"; in HWTEST_F_L0() 235 std::string baseFileName = MODULE_ABC_PATH "module_test_module_test_C.abc"; in HWTEST_F_L0() 266 std::string baseFileName = MODULE_ABC_PATH "module_test_module_test_C.abc"; in HWTEST_F_L0() 284 CString baseFilename = "merge.abc"; in HWTEST_F_L0() 308 …aseFileName = "/data/storage/el1/bundle/com.bundleName.test/moduleName/moduleName/ets/modules.abc"; in HWTEST_F_L0() 315 CString baseFilename = "merge.abc"; in HWTEST_F_L0() 349 CString baseFilename = "merge.abc"; in HWTEST_F_L0() 367 CString requestFileName = "secord.abc"; in HWTEST_F_L0() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/quick_fix/ |
| D | main.cpp | 72 if (!base::StringHelper::EndsWith(files, ".abc")) { in Main() 73 std::cout << "The last argument must be abc file" << std::endl; in Main() 107 if (len < 4) { // 4: four abc file in Main() 108 … std::cout << "Must include base.abc, patch.abc, test1.abc, test2.abc absolute path" << std::endl; in Main() 122 std::string testUnloadFileName = fileNames[2]; // 2: third file, test unloadpatch abc file. in Main() 123 for (uint32_t i = 3; i < len; i++) { // 3: patch file, test unloadpatch abc file. in Main()
|
| /arkcompiler/runtime_core/ |
| D | README_zh.md | 27 ├── assembler # 汇编器,将文本格式的方舟字节码文件(*.pa)转换为二进制格式的字节码文件(*.abc),具体格式见:docs/assembly_form… 28 ├── bytecode_optimizer # 字节码优化器,对方舟字节码进行进一步优化生成带优化的字节码文件(*.abc) 32 ├── disassembler # 反汇编器,将二进制格式的方舟字节码文件(*.abc)转换为文本格式的方舟字节码文件(*.pa) 39 ├── libark_defect_scan_aux # 提供二进制格式方舟字节码文件(*.abc)的漏洞扫描接口 41 ├── libpandafile # 二进制格式的方舟字节码文件(*.abc)源码仓 43 ├── panda # CLI工具,用于执行方舟字节码文件(*.abc)
|
| D | README.md | 26 …tecode file in text format (*.pa) into a bytecode file in binary format (*.abc). For details about… 27 …er, further optimize the ARK bytecode to generate optimized bytecode file in binary format (*.abc). 31 … # Disassembler that converts an ARK bytecode file in binary format (*.abc) into an ARK byteco… 38 …fect_scan_aux # Vulnerability defect scanning tool for ARK bytecode file in binary format (*.abc). 40 ├── libpandafile # Source code repository of ARK bytecode files (*.abc) in binary format. 42 ├── panda # CLI tool used to execute ARK bytecode files in binary format(*.abc).
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/tests/ |
| D | BUILD.gn | 27 test_abc = "$target_out_dir/single_file/${file}.abc" 34 extra_args += [ "--merge-abc" ] 52 _base_abc_path_ = "$target_out_dir/multi_file/base/merge.abc" 53 _patch_abc_path_ = "$target_out_dir/multi_file/patch/merge.abc" 94 extra_args += [ "--merge-abc" ] 107 extra_args += [ "--merge-abc" ]
|
| D | quick_fix_test.cpp | 59 std::string baseFileName = QUICKFIX_ABC_PATH "single_file/base/index.abc"; in HWTEST_F_L0() 60 std::string patchFileName = QUICKFIX_ABC_PATH "single_file/patch/index.abc"; in HWTEST_F_L0() 82 std::string baseFileName = QUICKFIX_ABC_PATH "multi_file/base/merge.abc"; in HWTEST_F_L0() 83 std::string patchFileName = QUICKFIX_ABC_PATH "multi_file/patch/merge.abc"; in HWTEST_F_L0() 131 if (baseFileName != QUICKFIX_ABC_PATH "multi_file/base/merge.abc") { in QuickFixQueryFunc() 153 std::string baseFileName = QUICKFIX_ABC_PATH "multi_file/base/merge.abc"; in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/test/ |
| D | test_helper.gni | 102 _test_abc_path_ = "$target_out_dir/${_target_name_}.abc" 140 extra_args += [ "--merge-abc" ] 161 _extra_modules_ += [ "$target_out_dir/${module}.abc" ] 330 _test_abc_path_ = "$target_out_dir/${_target_name_}.abc" 344 "--merge-abc", 460 _test_abc_path_ = "$target_out_dir/${_target_name_}.abc" 474 "--merge-abc", 489 _builtins_d_abc_path_ = "$target_out_dir/lib_ark_builtins.d.abc" 498 "--merge-abc", 617 _test_abc_path_ = "$target_out_dir/${_target_name_}.abc" [all …]
|
| D | runtest.py | 46 help='run step supported opt: abc, pack, aot, aotd, run, rund, asmint, asmintd, int, intd') 91 self.hap_abc = 'ets/modules.abc' 117 'abc': ['.ts', '.js'], 119 'aot': ['.abc'], 120 'aotd': ['.abc'], 121 'run': ['.abc'], 122 'rund': ['.abc'], 123 'asmint': ['.abc'], 124 'asmintd': ['.abc'], 125 'int': ['.abc'], [all …]
|
| /arkcompiler/runtime_core/pandastdlib/ |
| D | CMakeLists.txt | 20 # TODO: remove after all components will use arkstdlib.abc instead of pandastdlib.bin 22 … ${CMAKE_COMMAND} -E create_symlink "${CMAKE_CURRENT_BINARY_DIR}/arkstdlib.abc" "${CMAKE_CURRENT_B… 28 COMMAND ${CMAKE_COMMAND} -E create_symlink "arkstdlib.abc" "pandastdlib.bin"
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | string_helpers_test.cpp | 29 EXPECT_EQ(Format("abc"), "abc"); in TEST() 37 ss << "abc"; in TEST() 39 EXPECT_EQ(Format("%10003s", "abc"), ss.str()); in TEST()
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | cmdOptions.ts | 30 …ing, lazyMultiple: true, defaultValue: [], description: "watch expression, abc file path and maybe… 34 …{ name: 'timeout', alias: 't', type: Number, defaultValue: 0, description: "js to abc timeout thre… 52 …e: String, defaultValue: "", description: "specify the file path info recorded in generated abc" }, 54 …escription: "specify the record name, this option can only be used when [merge-abc] is enabled." }, 57 { name: 'merge-abc', type: Boolean, defaultValue: false, description: "Compile as merge abc" }, 224 outputFile = CmdOptions.getInputFileName() + ".abc"; 233 this.options["merge-abc"] = mergeAbcMode; 237 if (!this.options || !this.options["merge-abc"]) { 344 if (!this.options || !this.options["merge-abc"]) { 369 return this.options["merge-abc"]
|
| /arkcompiler/ets_frontend/ts2panda/scripts/ |
| D | generate_js_bytecode.py | 50 help='compile abc with function sourcecode info') 51 parser.add_argument("--merge-abc", action='store_true', 52 help='Compile as merge abc') 106 cmd.insert(9, '--merge-abc')
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_string_test.cpp | 99 JSHandle<EcmaString> string2 = factory->NewFromASCII("ABC"); in HWTEST_F_L0() 111 JSTaggedValue test = factory->NewFromASCII("ABC").GetTaggedValue(); in HWTEST_F_L0() 137 JSTaggedValue test = factory->NewFromASCII("ABC").GetTaggedValue(); in HWTEST_F_L0() 162 JSTaggedValue test = factory->NewFromASCII("ABC").GetTaggedValue(); in HWTEST_F_L0() 223 // "ABC".charCodeAt(0) 227 JSHandle<EcmaString> thisVal = factory->NewFromASCII("ABC"); in HWTEST_F_L0() 240 // "ABC".charCodeAt(-1) 244 JSHandle<EcmaString> thisVal = factory->NewFromASCII("ABC"); in HWTEST_F_L0() 258 // "ABC".codePointAt(1) 262 JSHandle<EcmaString> thisVal = factory->NewFromASCII("ABC"); in HWTEST_F_L0() [all …]
|
| /arkcompiler/runtime_core/compiler/tools/ |
| D | benchmark_coverage.sh | 77 ARKSTDLIB="$PANDA_BINARY_ROOT/pandastdlib/arkstdlib.abc" 137 if $PANDASM $BENCHMARKS/$benchmark.pa $benchmark.abc 154 … $PAOC --paoc-panda-files="$benchmark.abc" --compiler-regex="$class_name::$method_name" \ 183 echo "$PANDASM $BENCHMARKS/$benchmark.pa $benchmark.abc" >> $LOG_ERROR 184 … echo -n "$PAOC --paoc-panda-files=\"$benchmark.abc\" --paoc-mode=$PAOC_MODE" >> $LOG_ERROR 195 rm -f $benchmark.abc 268 if $PANDASM $SMALL_TESTS/$test.pa $test.abc 299 $PAOC --paoc-panda-files=$test.abc --compiler-regex="$class_name::$method_name" \ 327 echo "$PANDASM $SMALL_TESTS/$test.pa $test.abc" >> $LOG_ERROR 328 … echo -n "$PAOC --paoc-panda-files=\"$test.abc\" --paoc-mode=$PAOC_MODE" >> $LOG_ERROR [all …]
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | js_stable_array_test.cpp | 263 JSHandle<JSTaggedValue> handleTagValElementEcmaStr(objFactory->NewFromStdString("abc")); in HWTEST_F_L0() 277 …maStringAccessor(handleEcmaStrRet).ToCString().c_str(), "abc,abc,abc,abc,abc,abc,abc,abc,abc,abc"); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/test/moduletest/merge/ |
| D | expect_output.txt | 14 this is merge abc test 15 hello merge abc
|