Home
last modified time | relevance | path

Searched refs:RemoveAt (Results 1 - 23 of 23) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_lightweightmap.h41 static JSTaggedValue RemoveAt(EcmaRuntimeCallInfo *argv);
H A Dcontainers_lightweightset.h38 static JSTaggedValue RemoveAt(EcmaRuntimeCallInfo *argv);
H A Dcontainers_plainarray.h39 static JSTaggedValue RemoveAt(EcmaRuntimeCallInfo *argv);
H A Dcontainers_lightweightset.cpp431 JSTaggedValue ContainersLightWeightSet::RemoveAt(EcmaRuntimeCallInfo *argv) in RemoveAt() function in panda::ecmascript::containers::ContainersLightWeightSet
435 BUILTINS_API_TRACE(thread, LightWeightSet, RemoveAt); in RemoveAt()
462 return JSTaggedValue(set->RemoveAt(thread, value->GetInt())); in RemoveAt()
H A Dcontainers_lightweightmap.cpp433 JSTaggedValue ContainersLightWeightMap::RemoveAt(EcmaRuntimeCallInfo *argv) in RemoveAt() function in panda::ecmascript::containers::ContainersLightWeightMap
437 BUILTINS_API_TRACE(thread, LightWeightMap, RemoveAt); in RemoveAt()
465 return JSAPILightWeightMap::RemoveAt(thread, JSHandle<JSAPILightWeightMap>::Cast(self), in RemoveAt()
H A Dcontainers_plainarray.cpp400 JSTaggedValue ContainersPlainArray::RemoveAt(EcmaRuntimeCallInfo *argv) in RemoveAt() function in panda::ecmascript::containers::ContainersPlainArray
404 BUILTINS_API_TRACE(thread, PlainArray, RemoveAt); in RemoveAt()
428 JSTaggedValue value = array->RemoveAt(thread, index.GetTaggedValue()); in RemoveAt()
H A Dcontainers_private.cpp379 SetFrozenFunction(thread, funcPrototype, "removeAt", ContainersLightWeightMap::RemoveAt, FuncLength::ONE); in InitializeLightWeightMap()
448 SetFrozenFunction(thread, funcPrototype, "removeAt", ContainersLightWeightSet::RemoveAt, FuncLength::ZERO); in InitializeLightWeightSet()
672 SetFrozenFunction(thread, plainArrayFuncPrototype, "removeAt", ContainersPlainArray::RemoveAt, in InitializePlainArray()
/arkcompiler/ets_runtime/ecmascript/tests/
H A Djs_api_plain_array_test.cpp209 // test RemoveAt in HWTEST_F_L0()
213 array->RemoveAt(thread, JSTaggedValue(3)); // 3 means the value in HWTEST_F_L0()
216 EXPECT_EQ(array->RemoveAt(thread, JSTaggedValue(-1)), JSTaggedValue::Undefined()); in HWTEST_F_L0()
217 EXPECT_EQ(array->RemoveAt(thread, JSTaggedValue(NODE_NUMBERS)), JSTaggedValue::Undefined()); in HWTEST_F_L0()
H A Djs_api_lightweightmap_test.cpp206 HWTEST_F_L0(JSAPILightWeightMapTest, RemoveAt) in HWTEST_F_L0()
212 EXPECT_EQ(JSAPILightWeightMap::RemoveAt(thread, lwm, removeIndex), JSTaggedValue::True()); in HWTEST_F_L0()
222 EXPECT_EQ(JSAPILightWeightMap::RemoveAt(thread, lwm, -1), JSTaggedValue::False()); in HWTEST_F_L0()
223 EXPECT_EQ(JSAPILightWeightMap::RemoveAt(thread, lwm, 10), JSTaggedValue::False()); in HWTEST_F_L0()
H A Djs_api_lightweightset_test.cpp233 // test RemoveAt in HWTEST_F_L0()
234 result = lws->RemoveAt(thread, 4); // 4 means the value in HWTEST_F_L0()
237 result = lws->RemoveAt(thread, -1); in HWTEST_F_L0()
239 result = lws->RemoveAt(thread, static_cast<int32_t>(NODE_NUMBERS)); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_lightweightset.h58 bool RemoveAt(JSThread *thread, int32_t index);
H A Djs_api_plain_array.h49 JSTaggedValue RemoveAt(JSThread *thread, JSTaggedValue index);
H A Djs_api_lightweightmap.h71 static JSTaggedValue RemoveAt(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap, int32_t index);
H A Djs_api_lightweightset.cpp357 RemoveAt(thread, index); in Remove()
361 bool JSAPILightWeightSet::RemoveAt(JSThread *thread, int32_t index) in RemoveAt() function in panda::ecmascript::JSAPILightWeightSet
H A Djs_api_lightweightmap.cpp276 JSTaggedValue JSAPILightWeightMap::RemoveAt(JSThread *thread, in RemoveAt() function in JSAPILightWeightMap
H A Djs_api_plain_array.cpp489 JSTaggedValue JSAPIPlainArray::RemoveAt(JSThread *thread, JSTaggedValue index) in RemoveAt() function in panda::ecmascript::JSAPIPlainArray
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapat_fuzzer/
H A Dcontainerslightweightmapat_fuzzer.cpp141 ContainersLightWeightMap::RemoveAt(callInfo); in ContainersLightWeightMapAtFuzzTest()
/arkcompiler/ets_runtime/ecmascript/containers/tests/
H A Dcontainers_plainarray_test.cpp526 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersPlainArray, RemoveAt); in HWTEST_F_L0()
547 CONTAINERS_API_EXCEPTION_TEST(ContainersPlainArray, RemoveAt, callInfo); in HWTEST_F_L0()
H A Dcontainers_lightweightmap_test.cpp615 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersLightWeightMap, RemoveAt); in HWTEST_F_L0()
640 CONTAINERS_API_EXCEPTION_TEST(ContainersLightWeightMap, RemoveAt, callInfo); in HWTEST_F_L0()
H A Dcontainers_lightweightset_test.cpp616 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersLightWeightSet, RemoveAt); in HWTEST_F_L0()
631 CONTAINERS_API_EXCEPTION_TEST(ContainersLightWeightSet, RemoveAt, callInfo); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/
H A Druntime_call_id.h1012 V(LightWeightMap, RemoveAt) \
1035 V(LightWeightSet, RemoveAt) \
1054 V(PlainArray, RemoveAt) \
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
H A Dsnapshot_processor.cpp780 reinterpret_cast<uintptr_t>(LightWeightMap::RemoveAt),
804 reinterpret_cast<uintptr_t>(LightWeightSet::RemoveAt),
929 reinterpret_cast<uintptr_t>(PlainArray::RemoveAt),
/arkcompiler/ets_runtime/test/fuzztest/containersplainarray_fuzzer/
H A Dcontainersplainarray_fuzzer.cpp670 ContainersPlainArray::RemoveAt(cfForRemoveAt); // expected to return the value in ContainersPlainArray_RemoveAt_FuzzTest()

Completed in 23 milliseconds