Home
last modified time | relevance | path

Searched defs:newArray (Results 1 - 25 of 30) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_verification_test.cpp72 auto newArray = objectFactory->NewTaggedArray(1, JSTaggedValue::Undefined(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0() local
94 auto newArray = objectFactory->NewTaggedArray(5, JSTaggedValue::Undefined(), MemSpaceType::SEMI_SPACE); in HWTEST_F_L0() local
H A Dhandle_leak_test.cpp97 static void HeandleLeakTestCommon(const EcmaVM *instance, JSHandle<TaggedArray>& newArray) in HeandleLeakTestCommon() argument
[all...]
H A Dmem_controller_test.cpp82 [[maybe_unused]] auto newArray = local
162 [[maybe_unused]] auto newArray = in HWTEST_F_L0() local
H A Dtagged_array_test.cpp32 JSHandle<JSObject> newArray = in JSArrayTestCreate() local
H A Djs_stable_array_test.cpp161 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/ic/
H A Dproto_change_details.cpp45 JSHandle<WeakVector> newArray = WeakVector::Grow(thread, JSHandle<WeakVector>(array), array->GetCapacity() + 1); in Add() local
H A Dinvoke_cache.cpp49 JSHandle<TaggedArray> newArray = factory->NewTaggedArray(length * step); // 2: newTarget and hclass in SetPolyConstuctCacheSlot() local
145 JSHandle<TaggedArray> newArray = factory->NewTaggedArray(length); in SetPolyInlineCallCacheSlot() local
/arkcompiler/ets_runtime/ecmascript/builtins/tests/
H A Dbuiltins_errors_test.cpp975 JSHandle<JSObject> newArray = factory->NewJSObjectByConstructor(JSHandle<JSFunction>(errayFunc), errayFunc); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/
H A Djs_map_iterator.cpp124 JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue(); in MapIteratorToList() local
H A Dproperty_accessor.cpp126 JSHandle<TaggedArray> newArray = thread_->GetEcmaVM()->GetFactory()->NewTaggedArray(arraySize); in InitSimplePropertiesEnumCache() local
H A Dtagged_array.cpp143 JSHandle<TaggedArray> newArray = factory->CopyArray(array, oldLength, capa); in SetCapacity() local
152 JSHandle<TaggedArray> newArray = in SetCapacityInOldSpace() local
H A Djs_array.cpp756 auto newArray = factory->CopyArray(arr, arr->GetLength(), arr->GetLength(), in CheckAndCopyArray() local
H A Djs_function.cpp985 JSHandle<TaggedArray> newArray = vm->GetFactory()->NewTaggedArray(nativeFieldCount + RESOLVED_MAX_SIZE); in SetFunctionExtraInfo() local
995 JSHandle<TaggedArray> newArray = vm->GetFactory()->NewTaggedArray(RESOLVED_MAX_SIZE); in SetFunctionExtraInfo() local
1027 JSHandle<TaggedArray> newArray = SetSFunctionExtraInfo() local
1038 JSHandle<TaggedArray> newArray = vm->GetFactory()->NewSTaggedArrayWithoutInit(RESOLVED_MAX_SIZE); SetSFunctionExtraInfo() local
[all...]
/arkcompiler/ets_runtime/ecmascript/module/
H A Djs_shared_module.cpp156 JSHandle<TaggedArray> newArray = thread->GetEcmaVM()->GetFactory()->NewSTaggedArray(newLength); in GenerateSharedExports() local
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Doptimize_string_concat.cpp97 Inst *GetArrayLength(Inst *newArray) in GetArrayLength() argument
179 Inst *CreateLenArray(Graph *graph, Inst *newArray) in CreateLenArray() argument
H A Dreserve_string_builder_buffer.cpp161 auto newArray = storeObject->GetInput(1).GetInst()->CastToNewArray(); in ReplaceInitialBufferSizeConstantInlined() local
/arkcompiler/runtime_core/static_core/plugins/ets/tests/runtime/types/
H A Dets_string_test.cpp115 EtsArray *newArray = utf8String->ToCharArray(); in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/containers/tests/
H A Dcontainers_list_test.cpp370 JSTaggedValue newArray = ContainersList::ConvertToArray(callInfo); in HWTEST_F_L0() local
/arkcompiler/ets_runtime/ecmascript/shared_objects/
H A Djs_shared_array.cpp209 JSHandle<TaggedArray> newArray = factory->CopySArray(array, oldLength, capa); in SetCapacity() local
544 auto newArray = factory->CopyArray(arr, arr->GetLength(), arr->GetLength(), in CheckAndCopyArray() local
/arkcompiler/runtime_core/static_core/runtime/tests/
H A Dstring_test.cpp882 Array *newArray = utf8String->ToCharArray(GetLanguageContext()); in TEST_F() local
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_lightweightmap.cpp51 JSHandle<TaggedArray> newArray = GrowCapacity(thread, array, len + 1); in InsertValue() local
415 JSHandle<TaggedArray> newArray = factory->CopyArray(oldArray, oldLength, newCapacity); in GrowCapacity() local
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_shared_array.cpp66 JSTaggedValue newArray = JSSharedArray::ArrayCreate(thread, JSTaggedNumber(argc), newTarget).GetTaggedValue(); in ArrayConstructor() local
159 JSTaggedValue newArray; in From() local
252 JSTaggedValue newArray; in From() local
342 JSTaggedValue newArray; Create() local
413 JSTaggedValue newArray = JSSharedArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLen)); Concat() local
889 JSTaggedValue newArray = JSSharedArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLen)); Filter() local
1280 JSTaggedValue newArray = Map() local
1766 JSTaggedValue newArray = Slice() local
[all...]
H A Dbuiltins_array.cpp115 auto newArray = JSArray::CreateArrayFromList(thread, newTarget, elements); in ArrayConstructor() local
125 JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(argc), newTarget).GetTaggedValue(); in ArrayConstructor() local
217 JSTaggedValue newArray; in From() local
337 JSTaggedValue newArray; From() local
426 JSHandle<JSTaggedValue> newArray; Of() local
493 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLen)); Concat() local
961 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLen)); Filter() local
1523 JSTaggedValue newArray = Map() local
2227 JSTaggedValue newArray = Slice() local
2914 JSTaggedValue newArray = JSArray::ArraySpeciesCreate(thread, thisObjHandle, JSTaggedNumber(arrayLen)); FlatMap() local
3085 JSTaggedValue newArray = With() local
3145 JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(len))).GetTaggedValue(); ToSorted() local
3469 JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(static_cast<double>(len))).GetTaggedValue(); ToReversed() local
[all...]
H A Dbuiltins_string.cpp2332 JSTaggedValue newArray = JSArray::ArrayCreate(thread, JSTaggedNumber(0)).GetTaggedValue(); in StringToList() local
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_typedarray_stub_builder.cpp1509 GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, arrayType, TruncInt64ToInt32(*newArrayLen)); in Filter() local
1614 GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, arrayType, TruncInt64ToInt32(*newArrayLen)); in Slice() local
1701 BRANCH(Int32GreaterThan(diffLen, Int32(0)), &diffLargeZero, &newArray); in SubArray() local
1749 GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, jsType, TruncInt64ToInt32(thisLen)); With() local
2495 GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, jsType, TruncInt64ToInt32(thisLen)); ToSorted() local
2665 GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, jsType, TruncInt64ToInt32(thisLen)); Map() local
2722 GateRef newArray = newBuilder.NewTypedArray(glue, thisValue, arrayType, TruncInt64ToInt32(*thisArrLen)); ToReversed() local
[all...]

Completed in 33 milliseconds

12