Home
last modified time | relevance | path

Searched full:arr1 (Results 1 – 24 of 24) sorted by relevance

/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dlda.const.yaml42 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/
Dthrowdyn_1.ts18 let arr1 :number[] = [1, 2, 3];
19 AssertType(arr1, "number[]");
20 throw arr1;
/arkcompiler/ets_runtime/test/moduletest/array/
Darray.js26 var arr1 = [1,1,1,1,1,1]; variable
27 arr1.fill(0, 2, 4);
28 print(arr1);
/arkcompiler/ets_runtime/test/typeinfer/typeof/
Dtypeof.ts18 let arr1:string[]= [];
19 AssertType(typeof(arr1), "string[]");
/arkcompiler/ets_runtime/test/typeinfer/add2dyn/
Dadd2dyn.ts23 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/
Dspreadoperator.js23 var arr1 = [...Array(16).keys()]; variable
24 print(arr1.length);
25 print(arr1);
/arkcompiler/ets_runtime/test/moduletest/container/
Dcontainer_queue.js91 var arr1 = []; variable
100 arr1.push(item);
104 if (arr1[j - 5] != j) {
Dcontainer_deque.js108 var arr1 = []; variable
118 arr1.push(item);
122 if (arr1[j - 5] != j) {
Dcontainer_lightweightmap.js62 let arr1 = ["aa", "bb", "cc"]; variable
65 res.set(arr1[j], item[1] == arr1[j]);
Dcontainer_hashset.js105 let arr1 = ["aa", "bb", "cc"]; variable
108 map.set(arr1[j], item == arr1[j]);
Dcontainer_treeset.js124 let arr1 = ["aa", "bb", "cc"]; variable
127 map.set(arr1[j], item == arr1[j]);
Dcontainer_hashmap.js133 let arr1 = ["aa", "bb", "cc"]; variable
136 res.set(arr1[j], item[1] == arr1[j]);
Dcontainer_treemap.js137 let arr1 = ["aa", "bb", "cc"]; variable
140 res.set(arr1[j], item[1] == arr1[j]);
Dcontainer_linked_list.js317 const arr1 = proxy1.convertToArray() constant
318 for (let i = 1; i < arr1.length; i++) {
319 if (arr1[i] !== testArray3[i]) {
Dcontainer_vector.js253 let arr1 = [-1, -1, -1, -1, -1]; variable
254 proxy1.copyToArray(arr1);
257 if (arr1[i] !== a[i]) {
Dcontainer_list.js291 const arr1 = proxy.convertToArray() constant
292 for (let i = 0; i < arr1.length; i++) {
293 if (arr1[i] !== testArray3[i]) {
Dcontainer_arraylist.js47 let arr1 = new arrayList(); variable
48 let proxy = new Proxy(arr1, {});
Dcontainer_lightweightset.js52 let arr1 = [1, 2, 3]; variable
/arkcompiler/ets_runtime/test/typeinfer/ldobjbyvalue/
Dldobjbyvalue.ts28 let arr1:string[] = ["a", "b", "c"];
39 AssertType(arr1[t], "string");
/arkcompiler/ets_frontend/ts2panda/tests/expression/
Dliteral.test.ts179 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/
Dalias_analysis_test.cpp219 * 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/
Dbuiltins_array_test.cpp363 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/
Druntime_stubs.cpp187 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/
Dencode.cpp724 …static constexpr std::array<uint32_t, 4> ARR1 = {uint32_t(0x43300000), uint32_t(0x45300000), 0x0, … in EncodeCastScalarToFloatUnsignDouble() local
731 CopyArrayToXmm(tmp, ARR1); in EncodeCastScalarToFloatUnsignDouble()