Home
last modified time | relevance | path

Searched refs:array3 (Results 1 – 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/test/aottest/builtins_array/
Dbuiltins_array.ts29 let array3 = new Array(-1);
30 print(array3.length);
36 let array3 = new Array(2.1);
37 print(array3.length);
43 let array3 = new Array(4294967296);
44 print(array3.length);
/arkcompiler/ets_runtime/test/moduletest/arrayReverseCase/
DarrayReverseCase.js46 var array3 = new Uint8Array([1, 2, 3, 4]); variable
47 Object.defineProperty(array3, "length", { value: 5 });
48 Array.prototype.reverse.call(array3); argument
49 print(array3)
/arkcompiler/ets_runtime/test/moduletest/arrayforeach/
Darrayforeach.js36 let array3 = new Array(10); variable
37 array3.forEach((item, index) => {
/arkcompiler/ets_runtime/test/moduletest/arrayConcat/
DarrayConcat.js17 const array3 = array1.concat(array2); constant
18 print(array3);
/arkcompiler/toolchain/tooling/test/testcases/js/
Dvariable_second.js53 var array3 = ['banana', 'apple', 'peach'];
54 array3.pop();
55 var array4 = array3.shift();
/arkcompiler/runtime_core/disassembler/tests/sources/
Dliterals_same.pa17 .array array3 i32 3 { 2 3 4}
Dliterals.pa19 .array array3 f32 3 { 5.1 6.2 7.3 }
/arkcompiler/runtime_core/tests/checked/
Dconst_array_test.pa51 .array array3 f32 3 { 5.0 6.0 7.0 }
57 lda.const v3, array3
/arkcompiler/runtime_core/static_core/tests/checked/
Dconst_array_test.pa51 .array array3 f32 3 { 5.0 6.0 7.0 }
57 lda.const v3, array3
/arkcompiler/runtime_core/static_core/plugins/ets/tests/mock/
Darray_native_test.cpp40 ets_charArray array3 = env_->NewCharArray(0); in TEST_F() local
41 ASSERT_NE(array3, nullptr); in TEST_F()
43 EXPECT_EQ(env_->GetArrayLength(array3), static_cast<ets_size>(0)); in TEST_F()
/arkcompiler/ets_runtime/ecmascript/snapshot/tests/
Dsnapshot_test.cpp282 JSHandle<TaggedArray> array3 = factory->NewTaggedArray(100); in HWTEST_F_L0() local
291 array2->Set(thread, 0, array3.GetTaggedValue()); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D7_expressions.rst1350 let array3 = [...array1, ...array2] // spread array1 and array2 elements
1352 console.log(array3) // prints [1, 2, 3, 4, 5]