| /arkcompiler/ets_runtime/test/sharedtest/sharedtypedarray/ |
| D | expect_output.txt | 105 10,11,12,13,14 107 10,11,12,13,14 111 10,11,12,13,14 113 10,11,12,13,14 117 10,11,12,13,14 119 10,11,12,13,14 123 10,11,12,13,14 125 10,11,12,13,14 129 10,11,12,13,14 131 10,11,12,13,14 [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/std/core/ |
| D | list.std_core_type_array_type.yaml | 17 array_sizes: {1, 2, 10, 100}, 22 array_sizes: {1, 2, 10, 100}, 27 array_sizes: {1, 2, 10, 100}, 32 array_sizes: {1, 2, 10, 100}, 37 array_sizes: {1, 2, 10, 100}, 42 array_sizes: {1, 2, 10, 100}, 47 array_sizes: {1, 2, 10, 100}, 52 array_sizes: {1, 2, 10, 100}, 57 array_sizes: {1, 2, 10, 100}, 62 array_sizes: {1, 2, 10, 100}, [all …]
|
| D | list.std_core_array_copyOf.yaml | 85 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 91 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 92 startIndex: 10, 97 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 103 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 117 test2: "[10, 11, 12, 13, 14]", 119 test4: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 136 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 142 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 143 startIndex: 10, [all …]
|
| D | list.std_core_array_copyOf_2.yaml | 87 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 92 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 97 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 102 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 107 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 118 test1: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 119 test2: "[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 120 test3: "[8, 9, 10, 11, 12, 13, 14, 15]", 140 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 145 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", [all …]
|
| D | list.std_core_array_sort.yaml | 73 arr: "[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 79 arr: "[4, 3, 2, -11, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 85 arr: "[0, 1, 2, 3, 4, 5, 9, 8, 7, 6, 10, 11, 12, 13, 14, 15, 16]", 87 endIndex: 10, 91 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 16, 15, 14, 13]", 97 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 10, 12, 13, 14, 15, 16]", 98 startIndex: 10, 103 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 10, 12, 13, 14, 15, 16]", 117 test1: "[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 118 test2: "[-11, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", [all …]
|
| D | list.std_core_array_fill.yaml | 88 arr: "[0 ,1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 95 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 102 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 109 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 116 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 124 test1: "[0, 0, 0, 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 126 test3: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 0, 16]", 128 test5: "[0, 1, 2, 3, 4, 5, 6, 7, 0, 9, 10, 11, 12, 13, 14, 15, 16]", 145 arr: "[0 ,1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 152 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", [all …]
|
| D | list.std_core_array_sort_2.yaml | 63 arr: "[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 67 arr: "[4, 3, 2, -11, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 71 arr: "[0, 1, 2, 3, 4, 5, 9, 8, 7, 6, 10, 11, 12, 13, 14, 15, 16]", 75 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 16, 15, 14, 13]", 79 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 10, 12, 13, 14, 15, 16]", 83 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 10, 12, 13, 14, 15, 16]", 97 test1: "[-2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 98 test2: "[-11, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 99 test3: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", 100 test4: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]", [all …]
|
| D | list.std_core_array_upperBoundSearch_2.yaml | 63 arr: "[0,1,2,3,4,5,6,7,7,7,7,7,8,9,10,11,12,13,14,15,16]", 68 arr: "[7,7,7,7,7,8,9,10,11,12,13,14,15,16]", 79 arr: "[0,1,2,3,4,5,6,7,7,7,7,7,8,9,10,11]", 84 arr: "[2,3,4,5,6,7,7,7,7,7,8,9,10,11,12]", 89 arr: "[0,1,2,3,4,5,6,8,9,10,11]", 114 arr: "[0,1,2,3,4,5,6,7,7,7,7,7,8,9,10,11,12,13,14,15,16]", 119 arr: "[7,7,7,7,7,8,9,10,11,12,13,14,15,16]", 130 arr: "[0,1,2,3,4,5,6,7,7,7,7,7,8,9,10,11]", 135 arr: "[2,3,4,5,6,7,7,7,7,7,8,9,10,11,12]", 140 arr: "[0,1,2,3,4,5,6,8,9,10,11]", [all …]
|
| D | list.std_core_array_filter_2.yaml | 66 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 71 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 76 arr: "[0, 1, 1, 1, 4, 5, 1, 7, 8, 1, 10, 11, 12, 13, 14, 1]", 87 test1: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 89 test3: "[4, 5, 7, 8, 10, 11, 12, 13, 14]", 105 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 110 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 115 arr: "[0, 1, 1, 1, 4, 5, 1, 7, 8, 1, 10, 11, 12, 13, 14, 1]", 126 test1: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 128 test3: "[4, 5, 7, 8, 10, 11, 12, 13, 14]", [all …]
|
| D | list.std_core_array_lowerBoundSearch.yaml | 71 arr: "[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]", 85 arr: "[7,7,7,7,7,8,9,10,11,12,13,14,15,16,17,18]", 99 arr: "[0,1,2,3,4,5,6,8,9,10,11,12,13,14,15,16]", 106 arr: "[8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23]", 109 endIndex: 10, 113 arr: "[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]", 115 startIndex: 10, 149 arr: "[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]", 163 arr: "[7,7,7,7,7,8,9,10,11,12,13,14,15,16,17,18]", 177 arr: "[0,1,2,3,4,5,6,8,9,10,11,12,13,14,15,16]", [all …]
|
| D | list.std_core_array_filter.yaml | 66 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 71 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 76 arr: "[0, 1, 1, 1, 4, 5, 1, 7, 8, 1, 10, 11, 12, 13, 14, 1]", 81 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 92 test1: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 94 test3: "[4, 5, 7, 8, 10, 11, 12, 13, 14]", 95 test4: "[0, 2, 4, 6, 8, 10, 12, 14]", 111 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 116 arr: "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]", 121 arr: "[0, 1, 1, 1, 4, 5, 1, 7, 8, 1, 10, 11, 12, 13, 14, 1]", [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/runtime/ets/ |
| D | record_record_value.sts | 49 "john":{age1:25, salary1:10}, 52 assertsalary1(personMap1.get("john"), 10); 55 "john":{age3:{age2:{age1:10,salary1:10},salary2:10},salary3:10}, 56 "Mary":{age3:{age2:{age1:10,salary1:10},salary2:10},salary3:10} 58 assertsalary3(nestedObjectMap.get("john"), 10);
|
| D | DefaultParam_1.sts | 17 assert foo1() == 10; 25 assert foo5(5, 10) == 45; 33 assert foo13(10) == 15; 34 assert foo14(10) == 25; 36 assert foo15(10, 5) == 20; 37 assert foo16(10, 5) == 30; 40 function foo1(a: int = 10): int { 52 function foo4(a: int = 10, b: int = 20): int { 56 function foo5(a: int = 10, b: int = 20, c: int = 30): int { 78 function foo14(a: int, b: int = 5, c: int = 10): int { [all …]
|
| /arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Log10/ |
| D | builtinMathLog10.ts | 42 res = Math.log10(10); 47 res = Math.log10(10, 10); 52 res = Math.log10(10, 10, 10); 57 res = Math.log10(10, 10, 10, 10); 62 res = Math.log10(10, 10, 10, 10, 10); 68 print(Math.log10(10)); //: 1
|
| /arkcompiler/ets_runtime/test/aottest/builtins_array/ |
| D | builtins_array.ts | 51 for (var i = 0; i < 10; i++) { 59 for (let i = 0; i < 10; i++) array.push(i); 67 for (let i = 0; i < 10; i++) array.push(i); 68 array.splice(0, 10); 73 for (let i = 0; i < 10; i++) array.push(i); 79 for (let i = 0; i < 10; i++) array.push(i); 80 for (let i = 0; i < 10; i++) { 81 const condition = (element) => element < 10; 88 for (let i = 0; i < 10; i++) array.push(i); 89 const condition = (element) => element < 10; [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/main/ |
| D | function_spread_arg.sts | 42 let a5 = new Array(10) 43 let a6 = new Int8Array(10) 44 let a7 = new Uint8Array(10) 45 let a8 = new Uint8ClampedArray(10) 46 let a9 = new Int16Array(10) 47 let a10 = new Uint16Array(10) 48 let a11 = new Int32Array(10) 49 let a12 = new Uint32Array(10) 50 let a13 = new Float32Array(10) 51 let a14 = new Float64Array(10) [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/spec/07.expressions/7.5.Object_Literal/7.5.3.Object_Literal_of_Record_Type/ |
| D | record-boxable-types.sts | 22 "hello": 10, 27 assert string_number.get("hello") == 10 31 "hello": 10, 36 assert string_double.get("hello") == 10 40 "hello": 10, 45 assert string_float.get("hello") == 10 49 "hello": 10, 54 assert string_long.get("hello") == 10 58 "hello": 10, 63 assert string_int.get("hello") == 10
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/escompat/ |
| D | list.escompat_BigInt_instance.yaml | 58 init_object_data: "[10, 1024, -556, 100000, 0]", 63 param_list: {"param1": '[2, 10, 16, 8, 20]'}, 90 param_list: {"param1": '[2, 7, 8, 10, 16, 25, 33, 36]'}, 125 param_list: {"param1": '[2, 7, 8, 10, 16, 25, 33, 36]'}, 160 param_list: {"param1": '[2, 7, 8, 10, 16, 25, 33, 36]'}, 195 param_list: {"param1": '[2, 7, 8, 10, 16, 25, 33, 36]'}, 230 param_list: {"param1": '[2, 7, 8, 10, 16, 25, 33, 36]'}, 265 param_list: {"param1": '[2, 7, 8, 10, 16, 25, 33, 36]'}, 300 param_list: {"param1": '[2, 7, 8, 10, 16, 25, 33, 36]'}, 335 param_list: {"param1": '[2, 7, 8, 10, 16, 25, 33, 36]'}, [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/containers/ |
| D | ArrayAsListIntTest.sts | 62 let list = new ArrayAsListInt(10); 80 let list = new ArrayAsListInt(10); 81 for(let i: int = 0; i< 10; i++) { 84 let result = list.size() == 10 ? 0 : 1; 90 let list = new ArrayAsListInt(10, value); 91 for(let i: int = 0; i< 10; i++) { 94 let result = list.size() == 10 ? 0 : 1; 99 let value = 10; 100 let list = new ArrayAsListInt(10, value); 101 for(let i: int; i< 10; i++) { [all …]
|
| D | ArrayAsListStringTest.sts | 62 let list = new ArrayAsListString(10); 80 let list = new ArrayAsListString(10); 81 for(let i: int = 0; i< 10; i++) { 84 let result = list.size() == 10 ? 0 : 1; 90 let list = new ArrayAsListString(10, value); 91 for(let i: int = 0; i< 10; i++) { 94 let result = list.size() == 10 ? 0 : 1; 99 let value = "10"; 100 let list = new ArrayAsListString(10, value); 101 for(let i: int; i< 10; i++) { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/ast/parser/ets/ |
| D | record_object_value.sts | 28 "john":{age:25, salary:10}, 33 "john":{age:25, salary:10}, 46 "john":{age:"10", salary:10}, 51 "john":{agee:10, salary:10}, 52 "Mary":{age:21, salary:10, other:10} 56 "john":["10"], 60 /* @@? 46:21 Error TypeError: Type '"10"' is not compatible with type 'double' at property 'age' */
|
| D | illegal_continue_statement.sts | 16 let a1: number = 10; 19 let a: number = 10 23 let a2: number = 10; 26 let a2: number = 10 30 let a3: number = 10; 33 let a: number = 10 37 let a4: number = 10; 40 let a2: number = 10
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedarray/ |
| D | expect_output.txt | 55 10,10,10,8 56 10,11,11,8 57 10,11,11,8 58 10,11,11,8 61 …10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,1… 62 …10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,1… 63 …10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,1… 64 …10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,1… 65 …10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,1… 66 …10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,100,50,80,90,150,200,5,12,8,130,44,10,20,30,1… [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | bounds_analysis_test.cpp | 86 BoundsRange r4 = BoundsRange(-10L, 5U); in TEST_F() 89 EXPECT_EQ(res4.GetRight(), 10U); in TEST_F() 197 CCTest(ConditionCode::CC_GT, BR(10U, 50U), BR(20U, 60U), BR(21U, 50U), BR(20U, 49U)); in TEST_F() 198 CCTest(ConditionCode::CC_A, BR(10U, 50U), BR(20U, 60U), BR(21U, 50U), BR(20U, 49U)); in TEST_F() 199 CCTest(ConditionCode::CC_GE, BR(10U, 50U), BR(20U, 60U), BR(20U, 50U), BR(20U, 50U)); in TEST_F() 200 CCTest(ConditionCode::CC_AE, BR(10U, 50U), BR(20U, 60U), BR(20U, 50U), BR(20U, 50U)); in TEST_F() 201 CCTest(ConditionCode::CC_LT, BR(10U, 50U), BR(20U, 60U), BR(10U, 50U), BR(20U, 60U)); in TEST_F() 202 CCTest(ConditionCode::CC_B, BR(10U, 50U), BR(20U, 60U), BR(10U, 50U), BR(20U, 60U)); in TEST_F() 203 CCTest(ConditionCode::CC_LE, BR(10U, 50U), BR(20U, 60U), BR(10U, 50U), BR(20U, 60U)); in TEST_F() 204 CCTest(ConditionCode::CC_BE, BR(10U, 50U), BR(20U, 60U), BR(10U, 50U), BR(20U, 60U)); in TEST_F() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/tests/ |
| D | array_test.cpp | 74 TestArrayObjectSize(ClassRoot::ARRAY_U1, 10U); in TEST_F() 75 TestArrayObjectSize(ClassRoot::ARRAY_I8, 10U); in TEST_F() 76 TestArrayObjectSize(ClassRoot::ARRAY_U8, 10U); in TEST_F() 77 TestArrayObjectSize(ClassRoot::ARRAY_I16, 10U); in TEST_F() 78 TestArrayObjectSize(ClassRoot::ARRAY_U16, 10U); in TEST_F() 79 TestArrayObjectSize(ClassRoot::ARRAY_I32, 10U); in TEST_F() 80 TestArrayObjectSize(ClassRoot::ARRAY_U32, 10U); in TEST_F() 81 TestArrayObjectSize(ClassRoot::ARRAY_I64, 10U); in TEST_F() 82 TestArrayObjectSize(ClassRoot::ARRAY_U64, 10U); in TEST_F() 83 TestArrayObjectSize(ClassRoot::ARRAY_F32, 10U); in TEST_F() [all …]
|