Lines Matching full:array
64 JSTypedArray *CreateTypedArray(JSThread *thread, const JSHandle<TaggedArray> &array) in CreateTypedArray() argument
69 JSHandle<JSTaggedValue> jsarray(JSArray::CreateArrayFromList(thread, array)); in CreateTypedArray()
87 JSTypedArray *CreateTypedArray(JSThread *thread, const JSHandle<TaggedArray> &array, DataViewType t… in CreateTypedArray() argument
91 JSHandle<JSTaggedValue> jsarray(JSArray::CreateArrayFromList(thread, array)); in CreateTypedArray()
246 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
247 array->Set(thread, 0, JSTaggedValue(7)); in HWTEST_F_L0()
248 array->Set(thread, 1, JSTaggedValue(8)); in HWTEST_F_L0()
249 array->Set(thread, 2, JSTaggedValue(9)); in HWTEST_F_L0()
251 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0()
269 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(10)); in HWTEST_F_L0() local
271 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0()
289 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
291 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, in HWTEST_F_L0()
322 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
323 array->Set(thread, 0, JSTaggedValue(5)); in HWTEST_F_L0()
324 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
325 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
326 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0()
345 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(10)); in HWTEST_F_L0() local
346 array->Set(thread, 0, JSTaggedValue(7)); in HWTEST_F_L0()
347 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
348 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
350 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0()
368 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(10)); in HWTEST_F_L0() local
369 array->Set(thread, 0, JSTaggedValue(7)); in HWTEST_F_L0()
370 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
371 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
373 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, in HWTEST_F_L0()
403 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
404 array->Set(thread, 0, JSTaggedValue(5)); in HWTEST_F_L0()
405 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
406 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
408 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0()
427 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
428 array->Set(thread, 0, JSTaggedValue(5)); in HWTEST_F_L0()
429 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
430 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
432 …JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, Data… in HWTEST_F_L0()
462 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
463 array->Set(thread, 0, JSTaggedValue(2)); in HWTEST_F_L0()
464 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
465 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
467 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, in HWTEST_F_L0()
482 obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, DataViewType::INT16)); in HWTEST_F_L0()
496 obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, DataViewType::UINT32)); in HWTEST_F_L0()
510 obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array, DataViewType::INT32)); in HWTEST_F_L0()
549 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
550 array->Set(thread, 0, JSTaggedValue(3)); in HWTEST_F_L0()
551 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
552 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
554 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array)); in HWTEST_F_L0()
572 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
573 array->Set(thread, 0, JSTaggedValue(3)); in HWTEST_F_L0()
574 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
575 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
577 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array)); in HWTEST_F_L0()
606 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
607 array->Set(thread, 0, JSTaggedValue(5)); in HWTEST_F_L0()
608 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
609 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
611 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array)); in HWTEST_F_L0()
629 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
630 array->Set(thread, 0, JSTaggedValue(5)); in HWTEST_F_L0()
631 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
632 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
634 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array)); in HWTEST_F_L0()
663 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
664 array->Set(thread, 0, JSTaggedValue(5)); in HWTEST_F_L0()
665 array->Set(thread, 1, JSTaggedValue(0)); in HWTEST_F_L0()
666 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
668 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array)); in HWTEST_F_L0()
686 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
687 array->Set(thread, 0, JSTaggedValue(0)); in HWTEST_F_L0()
688 array->Set(thread, 1, JSTaggedValue(5)); in HWTEST_F_L0()
689 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
691 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array)); in HWTEST_F_L0()
720 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
721 array->Set(thread, 0, JSTaggedValue(5)); in HWTEST_F_L0()
722 array->Set(thread, 1, JSTaggedValue(7)); in HWTEST_F_L0()
723 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
725 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array)); in HWTEST_F_L0()
743 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
744 array->Set(thread, 0, JSTaggedValue(5)); in HWTEST_F_L0()
745 array->Set(thread, 1, JSTaggedValue(7)); in HWTEST_F_L0()
746 array->Set(thread, 2, JSTaggedValue(0)); in HWTEST_F_L0()
748 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array)); in HWTEST_F_L0()
843 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
844 array->Set(thread, 0, JSTaggedValue(5)); in HWTEST_F_L0()
845 array->Set(thread, 1, JSTaggedValue(6)); in HWTEST_F_L0()
846 array->Set(thread, 2, JSTaggedValue(7)); in HWTEST_F_L0()
848 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array)); in HWTEST_F_L0()
866 [[maybe_unused]] JSHandle<TaggedArray> array(factory->NewTaggedArray(3)); in HWTEST_F_L0() local
867 array->Set(thread, 0, JSTaggedValue(5)); in HWTEST_F_L0()
868 array->Set(thread, 1, JSTaggedValue(6)); in HWTEST_F_L0()
869 array->Set(thread, 2, JSTaggedValue(7)); in HWTEST_F_L0()
871 JSHandle<JSTaggedValue> obj = JSHandle<JSTaggedValue>(thread, CreateTypedArray(thread, array)); in HWTEST_F_L0()