Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/
H A Djs_stable_array.cpp378 JSHandle<JSTaggedValue> kValue(thread, ElementAccessor::Get(thisObjHandle, k)); in Shift()
379 ElementAccessor::Set(thread, thisObjHandle, k - 1, kValue, needTransition); in Shift()
406 JSHandle<JSTaggedValue> kValue(thread, ElementAccessor::Get(thisObjHandle, k)); in Shift()
407 ElementAccessor::Set(thread, thisObjHandle, k - 1, kValue, needTransition); in Shift()
589 const int32_t argsLength = 3; // 3: ?kValue, k, O? in HandleFindIndexOfStable()
590 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in HandleFindIndexOfStable()
597 kValue.Update(JSTaggedValue::Undefined()); in HandleFindIndexOfStable()
599 kValue.Update(res); in HandleFindIndexOfStable()
602 kValue.Update(val); in HandleFindIndexOfStable()
607 info->SetCallArg(kValue in HandleFindIndexOfStable()
[all...]
H A Djs_list_format.cpp262 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, listArray, k); in ToUnicodeStringArray() local
263 ASSERT(kValue->IsString()); in ToUnicodeStringArray()
264 JSHandle<EcmaString> kValueString = JSTaggedValue::ToString(thread, kValue); in ToUnicodeStringArray()
H A Djs_stable_array.h96 JSMutableHandle<JSTaggedValue> &kValue, int64_t &k);
H A Dtagged_list.cpp423 JSTaggedValue kValue = taggedList->GetElement(dataIndex); in ReplaceAllElements() local
428 info->SetCallArg(kValue, key, thisHandle.GetTaggedValue()); in ReplaceAllElements()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
H A Dbuiltins_array_stub_builder.cpp584 DEFVARIABLE(kValue, VariableType::JS_ANY(), Hole()); in Filter()
594 kValue = GetTaggedValueWithElementsKind(thisValue, *i); in Filter()
600 BRANCH(TaggedIsHole(*kValue), &arrayValueIsHole, &arrayValueNotHole); in Filter()
608 kValue = FastGetPropertyByIndex(glue, thisValue, TruncInt64ToInt32(*i), ProfileOperation()); in Filter()
621 BRANCH(TaggedIsHole(*kValue), &kValueIsHole, &kValueNotHole); in Filter()
627 callArgs.callThisArg3WithReturnArgs = { argHandle, *kValue, key, thisValue }; in Filter()
644 SetValueWithElementsKind(glue, newArray, *kValue, *toIndex, Boolean(true), in Filter()
744 DEFVARIABLE(kValue, VariableType::JS_ANY(), Hole()); in Map()
754 kValue = GetTaggedValueWithElementsKind(thisValue, *i); in Map()
760 BRANCH(TaggedIsHole(*kValue), in Map()
1730 GateRef kValue = GetTaggedValueWithElementsKind(thisValue, *k); Reduce() local
2163 GateRef kValue = FastGetPropertyByIndex(glue, thisValue, TruncInt64ToInt32(*i), ProfileOperation()); Find() local
2334 GateRef kValue = FastGetPropertyByIndex(glue, thisValue, TruncInt64ToInt32(*j), ProfileOperation()); FindIndex() local
[all...]
H A Dbuiltins_typedarray_stub_builder.cpp679 GateRef kValue = FastGetPropertyByIndex(glue, thisValue, in IndexOf() local
692 BRANCH(FastStrictEqual(glue, target, kValue, ProfileOperation()), &find, &loopEnd); in IndexOf()
744 GateRef kValue = FastGetPropertyByIndex(glue, thisValue, TruncInt64ToInt32(*i), in Find() local
758 callArgs.callThisArg3WithReturnArgs = { argHandle, kValue, key, thisValue }; in Find()
774 result->WriteVariable(kValue); in Find()
974 DEFVARIABLE(kValue, VariableType::JS_ANY(), Hole()); in CopyWithin()
986 kValue = FastGetPropertyByIndex(glue, thisValue, TruncInt64ToInt32(*copyFrom), jsType); in CopyWithin()
995 StoreTypedArrayElement(glue, thisValue, *copyTo, *kValue, jsType); in CopyWithin()
1079 GateRef kValue = FastGetPropertyByIndex(glue, thisValue, *k, GetObjectType(LoadHClass(thisValue))); in ReduceRight() local
1083 SetValueToTaggedArray(VariableType::JS_ANY(), glue, argList, Int32(1), kValue); in ReduceRight()
1188 GateRef kValue = FastGetPropertyByIndex(glue, thisValue, *k, GetObjectType(LoadHClass(thisValue))); Reduce() local
1466 GateRef kValue = FastGetPropertyByIndex(glue, thisValue, *i, arrayType); Filter() local
1528 GateRef kValue = arrayStubBuilder.GetTaggedValueWithElementsKind(kept, *i); Filter() local
2317 GateRef kValue = FastGetPropertyByIndex(glue, thisValue, *j, GetObjectType(LoadHClass(thisValue))); FindIndex() local
[all...]
H A Dcontainers_stub_builder.cpp30 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in ContainersCommonFuncCall()
105 kValue = ContainerGetValue(*thisObj, *k, type); in ContainersCommonFuncCall()
112 callArgs.callThisArg3WithReturnArgs = { *thisArg, *kValue, *key, *thisObj }; in ContainersCommonFuncCall()
152 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in QueueCommonFuncCall()
228 kValue = ContainerGetValue(*thisObj, *index, type); in QueueCommonFuncCall()
232 callArgs.callThisArg3WithReturnArgs = { *thisArg, *kValue, *key, *thisObj }; in QueueCommonFuncCall()
261 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in DequeCommonFuncCall()
340 kValue = ContainerGetValue(*thisObj, *index, type); in DequeCommonFuncCall()
343 callArgs.callThisArg3WithReturnArgs = { *thisArg, *kValue, *key, *thisObj }; in DequeCommonFuncCall()
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_typedarray.cpp175 // b. Let kValue be ? Get(arrayLike, Pk). in FromUsingIteratorUndefinedValues()
177 // i. Let mappedValue be ? Call(mapfn, thisArg, « kValue, k »). in FromUsingIteratorUndefinedValues()
178 // d. Else, let mappedValue be kValue. in FromUsingIteratorUndefinedValues()
185 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in FromUsingIteratorUndefinedValues()
189 kValue.Update( in FromUsingIteratorUndefinedValues()
196 info->SetCallArg(kValue.GetTaggedValue(), tKey.GetTaggedValue()); in FromUsingIteratorUndefinedValues()
201 mapValue = kValue; in FromUsingIteratorUndefinedValues()
233 // ii. Let kValue be the first element of values and remove that element from values. in ProcessFromNotUndefinedValues()
235 // 1. Let mappedValue be ? Call(mapfn, thisArg, « kValue, k »). in ProcessFromNotUndefinedValues()
236 // iv. Else, let mappedValue be kValue in ProcessFromNotUndefinedValues()
246 JSHandle<JSTaggedValue> kValue = vec[k]; ProcessFromNotUndefinedValues() local
353 JSHandle<JSTaggedValue> kValue = GetCallArg(argv, k); Of() local
537 JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, thisObjVal, k).GetValue(); Every() local
807 JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, thisObjVal, k).GetValue(); ForEach() local
1871 JSHandle<JSTaggedValue> kValue = JSTypedArray::GetProperty(thread, thisHandle, k).GetValue(); At() local
[all...]
H A Dbuiltins_shared_typedarray.cpp201 // ii. Let kValue be the first element of values and remove that element from values. in From()
203 // 1. Let mappedValue be ? Call(mapfn, thisArg, « kValue, k »). in From()
204 // iv. Else, let mappedValue be kValue. in From()
214 JSHandle<JSTaggedValue> kValue = vec[k]; in From() local
219 info->SetCallArg(kValue.GetTaggedValue(), tKey.GetTaggedValue()); in From()
224 mapValue.Update(kValue.GetTaggedValue()); in From()
257 // b. Let kValue be ? Get(arrayLike, Pk). in From()
259 // i. Let mappedValue be ? Call(mapfn, thisArg, « kValue, k »). in From()
260 // d. Else, let mappedValue be kValue. in From()
267 JSMutableHandle<JSTaggedValue> kValue(threa in From()
326 JSHandle<JSTaggedValue> kValue = GetCallArg(argv, k); Of() local
515 JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, thisObjVal, k).GetValue(); Every() local
716 JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, thisObjVal, k).GetValue(); ForEach() local
1727 JSHandle<JSTaggedValue> kValue = JSTypedArray::GetProperty(thread, thisHandle, k).GetValue(); At() local
[all...]
H A Dbuiltins_array.cpp248 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, arrayLike, k); in From() local
252 const uint32_t argsLength = 2; // 2: «kValue, k» in From()
256 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue()); in From()
261 mapValue.Update(kValue.GetTaggedValue()); in From()
356 // b. Let kValue be Get(arrayLike, Pk). in From()
358 // i. Let mappedValue be Call(mapfn, T, «kValue, k»). in From()
359 // e. Else, let mappedValue be kValue. in From()
365 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, arrayLike, k); in From() local
369 const uint32_t argsLength = 2; // 2: «kValue, k» in From()
373 info->SetCallArg(kValue in From()
455 JSHandle<JSTaggedValue> kValue = GetCallArg(argv, k); Of() local
782 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); Every() local
908 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); FilterUnStableJSArray() local
1034 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); Find() local
1106 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); FindIndex() local
1178 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); ForEach() local
1566 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); MapUnStableJSArray() local
1682 JSHandle<JSTaggedValue> kValue = GetCallArg(argv, k); Push() local
1711 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); ReduceUnStableJSArray() local
1929 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, key); ReduceRightInner() local
3356 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); FindLast() local
3427 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); FindLastIndex() local
[all...]
H A Dbuiltins_shared_array.cpp271 // b. Let kValue be Get(arrayLike, Pk). in From()
273 // i. Let mappedValue be Call(mapfn, T, «kValue, k»). in From()
274 // e. Else, let mappedValue be kValue. in From()
280 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, arrayLike, k); in From() local
284 const uint32_t argsLength = 2; // 2: «kValue, k» in From()
288 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue()); in From()
293 mapValue.Update(kValue.GetTaggedValue()); in From()
536 const uint32_t argsLength = 3; // 3: «kValue, k, O» in CheckElementForEvery()
547 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k); in CheckElementForEvery() local
553 info->SetCallArg(kValue in CheckElementForEvery()
832 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k); FilterUnStableJSArray() local
970 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k); Find() local
1047 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k); FindIndex() local
1123 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k); ForEach() local
1316 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k); Map() local
1461 JSHandle<JSTaggedValue> kValue = GetCallArg(argv, k); Push() local
1493 JSHandle<JSTaggedValue> kValue = JSSharedArray::FastGetPropertyByValue(thread, thisObjVal, k); ReduceUnStableJSArray() local
[all...]
/arkcompiler/ets_runtime/ecmascript/intl/
H A Dlocale_helper.cpp122 // i. Let kValue be ? Get(O, Pk). in CanonicalizeHelper()
125 JSHandle<JSTaggedValue> kValue = result.GetValue(); in CanonicalizeHelper() local
126 // ii. If Type(kValue) is not String or Object, throw a TypeError exception. in CanonicalizeHelper()
127 if (!kValue->IsString() && !kValue->IsJSObject()) { in CanonicalizeHelper()
128 THROW_TYPE_ERROR_AND_RETURN(thread, "kValue is not String or Object.", factory->EmptyArray()); in CanonicalizeHelper()
130 // iii. If Type(kValue) is Object and kValue has an [[InitializedLocale]] internal slot, then in CanonicalizeHelper()
131 // 1. Let tag be kValue.[[Locale]]. in CanonicalizeHelper()
133 // 1. Let tag be ? ToString(kValue) in CanonicalizeHelper()
[all...]
/arkcompiler/ets_runtime/ecmascript/js_api/
H A Djs_api_vector.cpp294 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in ForEach()
299 kValue.Update(Get(thread, vector, k)); in ForEach()
304 info->SetCallArg(kValue.GetTaggedValue(), key, thisHandle.GetTaggedValue()); in ForEach()
322 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in ReplaceAllElements()
327 kValue.Update(Get(thread, vector, k)); in ReplaceAllElements()
332 info->SetCallArg(kValue.GetTaggedValue(), key, thisHandle.GetTaggedValue()); in ReplaceAllElements()
H A Djs_api_arraylist.cpp266 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in ReplaceAllElements()
270 kValue.Update(arrayList->Get(thread, k)); in ReplaceAllElements()
275 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisHandle.GetTaggedValue()); in ReplaceAllElements()
356 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in ForEach()
360 kValue.Update(arrayList->Get(thread, k)); in ForEach()
365 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisHandle.GetTaggedValue()); in ForEach()
H A Djs_api_lightweightset.cpp327 JSTaggedValue kValue = lightweightset->GetValueAt(k); in ForEach() local
331 info->SetCallArg(kValue, kValue, thisHandle.GetTaggedValue()); in ForEach()
H A Djs_api_plain_array.cpp345 JSTaggedValue kValue = valueArray->Get(k); in ForEach() local
350 info->SetCallArg(kValue, key, thisHandle.GetTaggedValue()); in ForEach()
/arkcompiler/ets_runtime/ecmascript/containers/
H A Dcontainers_queue.cpp158 JSHandle<JSTaggedValue> kValue = in ForEach() local
166 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisHandle.GetTaggedValue()); in ForEach()
H A Dcontainers_deque.cpp251 JSTaggedValue kValue = deque->Get(index); in ForEach() local
255 info->SetCallArg(kValue, JSTaggedValue(index), thisHandle.GetTaggedValue()); in ForEach()
H A Dcontainers_stack.cpp202 JSTaggedValue kValue = stack->Get(k); in ForEach() local
206 info->SetCallArg(kValue, JSTaggedValue(k), thisHandle.GetTaggedValue()); in ForEach()
/arkcompiler/ets_runtime/ecmascript/base/
H A Darray_helper.cpp395 // i. Let kValue be ? Get(obj, Pk). in SortIndexedProperties()
396 // ii. Append kValue to items. in SortIndexedProperties()
411 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObj, k); in SortIndexedProperties() local
413 itemsVector.push_back(kValue); in SortIndexedProperties()
H A Dtyped_array_helper.cpp377 // ii. Let kValue be the first element of values and remove that element from values. in CreateFromOrdinaryObject()
378 // iii. Perform ? Set(O, Pk, kValue, true). in CreateFromOrdinaryObject()
386 JSHandle<JSTaggedValue> kValue = vec[k]; in CreateFromOrdinaryObject() local
387 JSTaggedValue::SetProperty(thread, JSHandle<JSTaggedValue>::Cast(obj), kKey, kValue, true); in CreateFromOrdinaryObject()
410 // b. Let kValue be ? Get(arrayLike, Pk). in CreateFromOrdinaryObject()
411 // c. Perform ? Set(O, Pk, kValue, true). in CreateFromOrdinaryObject()
420 JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, objectArg, kKey).GetValue(); in CreateFromOrdinaryObject() local
422 JSTaggedValue::SetProperty(thread, JSHandle<JSTaggedValue>::Cast(obj), kKey, kValue, true); in CreateFromOrdinaryObject()
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dtyped_native_inline_lowering.cpp3345 DEFVALUE(kValue, (&builder_), VariableType::JS_ANY(), builder_.Hole()); in LowerArrayFilter()
3362 kValue = builtinsArrayStubBuilder.GetTaggedValueWithElementsKind(thisValue, *i); in LowerArrayFilter()
3370 *kValue, in LowerArrayFilter()
3384 *kValue, in LowerArrayFilter()
3444 DEFVALUE(kValue, (&builder_), VariableType::JS_ANY(), builder_.Hole()); in LowerArrayMap()
3460 kValue = builtinsArrayStubBuilder.GetTaggedValueWithElementsKind(thisValue, *i); in LowerArrayMap()
3468 *kValue, in LowerArrayMap()
3525 DEFVALUE(kValue, (&builder_), VariableType::JS_ANY(), builder_.Hole()); in LowerArraySome()
3534 kValue = builtinsArrayStubBuilder.GetTaggedValueWithElementsKind(thisValue, *i); in LowerArraySome()
3543 *kValue, in LowerArraySome()
[all...]
/arkcompiler/ets_runtime/ecmascript/stubs/
H A Druntime_stubs.cpp3927 const uint32_t argsLength = 3; // 3: «kValue, k, O» in DEF_RUNTIME_STUBS()
3935 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, i); in DEF_RUNTIME_STUBS() local
3941 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue()); in DEF_RUNTIME_STUBS()

Completed in 57 milliseconds