/arkcompiler/ets_runtime/ecmascript/ |
D | js_stable_array.cpp | 207 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 …]
|
D | js_list_format.cpp | 271 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()
|
D | tagged_list.cpp | 429 JSTaggedValue kValue = taggedList->GetElement(dataIndex); in ReplaceAllElements() local 434 info->SetCallArg(kValue, key, thisHandle.GetTaggedValue()); in ReplaceAllElements()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_typedarray.cpp | 244 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 …]
|
D | builtins_array.cpp | 311 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/ |
D | locale_helper.cpp | 126 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/ |
D | containers_stub_builder.cpp | 28 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()
|
D | builtins_array_stub_builder.cpp | 210 DEFVARIABLE(kValue, VariableType::JS_ANY(), Hole()); in Filter() 220 kValue = GetTaggedValueWithElementsKind(thisValue, *i); in Filter() 226 Branch(TaggedIsHole(*kValue), &arrayValueIsHole, &arrayValueNotHole); in Filter() 234 … kValue = 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, ¬Hole); in Reduce() 914 … SetValueToTaggedArray(VariableType::JS_ANY(), glue, argList, Int32(1), kValue); in Reduce() [all …]
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
D | js_api_arraylist.cpp | 258 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()
|
D | js_api_vector.cpp | 297 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()
|
D | js_api_lightweightset.cpp | 328 JSTaggedValue kValue = lightweightset->GetValueAt(k); in ForEach() local 332 info->SetCallArg(kValue, kValue, thisHandle.GetTaggedValue()); in ForEach()
|
D | js_api_plain_array.cpp | 281 JSTaggedValue kValue = valueArray->Get(k); in ForEach() local 286 info->SetCallArg(kValue, key, thisHandle.GetTaggedValue()); in ForEach()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_queue.cpp | 161 JSHandle<JSTaggedValue> kValue = in ForEach() local 169 … info->SetCallArg(kValue.GetTaggedValue(), key.GetTaggedValue(), thisHandle.GetTaggedValue()); in ForEach()
|
D | containers_stack.cpp | 206 JSTaggedValue kValue = stack->Get(k); in ForEach() local 210 info->SetCallArg(kValue, JSTaggedValue(k), thisHandle.GetTaggedValue()); in ForEach()
|
D | containers_deque.cpp | 258 JSTaggedValue kValue = deque->Get(index); in ForEach() local 262 info->SetCallArg(kValue, JSTaggedValue(index), thisHandle.GetTaggedValue()); in ForEach()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | typed_array_helper.cpp | 160 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()
|
D | array_helper.cpp | 410 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/ |
D | runtime_stubs.cpp | 3344 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()
|