Home
last modified time | relevance | path

Searched refs:dictionary (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/require/
Djs_cjs_module_cache.cpp24 … const JSHandle<CjsModuleCache> &dictionary, in PutIfAbsentAndReset() argument
28 int entry = dictionary->FindEntry(key.GetTaggedValue()); in PutIfAbsentAndReset()
30 return ResetModule(thread, dictionary, key, value); in PutIfAbsentAndReset()
34 JSHandle<CjsModuleCache> newDictionary(HashTable::GrowHashTable(thread, dictionary)); in PutIfAbsentAndReset()
46 const JSHandle<CjsModuleCache> &dictionary, in ResetModule() argument
50 int entry = dictionary->FindEntry(key.GetTaggedValue()); in ResetModule()
55 dictionary->SetEntry(thread, entry, key, value); in ResetModule()
56 return dictionary; in ResetModule()
Djs_cjs_module_cache.h128 const JSHandle<CjsModuleCache> &dictionary,
132 const JSHandle<CjsModuleCache> &dictionary,
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DbadOverloadError.ts22 let dictionary = <{ [index: string]: string; }>{};
23 AssertType(dictionary, "{ [string]: string; }");
/arkcompiler/ets_runtime/ecmascript/
Dtransitions_dictionary.h91 … const JSHandle<TransitionsDictionary> &dictionary) in Shrink() argument
93 return HashTableT::Shrink(thread, dictionary, 0); in Shrink()
132 … const JSHandle<TransitionsDictionary> &dictionary,
Dobject_operator.cpp692 NumberDictionary *dictionary = NumberDictionary::Cast(elements); in WriteElement() local
693 dictionary->UpdateValue(thread_, GetIndex(), value); in WriteElement()
777 … NumberDictionary *dictionary = NumberDictionary::Cast(obj->GetElements().GetTaggedObject()); in LookupElementInlinedProps() local
779 int entry = dictionary->FindEntry(key); in LookupElementInlinedProps()
784 uint32_t attr = dictionary->GetAttributes(entry).GetValue(); in LookupElementInlinedProps()
785 SetFound(entry, dictionary->GetValue(entry), attr, false); in LookupElementInlinedProps()
Djs_hclass.cpp34 … const JSHandle<TransitionsDictionary> &dictionary, in PutIfAbsent() argument
42 int entry = dictionary->FindEntry(key.GetTaggedValue(), metaData.GetTaggedValue()); in PutIfAbsent()
44 if (dictionary->GetValue(entry).IsUndefined()) { in PutIfAbsent()
46 dictionary->SetValue(thread, entry, weakValue); in PutIfAbsent()
48 return dictionary; in PutIfAbsent()
52 JSHandle<TransitionsDictionary> newDictionary(HashTableT::GrowHashTable(thread, dictionary)); in PutIfAbsent()
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp425 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in GetModuleVariableIndex() local
426 if (dictionary.IsUndefined()) { in GetModuleVariableIndex()
431 if (dictionary.IsTaggedArray()) { in GetModuleVariableIndex()
487 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in GetExportVariableValue() local
488 if (dictionary.IsUndefined()) { in GetExportVariableValue()
493 if (dictionary.IsTaggedArray()) { in GetExportVariableValue()
494 TaggedArray *array = TaggedArray::Cast(dictionary.GetTaggedObject()); in GetExportVariableValue()
513 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in SetExportVariableValue() local
514 if (dictionary.IsUndefined()) { in SetExportVariableValue()
520 if (dictionary.IsTaggedArray()) { in SetExportVariableValue()
[all …]
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_namespace.cpp312 …JSTaggedValue dictionary = SourceTextModule::Cast(targetModule.GetTaggedObject())->GetNameDictiona… in ValidateKeysAvailable() local
313 if (dictionary.IsUndefined()) { in ValidateKeysAvailable()
Djs_module_source_text.cpp1167 JSTaggedValue dictionary = GetNameDictionary(); in GetModuleValue() local
1168 if (dictionary.IsUndefined()) { in GetModuleValue()
1175 TaggedArray *array = TaggedArray::Cast(dictionary.GetTaggedObject()); in GetModuleValue()
1182 JSTaggedValue dictionary = GetNameDictionary(); in GetModuleValue() local
1183 if (dictionary.IsUndefined()) { in GetModuleValue()
1190 NameDictionary *dict = NameDictionary::Cast(dictionary.GetTaggedObject()); in GetModuleValue()
1199 JSTaggedValue resolution = FindByExport(exportEntriesTv, key, dictionary); in GetModuleValue()
1209 const JSTaggedValue &dictionary) in FindByExport() argument
1212 NameDictionary *dict = NameDictionary::Cast(dictionary.GetTaggedObject()); in FindByExport()
Djs_module_source_text.h209 const JSTaggedValue &dictionary);
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_hclass_test.cpp320 JSHandle<TransitionsDictionary> dictionary(thread, obj2Class->GetTransitions()); in HWTEST_F_L0() local
323 dictionary->GetAllKeysIntoVector(keyVector); in HWTEST_F_L0()