| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/05.generics/generic_declarations/create_array_using_generic_types/ |
| D | create_array_using_generic_types_new.params.yaml | 14 --- # Instantiate built-in generic arrays(Array<T>) with types. 18 desc: Instantiate built-in generic arrays(Array<T>) with number types. 23 desc: Instantiate built-in generic arrays(Array<T>) with binary number types. 28 desc: Instantiate built-in generic arrays(Array<T>) with octal number types. 33 desc: Instantiate built-in generic arrays(Array<T>) with hexadecimal number types. 38 desc: Instantiate built-in generic arrays(Array<T>) with literal type. 43 desc: Instantiate built-in generic arrays(Array<T>) with string types. 48 desc: Instantiate built-in generic arrays(Array<T>) with union types. 53 desc: Instantiate built-in generic arrays(Array<T>) with int types. 58 desc: Instantiate built-in generic arrays(Array<T>) with long types. [all …]
|
| D | create_array_using_generic_types_ext.params.yaml | 48 - desc: Instantiate built-in generic arrays(Array<T>) with object types. 66 - desc: Instantiate built-in generic arrays(Array<T>) with string[] type. 139 - desc: Instantiate built-in generic arrays(Array<T>) with number[] type. 149 - desc: Instantiate built-in generic arrays(Array<T>) with tuple type. 157 Instantiate built-in generic arrays(Array<T>) with function type. 180 - desc: Instantiate built-in generic arrays(Array<T>) with byte types. 187 - desc: Instantiate built-in generic arrays(Array<T>) with short types. 194 - desc: Instantiate built-in generic arrays(Array<T>) with char types.
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | no_tuples_arrays.ets.arkts2.json | 54 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", 64 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", 114 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", 144 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", 154 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", 164 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", 174 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", 184 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", 194 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", 204 "rule": "Array and tuple are different type(arkts-no-tuples-arrays)", [all …]
|
| D | function_spread_arg.ets.json | 54 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 94 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 114 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet…
|
| D | destructuring_assignments.ets.migrate.json | 74 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 94 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 134 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 164 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 194 …"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… 294 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet…
|
| D | partial_type.ets.json | 34 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 44 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet…
|
| D | destructuring_for_loop.ets | 25 const arrays = [ 30 for (const [q, w] of arrays) { 40 for ([x, y] of arrays) {
|
| D | destructuring_assignments.ets.json | 94 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 144 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 234 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 264 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 294 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 404 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 424 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet…
|
| /arkcompiler/runtime_core/libabckit/tests/ut/isa/isa_static/arrays/ |
| D | arrays_static.cpp | 80 …auto output = helpers::ExecuteStaticAbc(ABCKIT_ABC_DIR "ut/isa/isa_static/arrays/store_array_wide.… in TEST_F() 84 ABCKIT_ABC_DIR "ut/isa/isa_static/arrays/store_array_wide.abc", in TEST_F() 85 ABCKIT_ABC_DIR "ut/isa/isa_static/arrays/store_array_wide_modified.abc", "store_element", in TEST_F() 101 …output = helpers::ExecuteStaticAbc(ABCKIT_ABC_DIR "ut/isa/isa_static/arrays/store_array_wide_modif… in TEST_F() 109 … auto output = helpers::ExecuteStaticAbc(ABCKIT_ABC_DIR "ut/isa/isa_static/arrays/store_array.abc", in TEST_F() 113 ABCKIT_ABC_DIR "ut/isa/isa_static/arrays/store_array.abc", in TEST_F() 114 ABCKIT_ABC_DIR "ut/isa/isa_static/arrays/store_array_modified_neg.abc", "store_element", in TEST_F() 135 … auto output = helpers::ExecuteStaticAbc(ABCKIT_ABC_DIR "ut/isa/isa_static/arrays/store_array.abc", in TEST_F() 139 ABCKIT_ABC_DIR "ut/isa/isa_static/arrays/store_array.abc", in TEST_F() 140 ABCKIT_ABC_DIR "ut/isa/isa_static/arrays/store_array_modified.abc", "store_element", in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ani/tests/string_ops/ |
| D | string_get_utf8_test.cpp | 18 // NOLINTBEGIN(cppcoreguidelines-pro-type-vararg, modernize-avoid-c-arrays) 30 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 45 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 61 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 76 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 89 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 104 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 117 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 126 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 153 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() [all …]
|
| D | string_get_utf8_substr.cpp | 18 // NOLINTBEGIN(cppcoreguidelines-pro-type-vararg, modernize-avoid-c-arrays) 30 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 71 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 89 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 104 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 113 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 147 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 159 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 176 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() 191 char utfBuffer[bufferSize] = {0U}; // NOLINT(modernize-avoid-c-arrays) in TEST_F() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/rules/ |
| D | rule99.ets.json | 24 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet… 54 …"rule": "It is possible to spread only arrays or classes derived from arrays into the rest paramet…
|
| /arkcompiler/runtime_core/libabckit/tests/ut/isa/isa_dynamic/arrays/ |
| D | create_array_dynamic.cpp | 41 …auto output = helpers::ExecuteDynamicAbc(ABCKIT_ABC_DIR "ut/isa/isa_dynamic/arrays/create_array_dy… in TEST_F() 46 ABCKIT_ABC_DIR "ut/isa/isa_dynamic/arrays/create_array_dynamic.abc", in TEST_F() 47 ABCKIT_ABC_DIR "ut/isa/isa_dynamic/arrays/create_array_dynamic_modified.abc", "test", in TEST_F() 74 …output = helpers::ExecuteDynamicAbc(ABCKIT_ABC_DIR "ut/isa/isa_dynamic/arrays/create_array_dynamic… in TEST_F() 82 …auto output = helpers::ExecuteDynamicAbc(ABCKIT_ABC_DIR "ut/isa/isa_dynamic/arrays/create_array_dy… in TEST_F() 87 ABCKIT_ABC_DIR "ut/isa/isa_dynamic/arrays/create_array_dynamic.abc", in TEST_F() 88 ABCKIT_ABC_DIR "ut/isa/isa_dynamic/arrays/create_array_dynamic_modified.abc", "test", in TEST_F() 120 …output = helpers::ExecuteDynamicAbc(ABCKIT_ABC_DIR "ut/isa/isa_dynamic/arrays/create_array_dynamic… in TEST_F()
|
| /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 …]
|
| /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 …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-common-tests/intrinsics/ |
| D | typed_arrays_reverse.ets | 93 testSuite.addTest("Int8,Uint8 Arrays: reverse test", test_iu8_array); 94 testSuite.addTest("Int16,Uint16 Arrays: reverse test", test_iu16_array) 95 testSuite.addTest("Int32,Uint32 Arrays: reverse test", test_iu32_array) 96 testSuite.addTest("BigInt64,BigUint64 Arrays: reverse test", test_iu64_array) 97 testSuite.addTest("Float32 Arrays: reverse test", test_f32_array) 98 testSuite.addTest("Float64 Arrays: reverse test", test_f64_array)
|
| /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…
|
| /arkcompiler/runtime_core/libabckit/tests/ut/extensions/js/modify_api/arrays/ |
| D | array_modify_test.cpp | 43 …auto output = helpers::ExecuteDynamicAbc(ABCKIT_ABC_DIR "ut/extensions/js/modify_api/arrays/starra… in TEST_F() 49 ABCKIT_ABC_DIR "ut/extensions/js/modify_api/arrays/starrayspread.abc", in TEST_F() 50 …ABCKIT_ABC_DIR "ut/extensions/js/modify_api/arrays/starrayspread_modified.abc", "starrayspread.fun… in TEST_F() 61 …output = helpers::ExecuteDynamicAbc(ABCKIT_ABC_DIR "ut/extensions/js/modify_api/arrays/starrayspre… in TEST_F()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/escompat/ |
| D | ReadonlyArrayTest.ets | 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/static_core/plugins/ets/tests/ets-templates/17.experimental_features/02.fixed_array_types/ |
| D | fixed_array_types_1.ets | 17 desc: Fixed arrays are not compatible with resizable arrays
|
| D | fixed_array_types_10.ets | 17 desc: Fixed arrays are not compatible with resizable arrays
|
| D | fixed_array_types_0.ets | 17 desc: Fixed arrays are not compatible with resizable arrays
|
| D | fixed_array_types_9.ets | 17 desc: Fixed arrays are not compatible with resizable arrays
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/annotation_tests/ |
| D | annotationDecl_bad_type.ets | 23 …: Invalid annotation field type. Only numeric, boolean, string, enum, or arrays of these types are… 24 …: Invalid annotation field type. Only numeric, boolean, string, enum, or arrays of these types are…
|