| /arkcompiler/runtime_core/tests/cts-generator/cts-template/ |
| D | lda.const.yaml | 42 lda.const v0, arr1 45 - values: ['.array arr1'] 46 - values: ['.array arr1 i32'] 47 - values: ['.array arr1 i32 4'] 50 - values: ['.array arr1 i32 4 { }'] 51 - values: ['.array arr1 i32 4 { 1 }'] 52 - values: ['.array arr1 i32 4 { 1 2 3 4 5 }'] 53 - values: ['.array arr1 i32 0 { }'] 54 - values: ['.array arr1 i32[] 1 { 1 }'] 55 - values: ['.array arr1 panda.String 1 { }'] [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_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);
|
| /arkcompiler/ets_runtime/test/typeinfer/typeof/ |
| D | typeof.ts | 18 let arr1:string[]= []; 19 AssertType(typeof(arr1), "string[]");
|
| /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/moduletest/spreadoperator/ |
| D | spreadoperator.js | 23 var arr1 = [...Array(16).keys()]; variable 24 print(arr1.length); 25 print(arr1);
|
| /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_lightweightmap.js | 62 let arr1 = ["aa", "bb", "cc"]; variable 65 res.set(arr1[j], item[1] == arr1[j]);
|
| D | container_hashset.js | 105 let arr1 = ["aa", "bb", "cc"]; variable 108 map.set(arr1[j], item == arr1[j]);
|
| D | container_treeset.js | 124 let arr1 = ["aa", "bb", "cc"]; variable 127 map.set(arr1[j], item == arr1[j]);
|
| D | container_hashmap.js | 133 let arr1 = ["aa", "bb", "cc"]; variable 136 res.set(arr1[j], item[1] == arr1[j]);
|
| D | container_treemap.js | 137 let arr1 = ["aa", "bb", "cc"]; variable 140 res.set(arr1[j], item[1] == arr1[j]);
|
| D | container_linked_list.js | 317 const arr1 = proxy1.convertToArray() constant 318 for (let i = 1; i < arr1.length; i++) { 319 if (arr1[i] !== testArray3[i]) {
|
| D | container_vector.js | 253 let arr1 = [-1, -1, -1, -1, -1]; variable 254 proxy1.copyToArray(arr1); 257 if (arr1[i] !== a[i]) {
|
| D | container_list.js | 291 const arr1 = proxy.convertToArray() constant 292 for (let i = 0; i < arr1.length; i++) { 293 if (arr1[i] !== testArray3[i]) {
|
| D | container_arraylist.js | 47 let arr1 = new arrayList(); variable 48 let proxy = new Proxy(arr1, {});
|
| D | container_lightweightset.js | 52 let arr1 = [1, 2, 3]; variable
|
| /arkcompiler/ets_runtime/test/typeinfer/ldobjbyvalue/ |
| D | ldobjbyvalue.ts | 28 let arr1:string[] = ["a", "b", "c"]; 39 AssertType(arr1[t], "string");
|
| /arkcompiler/ets_frontend/ts2panda/tests/expression/ |
| D | literal.test.ts | 179 it("let arr = [1, ...arr1, 3]", function () { 181 let insns = compileMainSnippet(`let arr1 = [1, 2]; 182 let arr = [1, ...arr1, 3]`); 191 new Sttoglobalrecord(new Imm(1), 'arr1'), 197 new Tryldglobalbyname(new Imm(3), 'arr1'),
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | alias_analysis_test.cpp | 219 * foo (int *arr1, int *arr2, int a2, int a3) 220 * arr1[a2] = a3 301 * foo (int *arr0, int *arr1, a2) 306 * tmp = arr1; 310 * tmp may alias arr0 and arr1 541 * foo (int32_t *arr0, int64_t *arr1, int64_t a2, int32_t a3) 543 * arr1[a2] = arr0[a3]; 544 * return arr1[a3]; 546 * arr0 cannot alias arr1 due to different types 637 * foo(int *arr0, int *arr1, int a2) [all …]
|
| /arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
| D | builtins_array_test.cpp | 363 JSArray *arr1 = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetObject<JSArray>(); in HWTEST_F_L0() local 364 EXPECT_TRUE(arr1 != nullptr); in HWTEST_F_L0() 365 JSHandle<JSObject> obj1(thread, arr1); in HWTEST_F_L0() 1547 …JSArray *arr1 = JSArray::Cast(JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue().Get… in HWTEST_F_L0() local 1548 EXPECT_TRUE(arr1 != nullptr); in HWTEST_F_L0() 1549 JSHandle<JSObject> obj1(thread, arr1); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/stubs/ |
| D | runtime_stubs.cpp | 187 JSHandle<TaggedArray> arr1(thread, JSTaggedValue(array)); in DEF_RUNTIME_STUBS() local 194 LOG_ECMA(INFO) << " arr->GetData() " << std::hex << " " << arr1->GetData(); in DEF_RUNTIME_STUBS() 195 return arr1.GetTaggedValue().GetRawData(); in DEF_RUNTIME_STUBS()
|
| /arkcompiler/runtime_core/compiler/optimizer/code_generator/target/amd64/ |
| D | encode.cpp | 724 …static constexpr std::array<uint32_t, 4> ARR1 = {uint32_t(0x43300000), uint32_t(0x45300000), 0x0, … in EncodeCastScalarToFloatUnsignDouble() local 731 CopyArrayToXmm(tmp, ARR1); in EncodeCastScalarToFloatUnsignDouble()
|