/arkcompiler/ets_runtime/ecmascript/containers/ |
H A D | containers_lightweightmap.h | 33 static JSTaggedValue GetIndexOfKey(EcmaRuntimeCallInfo *argv);
|
H A D | containers_plainarray.h | 34 static JSTaggedValue GetIndexOfKey(EcmaRuntimeCallInfo *argv);
|
H A D | containers_lightweightmap.cpp | 230 JSTaggedValue ContainersLightWeightMap::GetIndexOfKey(EcmaRuntimeCallInfo *argv) in GetIndexOfKey() function in panda::ecmascript::containers::ContainersLightWeightMap 234 BUILTINS_API_TRACE(thread, LightWeightMap, GetIndexOfKey); in GetIndexOfKey() 250 int32_t index = JSAPILightWeightMap::GetIndexOfKey(thread, JSHandle<JSAPILightWeightMap>::Cast(self), key); in GetIndexOfKey()
|
H A D | containers_plainarray.cpp | 261 JSTaggedValue ContainersPlainArray::GetIndexOfKey(EcmaRuntimeCallInfo *argv) in GetIndexOfKey() function in panda::ecmascript::containers::ContainersPlainArray 265 BUILTINS_API_TRACE(thread, PlainArray, GetIndexOfKey); in GetIndexOfKey() 290 JSTaggedValue result = array->GetIndexOfKey(key); in GetIndexOfKey()
|
H A D | containers_private.cpp | 370 SetFrozenFunction(thread, funcPrototype, "getIndexOfKey", ContainersLightWeightMap::GetIndexOfKey, FuncLength::ONE); in InitializeLightWeightMap() 664 SetFrozenFunction(thread, plainArrayFuncPrototype, "getIndexOfKey", ContainersPlainArray::GetIndexOfKey, in InitializePlainArray()
|
/arkcompiler/ets_runtime/test/fuzztest/containerslightweightmapsetandget_fuzzer/ |
H A D | containerslightweightmapsetandget_fuzzer.cpp | 123 ContainersLightWeightMap::GetIndexOfKey(callInfo); in ContainersLightWeightMapSetAndGetFuzzTest()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_plain_array.h | 50 JSTaggedValue GetIndexOfKey(int32_t key);
|
H A D | js_api_lightweightmap.h | 60 static int32_t GetIndexOfKey(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap,
|
H A D | js_api_lightweightmap.cpp | 92 int32_t index = GetIndexOfKey(thread, lightWeightMap, key); in Get() 155 int32_t JSAPILightWeightMap::GetIndexOfKey(JSThread *thread, const JSHandle<JSAPILightWeightMap> &lightWeightMap, in GetIndexOfKey() function in JSAPILightWeightMap
|
H A D | js_api_plain_array.cpp | 401 JSTaggedValue JSAPIPlainArray::GetIndexOfKey(int32_t key) in GetIndexOfKey() function in panda::ecmascript::JSAPIPlainArray
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
H A D | containers_plainarray_test.cpp | 336 // test GetIndexOfKey in HWTEST_F_L0() 345 JSTaggedValue result = ContainersPlainArray::GetIndexOfKey(callInfo); in HWTEST_F_L0() 383 // test GetIndexOfKey in HWTEST_F_L0() 392 JSTaggedValue result = ContainersPlainArray::GetIndexOfKey(callInfo); in HWTEST_F_L0() 491 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersPlainArray, GetIndexOfKey); in HWTEST_F_L0() 518 CONTAINERS_API_EXCEPTION_TEST(ContainersPlainArray, GetIndexOfKey, callInfo); in HWTEST_F_L0()
|
H A D | containers_lightweightmap_test.cpp | 594 CONTAINERS_API_TYPE_MISMATCH_EXCEPTION_TEST(ContainersLightWeightMap, GetIndexOfKey); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | js_api_plain_array_test.cpp | 172 JSTaggedValue value2 = array->GetIndexOfKey(lvalue); in HWTEST_F_L0() 174 EXPECT_EQ(array->GetIndexOfKey(lvalue * 2), JSTaggedValue(-1)); in HWTEST_F_L0()
|
H A D | js_api_lightweightmap_test.cpp | 61 EXPECT_TRUE(JSAPILightWeightMap::GetIndexOfKey(thread, lwm, key) != -1); in TestCommon() 211 int32_t removeIndex = JSAPILightWeightMap::GetIndexOfKey(thread, lwm, keys[1]); // 1 : key in HWTEST_F_L0() 246 int32_t index = JSAPILightWeightMap::GetIndexOfKey(thread, lwm, key); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | runtime_call_id.h | 1004 V(LightWeightMap, GetIndexOfKey) \ 1049 V(PlainArray, GetIndexOfKey) \
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
H A D | snapshot_processor.cpp | 772 reinterpret_cast<uintptr_t>(LightWeightMap::GetIndexOfKey), 924 reinterpret_cast<uintptr_t>(PlainArray::GetIndexOfKey),
|
/arkcompiler/ets_runtime/test/fuzztest/containersplainarray_fuzzer/ |
H A D | containersplainarray_fuzzer.cpp | 460 ContainersPlainArray::GetIndexOfKey(cfForGetIndexOfKey); // expected to return the index of key
in ContainersPlainArray_GetIndexOfKey_FuzzTest()
|