/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/chapters_test/ |
H A D | chapters_test.py | 28 files: List[str] 33 cls.files = [ 53 files=ChapterTest.files 70 files=ChapterTest.files 87 files=ChapterTest.files 103 files=ChapterTest.files [all...] |
/arkcompiler/runtime_core/static_core/tests/cts-generator/runner/ |
H A D | result.rb | 19 @@stats = { passed: { cnt: 0, files: [] }, 20 failed: { cnt: 0, files: [] }, 21 core: { cnt: 0, files: [] }, 22 compilation_error: { cnt: 0, files: [] }, 23 quickening_error: { cnt: 0, files: [] }, 24 excluded: { cnt: 0, files: [] } } 32 @@stats[:compilation_error][:files] << file 40 @@stats[:quickening_error][:files] << file 48 @@stats[:compilation_error][:files] << file 56 @@stats[:passed][:files] << fil [all...] |
/arkcompiler/runtime_core/tests/cts-generator/runner/ |
H A D | result.rb | 19 @@stats = { passed: { cnt: 0, files: [] }, 20 failed: { cnt: 0, files: [] }, 21 core: { cnt: 0, files: [] }, 22 compilation_error: { cnt: 0, files: [] }, 23 quickening_error: { cnt: 0, files: [] }, 24 excluded: { cnt: 0, files: [] }} 32 @@stats[:compilation_error][:files] << file 40 @@stats[:quickening_error][:files] << file 48 @@stats[:compilation_error][:files] << file 56 @@stats[:passed][:files] << fil [all...] |
/arkcompiler/ets_frontend/test262/ |
H A D | run_test262.py | 40 help='Directory to test. And support multiple directories and files separated by ":"') 248 ALL_SKIP_TESTS.extend(key["files"]) 285 files = [line.strip() for line in fopen.readlines() if not line.startswith("#") and line.strip()] 286 return files 450 files = [] 463 files.append(file_name.split(origin_dir)[1]) 464 return files 467 files = [] 468 files = self.collect_tests() 469 files [all...] |
/arkcompiler/ets_runtime/tools/ap_file_viewer/ |
H A D | webpack.config.js | 27 fs.readdir(sourcePath, async (err, files) => { 32 for (const file of files) { 51 let files = []; 53 files = fs.readdirSync(directoryPath); 54 files.forEach((file, index) => {
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/ |
H A D | chapters.py | 107 def __filter_by_mask(mask: str, files: List[str], extension: str) -> List[str]: 115 for file in files: 121 def filter_by_chapter(self, chapter_name: str, base_folder: str, files: List[str], extension: str) -> Set[str]: 128 filtered.update(self.filter_by_chapter(inc, base_folder, files, extension)) 131 filtered.update(Chapters.__filter_by_mask(mask, files, extension)) 135 excluded.update(self.filter_by_chapter(exc, base_folder, files, extension)) 138 excluded.update(Chapters.__filter_by_mask(mask, files, extension))
|
/arkcompiler/runtime_core/static_core/tools/ark_js_napi_cli/ark_hz/ |
H A D | ark_js_runtime.cpp | 39 std::string files = argv[argc - 1]; in ProcessOptions() local 40 if (!ecmascript::base::StringHelper::EndsWith(files, ".abc")) { in ProcessOptions() 52 *filenames = ecmascript::base::StringHelper::SplitString(files, ":"); in ProcessOptions()
|
/arkcompiler/ets_frontend/testTs/ |
H A D | run_testTs.py | 96 for root, dirs, files in os.walk(ts_dir_path): 97 for fi in files: 130 for root, dirs, files in os.walk(args.dir): 131 for file in files: 144 for root, dirs, files in os.walk(TS_CASES_DIR): 145 for file in files: 204 for root, dirs, files in os.walk(out_dir_path): 205 for fi in files: 213 print("There are no expected files or validation file generation: %s", file) 288 # source ts files [all...] |
/arkcompiler/runtime_core/static_core/static_linker/ |
H A D | link.cpp | 64 const auto files = paParser.GetRemainder(); in main() local 65 if (files.empty()) { in main() 71 auto const &fn = files[0]; in main() 87 auto res = ark::static_linker::Link(conf, options.GetOutput(), files); in main()
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/ |
H A D | generate.py | 58 files = [] 65 files.append( 67 return files 73 files = [] 76 files += x 77 return files 82 """Collect all src files to gen process. 87 files = [] 94 files += BenchGenerator.process_test_list(root, ext) 98 files [all...] |
H A D | unit.py | 122 files = [f for f in self.path.glob(f'{BENCH_PREFIX}{self.name}*') 124 if len(files) > 0: 125 return files[0]
|
/arkcompiler/ets_runtime/test/ |
H A D | runtest.py | 18 Description: Use ark to execute ts/js files 58 parser.add_argument('-c', '--clean', action='store_true', help='clean output files') 470 for root, lists, files in os.walk(dir): 471 for file in files: 488 files = self.find_file(self.args.name, [self.hap_abc, '.hap']) 489 if len(files): 491 file = files[0] 544 files = [] 549 files = self.find_file(self.args.name, self.types[self.step]) 550 if len(files) [all...] |
H A D | run_ts_test262.py | 199 with open(filePath, 'w', encoding="utf-8") as files: 202 files.writelines(c) 208 # cover files 209 with open(filePath, 'w', encoding="utf-8") as files: 211 files.writelines(content) 213 # delete abc,ai,an files
|
/arkcompiler/ets_runtime/ecmascript/js_vm/ |
H A D | main.cpp | 132 bool ExecutePandaFile(EcmaVM *vm, JSRuntimeOptions &runtimeOptions, std::string &files) in ExecutePandaFile() argument 138 arg_list_t fileNames = base::StringHelper::SplitString(files, ";"); in ExecutePandaFile() 140 arg_list_t fileNames = base::StringHelper::SplitString(files, ":"); in ExecutePandaFile() 193 std::string files = argv[argc - 1]; in Main() local 194 if (!base::StringHelper::EndsWith(files, ".abc")) { in Main() 221 ret = ExecutePandaFile(vm, runtimeOptions, files); in Main()
|
/arkcompiler/runtime_core/verifier/tests/ |
H A D | verify_262abc_files.py | 31 for root, _, files in os.walk(folder_path): 32 for file in files: 51 print(f"Total .abc files: {total_count}") 58 parser = argparse.ArgumentParser(description="Verify .abc files using ark_verifier tool.") 59 parser.add_argument("--folder_path", type=str, required=True, help="Path to the folder containing .abc files")
|
H A D | pull_hap_files.bat | 55 @rem Retrieve list of .hap files from the device 56 echo Retrieving list of .hap files from device... 68 @rem Clean up temporary files
|
/arkcompiler/ets_runtime/ecmascript/quick_fix/ |
H A D | main.cpp | 77 std::string files = argv[argc - 1]; in Main() local 78 if (!base::StringHelper::EndsWith(files, ".abc")) { in Main() 108 arg_list_t fileNames = base::StringHelper::SplitString(files, ";"); in Main() 110 arg_list_t fileNames = base::StringHelper::SplitString(files, ":"); in Main()
|
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/test262/ |
H A D | util_test262.py | 112 files = glob(glob_expression, recursive=True) 113 files = [file for file in files if not file.endswith("FIXTURE.js")] 120 for src_file in files:
|
/arkcompiler/ets_frontend/es2panda/test/ |
H A D | test262util.py | 79 files = glob(glob_expression, recursive=True) 80 files = list(filter(lambda f: not f.endswith("FIXTURE.js"), files)) 87 for src_file in files:
|
H A D | runner.py | 468 files = glob(glob_expression) 469 files = fnmatch.filter(files, self.test_root + '**' + self.args.filter) 471 self.tests += list(map(lambda f: func(f, flags), files)) 485 files = glob(glob_expression) 486 files = fnmatch.filter(files, self.test_root + '**' + self.args.filter) 488 self.tests += list(map(lambda f: AbcToAsmTest(f, flags, self.is_debug), files)) 555 files = glob(glob_expression, recursive=True) 556 files [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/doc/ |
H A D | validate_spec.py | 24 parser.add_argument('spec_files_dir', type=str, help='Dir with Spec files for validation') 90 files = get_files_for_validation() 91 errors = validate_meta(files)
|
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/plugins/tools/ |
H A D | paoc.py | 54 f'--boot-panda-files={self.etsstdlib} ' \ 57 '--paoc-panda-files={abc} ' \ 65 def panda_files(files: Iterable[Path]) -> str: 66 if not files: 68 return '--panda-files=' + ':'.join([str(f.with_suffix('.abc')) 69 for f in files])
|
/arkcompiler/ets_frontend/arkguard/scripts/ |
H A D | grammar_test.py | 170 files = sorted(os.listdir(directory)) 171 for one in files: 237 # all source files in test directory 310 files = sorted(os.listdir(root_dir)) 313 if CONFIG_FILE_NAME in files: 320 if has_js_or_ts_files(files): 324 for one in files:
|
/arkcompiler/runtime_core/static_core/compiler/tools/ |
H A D | benchmark_coverage.sh | 151 $PAOC --paoc-panda-files="$benchmark.abc" --compiler-regex="$class_name::$method_name" \ 153 --boot-panda-files="$ARKSTDLIB" --load-runtimes="core" \ 178 echo -n "$PAOC --paoc-panda-files=\"$benchmark.abc\" --paoc-mode=$PAOC_MODE" >> "$LOG_ERROR" 180 echo -n " --boot-panda-files=\"$ARKSTDLIB\" --load-runtimes=\"core\"" >> "$LOG_ERROR" 281 $PAOC --paoc-panda-files="$test".abc --compiler-regex="$class_name::$method_name" \ 283 --boot-panda-files="$boot_panda_files" \ 307 echo -n "$PAOC --paoc-panda-files=\"$test.abc\" --paoc-mode=$PAOC_MODE" >> "$LOG_ERROR" 310 echo -n " --boot-panda-files=\"$boot_panda_files\"" >> "$LOG_ERROR"
|
/arkcompiler/ets_runtime/tools/circuit_viewer/src/engine/ |
H A D | GLFrame.js | 192 GLFrame.gi().callbackDropfile(e.dataTransfer.files, e.offsetX, e.offsetY); 234 callbackDropfile(files, x, y) { 236 this.pCallbackDropfile(files, x, y);
|