Home
last modified time | relevance | path

Searched refs:GetKey (Results 1 – 25 of 77) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/
Dlayout_info.cpp68 JSTaggedValue key = GetKey(i); in GetAllKeys()
80 JSTaggedValue key = GetKey(i); in GetAllKeys()
98 JSTaggedValue key = GetKey(static_cast<int>(i)); in GetAllKeysByFilter()
116 JSTaggedValue key = GetKey(static_cast<int>(i)); in GetAllKeysByFilter()
134 JSTaggedValue key = GetKey(i); in GetAllKeys()
154 JSTaggedValue key = GetKey(i); in GetAllEnumKeys()
179 auto key = GetKey(index); in DumpFieldIndexForProfile()
Dlayout_info-inl.h66 inline JSTaggedValue LayoutInfo::GetKey(int index) const in GetKey() function
81 return GetKey(fixedIdx); in GetSortedKey()
141 JSTaggedValue currentKey = GetKey(sortIndex); in BinarySearch()
149 currentKey = GetKey(sortIndex); in BinarySearch()
160 currentKey = GetKey(sortIndex); in BinarySearch()
Dsubtyping_operator-inl.h83 JSTaggedValue SubtypingOperator::GetKey(T *obj, uint32_t index) in GetKey() function
86 return obj->GetKey(index); in GetKey()
113 JSTaggedValue key = GetKey(suber, index); in SubtypingCondition()
Dtagged_hash_table.h174 JSTaggedValue GetKey(int entry) const in GetKey() function
199 JSTaggedValue key = GetKey(hashIndex); in GetAllKeys()
211 JSTaggedValue key = GetKey(hashIndex); in GetAllKeysIntoVector()
229 keyValue = GetKey(entry); in FindEntry()
251 keyValue = GetKey(entry); in FindEntry()
272 if (!IsKey(GetKey(entry))) { in FindInsertIndex()
366 JSTaggedValue k = this->GetKey(i); in Rehash()
464 if (!(table->IsKey(table->GetKey(entry)))) { in Remove()
508 if (table->IsKey(table->GetKey(i))) { in GetEnumerationOrder()
Djs_map.cpp69 JSTaggedValue JSMap::GetKey(uint32_t entry) const in GetKey() function in panda::ecmascript::JSMap
72 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetKey(entry); in GetKey()
Dtagged_tree.h77 inline JSTaggedValue GetKey(int entry) const in GetKey() function
266 return GetKey(GetRootEntries()); in GetRootKey()
331 return entry != GetRootEntries() && !GetKey(entry).IsHole(); in IsValidIndex()
411 newTree->SetKey(thread, index, GetKey(parent)); in CopyEntry()
417 SetKey(thread, dst, GetKey(src)); in CopyData()
421 newTree->SetKey(thread, index, GetKey(parent)); in CopyAllData()
481 JSTaggedValue key = GetKey(GetMinimum(GetRootEntries())); in GetFirstKey()
487 JSTaggedValue key = GetKey(GetMaximum(GetRootEntries())); in GetLastKey()
540 JSTaggedValue key = GetKey(GetMinimum(GetRootEntries())); in GetFirstKey()
546 JSTaggedValue key = GetKey(GetMaximum(GetRootEntries())); in GetLastKey()
Dtagged_dictionary.cpp71 JSTaggedValue key = GetKey(hashIndex); in GetAllKeys()
91 JSTaggedValue key = GetKey(hashIndex); in GetAllKeysByFilter()
121 JSTaggedValue key = GetKey(hashIndex); in GetAllEnumKeys()
234 JSTaggedValue key = obj->GetKey(hashIndex); in GetAllKeys()
259 JSTaggedValue key = obj->GetKey(hashIndex); in GetAllKeysByFilter()
288 JSTaggedValue key = obj->GetKey(hashIndex); in GetAllEnumKeys()
Dtagged_hash_array.cpp55 findKey = nextNode->GetKey(); in GetNode()
75 JSHandle<JSTaggedValue> key(thread, treeNode->GetKey()); in CreateLinkedNodeFrom()
89 JSHandle<JSTaggedValue> key(thread, linkedNode->GetKey()); in CreateTreeNodeFrom()
190 currentKey.Update(root->GetKey()); in SetVal()
230 JSTaggedValue newKey = head->GetKey(); in RemoveNode()
239 newKey = nodeNext->GetKey(); in RemoveNode()
Dtagged_node.cpp29 key.Update(next->GetKey()); in Treeing()
188 JSHandle<JSTaggedValue> treeNodeKey(thread, treeNode->GetKey()); in Set()
343 JSTaggedValue treeNodeKey = treeNode->GetKey(); in Delete()
355 treeNodeKey = treeNode->GetKey(); in Delete()
364 treeNodeKey = treeNode->GetKey(); in Delete()
373 treeNode->SetKey(thread, minNode->GetKey()); in Delete()
408 currentKey.Update(root->GetKey()); in GetTreeNode()
Djs_set_iterator.cpp57 if (!set->GetKey(index).IsHole()) { in Next()
59 JSHandle<JSTaggedValue> key(thread, set->GetKey(index)); in Next()
Dtagged_tree.cpp313 JSMutableHandle<JSTaggedValue> parentKey(thread, tree->GetKey(parentIndex)); in FindEntry()
333 parentKey.Update(tree->GetKey(parentIndex)); in FindEntry()
393 parentKey.Update(newTree->GetKey(parentIndex)); in Insert()
428 JSMutableHandle<JSTaggedValue> parentKey(thread, tree->GetKey(parentIndex)); in GetLowerKey()
440 parentKey.Update(tree->GetKey(parentIndex)); in GetLowerKey()
442 JSTaggedValue lowerKey = tree->GetKey(resultIndex); in GetLowerKey()
451 JSMutableHandle<JSTaggedValue> parentKey(thread, tree->GetKey(parentIndex)); in GetHigherKey()
463 parentKey.Update(tree->GetKey(parentIndex)); in GetHigherKey()
465 JSTaggedValue lowerKey = tree->GetKey(resultIndex); in GetHigherKey()
544 map = Insert(thread, map, JSHandle<JSTaggedValue>(thread, src->GetKey(parent)), in SetAll()
Djs_weak_container.cpp65 JSTaggedValue JSWeakMap::GetKey(int entry) const in GetKey() function in panda::ecmascript::JSWeakMap
68 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetKey(entry); in GetKey()
Djs_map.h39 JSTaggedValue GetKey(uint32_t entry) const;
Dglobal_dictionary-inl.h109 JSTaggedValue key = GetKey(hashIndex); in GetAllKeys()
133 JSTaggedValue key = GetKey(hashIndex); in GetAllKeysByFilter()
168 JSTaggedValue key = GetKey(hashIndex); in GetEnumAllKeys()
/arkcompiler/ets_runtime/ecmascript/tests/
Dtemplate_map_test.cpp75 EXPECT_EQ(templateMap->GetKey(i), JSTaggedValue::Undefined()); in HWTEST_F_L0()
101 EXPECT_EQ(templateMap->GetKey(keyEntry), tempMapKey.GetTaggedValue()); in HWTEST_F_L0()
107 EXPECT_EQ(templateMap->GetKey(keyEntry1), tempMapKey.GetTaggedValue()); in HWTEST_F_L0()
113 EXPECT_EQ(templateMap->GetKey(keyEntry2), tempMapKey1.GetTaggedValue()); in HWTEST_F_L0()
305 EXPECT_NE(templateMap->GetKey(i), JSTaggedValue::Undefined()); in HWTEST_F_L0()
307 EXPECT_EQ(templateMap->GetKey(i), storeKeyArray->Get(i + 5)); in HWTEST_F_L0()
333 EXPECT_NE(templateMap->GetKey(i), JSTaggedValue::Undefined()); in HWTEST_F_L0()
334 EXPECT_EQ(templateMap->GetKey(i), storeKeyVector[i]); in HWTEST_F_L0()
360 EXPECT_EQ(JSTaggedValue::Undefined(), templateMap->GetKey( in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_tree_set.cpp47 JSTaggedValue JSAPITreeSet::GetKey(int entry) const in GetKey() function in panda::ecmascript::JSAPITreeSet
50 JSTaggedValue key = TaggedTreeSet::Cast(GetTreeSet().GetTaggedObject())->GetKey(entry); in GetKey()
88 JSHandle<JSTaggedValue> value(thread, setHandle->GetKey(entry)); in PopFirst()
101 JSHandle<JSTaggedValue> value(thread, setHandle->GetKey(entry)); in PopLast()
Djs_api_tree_map.cpp54 JSTaggedValue JSAPITreeMap::GetKey(int entry) const in GetKey() function in panda::ecmascript::JSAPITreeMap
57 JSTaggedValue key = TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())->GetKey(entry); in GetKey()
Djs_api_tree_set.h47 JSTaggedValue GetKey(int entry) const;
Djs_api_tree_map.h52 JSTaggedValue GetKey(int entry) const;
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_obj_layout_info.cpp49 JSTaggedValue keyVal = GetKey(i); in GetElementIndexByKey()
62 if (static_cast<uint32_t>(GetKey(i).GetInt()) == keyType) { in TryGetTypeByIndexSign()
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dcontainers_lightweightset_stub_builder.h36 GateRef GetKey(GateRef obj, GateRef index) in GetKey() function
Dcontainers_lightweightmap_stub_builder.h36 GateRef GetKey(GateRef obj, GateRef index) in GetKey() function
Dcontainers_stub_builder.h283 return lightWeightMapBuilder.GetKey(obj, index); in ContainerGetKey()
287 return lightWeightSetBuilder.GetKey(obj, index); in ContainerGetKey()
325 return plainArrayBuilder.GetKey(obj, index); in PlainArrayGetKey()
Dcontainers_plainarray_stub_builder.h42 GateRef GetKey(GateRef obj, GateRef index) in GetKey() function
/arkcompiler/ets_runtime/ecmascript/compiler/
Dts_hclass_generator.cpp72 auto key = layoutInfo->GetKey(i); in UpdateTSHClassFromPGO()
185 JSTaggedValue tsPropKey = tsLayout->GetKey(index); in CreateIHClass()
225 JSHandle<JSTaggedValue> key(thread, tsLayout->GetKey(index)); in CreatePHClass()
315 … tsPropKey = tsLayout->GetKey(index - ClassInfoExtractor::STATIC_RESERVED_LENGTH); in CreateCHClass()
340 … JSTaggedValue tsPropKey = tsLayout->GetKey(index - ClassInfoExtractor::STATIC_RESERVED_LENGTH); in CreateCHClass()

1234