| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | destructuring_assignments.ts.json | 57 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 92 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 141 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 162 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 183 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 260 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 274 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet…
|
| D | destructuring_for_loop.sts | 25 const arrays = [ 30 for (const [q, w] of arrays) { 40 for ([x, y] of arrays) {
|
| D | object_spread.ts.autofix.json | 48 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet…
|
| /arkcompiler/ets_frontend/ets2panda/linter/test_rules/ |
| D | rule99.ts.json | 22 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 43 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet…
|
| D | rule69.ts.json | 57 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet…
|
| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | isinstance.yaml | 53 …Object of type O is instance of type T if O is the same as T or is subtype of T. For arrays T shou… 330 …ype O is instance of type T if O is the same as T or is subtype of T. For arrays T should be a root 393 # O and T are of the same type, both arrays, std object 401 # O and T are of the same type, both arrays, custom object 409 # O and T are of the same type, both arrays, string 418 # O is a subtype of T, both arrays, std object 426 # O is a subtype of T, both arrays, custom object 455 …ype O is instance of type T if O is the same as T or is subtype of T. For arrays T should be a root 544 # O and T are of the same type, both arrays, std object 552 # O and T are of the same type, both arrays, custom object [all …]
|
| D | checkcast.yaml | 488 … of type O can be cast to type T if O is the same as T or is subtype of T. For arrays O can be cast 526 … of type O can be cast to type T if O is the same as T or is subtype of T. For arrays O can be cast 570 For arrays O can be cast 612 For arrays O can be cast 662 For arrays O can be cast 701 For arrays O can be cast 747 For arrays O can be cast 791 … of type O can be cast to type T if O is the same as T or is subtype of T. For arrays O can be cast 860 … of type O can be cast to type T if O is the same as T or is subtype of T. For arrays O can be cast 915 … of type O can be cast to type T if O is the same as T or is subtype of T. For arrays O can be cast [all …]
|
| /arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/ |
| D | isinstance.yaml | 31 …Object of type O is instance of type T if O is the same as T or is subtype of T. For arrays T shou… 163 …ype O is instance of type T if O is the same as T or is subtype of T. For arrays T should be a root 225 # O and T are of the same type, both arrays, std object 233 # O and T are of the same type, both arrays, custom object 241 # O and T are of the same type, both arrays, string 250 # O is a subtype of T, both arrays, std object 258 # O is a subtype of T, both arrays, custom object 286 …ype O is instance of type T if O is the same as T or is subtype of T. For arrays T should be a root 336 # O and T are of unrelated types, both arrays, std object 344 # O and T are of unrelated types, both arrays, custom object [all …]
|
| D | checkcast.yaml | 204 … of type O can be cast to type T if O is the same as T or is subtype of T. For arrays O can be cast 240 For arrays O can be cast 280 For arrays O can be cast 318 … of type O can be cast to type T if O is the same as T or is subtype of T. For arrays O can be cast 371 … of type O can be cast to type T if O is the same as T or is subtype of T. For arrays O can be cast
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe99.md | 1 # It is possible to spread only arrays or classes derived from arrays into the rest parameter or a… 9 Otherwise, manually "unpack" data from arrays and objects, where necessary. 10 All typed arrays from the standard library (for example, ``Int32Array``)
|
| D | recipe80.md | 10 cannot change at runtime. For arrays, iterate with the regular ``for`` loop. 39 - Recipe 082: ``for-of`` is supported only for arrays, strings, sets, maps and classes derived fro…
|
| D | recipe17.md | 7 ArkTS does not allow indexed signatures. Use arrays instead.
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | ReadonlyArrayTest.sts | 16 class Arrays { 42 return Arrays.equals(leftReadOnly, rightReadOnly); 101 const arr: ReadonlyArray<Number> = Arrays.copy(TEST_ARRAY); 115 const arr: ReadonlyArray<Number> = Arrays.copy(TEST_ARRAY); 133 const arr: ReadonlyArray<Number> = Arrays.copy(TEST_ARRAY); 149 const testArray: ReadonlyArray<Number> = Arrays.copy(TEST_ARRAY); 163 const arr: ReadonlyArray<Number> = Arrays.copy(TEST_ARRAY); 166 if (!Arrays.equals(res, arr)) return RESULT_FAILURE; 193 const arr: ReadonlyArray<Number> = Arrays.copy(TEST_ARRAY); 207 const arr: ReadonlyArray<Number> = Arrays.copy(TEST_ARRAY); [all …]
|
| /arkcompiler/runtime_core/platforms/unix/libpandabase/ |
| D | property.h | 24 static const char ARK_DFX_PROP[] = "ark.dfx.options"; // NOLINT(modernize-avoid-c-arrays) 25 static const char ARK_TRACE_PROP[] = "ark.trace.enable"; // NOLINT(modernize-avoid-c-arrays)
|
| D | trace.cpp | 23 // NOLINTNEXTLINE(modernize-avoid-c-arrays) 25 // NOLINTNEXTLINE(modernize-avoid-c-arrays)
|
| /arkcompiler/runtime_core/static_core/runtime/include/mem/ |
| D | panda_smart_pointers.h | 44 // NOLINTNEXTLINE(modernize-avoid-c-arrays) 48 // NOLINTNEXTLINE(modernize-avoid-c-arrays) 50 … NOLINTNEXTLINE(google-explicit-constructor, readability-named-parameter, modernize-avoid-c-arrays) 56 … NOLINTNEXTLINE(google-explicit-constructor, readability-named-parameter, modernize-avoid-c-arrays)
|
| /arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/ |
| D | property.h | 26 static const char ARK_DFX_PROP[] = "ark.dfx.options"; // NOLINT(modernize-avoid-c-arrays) 27 static const char ARK_TRACE_PROP[] = "ark.trace.enable"; // NOLINT(modernize-avoid-c-arrays)
|
| D | trace.cpp | 23 // NOLINTNEXTLINE(modernize-avoid-c-arrays) 25 // NOLINTNEXTLINE(modernize-avoid-c-arrays)
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_utils.h | 25 // NOLINTBEGIN(modernize-avoid-c-arrays) 27 // NOLINTEND(modernize-avoid-c-arrays)
|
| /arkcompiler/ets_runtime/ecmascript/base/ |
| D | error_helper.h | 26 constexpr char DEFAULT_EMPTY_STACK_TRACE[] = "stack is empty"; // NOLINT (modernize-avoid-c-arrays) 27 constexpr char INTRINSIC_METHOD_NAME[] = "Intrinsic method"; // NOLINT (modernize-avoid-c-arrays)
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/napi/bridges/ |
| D | CMakeLists.txt | 172 …COMMAND "${ETS_NAPI_TEST_SCRIPT}" "arrays-boolean.pa" "${PANDA_BINARY_ROOT}" "${CMAKE_CURRENT_BINA… 173 …COMMAND "${ETS_NAPI_TEST_SCRIPT}" "arrays-byte.pa" "${PANDA_BINARY_ROOT}" "${CMAKE_CURRENT_BINARY_… 174 …COMMAND "${ETS_NAPI_TEST_SCRIPT}" "arrays-char.pa" "${PANDA_BINARY_ROOT}" "${CMAKE_CURRENT_BINARY_… 175 …COMMAND "${ETS_NAPI_TEST_SCRIPT}" "arrays-double.pa" "${PANDA_BINARY_ROOT}" "${CMAKE_CURRENT_BINAR… 176 …COMMAND "${ETS_NAPI_TEST_SCRIPT}" "arrays-float.pa" "${PANDA_BINARY_ROOT}" "${CMAKE_CURRENT_BINARY… 177 …COMMAND "${ETS_NAPI_TEST_SCRIPT}" "arrays-int.pa" "${PANDA_BINARY_ROOT}" "${CMAKE_CURRENT_BINARY_D… 178 …COMMAND "${ETS_NAPI_TEST_SCRIPT}" "arrays-short.pa" "${PANDA_BINARY_ROOT}" "${CMAKE_CURRENT_BINARY… 179 …COMMAND "${ETS_NAPI_TEST_SCRIPT}" "arrays-string.pa" "${PANDA_BINARY_ROOT}" "${CMAKE_CURRENT_BINAR… 180 …COMMAND "${ETS_NAPI_TEST_SCRIPT}" "arrays-long.pa" "${PANDA_BINARY_ROOT}" "${CMAKE_CURRENT_BINARY_…
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | internal_allocator_test.cpp | 110 // NOLINTNEXTLINE(modernize-avoid-c-arrays) in TEST_F() 152 // NOLINTNEXTLINE(modernize-avoid-c-arrays) in TEST_F() 177 // NOLINTNEXTLINE(modernize-avoid-c-arrays) in TEST_F() 194 // NOLINTNEXTLINE(modernize-avoid-c-arrays) in TEST_F() 225 // NOLINTNEXTLINE(modernize-avoid-c-arrays) in TEST_F()
|
| D | bitmap_page_alignment_test.cpp | 30 // NOLINTNEXTLINE(modernize-avoid-c-arrays) in TEST_F() 40 // NOLINTBEGIN(modernize-avoid-c-arrays) in TEST_F() 43 // NOLINTEND(modernize-avoid-c-arrays) in TEST_F()
|
| D | bitmap_clear_range_test.cpp | 30 // NOLINTBEGIN(modernize-avoid-c-arrays) in TEST_F() 33 // NOLINTEND(modernize-avoid-c-arrays) in TEST_F()
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | native_bytes_from_mallinfo_test.cpp | 29 // NOLINTNEXTLINE(modernize-avoid-c-arrays) in TEST() 39 // NOLINTNEXTLINE(modernize-avoid-c-arrays) in TEST()
|