Home
last modified time | relevance | path

Searched refs:FindEntry (Results 1 – 25 of 31) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/require/
Djs_cjs_module_cache.cpp28 int entry = dictionary->FindEntry(key.GetTaggedValue()); in PutIfAbsentAndReset()
50 int entry = dictionary->FindEntry(key.GetTaggedValue()); in ResetModule()
Djs_cjs_module_cache.h82 inline int FindEntry(const JSTaggedValue &key) in FindEntry() function
106 int entry = FindEntry(key); in ContainsModule()
112 int entry = FindEntry(key); in GetModule()
/arkcompiler/ets_runtime/ecmascript/js_api/
Djs_api_tree_map.cpp72 int entry = TaggedTreeMap::FindEntry(thread, mapHandle, key); in Delete()
86 return TaggedTreeMap::FindEntry(thread, mapHandle, key) >= 0; in HasKey()
106 int index = TaggedTreeMap::FindEntry(thread, mapHandle, key); in Replace()
Djs_api_tree_set.cpp58 int entry = TaggedTreeSet::FindEntry(thread, setHandle, key); in Delete()
71 return TaggedTreeSet::FindEntry(thread, setHandle, key) >= 0; in Has()
/arkcompiler/ets_runtime/ecmascript/
Dsymbol_table.h81 int entry = FindEntry(key); in ContainsKey()
87 int entry = FindEntry(key); in GetSymbol()
Dtagged_hash_table.h105 int entry = table->FindEntry(key.GetTaggedValue()); in Insert()
121 int entry = table->FindEntry(key.GetTaggedValue()); in Remove()
221 inline int FindEntry(const JSTaggedValue &key) in FindEntry() function
243 inline int FindEntry(const uint8_t* str, int strSize) in FindEntry() function
414 int entry = table->FindEntry(key.GetTaggedValue()); in PutIfAbsent()
444 int entry = table->FindEntry(key.GetTaggedValue()); in Put()
Dobject_operator.cpp311 int entry = dict->FindEntry(key_.GetTaggedValue()); in LookupGlobal()
339 int entry = dict->FindEntry(key_.GetTaggedValue()); in LookupPropertyInlinedProps()
380 int entry = dict->FindEntry(key_.GetTaggedValue()); in LookupPropertyInlinedProps()
397 index = static_cast<uint32_t>(dict->FindEntry(JSTaggedValue(index))); in TransitionForAttributeChanged()
416 index = static_cast<uint32_t>(dict->FindEntry(key_.GetTaggedValue())); in TransitionForAttributeChanged()
623 int entry = dict->FindEntry(key_.GetTaggedValue()); in WriteDataProperty()
779 int entry = dictionary->FindEntry(key); in LookupElementInlinedProps()
Dtemplate_string.cpp33 int32_t element = templateMap->FindEntry(rawStringsTag.GetTaggedValue()); in GetTemplateObject()
Dtagged_tree.cpp310 int TaggedTree<Derived>::FindEntry(JSThread *thread, const JSHandle<Derived> &tree, const JSHandle<… in FindEntry() function in panda::ecmascript::TaggedTree
572 int TaggedTreeMap::FindEntry(JSThread *thread, const JSHandle<TaggedTreeMap> &map, const JSHandle<J… in FindEntry() function in panda::ecmascript::TaggedTreeMap
574 return RBTree::FindEntry(thread, map, key); in FindEntry()
611 int TaggedTreeSet::FindEntry(JSThread *thread, const JSHandle<TaggedTreeSet> &set, const JSHandle<J… in FindEntry() function in panda::ecmascript::TaggedTreeSet
613 return RBTree::FindEntry(thread, set, key); in FindEntry()
Dtagged_tree.h132 …static int FindEntry(JSThread *thread, const JSHandle<Derived> &tree, const JSHandle<JSTaggedValue…
467 int index = RBTree::FindEntry(thread, map, key); in Get()
493 …static int FindEntry(JSThread *thread, const JSHandle<TaggedTreeMap> &map, const JSHandle<JSTagged…
551 …static int FindEntry(JSThread *thread, const JSHandle<TaggedTreeSet> &set, const JSHandle<JSTagged…
Djs_hclass-inl.h113 auto entry = dict->FindEntry(key, attributes); in FindTransitions()
136 auto entry = dict->FindEntry(key, proto); in FindProtoTransitions()
Dtransitions_dictionary.h130 int FindEntry(const JSTaggedValue &key, const JSTaggedValue &metaData);
Djs_hclass.cpp42 int entry = dictionary->FindEntry(key.GetTaggedValue(), metaData.GetTaggedValue()); in PutIfAbsent()
62 int TransitionsDictionary::FindEntry(const JSTaggedValue &key, const JSTaggedValue &metaData) in FindEntry() function in panda::ecmascript::TransitionsDictionary
89 int entry = table->FindEntry(key.GetTaggedValue(), metaData); in Remove()
Dobject_fast_operator-inl.h91 int entry = dict->FindEntry(key); in GetPropertyByName()
177 int entry = dict->FindEntry(key); in SetPropertyByName()
258 int entry = dict->FindEntry(JSTaggedValue(static_cast<int>(index))); in GetPropertyByIndex()
/arkcompiler/ets_runtime/ecmascript/tests/
Dtagged_dictionary_test.cpp109 int entry1 = dict->FindEntry(key1.GetTaggedValue()); in HWTEST_F_L0()
117 EXPECT_EQ(-1, dict->FindEntry(key1.GetTaggedValue())); in HWTEST_F_L0()
184 int entry = dictHandle->FindEntry(arrayHandle.GetTaggedValue()); in HWTEST_F_L0()
239 int entry1 = dict->FindEntry(key1.GetTaggedValue()); in HWTEST_F_L0()
247 EXPECT_EQ(-1, dict->FindEntry(key1.GetTaggedValue())); in HWTEST_F_L0()
335 int entry = dictHandle->FindEntry(arrayHandle.GetTaggedValue()); in HWTEST_F_L0()
Dtransitions_dictionary_test.cpp175 HWTEST_F_L0(TransitionsDictionaryTest, FindEntry) in HWTEST_F_L0() argument
188 int foundEntry = transDic->FindEntry(key.GetTaggedValue(), metaData.GetTaggedValue()); in HWTEST_F_L0()
208 int foundEntry = transDic->FindEntry(key7.GetTaggedValue(), metaData.GetTaggedValue()); in HWTEST_F_L0()
213 foundEntry = transDic->FindEntry(key7.GetTaggedValue(), metaData.GetTaggedValue()); in HWTEST_F_L0()
232 int foundEntry = transDic->FindEntry(key.GetTaggedValue(), metaData.GetTaggedValue()); in HWTEST_F_L0()
Dtagged_tree_test.cpp233 int entry = TaggedTreeMap::FindEntry(thread, tmap, key1); in HWTEST_F_L0()
262 int entry = TaggedTreeSet::FindEntry(thread, tset, key1); in HWTEST_F_L0()
268 EXPECT_EQ(-1, TaggedTreeSet::FindEntry(thread, tset, key1)); in HWTEST_F_L0()
286 EXPECT_TRUE(TaggedTreeMap::FindEntry(thread, tmap, key) >= 0); in HWTEST_F_L0()
316 EXPECT_TRUE(TaggedTreeSet::FindEntry(thread, tset, key) >= 0); in HWTEST_F_L0()
324 EXPECT_TRUE(TaggedTreeSet::FindEntry(thread, tset, stringKey) >= 0); in HWTEST_F_L0()
766 …JSTaggedValue dvalue = TaggedTreeMap::Delete(thread, tmap, TaggedTreeMap::FindEntry(thread, tmap, … in HWTEST_F_L0()
813 …JSTaggedValue dvalue = TaggedTreeSet::Delete(thread, tset, TaggedTreeSet::FindEntry(thread, tset, … in HWTEST_F_L0()
829 int entry = TaggedTreeSet::FindEntry(thread, tset, key); in HWTEST_F_L0()
836 int entry = TaggedTreeSet::FindEntry(thread, tset, key); in HWTEST_F_L0()
[all …]
Dtemplate_map_test.cpp100 int keyEntry = templateMap->FindEntry(tempMapKey.GetTaggedValue()); in HWTEST_F_L0()
105 int keyEntry1 = templateMap->FindEntry(tempMapKey.GetTaggedValue()); in HWTEST_F_L0()
111 int keyEntry2 = templateMap->FindEntry(tempMapKey1.GetTaggedValue()); in HWTEST_F_L0()
Dtemplate_string_test.cpp100 int resultEntry = templateMap->FindEntry(jsArrayObj.GetTaggedValue()); in HWTEST_F_L0()
Dobject_operator_test.cpp433 int keyEntry = handleProperties->FindEntry(handleKey.GetTaggedValue()); in HWTEST_F_L0()
672 int keyEntry = handleProperties->FindEntry(handleKey.GetTaggedValue()); in HWTEST_F_L0()
741 int resultEntry = resultDict->FindEntry(JSTaggedValue(index)); in HWTEST_F_L0()
778 objectOperator.SetIndex(handleProperties->FindEntry(handleKey.GetTaggedValue())); in HWTEST_F_L0()
811 int resultEntry = resultDict->FindEntry(handleKey.GetTaggedValue()); in HWTEST_F_L0()
853 int resultEntry = resultDict->FindEntry(JSTaggedValue(static_cast<uint32_t>(elementIndex))); in HWTEST_F_L0()
887 int resultEntry = resultDict->FindEntry(JSTaggedValue(static_cast<uint32_t>(elementIndex))); in HWTEST_F_L0()
1032 EXPECT_EQ(resultDict->FindEntry(handleKey.GetTaggedValue()), -1); in HWTEST_F_L0()
1044 EXPECT_EQ(resultDict1->FindEntry(handleKey.GetTaggedValue()), -1); in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_manager.cpp267 int entry = NameDictionary::Cast(moduleEnvironment.GetTaggedObject())->FindEntry(key); in GetModuleValueOutterInternal()
321 int entry = dict->FindEntry(referencing); in HostGetImportedModule()
334 int entry = dict->FindEntry(strData, strlen(str)); in HostGetImportedModule()
342 int entry = NameDictionary::Cast(resolvedModules_.GetTaggedObject())->FindEntry(referencing); in IsImportedModuleLoaded()
377 int entry = dict->FindEntry(recordNameHandle.GetTaggedValue()); in HostResolveImportedModuleWithMerge()
434 int entry = dict->FindEntry(referencingHandle.GetTaggedValue()); in HostResolveImportedModule()
458 int entry = dict->FindEntry(referencingHandle.GetTaggedValue()); in HostResolveImportedModule()
635 int entry = NameDictionary::Cast(moduleEnvironment.GetTaggedObject())->FindEntry(localName); in GetModuleNamespaceInternal()
693 int entry = dict->FindEntry(referencingHandle.GetTaggedValue()); in HostResolveImportedModule()
Djs_module_deregister.cpp94 int entry = dict->FindEntry(moduleRecordName); in RemoveModule()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_snapshot.cpp620 Node *existNode = entryMap_.FindEntry(addr); // Fast Index in GenerateNode()
631 ASSERT(entryMap_.FindEntry(node->GetAddress())->GetAddress() == node->GetAddress()); in GenerateNode()
673 Node *existNode = entryMap_.FindEntry(reinterpret_cast<Address>(obj)); in GenerateNode()
844 …Node *existNode = entryMap_.FindEntry(reinterpret_cast<Address>(entry.GetTaggedObject())); // Fas… in GenerateStringNode()
897 ASSERT(entryMap_.FindEntry(node->GetAddress())->GetAddress() == node->GetAddress()); in GeneratePrivateStringNode()
932 entryTo = entryMap_.FindEntry(Node::NewAddress(to)); in FillEdges()
1051 … Node *rootNode = entryMap_.FindEntry(Node::NewAddress(root)); \ in AddSyntheticRoot()
1142 Node *HeapEntryMap::FindEntry(Address addr) in FindEntry() function in panda::ecmascript::HeapEntryMap
/arkcompiler/ets_runtime/ecmascript/base/
Djson_stringifier.cpp708 int index = numberDic->FindEntry(entryKey); in SerializeElements()
798 int index = nameDic->FindEntry(key); in SerializeKeys()
840 int index = globalDic->FindEntry(entryKey); in SerializeKeys()
874 int index = nameDic->FindEntry(entryKey); in SerializeKeys()
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_lazy_callback.cpp236 int entry = dict->FindEntry(key.GetTaggedValue()); in ITERATE_INTL()

12