/arkcompiler/ets_runtime/ecmascript/ |
H A D | layout_info.cpp | 41 JSTaggedValue key = GetKey(i); in GetAllKeys() 53 JSTaggedValue key = GetKey(i); in GetAllKeys() 71 JSTaggedValue key = GetKey(static_cast<int>(i)); in GetAllKeysByFilter() 89 JSTaggedValue key = GetKey(static_cast<int>(i)); in GetAllKeysByFilter() 107 JSTaggedValue key = GetKey(i); in GetAllKeysForSerialization() 120 JSTaggedValue key = GetKey(i); in GetNumOfEnumKeys() 146 keyHandle.Update(GetKey(i)); in GetAllEnumKeys() 176 keyHandle.Update(GetKey(i)); in GetAllEnumKeys() 222 auto key = GetKey(index); in DumpFieldIndexByPGO() 241 auto key = GetKey(inde in UpdateFieldIndexByPGO() [all...] |
H A D | tagged_tree.h | 76 inline JSTaggedValue GetKey(int entry) const in GetKey() function in panda::ecmascript::TaggedTree 233 return GetKey(GetRootEntries()); in GetRootKey() 298 return entry != GetRootEntries() && !GetKey(entry).IsHole(); in IsValidIndex() 378 newTree->SetKey(thread, index, GetKey(parent)); in CopyEntry() 384 SetKey(thread, dst, GetKey(src)); in CopyData() 388 newTree->SetKey(thread, index, GetKey(parent)); in CopyAllData() 448 JSTaggedValue key = GetKey(GetMinimum(GetRootEntries())); in GetFirstKey() 454 JSTaggedValue key = GetKey(GetMaximum(GetRootEntries())); in GetLastKey() 507 JSTaggedValue key = GetKey(GetMinimum(GetRootEntries())); in GetFirstKey() 513 JSTaggedValue key = GetKey(GetMaximu in GetLastKey() [all...] |
H A D | layout_info-inl.h | 75 inline JSTaggedValue LayoutInfo::GetKey(int index) const 90 return GetKey(fixedIdx); 157 JSTaggedValue currentKey = GetKey(sortIndex); in BinarySearch() 165 currentKey = GetKey(sortIndex); in BinarySearch() 176 currentKey = GetKey(sortIndex); in BinarySearch()
|
H A D | tagged_hash_table.h | 185 JSTaggedValue GetKey(int entry) const in GetKey() function in panda::ecmascript::TaggedHashTable 210 JSTaggedValue key = GetKey(hashIndex); in GetAllKeys() 222 JSTaggedValue key = GetKey(hashIndex); in GetAllKeysIntoVector() 240 keyValue = GetKey(entry); in FindEntry() 262 keyValue = GetKey(entry); in FindEntry() 283 if (!IsKey(GetKey(entry))) { in FindInsertIndex() 317 JSTaggedValue k = this->GetKey(i); in Rehash() 479 if (!(table->IsKey(table->GetKey(entry)))) { in Remove() 523 if (table->IsKey(table->GetKey(i))) { in GetEnumerationOrder()
|
H A D | tagged_hash_array.cpp | 51 if (nextNode->GetHash() == hashValue && JSTaggedValue::SameValue(key, nextNode->GetKey())) { in GetNode() 70 JSHandle<JSTaggedValue> key(thread, treeNode->GetKey()); in CreateLinkedNodeFrom() 84 JSHandle<JSTaggedValue> key(thread, linkedNode->GetKey()); in CreateTreeNodeFrom() 187 currentKey.Update(root->GetKey()); in SetVal() 227 JSTaggedValue newKey = head->GetKey(); in RemoveNode() 236 newKey = nodeNext->GetKey(); in RemoveNode()
|
H A D | tagged_dictionary.cpp | 73 JSTaggedValue key = GetKey(hashIndex); in GetAllKeys() 91 JSTaggedValue key = GetKey(hashIndex); in UpdateAllAttributesToNoWitable() 106 JSTaggedValue key = GetKey(hashIndex); in GetAllKeysByFilter() 136 JSTaggedValue key = GetKey(hashIndex); in GetNumOfEnumKeys() 156 JSHandle<JSTaggedValue> keyHandle(thread, GetKey(hashIndex)); in GetAllEnumKeys() 185 JSHandle<JSTaggedValue> keyHandle(thread, GetKey(hashIndex)); in GetAllEnumKeys() 303 JSTaggedValue key = obj->GetKey(hashIndex); in GetAllKeys() 328 JSTaggedValue key = obj->GetKey(hashIndex); in GetAllKeysByFilter() 356 JSTaggedValue key = obj->GetKey(hashIndex); in GetAllEnumKeys() 611 JSTaggedValue ProtoArray::GetKey(uint32_ function in panda::ecmascript::ProtoArray [all...] |
H A D | tagged_tree.cpp | 314 JSMutableHandle<JSTaggedValue> parentKey(thread, tree->GetKey(parentIndex)); in FindEntry() 334 parentKey.Update(tree->GetKey(parentIndex)); in FindEntry() 450 parentKey.Update(newTree->GetKey(parentIndex)); in Insert() 485 JSMutableHandle<JSTaggedValue> parentKey(thread, tree->GetKey(parentIndex)); in GetLowerKey() 497 parentKey.Update(tree->GetKey(parentIndex)); in GetLowerKey() 499 JSTaggedValue lowerKey = tree->GetKey(resultIndex); in GetLowerKey() 508 JSMutableHandle<JSTaggedValue> parentKey(thread, tree->GetKey(parentIndex)); in GetHigherKey() 520 parentKey.Update(tree->GetKey(parentIndex)); in GetHigherKey() 522 JSTaggedValue lowerKey = tree->GetKey(resultIndex); in GetHigherKey() 606 map = Insert(thread, map, JSHandle<JSTaggedValue>(thread, src->GetKey(paren in SetAll() [all...] |
H A D | object_operator.h | 122 if (GetKey()->IsUndefined() || !GetKey()->IsString()) { 125 EcmaString *proKey = EcmaString::Cast(GetKey()->GetTaggedObject()); 277 inline JSHandle<JSTaggedValue> GetKey() const in GetKey() function in panda::ecmascript::final
|
H A D | global_dictionary-inl.h | 109 JSTaggedValue key = GetKey(hashIndex); in GetAllKeys() 133 JSTaggedValue key = GetKey(hashIndex); in GetAllKeysByFilter() 164 JSTaggedValue key = GetKey(hashIndex); in GetNumOfEnumKeys() 187 JSTaggedValue key = GetKey(hashIndex); in GetEnumAllKeys()
|
H A D | js_map.cpp | 67 JSTaggedValue JSMap::GetKey(uint32_t entry) const in GetKey() function in panda::ecmascript::JSMap 70 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetKey(entry); in GetKey()
|
H A D | js_set_iterator.cpp | 58 if (!set->GetKey(index).IsHole()) { in NextInternal() 60 JSHandle<JSTaggedValue> key(thread, set->GetKey(index)); in NextInternal()
|
H A D | tagged_node.cpp | 29 key.Update(next->GetKey());
in Treeing() 188 JSHandle<JSTaggedValue> treeNodeKey(thread, treeNode->GetKey());
in Set() 347 JSTaggedValue treeNodeKey = treeNode->GetKey();
in Delete() 360 treeNodeKey = treeNode->GetKey();
in Delete() 371 treeNodeKey = treeNode->GetKey();
in Delete() 383 treeNode->SetKey(thread, minNode->GetKey());
in Delete() 418 currentKey.Update(root->GetKey());
in GetTreeNode()
|
H A D | js_map.h | 39 JSTaggedValue GetKey(uint32_t entry) const;
|
H A D | js_weak_container.cpp | 64 JSTaggedValue JSWeakMap::GetKey(int entry) const in GetKey() function in panda::ecmascript::JSWeakMap 67 return LinkedHashMap::Cast(GetLinkedMap().GetTaggedObject())->GetKey(entry); in GetKey()
|
/arkcompiler/ets_runtime/ecmascript/tests/ |
H A D | template_map_test.cpp | 30 * returned through the TemplateMap's calling Get/GetKey/GetValue function is within expectations.Check 51 EXPECT_EQ(templateMap->GetKey(i), JSTaggedValue::Undefined()); in HWTEST_F_L0() 60 * within expectations. Check whether the value returned through the TemplateMap's calling GetKey/GetValue 77 EXPECT_EQ(templateMap->GetKey(keyEntry), tempMapKey.GetTaggedValue()); in HWTEST_F_L0() 83 EXPECT_EQ(templateMap->GetKey(keyEntry1), tempMapKey.GetTaggedValue()); in HWTEST_F_L0() 89 EXPECT_EQ(templateMap->GetKey(keyEntry2), tempMapKey1.GetTaggedValue()); in HWTEST_F_L0() 281 EXPECT_NE(templateMap->GetKey(i), JSTaggedValue::Undefined()); in HWTEST_F_L0() 283 EXPECT_EQ(templateMap->GetKey(i), storeKeyArray->Get(i + 5)); in HWTEST_F_L0() 309 EXPECT_NE(templateMap->GetKey(i), JSTaggedValue::Undefined()); in HWTEST_F_L0() 310 EXPECT_EQ(templateMap->GetKey( in HWTEST_F_L0() [all...] |
H A D | object_operator_first_test.cpp | 183 HWTEST_F_L0(ObjectOperatorTest, GetKey) in HWTEST_F_L0() 193 EXPECT_TRUE(objectOperator1.GetKey()->IsUndefined()); in HWTEST_F_L0() 196 EXPECT_FALSE(objectOperator2.GetKey()->IsUndefined()); in HWTEST_F_L0() 287 JSHandle<EcmaString> handleEcmaStrTo1(objectOperator1.GetKey()); in HWTEST_F_L0() 290 JSHandle<EcmaString> handleEcmaStrTo2(objectOperator2.GetKey()); in HWTEST_F_L0() 293 EcmaString *str1 = EcmaString::Cast(objectOperator3.GetKey()->GetTaggedObject()); in HWTEST_F_L0() 296 EXPECT_TRUE(objectOperator4.GetKey()->IsSymbol()); in HWTEST_F_L0() 298 EcmaString *str2 = EcmaString::Cast(objectOperator5.GetKey()->GetTaggedObject()); in HWTEST_F_L0() 301 JSHandle<EcmaString> handleEcmaStrTo3(objectOperator6.GetKey()); in HWTEST_F_L0()
|
/arkcompiler/runtime_core/static_core/verification/cache/ |
H A D | file_entity_cache.h | 58 Key GetKey(const panda_file::File &pf, panda_file::File::EntityId id) in GetKey() function in ark::verifier::FileEntityCache 67 const auto it = storage_.find(GetKey<Entity>(pf, id)); in GetCached() 77 storage_.insert_or_assign(GetKey<Entity>(pf, id), &entity); in AddToCache()
|
/arkcompiler/ets_runtime/ecmascript/js_api/ |
H A D | js_api_tree_set.cpp | 46 JSTaggedValue JSAPITreeSet::GetKey(int entry) const in GetKey() function in panda::ecmascript::JSAPITreeSet 49 JSTaggedValue key = TaggedTreeSet::Cast(GetTreeSet().GetTaggedObject())->GetKey(entry); in GetKey() 95 JSHandle<JSTaggedValue> value(thread, setHandle->GetKey(entry)); in PopFirst() 108 JSHandle<JSTaggedValue> value(thread, setHandle->GetKey(entry)); in PopLast()
|
H A D | js_api_tree_map.cpp | 53 JSTaggedValue JSAPITreeMap::GetKey(int entry) const in GetKey() function in panda::ecmascript::JSAPITreeMap 56 JSTaggedValue key = TaggedTreeMap::Cast(GetTreeMap().GetTaggedObject())->GetKey(entry); in GetKey()
|
H A D | js_api_hashmap.cpp | 168 if (!hashMap->Replace(thread, node->GetKey(), node->GetValue())) { in SetAllLinkedNode() 169 JSHandle<JSTaggedValue> key(thread, node->GetKey()); in SetAllLinkedNode() 180 JSMutableHandle<JSTaggedValue> key(thread, node->GetKey()); in SetAllRBTreeNode()
|
/arkcompiler/ets_runtime/ecmascript/shared_objects/ |
H A D | js_shared_set_iterator.cpp | 53 if (!set->GetKey(index).IsHole()) { in NextInternal() 55 JSHandle<JSTaggedValue> key(thread, set->GetKey(index)); in NextInternal()
|
H A D | js_shared_map.cpp | 84 JSTaggedValue JSSharedMap::GetKey(JSThread *thread, const JSHandle<JSSharedMap> &map, uint32_t entry) in GetKey() function in panda::ecmascript::JSSharedMap 89 return LinkedHashMap::Cast(map->GetLinkedMap().GetTaggedObject())->GetKey(entry); in GetKey()
|
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
H A D | containers_lightweightmap_stub_builder.h | 36 GateRef GetKey(GateRef obj, GateRef index)
in GetKey() function in panda::ecmascript::kungfu::ContainersLightWeightMapStubBuilder
|
H A D | containers_lightweightset_stub_builder.h | 36 GateRef GetKey(GateRef obj, GateRef index)
in GetKey() function in panda::ecmascript::kungfu::ContainersLightWeightSetStubBuilder
|
H A D | containers_stub_builder.h | 303 return lightWeightMapBuilder.GetKey(obj, index);
in ContainerGetKey() 307 return lightWeightSetBuilder.GetKey(obj, index);
in ContainerGetKey() 345 return plainArrayBuilder.GetKey(obj, index);
in PlainArrayGetKey()
|