/ark/js_runtime/ecmascript/ |
D | js_map_iterator.cpp | 54 JSMutableHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue::Undefined()); in Next() local 59 keyHandle.Update(key); in Next() 62 … return JSIterator::CreateIterResultObject(thread, keyHandle, false).GetTaggedValue(); in Next() 72 array->Set(thread, 0, keyHandle); in Next()
|
D | runtime_trampolines.cpp | 232 CONVERT_ARG_HANDLE_CHECKED(JSTaggedValue, keyHandle, 0); in DEF_RUNTIME_TRAMPOLINES() 233 return JSTaggedValue(thread->GetEcmaVM()->GetFactory()->InternString(keyHandle)).GetRawData(); in DEF_RUNTIME_TRAMPOLINES() 261 CONVERT_ARG_HANDLE_CHECKED(JSTaggedValue, keyHandle, 2); in DEF_RUNTIME_TRAMPOLINES() 271 … PutIfAbsent(thread, dictHandle, keyHandle, valueHandle, propAttr).GetTaggedValue().GetRawData(); in DEF_RUNTIME_TRAMPOLINES() 275 … PutIfAbsent(thread, dictHandle, keyHandle, valueHandle, propAttr).GetTaggedValue().GetRawData(); in DEF_RUNTIME_TRAMPOLINES() 345 CONVERT_ARG_HANDLE_CHECKED(JSTaggedValue, keyHandle, 2); in DEF_RUNTIME_TRAMPOLINES() 364 layoutInfoHandle->AddKey(thread, offset, keyHandle.GetTaggedValue(), attrValue); in DEF_RUNTIME_TRAMPOLINES() 368 JSHClass::AddTransitions(thread, oldHClassHandle, newHClassHandle, keyHandle, attrValue); in DEF_RUNTIME_TRAMPOLINES() 622 auto keyHandle = JSHandle<JSTaggedValue>(thread, reinterpret_cast<TaggedObject *>(propKey)); in DEF_RUNTIME_TRAMPOLINES() local 624 return icRuntime.LoadMiss(receiverHandle, keyHandle).GetRawData(); in DEF_RUNTIME_TRAMPOLINES() [all …]
|
D | js_object.cpp | 111 JSMutableHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue::Undefined()); in TransitionToDictionary() local 127 keyHandle.Update(key); in TransitionToDictionary() 128 …JSHandle<NameDictionary> newDict = NameDictionary::PutIfAbsent(thread, dict, keyHandle, valueHandl… in TransitionToDictionary() 204 JSHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue(static_cast<int32_t>(index))); in AddElementInternal() local 206 …NumberDictionary::Put(thread, JSHandle<NumberDictionary>(thread, elements), keyHandle, value, attr… in AddElementInternal() 215 JSHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue(static_cast<int32_t>(index))); in AddElementInternal() local 217 … JSHandle<NumberDictionary> newKey = NumberDictionary::Put(thread, dict, keyHandle, value, attr); in AddElementInternal() 384 JSMutableHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue::Undefined()); in GetEnumElementKeys() local 391 keyHandle.Update(JSTaggedValue(i)); in GetEnumElementKeys() 392 auto key = JSTaggedValue::ToString(thread, keyHandle); in GetEnumElementKeys() [all …]
|
D | js_tagged_value.cpp | 509 JSHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue(key)); in GetProperty() local 510 return JSProxy::GetProperty(thread, JSHandle<JSProxy>(obj), keyHandle); in GetProperty() 575 JSHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue(key)); in SetProperty() local 576 success = JSProxy::SetProperty(thread, JSHandle<JSProxy>(obj), keyHandle, value, mayThrow); in SetProperty() 578 JSHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue(key)); in SetProperty() local 580 …thread, obj, JSHandle<JSTaggedValue>(JSTaggedValue::ToString(thread, keyHandle)), value, mayThrow); in SetProperty() 762 JSHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue(key)); in HasProperty() local 763 return JSProxy::HasProperty(thread, JSHandle<JSProxy>(obj), keyHandle); in HasProperty()
|
D | tagged_dictionary.cpp | 171 JSHandle<JSTaggedValue> keyHandle(thread, entry); in GetAllKeys() local 172 … JSHandle<EcmaString> str = JSTaggedValue::ToString(const_cast<JSThread *>(thread), keyHandle); in GetAllKeys()
|
D | object_operator.cpp | 79 …JSHandle<JSTaggedValue> keyHandle(thread_, JSTaggedValue::ToPrimitive(thread_, key, PREFER_STRING)… in HandleKey() local 81 key_ = keyHandle; in HandleKey() 86 … JSHandle<JSTaggedValue>::Cast(JSTaggedValue::ToString(thread_, keyHandle)))); in HandleKey()
|
D | object_factory.cpp | 1293 JSHandle<JSTaggedValue> keyHandle(name); in NewSymbolWithTable() local 1294 JSHandle<SymbolTable> table = SymbolTable::Insert(thread_, tableHandle, keyHandle, valueHandle); in NewSymbolWithTable()
|
/ark/js_runtime/ecmascript/interpreter/ |
D | fast_runtime_stub-inl.h | 243 JSHandle<JSTaggedValue> keyHandle, in AddPropertyByName() argument 249 …if (objHandle->IsJSArray() && keyHandle.GetTaggedValue() == thread->GlobalConstants()->GetConstruc… in AddPropertyByName() 257 JSHClass::AddProperty(thread, objHandle, keyHandle, attr); in AddPropertyByName() 281 NameDictionary::PutIfAbsent(thread, dict, keyHandle, valueHandle, attr); in AddPropertyByName() 294 JSHClass::AddProperty(thread, objHandle, keyHandle, attr); in AddPropertyByName() 299 NameDictionary::PutIfAbsent(thread, dictHandle, keyHandle, valueHandle, attr); in AddPropertyByName() 524 JSHandle<JSTaggedValue> keyHandle(thread, key); in SetPropertyByName() 530 AddPropertyByName(thread, objHandle, keyHandle, valueHandle, PropertyAttributes::Default()); in SetPropertyByName() 1023 JSHandle<JSTaggedValue> keyHandle(thread, key); in SetGlobalOwnProperty() 1036 …GlobalDictionary::PutIfAbsent(thread, dictHandle, keyHandle, JSHandle<JSTaggedValue>(boxHandle), a… in SetGlobalOwnProperty() [all …]
|
D | fast_runtime_stub.h | 97 JSHandle<JSTaggedValue> keyHandle,
|
D | slow_runtime_stub.cpp | 1070 JSHandle<JSTaggedValue> keyHandle(thread, key); in StOwnByValue() local 1074 JSTaggedValue::SameValue(keyHandle, globalConst->GetHandledPrototypeString())) { in StOwnByValue() 1082 JSMutableHandle<JSTaggedValue> propKey(JSTaggedValue::ToPropertyKey(thread, keyHandle)); in StOwnByValue() 1097 JSHandle<JSTaggedValue> keyHandle(thread, key); in StOwnByValueWithNameSet() local 1101 JSTaggedValue::SameValue(keyHandle, globalConst->GetHandledPrototypeString())) { in StOwnByValueWithNameSet() 1109 JSMutableHandle<JSTaggedValue> propKey(JSTaggedValue::ToPropertyKey(thread, keyHandle)); in StOwnByValueWithNameSet()
|
/ark/js_runtime/ecmascript/tests/ |
D | name_dictionary_test.cpp | 141 JSHandle<JSTaggedValue> keyHandle(key); in HWTEST_F_L0() local 147 … dictHandle = NameDictionary::PutIfAbsent(thread, tempHandle, keyHandle, valueHandle, metaData); in HWTEST_F_L0()
|
D | linked_hash_table_test.cpp | 271 JSHandle<JSTaggedValue> keyHandle(factory->NewFromCanBeCompressString(keyArray)); in HWTEST_F_L0() local 272 setHandle = LinkedHashSet::Delete(thread, setHandle, keyHandle); in HWTEST_F_L0()
|
/ark/js_runtime/ecmascript/ic/ |
D | ic_runtime_stub-inl.h | 454 auto keyHandle = JSHandle<JSTaggedValue>(thread, key); in LoadMiss() local 458 return icRuntime.LoadMiss(receiverHandle, keyHandle); in LoadMiss() 465 auto keyHandle = JSHandle<JSTaggedValue>(thread, key); in StoreMiss() local 470 return icRuntime.StoreMiss(receiverHandle, keyHandle, valueHandle); in StoreMiss()
|
/ark/js_runtime/ecmascript/base/ |
D | json_parser.h | 353 JSMutableHandle<JSTaggedValue> keyHandle(thread_, JSTaggedValue::Undefined()); in ParseObject() 358 keyHandle.Update(ParseString<true>()); in ParseObject() 373 thread_, result.GetTaggedValue(), keyHandle.GetTaggedValue(), value); in ParseObject()
|
/ark/js_runtime/ecmascript/napi/ |
D | jsnapi.cpp | 910 JSHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue(key)); in Delete() local 911 bool result = object->DeleteProperty(thread, object, keyHandle); in Delete()
|