Home
last modified time | relevance | path

Searched refs:currentKey (Results 1 – 5 of 5) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/
Dlayout_info-inl.h141 JSTaggedValue currentKey = GetKey(sortIndex); in BinarySearch() local
142 if (currentKey == key) { in BinarySearch()
149 currentKey = GetKey(sortIndex); in BinarySearch()
150 if (currentKey.GetKeyHashCode() == keyHash) { in BinarySearch()
151 if (currentKey == key) { in BinarySearch()
160 currentKey = GetKey(sortIndex); in BinarySearch()
161 if (currentKey.GetKeyHashCode() == keyHash) { in BinarySearch()
162 if (currentKey == key) { in BinarySearch()
Dtagged_node.cpp403 JSMutableHandle<JSTaggedValue> currentKey(thread, JSTaggedValue::Hole()); in GetTreeNode() local
408 currentKey.Update(root->GetKey()); in GetTreeNode()
409 …if (root->GetHash().GetInt() == hash && (!currentKey->IsHole() && JSTaggedValue::SameValue(key, cu… in GetTreeNode()
Dtagged_hash_array.cpp186 JSMutableHandle<JSTaggedValue> currentKey(thread, JSTaggedValue::Undefined()); in SetVal() local
190 currentKey.Update(root->GetKey()); in SetVal()
192 JSTaggedValue::Equal(thread, key, currentKey))) { in SetVal()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp912 JSMutableHandle<JSTaggedValue> currentKey(thread, JSTaggedValue::Undefined()); in GetHashMapValue() local
921 currentKey.Update(node->GetKey()); in GetHashMapValue()
924 objRef->Set(ecmaVm, jsKey, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetHashMapValue()
946 JSMutableHandle<JSTaggedValue> currentKey(thread, JSTaggedValue::Undefined()); in GetHashSetValue() local
953 currentKey.Update(node->GetKey()); in GetHashSetValue()
954 if (currentKey->IsECMAObject()) { in GetHashSetValue()
956 objRef->Set(ecmaVm, jsValue, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetHashSetValue()
960 … ArrayRef::SetValueAt(ecmaVm, jsValueRef, pos++, JSNApiHelper::ToLocal<JSValueRef>(currentKey)); in GetHashSetValue()
977 JSMutableHandle<JSTaggedValue> currentKey(thread, JSTaggedValue::Undefined()); in GetLightWeightMapValue() local
983 currentKey.Update(keys->Get(index)); in GetLightWeightMapValue()
[all …]
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_hashset.cpp264 JSMutableHandle<JSTaggedValue> currentKey(thread, JSTaggedValue::Undefined()); in ForEach() local
270 currentKey.Update(node->GetKey()); in ForEach()
275 …info->SetCallArg(currentKey.GetTaggedValue(), currentKey.GetTaggedValue(), thisHandle.GetTaggedVal… in ForEach()