Home
last modified time | relevance | path

Searched full:arrays (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/arkcompiler/ets_frontend/ets2panda/linter/test/
Ddestructuring_assignments.ts.json57 …"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…
Ddestructuring_for_loop.sts25 const arrays = [
30 for (const [q, w] of arrays) {
40 for ([x, y] of arrays) {
Dobject_spread.ts.autofix.json48 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet…
/arkcompiler/ets_frontend/ets2panda/linter/test_rules/
Drule99.ts.json22 …"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…
Drule69.ts.json57 …"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/
Disinstance.yaml53 …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 …]
Dcheckcast.yaml488 … 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/
Disinstance.yaml31 …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 …]
Dcheckcast.yaml204 … 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/
Drecipe99.md1 # 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``)
Drecipe80.md10 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…
Drecipe17.md7 ArkTS does not allow indexed signatures. Use arrays instead.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/
DReadonlyArrayTest.sts16 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/
Dproperty.h24 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)
Dtrace.cpp23 // NOLINTNEXTLINE(modernize-avoid-c-arrays)
25 // NOLINTNEXTLINE(modernize-avoid-c-arrays)
/arkcompiler/runtime_core/static_core/runtime/include/mem/
Dpanda_smart_pointers.h44 // 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/
Dproperty.h26 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)
Dtrace.cpp23 // NOLINTNEXTLINE(modernize-avoid-c-arrays)
25 // NOLINTNEXTLINE(modernize-avoid-c-arrays)
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_utils.h25 // NOLINTBEGIN(modernize-avoid-c-arrays)
27 // NOLINTEND(modernize-avoid-c-arrays)
/arkcompiler/ets_runtime/ecmascript/base/
Derror_helper.h26 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/
DCMakeLists.txt172 …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/
Dinternal_allocator_test.cpp110 // 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()
Dbitmap_page_alignment_test.cpp30 // 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()
Dbitmap_clear_range_test.cpp30 // NOLINTBEGIN(modernize-avoid-c-arrays) in TEST_F()
33 // NOLINTEND(modernize-avoid-c-arrays) in TEST_F()
/arkcompiler/runtime_core/static_core/libpandabase/tests/
Dnative_bytes_from_mallinfo_test.cpp29 // NOLINTNEXTLINE(modernize-avoid-c-arrays) in TEST()
39 // NOLINTNEXTLINE(modernize-avoid-c-arrays) in TEST()

12345678910>>...13