| /arkcompiler/ets_frontend/ets2panda/linter/src/testRunner/ |
| D | MigrateTest.ts | 62 let diff: string = ''; 68 diff = `Expected lines: ${expectedResult.length} vs actual lines: ${actualResult.length}`; 70 diff = MigrateTest.compareTextLines(expectedResult, actualResult); 73 if (diff) { 74 Logger.info(`${TAB}Migration test failed. Expected and actual results differ:\n${diff}`); 77 // Write error message to diff, as non-empty diff indicates that test has failed. 78 diff = (error as Error).message; 79 Logger.info(`${TAB}Failed to compare expected and actual results. ` + diff); 82 return diff; 88 const diff = `Difference at line ${i + 1} constant [all …]
|
| D | LintTest.ts | 88 let diff: string = ''; 105 diff = `Expected count: ${expectedResultCount} vs actual count: ${actual.length}`; 107 diff = LintTest.expectedAndActualMatch(expected, actual); 110 if (diff) { 111 Logger.info(`${TAB}Lint test failed. Expected and actual results differ:\n${diff}`); 114 // Write error message to diff, as non-empty diff indicates that test has failed. 115 diff = (error as Error).message; 116 Logger.info(`${TAB}Failed to compare expected and actual results. ` + diff); 119 return diff; 175 private writeLintResultFile(actual: TestProblemInfo[], diff: string): void { [all …]
|
| /arkcompiler/runtime_core/taihe/ |
| D | .gitattributes | 18 *.py text eol=lf diff=python whitespace=indent,trail,space 25 *.h text eol=lf diff=cpp whitespace=indent,trail,space 26 *.hpp text eol=lf diff=cpp whitespace=indent,trail,space 29 *.ts text eol=lf diff=javascript whitespace=indent,trail,space 30 *.ets text eol=lf diff=javascript whitespace=indent,trail,space 31 *.sts text eol=lf diff=javascript whitespace=indent,trail,space
|
| /arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/callgraph/pointerAnalysis/ |
| D | PtsDS.ts | 241 let diff = this.diffPtsMap.get(v) || new this.DSCreator(); 242 this.diffPtsMap.set(v, diff); 243 return diff.insert(elem); 260 let diff = this.diffPtsMap.get(srcv); 261 if (diff) { 262 let srcDs = diff.clone(); 273 let diff = this.diffPtsMap.get(srcv); 274 if (diff) { 275 let srcDs = diff.clone(); 287 let diff = this.diffPtsMap.get(dstv) || new this.DSCreator(); [all …]
|
| /arkcompiler/ets_frontend/es2panda/lexer/token/ |
| D | sourceLocation.cpp | 24 size_t diff = offset - offset_; in AddCol() local 28 ranges.emplace_back(Range {diff}); in AddCol() 34 if (diff == range.byteSize) { in AddCol() 37 ranges.emplace_back(Range {diff}); in AddCol() 86 size_t diff = pos.index - entry.lineStart; in GetLocation() local 89 if (diff < (range.cnt * range.byteSize)) { in GetLocation() 90 col += (diff / range.byteSize) ; in GetLocation() 94 diff -= range.cnt * range.byteSize; in GetLocation()
|
| /arkcompiler/runtime_core/static_core/libpandabase/utils/ |
| D | sequence.h | 34 // diff := x - mean in Add() 35 // incr := alpha * diff in Add() 37 // variance := (1 - alpha) * (variance + diff * incr) in Add() 39 double diff = val - mean_; in Add() local 40 double incr = DEFAULT_INCREMENTAL_FACTOR * diff; in Add() 42 variance_ = (1.0 - DEFAULT_INCREMENTAL_FACTOR) * (variance_ + diff * incr); in Add()
|
| /arkcompiler/ets_frontend/ets2panda/lexer/token/ |
| D | sourceLocation.cpp | 26 size_t diff = offset - offset_; in AddCol() local 30 ranges.emplace_back(Range {diff}); in AddCol() 36 if (diff == range.byteSize) { in AddCol() 39 ranges.emplace_back(Range {diff}); in AddCol() 89 size_t diff = pos.index - entry.lineStart; in GetLocation() local 92 if (diff < range.cnt) { in GetLocation() 93 col += diff; in GetLocation() 97 diff -= range.cnt * range.byteSize; in GetLocation()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_imm_valid.cpp | 76 int64 diff = p1 - p0; in IsBitmaskImmediate() local 78 /* check if diff is a power of two; return false if not. */ in IsBitmaskImmediate() 79 CHECK_FATAL(static_cast<uint64>(diff) >= 1, "value overflow"); in IsBitmaskImmediate() 80 if ((static_cast<uint64>(diff) & (static_cast<uint64>(diff) - 1)) != 0) { in IsBitmaskImmediate() 85 uint32 logDiff = static_cast<uint32>(__builtin_ctzll(static_cast<uint64>(diff))); in IsBitmaskImmediate() 86 uint64 pattern = val & ((1ULL << static_cast<uint64>(diff)) - 1); in IsBitmaskImmediate()
|
| /arkcompiler/runtime_core/scripts/ |
| D | run-clang-format | 17 # look like and output corresponding diff. Exit with the same code as diff. 38 # Here we rely on diff's exit code: 39 diff -u --color=auto \
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | exponent.ets.migrate.json | 24 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)", 34 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)", 44 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)", 54 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)",
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/utils/ |
| D | test_utils_double.j2 | 26 let diff : double; 28 diff = left - right; 30 diff = right -left; 32 if (diff < epsilon) {
|
| D | test_check_test_float_result.j2 | 44 let diff : double; 46 diff = actual - expected; 48 diff = expected - actual; 50 if (diff < DBL_EPSILON) {
|
| D | test_check_test_regexp_result.j2 | 104 let diff : double; 106 diff = actual - expected; 108 diff = expected - actual; 110 if (diff < DBL_EPSILON) {
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/benchmark/ |
| D | compare.py | 78 diff = old_size - new_size variable 81 "new_size": new_size, "diff": diff 83 if diff > 0: 87 elif diff < 0: 100 …logging.info("Classes that have been optimized:\n Code_item section size:\n|Old: |New: |Diff:|Per… 102 if result[r]["diff"] > 0: 106 result[r]["diff"],
|
| /arkcompiler/runtime_core/bytecode_optimizer/tests/benchmark/ |
| D | compare.py | 77 diff = old_size - new_size variable 79 "new_size": new_size, "diff": diff} 80 if diff > 0: 84 elif diff < 0: 97 …print("Classes that have been optimized:\n Code_item section size:\n|Old: |New: |Diff:|Per: |Fil… 99 if result[r]["diff"] > 0: 103 result[r]["diff"],
|
| /arkcompiler/runtime_core/static_core/scripts/code_style/ |
| D | run_code_style_tools.sh | 17 # look like and output corresponding diff. Exit with the same code as diff. 37 # Here we rely on diff's exit code: 38 diff -u --color=auto \
|
| /arkcompiler/runtime_core/libabckit/scripts/code_style/ |
| D | run_code_style_tools.sh | 17 # look like and output corresponding diff. Exit with the same code as diff. 37 # Here we rely on diff's exit code: 38 diff -u --color=auto \
|
| /arkcompiler/runtime_core/static_core/patches/asmjit/ |
| D | 0006-Fix-asmjit-build-on-modern-compilers.patch | 15 diff --git a/src/asmjit/core/radefs_p.h b/src/asmjit/core/radefs_p.h 28 diff --git a/src/asmjit/core/string.h b/src/asmjit/core/string.h 41 diff --git a/src/asmjit/core/zone.h b/src/asmjit/core/zone.h 54 diff --git a/src/asmjit/core/zonehash.h b/src/asmjit/core/zonehash.h 67 diff --git a/src/asmjit/core/zonestack.h b/src/asmjit/core/zonestack.h 80 diff --git a/src/asmjit/core/zonevector.h b/src/asmjit/core/zonevector.h
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/interop/ |
| D | binary_operation_js_obj.ets.migrate.json | 84 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)", 94 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)", 104 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)", 114 … \"Math.pow()\" behavior for ArkTS differs from Typescript version (arkts-math-pow-standard-diff)",
|
| /arkcompiler/runtime_core/static_core/patches/rapidcheck/ |
| D | 0002-Added-missing-cstdint.patch | 12 diff --git a/include/rapidcheck/detail/Serialization.hpp b/include/rapidcheck/detail/Serialization.… 24 diff --git a/include/rapidcheck/detail/Utility.h b/include/rapidcheck/detail/Utility.h 36 diff --git a/src/detail/Base64.h b/src/detail/Base64.h
|
| /arkcompiler/ets_frontend/testTs/ |
| D | test-case.patch | 713 diff --git a/tests/cases/conformance/ambient/ambientDeclarations.ts b/tests/cases/conformance/ambie… 723 diff --git a/tests/cases/conformance/ambient/ambientDeclarationsPatterns/ambientDeclarationsPattern… 741 diff --git a/tests/cases/conformance/ambient/ambientDeclarationsPatterns/declarations.d.ts b/tests/… 765 diff --git a/tests/cases/conformance/ambient/ambientInsideNonAmbient.ts b/tests/cases/conformance/a… 784 diff --git a/tests/cases/conformance/ambient/ambientInsideNonAmbientExternalModule.ts b/tests/cases… 797 diff --git a/tests/cases/conformance/ambient/ambientShorthand_merging/ambientShorthand_merging.ts b… 809 diff --git a/tests/cases/conformance/ambient/ambientShorthand_merging/declarations1.d.ts b/tests/ca… 817 diff --git a/tests/cases/conformance/ambient/ambientShorthand_merging/declarations2.d.ts b/tests/ca… 828 diff --git a/tests/cases/conformance/ambient/ambientShorthand_reExport/ambientShorthand_reExport.ts… 839 diff --git a/tests/cases/conformance/ambient/ambientShorthand_reExport/declarations.d.ts b/tests/ca… [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
| D | immvalid.def | 61 int64 diff = p1 - p0; 63 /* check if diff is a power of two; return false if not. */ 64 if ((static_cast<uint64>(diff) & (static_cast<uint64>(diff) - 1)) != 0) { 69 int32 logDiff = __builtin_ctzll(static_cast<uint64>(diff)); 70 int64 pattern = static_cast<int64>(val & ((1ULL << static_cast<uint64>(diff)) - 1));
|
| /arkcompiler/runtime_core/static_core/cross_values/ |
| D | diff_check_values.sh | 15 # At the moment, the script is nothing more than `diff` execution. 27 diff "${cross_values_1}" "${cross_values_2}"
|
| /arkcompiler/runtime_core/static_core/compiler/aot/aot_builder/ |
| D | aot_builder.cpp | 239 auto diff = static_cast<ssize_t>(ptrCnt - end); in EmitPlt() local 244 ptrView[diff + idx] = AotFile::AotSlotType::PLT_SLOT; in EmitPlt() 245 ptrView[diff + idx - IMM_2] = method.second; in EmitPlt() 249 ptrView[diff + idx] = AotFile::AotSlotType::VTABLE_INDEX; in EmitPlt() 250 ptrView[diff + idx - 1] = method.second; in EmitPlt() 254 ptrView[diff + idx] = AotFile::AotSlotType::CLASS_SLOT; in EmitPlt() 255 ptrView[diff + idx - IMM_2] = klass.second; in EmitPlt() 259 ptrView[diff + idx] = AotFile::AotSlotType::STRING_SLOT; in EmitPlt() 260 ptrView[diff + idx - 1] = string_id.second; in EmitPlt() 265 ptrView[diff + idx] = AotFile::AotSlotType::INLINECACHE_SLOT; in EmitPlt() [all …]
|
| /arkcompiler/runtime_core/static_core/patches/zydis/ |
| D | 0003-Mark-zycore-as-system.patch | 11 diff --git a/CMakeLists.txt b/CMakeLists.txt 35 diff --git a/zycore/CMakeLists.txt b/zycore/CMakeLists.txt
|