Home
last modified time | relevance | path

Searched refs:keyHandle (Results 1 – 15 of 15) sorted by relevance

/ark/js_runtime/ecmascript/
Djs_map_iterator.cpp54 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()
Druntime_trampolines.cpp232 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 …]
Djs_object.cpp111 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 …]
Djs_tagged_value.cpp509 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()
Dtagged_dictionary.cpp171 JSHandle<JSTaggedValue> keyHandle(thread, entry); in GetAllKeys() local
172 … JSHandle<EcmaString> str = JSTaggedValue::ToString(const_cast<JSThread *>(thread), keyHandle); in GetAllKeys()
Dobject_operator.cpp79 …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()
Dobject_factory.cpp1293 JSHandle<JSTaggedValue> keyHandle(name); in NewSymbolWithTable() local
1294 JSHandle<SymbolTable> table = SymbolTable::Insert(thread_, tableHandle, keyHandle, valueHandle); in NewSymbolWithTable()
/ark/js_runtime/ecmascript/interpreter/
Dfast_runtime_stub-inl.h243 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 …]
Dfast_runtime_stub.h97 JSHandle<JSTaggedValue> keyHandle,
Dslow_runtime_stub.cpp1070 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/
Dname_dictionary_test.cpp141 JSHandle<JSTaggedValue> keyHandle(key); in HWTEST_F_L0() local
147 … dictHandle = NameDictionary::PutIfAbsent(thread, tempHandle, keyHandle, valueHandle, metaData); in HWTEST_F_L0()
Dlinked_hash_table_test.cpp271 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/
Dic_runtime_stub-inl.h454 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/
Djson_parser.h353 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/
Djsnapi.cpp910 JSHandle<JSTaggedValue> keyHandle(thread, JSTaggedValue(key)); in Delete() local
911 bool result = object->DeleteProperty(thread, object, keyHandle); in Delete()