/arkcompiler/ets_runtime/test/moduletest/arrayjoin/ |
D | arrayjoin.js | 34 var arr1 = [1]; 35 arr1.push(arr1); 36 arr1.push(arr1); 37 print(arr1.toString()); 38 print(arr1.toString());
|
/arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
D | ListUtil.spec.ts | 81 let arr1 = undefined; variable 84 const arrUnique = ListUtil.uniqueMergeList(arr1, arr2); 89 let arr1 = ['1', '2', '3']; variable 94 const arrUnique = ListUtil.uniqueMergeList(arr1, arr2); 102 let arr1 = ['1', '2', '3', '4']; variable 107 const arrUnique = ListUtil.uniqueMergeList(arr1, arr2); 115 let arr1 = undefined; variable 119 const arrUnique = ListUtil.uniqueMergeList(arr1, arr2, arr3); 124 let arr1 = ['1', '2', '3']; variable 130 const arrUnique = ListUtil.uniqueMergeList(arr1, arr2, arr3); [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/throwdyn_1/ |
D | throwdyn_1.ts | 18 let arr1 :number[] = [1, 2, 3]; 19 AssertType(arr1, "number[]"); 20 throw arr1;
|
/arkcompiler/ets_frontend/arkguard/test/grammar/array_validation/ |
D | readonly_array.ts | 21 let arr1 = arr as number[]; variable 23 arr1[0] = 0; 25 assert(arr1[0] === 0, 'success');
|
D | array_some.ts | 20 let arr1 = arr.some(function (value) { variable 24 assert(arr1 === true, 'success');
|
D | array_every.ts | 20 let arr1 = arr.every( variable 26 assert(arr1 === true, 'success');
|
D | array_expanding.ts | 18 var arr1 = [1, 2, 3]; variable 20 var arr3 = [...arr1, ...arr2]
|
D | array_map.ts | 20 let arr1 = arr.map(function (value) { variable 25 assert(value * 2 + 1 === arr1[index], 'success');
|
/arkcompiler/ets_runtime/test/typeinfer/tsarraytobuiltin/ |
D | tsarraytobuiltin.ts | 26 let arr1:number[] = new Array(100).fill(0); 27 AssertType(arr1, "number[]"); 28 AssertType(arr1[0], "number"); 29 AssertType(arr1[t], "number");
|
/arkcompiler/ets_runtime/test/typeinfer/typeof/ |
D | typeof.ts | 18 let arr1:string[]= []; 19 AssertType(typeof(arr1), "string[]");
|
/arkcompiler/ets_runtime/test/moduletest/regexp/ |
D | regexp.js | 263 let arr1 = [] 266 arr1.push(reg49.test("Zg==")); 267 arr1.push(reg49.test("Zm8=")); 268 arr1.push(reg49.test("Zm9v")); 269 arr1.push(reg49.test("Zm9vYg==")); 270 arr1.push(reg49.test("Zm9vYmE=")); 271 arr1.push(reg49.test("Zm9vYmFy")); 272 arr1.push(reg49.test( 275 arr1.push(reg49.test("Vml2YW11cyBmZXJtZW50dW0gc2VtcGVyIHBvcnRhLg==")); 276 arr1.push(reg49.test("U3VzcGVuZGlzc2UgbGVjdHVzIGxlbw==")); [all …]
|
/arkcompiler/ets_runtime/test/aottest/typedarray_load_store/ |
D | typedarray_load_store.ts | 60 let arr1 = new Int32Array(buffer, 20, 4); variable 62 IntegerArray(arr1); 107 let arr1 = new Float64Array(buffer, 16, 4); variable 109 FloatArray(arr1);
|
/arkcompiler/ets_runtime/test/moduletest/arraywith/ |
D | arraywith.js | 25 const arr1 = arr0.with(0, 0); constant 27 print(arr1.indexOf(undefined));
|
/arkcompiler/ets_runtime/test/moduletest/arraytospliced/ |
D | arraytospliced.js | 25 const arr1 = arr0.toSpliced(1, 2); constant 27 print(arr1.indexOf(undefined));
|
/arkcompiler/ets_runtime/test/moduletest/arraytoreversed/ |
D | arraytoreversed.js | 25 const arr1 = arr0.toReversed(); constant 27 print(arr1.indexOf(undefined));
|
/arkcompiler/ets_runtime/test/typeinfer/add2dyn/ |
D | add2dyn.ts | 23 let arr1 : number[] = [1, 2]; 25 let ans2 = arr1[0] + arr2[0]; 38 let ans5 = arr1[0] + arr3[0];
|
/arkcompiler/ets_runtime/test/typeinfer/ldobjbyvalue/ |
D | ldobjbyvalue.ts | 28 let arr1:string[] = ["a", "b", "c"]; 39 AssertType(arr1[t], "string");
|
/arkcompiler/ets_runtime/test/moduletest/container/ |
D | container_queue.js | 91 var arr1 = []; variable 100 arr1.push(item); 104 if (arr1[j - 5] != j) {
|
D | container_deque.js | 108 var arr1 = []; variable 118 arr1.push(item); 122 if (arr1[j - 5] != j) {
|
D | container_hashset.js | 105 let arr1 = ["aa", "bb", "cc"]; variable 108 map.set(arr1[j], item == arr1[j]);
|
D | container_lightweightmap.js | 62 let arr1 = ["aa", "bb", "cc"]; variable 65 res.set(arr1[j], item[1] == arr1[j]);
|
D | container_treeset.js | 124 let arr1 = ["aa", "bb", "cc"]; variable 127 map.set(arr1[j], item == arr1[j]);
|
D | container_treemap.js | 137 let arr1 = ["aa", "bb", "cc"]; variable 140 res.set(arr1[j], item[1] == arr1[j]);
|
/arkcompiler/ets_runtime/test/moduletest/spreadoperator/ |
D | spreadoperator.js | 23 var arr1 = [...Array(16).keys()]; variable 24 print(arr1.length); 25 print(arr1);
|
/arkcompiler/ets_runtime/test/moduletest/array/ |
D | array.js | 26 var arr1 = [1,1,1,1,1,1]; variable 27 arr1.fill(0, 2, 4); 28 print(arr1);
|