Home
last modified time | relevance | path

Searched refs:kValue (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Djs_stable_array.cpp207 auto kValue = ElementAccessor::Get(thisObjHandle, k); in Shift() local
208 ElementAccessor::Set(thread, thisObjHandle, k - 1, kValue, needTransition); in Shift()
333 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in HandleFindIndexOfStable() local
340 kValue.Update(JSTaggedValue::Undefined()); in HandleFindIndexOfStable()
342 kValue.Update(res); in HandleFindIndexOfStable()
345 kValue.Update(val); in HandleFindIndexOfStable()
350 info->SetCallArg(kValue.GetTaggedValue(), JSTaggedValue(k), thisObjVal.GetTaggedValue()); in HandleFindIndexOfStable()
375 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in HandleFindLastIndexOfStable() local
382 kValue.Update(JSTaggedValue::Undefined()); in HandleFindLastIndexOfStable()
384 kValue.Update(res); in HandleFindLastIndexOfStable()
[all …]
Djs_list_format.cpp271 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, listArray, k); in ToUnicodeStringArray() local
272 ASSERT(kValue->IsString()); in ToUnicodeStringArray()
273 JSHandle<EcmaString> kValueString = JSTaggedValue::ToString(thread, kValue); in ToUnicodeStringArray()
Dtagged_list.cpp429 JSTaggedValue kValue = taggedList->GetElement(dataIndex); in ReplaceAllElements() local
434 info->SetCallArg(kValue, key, thisHandle.GetTaggedValue()); in ReplaceAllElements()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_typedarray.cpp244 JSHandle<JSTaggedValue> kValue = vec[k]; in From() local
249 info->SetCallArg(kValue.GetTaggedValue(), tKey.GetTaggedValue()); in From()
254 mapValue.Update(kValue.GetTaggedValue()); in From()
297 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in From() local
301 kValue.Update(ObjectFastOperator::FastGetPropertyByValue(thread, arrayLike.GetTaggedValue(), in From()
308 info->SetCallArg(kValue.GetTaggedValue(), tKey.GetTaggedValue()); in From()
313 mapValue = kValue; in From()
357 JSHandle<JSTaggedValue> kValue = GetCallArg(argv, k); in Of() local
358 … JSTaggedValue::SetProperty(thread, JSHandle<JSTaggedValue>::Cast(newObj), kKey, kValue, true); in Of()
543 … JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, thisObjVal, k).GetValue(); in Every() local
[all …]
Dbuiltins_array.cpp311 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, arrayLike, k); in From() local
319 info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue()); in From()
324 mapValue.Update(kValue.GetTaggedValue()); in From()
400 JSHandle<JSTaggedValue> kValue = GetCallArg(argv, k); in Of() local
401 JSObject::CreateDataPropertyOrThrow(thread, newArrayHandle, key, kValue); in Of()
722 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in Every() local
728 … info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue()); in Every()
861 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, k); in FilterUnStableJSArray() local
867 … info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue()); in FilterUnStableJSArray()
872 JSObject::CreateDataPropertyOrThrow(thread, newArrayHandle, toIndexHandle, kValue); in FilterUnStableJSArray()
[all …]
/arkcompiler/ets_runtime/ecmascript/intl/
Dlocale_helper.cpp126 JSHandle<JSTaggedValue> kValue = result.GetValue(); in CanonicalizeHelper() local
128 if (!kValue->IsString() && !kValue->IsJSObject()) { in CanonicalizeHelper()
136 if (kValue->IsJSLocale()) { in CanonicalizeHelper()
137 … JSHandle<EcmaString> kValueStr = JSLocale::ToString(thread, JSHandle<JSLocale>::Cast(kValue)); in CanonicalizeHelper()
141 JSHandle<EcmaString> kValueString = JSTaggedValue::ToString(thread, kValue); in CanonicalizeHelper()
148 JSHandle<EcmaString> kValueString = JSTaggedValue::ToString(thread, kValue); in CanonicalizeHelper()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_stub_builder.cpp28 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in ContainersCommonFuncCall()
103 kValue = ContainerGetValue(*thisObj, *k, type); in ContainersCommonFuncCall()
110 …ircuit::NullGate(), JSCallMode::CALL_THIS_ARG3_WITH_RETURN, { *thisArg, *kValue, *key, *thisObj }); in ContainersCommonFuncCall()
145 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in QueueCommonFuncCall()
221 kValue = ContainerGetValue(*thisObj, *index, type); in QueueCommonFuncCall()
225 …ircuit::NullGate(), JSCallMode::CALL_THIS_ARG3_WITH_RETURN, { *thisArg, *kValue, *key, *thisObj }); in QueueCommonFuncCall()
251 DEFVARIABLE(kValue, VariableType::JS_ANY(), Undefined()); in DequeCommonFuncCall()
330 kValue = ContainerGetValue(*thisObj, *index, type); in DequeCommonFuncCall()
333 …ircuit::NullGate(), JSCallMode::CALL_THIS_ARG3_WITH_RETURN, { *thisArg, *kValue, *key, *thisObj }); in DequeCommonFuncCall()
Dbuiltins_array_stub_builder.cpp210 DEFVARIABLE(kValue, VariableType::JS_ANY(), Hole()); in Filter()
220 kValue = GetTaggedValueWithElementsKind(thisValue, *i); in Filter()
226 Branch(TaggedIsHole(*kValue), &arrayValueIsHole, &arrayValueNotHole); in Filter()
234kValue = FastGetPropertyByIndex(glue, thisValue, TruncInt64ToInt32(*i), ProfileOperation()); in Filter()
247 Branch(TaggedIsHole(*kValue), &kValueIsHole, &kValueNotHole); in Filter()
254 { argHandle, *kValue, key, thisValue }); in Filter()
268 SetValueWithElementsKind(glue, newArray, *kValue, *toIndex, Boolean(true), in Filter()
909 GateRef kValue = GetTaggedValueWithElementsKind(thisValue, *k); in Reduce() local
910 Branch(TaggedIsHole(kValue), &loopEnd, &notHole); in Reduce()
914 … SetValueToTaggedArray(VariableType::JS_ANY(), glue, argList, Int32(1), kValue); in Reduce()
[all …]
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_arraylist.cpp258 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in ReplaceAllElements() local
262 kValue.Update(arrayList->Get(thread, k)); in ReplaceAllElements()
267 … info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisHandle.GetTaggedValue()); in ReplaceAllElements()
339 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in ForEach() local
343 kValue.Update(arrayList->Get(thread, k)); in ForEach()
348 … info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisHandle.GetTaggedValue()); in ForEach()
Djs_api_vector.cpp297 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in ForEach() local
302 kValue.Update(Get(thread, vector, k)); in ForEach()
307 info->SetCallArg(kValue.GetTaggedValue(), key, thisHandle.GetTaggedValue()); in ForEach()
325 JSMutableHandle<JSTaggedValue> kValue(thread, JSTaggedValue::Undefined()); in ReplaceAllElements() local
330 kValue.Update(Get(thread, vector, k)); in ReplaceAllElements()
335 info->SetCallArg(kValue.GetTaggedValue(), key, thisHandle.GetTaggedValue()); in ReplaceAllElements()
Djs_api_lightweightset.cpp328 JSTaggedValue kValue = lightweightset->GetValueAt(k); in ForEach() local
332 info->SetCallArg(kValue, kValue, thisHandle.GetTaggedValue()); in ForEach()
Djs_api_plain_array.cpp281 JSTaggedValue kValue = valueArray->Get(k); in ForEach() local
286 info->SetCallArg(kValue, key, thisHandle.GetTaggedValue()); in ForEach()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_queue.cpp161 JSHandle<JSTaggedValue> kValue = in ForEach() local
169 … info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisHandle.GetTaggedValue()); in ForEach()
Dcontainers_stack.cpp206 JSTaggedValue kValue = stack->Get(k); in ForEach() local
210 info->SetCallArg(kValue, JSTaggedValue(k), thisHandle.GetTaggedValue()); in ForEach()
Dcontainers_deque.cpp258 JSTaggedValue kValue = deque->Get(index); in ForEach() local
262 info->SetCallArg(kValue, JSTaggedValue(index), thisHandle.GetTaggedValue()); in ForEach()
/arkcompiler/ets_runtime/ecmascript/base/
Dtyped_array_helper.cpp160 JSHandle<JSTaggedValue> kValue = vec[k]; in CreateFromOrdinaryObject() local
161 … JSTaggedValue::SetProperty(thread, JSHandle<JSTaggedValue>::Cast(obj), kKey, kValue, true); in CreateFromOrdinaryObject()
194 … JSHandle<JSTaggedValue> kValue = JSTaggedValue::GetProperty(thread, objectArg, kKey).GetValue(); in CreateFromOrdinaryObject() local
196 JSTaggedValue::SetProperty(thread, JSHandle<JSTaggedValue>::Cast(obj), kKey, kValue, true); in CreateFromOrdinaryObject()
Darray_helper.cpp410 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObj, k); in SortIndexedProperties() local
412 items->Set(thread, index++, kValue.GetTaggedValue()); in SortIndexedProperties()
/arkcompiler/ets_runtime/ecmascript/stubs/
Druntime_stubs.cpp3344 JSHandle<JSTaggedValue> kValue = JSArray::FastGetPropertyByValue(thread, thisObjVal, i); in DEF_RUNTIME_STUBS() local
3350 … info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisObjVal.GetTaggedValue()); in DEF_RUNTIME_STUBS()