| /arkcompiler/ets_frontend/ets2panda/linter/ |
| D | eslint.config.mjs | 62 'arrow-body-style': ['error', 'always'], 98 'spaced-comment': ['error', 'always'], 103 'n/file-extension-in-import': ['error', 'never', { '.json': 'always' }], 109 '@stylistic/arrow-parens': ['error', 'always'], 111 '@stylistic/block-spacing': ['error', 'always'], 127 '@stylistic/eol-last': ['error', 'always'], 172 { blankLine: 'always', prev: '*', next: 'method' }, 173 { blankLine: 'always', prev: 'method', next: '*' } 187 '@stylistic/multiline-ternary': ['error', 'always-multiline'], 188 '@stylistic/new-parens': ['error', 'always'], [all …]
|
| D | .prettierrc.json | 4 "arrowParens": "always",
|
| /arkcompiler/runtime_core/libabckit/ |
| D | eslint.config.js | 23 '@stylistic/js/semi': ['error', 'always'], 25 eqeqeq: ['error', 'always'], 31 '@stylistic/js/eol-last': ['error', 'always'],
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/09.classes/01.class_declaration/03.class_extension_clause/method_return_value/ |
| D | method_return_value_19.ets | 22 throw new Error('This method always throws an error'); 34 assertEQ(error.message, 'This method always throws an error'); 45 assertEQ(error.message, 'This method always throws an error');
|
| /arkcompiler/ets_frontend/arkguard/test/ |
| D | .eslintrc.json | 31 "space-before-blocks": ["error", "always"], 35 "block-spacing": ["error", "always"], 41 "comma-dangle": ["error", "always-multiline"], 89 "arrow-parens": ["error", "always"],
|
| D | .prettierrc | 10 "arrowParens": "always",
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/ |
| D | README.md | 10 Always use block statement within braces (`{}`) after control structures `if`, `while`, `else`. The… 12 Always place space between open parenthesis and control structures such as `if`, `while`. Place spa… 14 Always place spaces between operators and operands, example: `a * b + c` 16 Always be consistent with semicolons (`;`) after statements before line breaks in a single file: ei… 20 Always indent statements with 4 spaces within block statement (`{}`) that takes more than one line … 102 Always start with `const` and promote to `let` only if needed 136 Always add `default` case if `switch` doesn't cover all alternatives. Place `assert false` if neces…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
| D | RelativeTimeFormat.ets | 28 public numeric: RelativeTimeFormatNumeric = "always"; 34 this.numeric = options.numeric ?? "always"; 60 this._numeric = 'always'; 105 numeric: "always", 143 opt.numeric = this.options.numeric ?? 'always';
|
| /arkcompiler/runtime_core/docs/bc_verification/ |
| D | absint_checks.md | 31 Some code may exibit behavior of permanently throwing of exceptions, like always throwing NPE. 33 … control-flow in code, so verifier can detect such situations (when code always throws an exceptio…
|
| /arkcompiler/runtime_core/static_core/docs/bc_verification/ |
| D | absint_checks.md | 31 Some code may exibit behavior of permanently throwing of exceptions, like always throwing NPE. 33 … control-flow in code, so verifier can detect such situations (when code always throws an exceptio…
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/ |
| D | IntlRelativeTimeFormatTest.ets | 36 runFormatTest("ru", 0, "day", "сегодня", { numeric: "always" }) 51 …const options: Intl.RelativeTimeFormatOptions = {numeric: 'always', style: 'long', localeMatcher: … 70 …const options: Intl.RelativeTimeFormatOptions = {numeric: 'always', style: 'short', localeMatcher:… 89 …const options: Intl.RelativeTimeFormatOptions = {numeric: 'always', style: 'narrow', localeMatcher… 108 …const options: Intl.RelativeTimeFormatOptions = {numeric: 'always', style: 'long', localeMatcher: … 219 assertEQ(result.numeric, "always") 228 …const format = new Intl.RelativeTimeFormat("en", { numeric: "always" } as Intl.RelativeTimeFormatO… 230 assertEQ(result.numeric, "always") 243 runTestWithOptions("en", 0, "minute", { numeric: "always" }, "this minute")
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | CastReference4.ets | 33 …// Instruction 'checkcast' will always throw an exception here. It may be a sign of possible error… 45 …// Instruction 'checkcast' will always throw an exception here. It may be a sign of possible error…
|
| /arkcompiler/ets_frontend/ets2panda/bindings/ |
| D | .prettierrc.json | 4 "arrowParens": "always",
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tools/declgen_ts2sts/ |
| D | .prettierrc.json | 4 "arrowParens": "always",
|
| D | eslint.config.mjs | 64 'arrow-body-style': ['error', 'always'], 91 eqeqeq: ['error', 'always'], 115 'spaced-comment': ['error', 'always'],
|
| /arkcompiler/runtime_core/common_interfaces/thread/ |
| D | thread_state_transition.h | 26 // actually it should always be ThreadHolder, and need to be removed later. 89 // actually it should always be ThreadHolder, and need to be removed later. 105 // actually it should always be ThreadHolder, and need to be removed later.
|
| /arkcompiler/runtime_core/static_core/verification/ |
| D | messages.yaml | 165 short_message: always NPE in register 166 …message: constant null in register v${reg}. NPE exception will always be thrown here. Accumulator … 171 short_message: always NPE in accumulator 172 message: constant null in accumulator. NPE exception will always be thrown here. 277 …Accumulator type '${acc_type}' is always a subtype of '${type}'. Checkcast is redundant here. It m… 286 …Instruction 'checkcast' will always throw an exception here. It may be a sign of possible error he… 294 …Instruction 'checkcast' will always throw an exception here. It may be a sign of possible error he… 314 …Accumulator type '${acc_type}' is always a subtype of '${type}'. Result of 'isinstance' is always … 323 Result of 'isinstance' is always zero. It may be a sign of possible error here.
|
| /arkcompiler/ets_frontend/arkguard/ |
| D | tsconfig.json | 3 "semicolon": [true, "always", "ignore-interfaces"],
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | coding-style.md | 26 10. Always explicitly mark fall through in switch … case. Google uses its own macro, we can agree o… 62 15. Always put { } even if the body is one line:
|
| /arkcompiler/runtime_core/docs/ |
| D | coding-style.md | 26 10. Always explicitly mark fall through in switch … case. Google uses its own macro, we can agree o… 62 15. Always put { } even if the body is one line:
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | heap_region_allocator.h | 67 …Can not throw OOM during GC, so just make MemMapAllocator infinite to make allocating region always 69 // This will temporarily lead that all JSThread could always AllcationRegion success,
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/libani_helpers/interop_js/ |
| D | hybridgref_napi.cpp | 74 // Element at 0 position must always present and contain thread-id in HybridGrefCreateRefFromNapi() 108 // Element at 0 position must always present and contain thread-id in HybridGrefDeleteRefFromNapi() 138 // Element at 0 position must always present and contain thread-id in HybridGrefGetNapiValue()
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_relative_time_format_test.cpp | 145 // format(-1, always) 150 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("always")); // the default value in HWTEST_F_L0() 163 // format(1, always) 168 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("always")); // the default value in HWTEST_F_L0() 185 JSHandle<JSTaggedValue> numericValue(factory->NewFromASCII("always")); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/common_components/heap/allocator/ |
| D | memory_map.h | 92 void* memMappedEndAddr_; // end of the mapped memory, always >= currEndAddr 94 size_t memMappedSize_; // size of the mapped memory, always >= currSize
|
| /arkcompiler/ets_frontend/ets2panda/lsp/include/ |
| D | user_preferences.h | 28 * DOUBLE - Always use double quotes (") 29 * SINGLE - Always use single quotes (') 37 * ON - Always include automatic imports
|