| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | class-constructor-calls.ets | 16 let results : int[] = [0,0,0]; 21 results[index++] = 1; 28 results[index++] = 2; 34 results[index++] = 3; 41 results = [0, 0, 0]; 45 assertTrue(results[0] == 1 && results[1] == 0 && results[2] == 0 && index == 1) 47 results = [0,0,0,0]; 50 assertTrue(results[0] == 1 && results[1] == 2 && results[2] == 0 && index == 2) 52 results = [0,0,0,0]; 55 assertTrue(results[0] == 1 && results[1] == 2 && results[2] == 3 && index == 3) [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | object_operator_stub_builder.cpp | 186 void ObjectOperatorStubBuilder::UpdateHolder(GateRef glue, ObjectOperatorResult &results, in UpdateHolder() argument 195 BRANCH(IsEcmaObject(glue, results.GetHolder()), holderUpdated, ¬EcmaObject); in UpdateHolder() 199 BRANCH(TaggedIsString(glue, results.GetHolder()), &isString, &checkIsPrimitiveBoolOrNumber); in UpdateHolder() 204 CheckValidIndexOrKeyIsLength<keyIsElement>(glue, results.GetHolder(), results.GetReceiver(), in UpdateHolder() 210 … *results.holder = CallRuntime(glue, RTSTUB_ID(PrimitiveStringCreate), {results.GetHolder()}); in UpdateHolder() 217 BRANCH(BitOr(TaggedIsNumber(results.GetHolder()), TaggedIsBoolean(results.GetHolder())), in UpdateHolder() 223 SetIsOnProtoType(results); in UpdateHolder() 228 *results.holder = ToPrototypeOrObj(glue, results.GetHolder()); in UpdateHolder() 234 ObjectOperatorResult &results, in LookupPropertyInlinedProps() argument 265 SetFound(results); in LookupPropertyInlinedProps() [all …]
|
| D | object_operator_stub_builder.h | 106 void UpdateHolder(GateRef glue, ObjectOperatorResult &results, GateRef key, 111 ObjectOperatorResult &results, 138 const ObjectOperatorOptions &options, ObjectOperatorResult &results, 143 const ObjectOperatorOptions &options, ObjectOperatorResult &results, 146 … const ObjectOperatorOptions &options, ObjectOperatorResult &results, 149 … const ObjectOperatorOptions &options, ObjectOperatorResult &results,
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/attempt_invalid_type_conversion/ |
| D | attemp_invalid_type_conversion_only_compile.params.yaml | 16 …- desc: Verify that attempting to cast a readonly property to a mutable property results in a type… 25 - desc: Verify that attempting to cast a function to a number results in a type error. 31 - desc: Verify that attempting to cast a boolean to a number results in a type error. 37 - desc: Verify that attempting to cast null to a number results in a type error. 43 - desc: Verify that attempting to cast a string to a number results in a type error. 49 - desc: Verify that directly assigning a number to a string variable results in a type error. 55 - desc: Verify that attempting to cast a number to a string results in a type error. 61 - desc: Verify that attempting to cast a class instance to a number results in a type error. 67 - desc: Verify that attempting to cast a class instance to a number results in a type error. 73 - desc: Verify that attempting to cast an array to a string results in a type error.
|
| /arkcompiler/ets_frontend/arkguard/src/common/ |
| D | ApiReaderForTest.ts | 28 let results: Set<string> = new Set(); 32 getAllFilesInDirRecursively(inputPath, results); 34 results.add(inputPath); 38 return results; 41 function getAllFilesInDirRecursively(dir: string, results: Set<string>): void { 48 getAllFilesInDirRecursively(filePath, results); 50 results.add(filePath);
|
| /arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/utils/common/ |
| D | GeneratingJsonFile.ts | 28 let results: Map<string, FileDefectInfo> = new Map(); 30 this.addResult(fileDefectInfo, results); 32 const jsonString = this.format2(results); 70 private static addResult(defect: FileDefectInfo, results: Map<string, FileDefectInfo>): void { 72 if (!results.has(normalizedPath)) { 73 results.set(normalizedPath, defect); 75 results.get(normalizedPath)?.defects.push(...defect.defects); 77 const defectInfo = results.get(normalizedPath); 95 private static format2(results: Map<string, FileDefectInfo>): string { 97 for (let result of results) {
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner-2/runner/ |
| D | runner_file_based.py | 98 results = [result for result in self.results if result.passed is not None] 100 self.__results_analysis(results)) 102 total_tests = len(results) + self.excluded 108 if results: 111 xml_view.create_xml_report(results, execution_time) 112 xml_view.create_ignore_list(set(results)) 113 self.__generate_detailed_report(results) 130 standard_view.create_time_report(results, self.config.general.time_report) 134 def __results_analysis(self, results: list[Test]) -> \ 147 for test_result in results: [all …]
|
| D | runner_base.py | 70 # list of results of every executed test 71 self.results: list[Test] = [] 107 results = executor.map( 111 results = tqdm(results, total=len(self.tests)) 112 self.results = list(results)
|
| /arkcompiler/ets_frontend/ets2panda/test/unit/lsp/ |
| D | navigate_to_test.cpp | 55 auto results = GetNavigateToItems(ctx, singleFile, maxResultCount, searchTerm, false); in TEST_F() local 56 allResults.insert(allResults.end(), results.begin(), results.end()); in TEST_F() 101 auto results = GetNavigateToItems(ctx, singleFile, maxResultCount, searchTerm, false); in TEST_F() local 102 allResults.insert(allResults.end(), results.begin(), results.end()); in TEST_F() 148 …auto results = GetNavigateToItems(ctx, singleFile, maxResultCount, searchTerm, false); // case-in… in TEST_F() local 149 allResults.insert(allResults.end(), results.begin(), results.end()); in TEST_F() 188 …auto results = GetNavigateToItems(ctx, singleFile, maxResultCount, searchTerm, true); // case-sen… in TEST_F() local 189 allResults.insert(allResults.end(), results.begin(), results.end()); in TEST_F() 228 auto results = GetNavigateToItems(ctx, singleFile, maxResultCount, searchTerm, false); in TEST_F() local 229 allResults.insert(allResults.end(), results.begin(), results.end()); in TEST_F()
|
| D | navigate_to_test_1.cpp | 194 auto results = GetNavigateToItems(ctx, singleFile, maxResultCount, searchTerm, false); in TEST_F() local 195 matches.insert(matches.end(), results.begin(), results.end()); in TEST_F() 231 std::vector<ark::es2panda::lsp::NavigateToItem> results; in TEST_F() local 241 results.insert(results.end(), items.begin(), items.end()); in TEST_F() 246 ASSERT_EQ(results.size(), expectedResultSize); in TEST_F() 247 ASSERT_EQ(results[0].name, searchTerm); in TEST_F() 248 ASSERT_EQ(results[0].containerName, containerName); in TEST_F()
|
| /arkcompiler/ets_frontend/ |
| D | .gitignore | 15 ets2panda/linter*/test/**/results 16 ets2panda/linter*/test_rules/**/results 17 ets2panda/linter*/test_regression/**/results 18 ets2panda/linter*/test_extended_features/**/results
|
| /arkcompiler/runtime_core/static_core/plugins/ets/snippet_verifier/ |
| D | verify.sh | 84 rm -rf snippets; rm -rf main_results; rm -rf results 85 mkdir snippets; mkdir snippets/abc; mkdir results 86 touch snippets/_output; touch results/main_results 104 if test -f results/"$1".md; then return; fi 105 touch results/"$1".md 107 … <th>actual_compile</th><th>expect_subset</th><th>actual_subset</th></tr><tr>" >> results/"$1".md 113 echo "<td> <details><summary>$2</summary><pre><code class=typescript>">> results/"$1".md 114 cat snippets/"$2".ets >> results/"$1".md 115 echo "</td></code></pre></details>" >> results/"$1".md 116 echo "<td> $3 </td><td> $4 </td><td> $5 </td><td> $6 </td><td> $7 </th></tr>" >> results/"$1".md [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/16.async_functions_and_methods/01.async_functions/ |
| D | async_functions30.ets | 22 const results = await Promise.all(new Array<number>()); 23 return `Empty array results: ${results.length}`; 28 assertEQ(result, "Empty array results: 0");
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/16.async_functions_and_methods/02.async_methods/ |
| D | async_method29.ets | 23 const results = await Promise.all(new Array<number>()); 24 return `Empty array results: ${results.length}`; 31 assertEQ(result, "Empty array results: 0");
|
| D | async_method27.ets | 23 const results = await Promise.allSettled([ 27 return JSON.stringify(results);
|
| /arkcompiler/runtime_core/libabckit/tests/stress/ |
| D | runner.py | 62 results = test.run(tests) 64 fail_list = stress_common.get_fail_list(results) 69 logger.debug('Failures/Total: %s/%s', len(fail_list), len(results)) 78 logger.debug('Failures/Total: %s/%s', len(fail_list), len(results)) 81 logger.debug('Failures/Total: %s/%s', len(fail_list), len(results))
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/declgenets2ts/ |
| D | runner_declgenets2ts.py | 143 TestDeclgenETS2TS.results.extend(self.results) 146 for result in self.results: 150 path_to_result = {result.path: result for result in self.results} 151 for i, result in enumerate(TestDeclgenETS2TS.results): 153 TestDeclgenETS2TS.results[i] = path_to_result[result.path] 154 self.results = TestDeclgenETS2TS.results
|
| /arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/ |
| D | runner_file_based.py | 266 results = [result for result in self.results if result.passed is not None] 268 for test_result in results: 286 self.name, len(results) + self.excluded, self.passed, self.failed, 290 if results: 291 self.__generate_xml_report(summary, results) 300 excluded_still_failed, results) 385 def __generate_detailed_report(self, results: List[Test]) -> None: 388 results, 394 def __generate_spec_report(self, results: List[Test]) -> None: 397 results, [all …]
|
| /arkcompiler/ets_frontend/test262/ |
| D | ignored-test262-fastverify-x64-jit.txt | 6 test262/data/test/built-ins/TypedArray/prototype/slice/results-with-empty-length.js 9 test262/data/test/built-ins/TypedArray/prototype/slice/BigInt/results-with-different-length.js 10 test262/data/test/built-ins/TypedArray/prototype/subarray/results-with-empty-length.js 22 test262/data/test/built-ins/TypedArray/prototype/slice/results-with-different-length.js
|
| /arkcompiler/ets_frontend/ets2panda/lsp/src/ |
| D | navigate_to.cpp | 118 … std::set<std::pair<std::string, std::string>> &seenPairs, std::vector<NavigateToItem> &results) in TryEmitItem() argument 127 results.emplace_back(item); in TryEmitItem() 139 std::vector<NavigateToItem> results; in GetNavigateToItems() local 144 return results; in GetNavigateToItems() 152 if (!TryEmitItem(item, remaining, seenPairs, results)) { in GetNavigateToItems() 154 return results; in GetNavigateToItems() 160 return results; in GetNavigateToItems()
|
| /arkcompiler/ets_frontend/ets2panda/scripts/ |
| D | es2panda_pre_test.py | 161 print("\n\nTest results: \n") 163 print(f"\nParser test results:") 166 print(f"\nRuntime test results:") 169 print(f"\nFunctional test results:") 172 print(f"\nEts-cts test results:") 175 print(f"\nClang-format results:") 178 print(f"\nClang-tidy results:")
|
| /arkcompiler/ets_frontend/ets2panda/public/headers_parser/ |
| D | README.md | 7 ### Results: 8 Results of parsing headers to yaml format you can find in `build/tools/es2panda/generated/es2panda_…
|
| /arkcompiler/runtime_core/static_core/verification/gen/templates/ |
| D | abs_int_inl_compat_checks.h.erb | 41 % checks.results.ok.to_h.merge(checks.results.warnings.to_h).merge(checks.results.errors.to_h).each… 47 % checks.results.each_pair do |status, values|
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/lib/statistics/scan/ |
| D | CountFile.ts | 85 function mergeAllResults(results: { [key: string]: { fileCount: number; lineCount: number } }[]): { 90 for (const result of results) { 188 // Initialize results 189 const results: { [key: string]: { fileCount: number; lineCount: number } } = {}; constant 191 results[fileType] = { fileCount: 0, lineCount: 0 }; 195 Object.assign(results, finalResults); 196 return results;
|
| /arkcompiler/ets_frontend/ets2panda/linter/homecheck/src/checker/migration/ |
| D | InteropS2DObjectLiteralsCheck.ts | 138 let results: IssueData[] = []; 139 this.checkAllClassFieldWithValue(stmt, stmt.getRightOp(), leftTypeClass, results); 140 for (const result of results) { 191 let results: IssueData[] = []; 192 this.checkAllClassFieldWithValue(stmt, arg, paramTypeClass, results); 193 for (const result of results) { 239 let results: IssueData[] = []; 240 … this.checkAllClassFieldWithValue(returnStmt, returnStmt.getOp(), returnTypeClass, results); 241 if (results.length > 0) {
|