| /arkcompiler/ets_frontend/ets2panda/lexer/token/ |
| D | sourceLocation.cpp | 25 size_t diff = offset - offset_; in AddCol() local 29 ranges.emplace_back(Range {diff}); in AddCol() 35 if (diff == range.byteSize) { in AddCol() 38 ranges.emplace_back(Range {diff}); in AddCol() 88 size_t diff = pos.index - entry.lineStart; in GetLocation() local 91 if (diff < range.cnt) { in GetLocation() 92 col += diff; in GetLocation() 96 diff -= range.cnt * range.byteSize; in GetLocation()
|
| /arkcompiler/ets_frontend/es2panda/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() 88 size_t diff = pos.index - entry.lineStart; in GetLocation() local 91 if (diff < (range.cnt * range.byteSize)) { in GetLocation() 92 col += (diff / range.byteSize) ; in GetLocation() 96 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_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_imm_valid.cpp | 77 int64 diff = p1 - p0; in IsBitmaskImmediate() local 79 /* check if diff is a power of two; return false if not. */ in IsBitmaskImmediate() 80 CHECK_FATAL(static_cast<uint64>(diff) >= 1, "value overflow"); in IsBitmaskImmediate() 81 if ((static_cast<uint64>(diff) & (static_cast<uint64>(diff) - 1)) != 0) { in IsBitmaskImmediate() 86 uint32 logDiff = static_cast<uint32>(__builtin_ctzll(static_cast<uint64>(diff))); in IsBitmaskImmediate() 87 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/runtime_core/static_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/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/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) {
|
| D | test_verifier_lib.j2 | 47 let diff : double; 49 diff = left - right; 51 diff = right -left; 53 if (diff < DBL_EPSILON) {
|
| /arkcompiler/ets_frontend/ets2panda/linter/src/ |
| D | TestRunner.ts | 54 const DIFF_EXT = '.diff'; 147 let diff: string = ''; 156 diff = `Expected count: ${expectedResultCount} vs actual count: ${resultNodes.length}`; 157 Logger.info(`${TAB}${diff}`); 159 diff = expectedAndActualMatch(expectedResult.nodes, resultNodes); 162 if (diff) { 169 return diff; 267 diff: string 278 if (diff) { 279 fs.writeFileSync(path.join(actualResultsDir, testFile + resultExt + DIFF_EXT), diff); [all …]
|
| /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/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/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_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/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
|
| /arkcompiler/ets_frontend/test262/ |
| D | harness.patch | 1 diff --git a/bin/run.js b/bin/run.js 69 diff --git a/lib/agent-pool.js b/lib/agent-pool.js 89 diff --git a/lib/cli.js b/lib/cli.js 109 diff --git a/lib/reporters/simple.js b/lib/reporters/simple.js 219 diff --git a/lib/saveCompiledTest.js b/lib/saveCompiledTest.js 236 diff --git a/lib/validator.js b/lib/validator.js 270 diff --git a/package.json b/package.json
|
| /arkcompiler/runtime_core/static_core/irtoc/scripts/ |
| D | string_helpers.irt | 59 diff := load_diff(str1, str2, 8) 60 diff := Or(diff, load_diff(str1, str2, 16)).u64 61 diff := Or(diff, load_diff(str1, str2, 24)).u64 62 If(diff, 0).NE.Unlikely.b { 76 diff := load_diff(ptr1, ptr2, 0) 77 diff := Or(diff, load_diff(ptr1, ptr2, 8)).u64 78 diff := Or(diff, load_diff(ptr1, ptr2, 16)).u64 79 diff := Or(diff, load_diff(ptr1, ptr2, 24)).u64 80 If(diff, 0).NE.Unlikely.b { 85 diff := load_diff(last_ptr1, last_ptr2, 0) [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/ |
| D | macro_assembler_aarch64.cpp | 279 int64_t diff = p1 - p0; in IsBitmaskImmediate() local 281 /* check if diff is a power of two; return false if not. */ in IsBitmaskImmediate() 282 if (static_cast<uint64_t>(diff) < 1 || static_cast<uint64_t>(diff) > UINT64_MAX) { in IsBitmaskImmediate() 283 std::cout << "diff value overflow!" << std::endl; in IsBitmaskImmediate() 286 if ((static_cast<uint64_t>(diff) & (static_cast<uint64_t>(diff) - 1)) != 0) { in IsBitmaskImmediate() 290 uint32_t logDiff = static_cast<uint32_t>(__builtin_ctzll(static_cast<uint64_t>(diff))); in IsBitmaskImmediate() 291 uint64_t pattern = val & ((1ULL << static_cast<uint64_t>(diff)) - 1); in IsBitmaskImmediate()
|
| /arkcompiler/ets_frontend/ets2panda/linter/scripts/ |
| D | update-test-results.mjs | 33 const DIFF_EXT = '.diff'; 38 // forces to update all tests regardless of whether there was diff in a test result 83 // - '.diff' exists
|
| /arkcompiler/ets_frontend/ets2panda/test/tsconfig/ |
| D | test.sh | 54 diff "$EXPECTED" "$ACTUAL" 65 echo "diff $(realpath $EXPECTED) $(pwd)/actual.txt"
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | RegExpReplaceFunctionTest.sts | 161 let diff : double; 163 diff = actual - expected; 165 diff = expected - actual; 167 if (diff < DBL_EPSILON) {
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
| D | card_table-inl.h | 61 size_t diff = endCard - startCard + 1; in FillRanges() local 62 … size_t splitSize = std::min(diff / 2, MAX_CARDS_COUNT); // divide 2 to get smaller split_size in FillRanges() 67 if (diff - splitSize > MAX_CARDS_COUNT) { in FillRanges() 69 …} else if (memcmp(ToNativePtr<Card>(ToUintPtr(startCard) + splitSize), &zeroArray, diff - splitSiz… in FillRanges()
|