Home
last modified time | relevance | path

Searched refs:dictionary (Results 1 – 17 of 17) 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/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,
Dtagged_dictionary.cpp418 const JSHandle<PointerToIndexDictionary> &dictionary, in PutIfAbsent() argument
423 int entry = dictionary->FindEntry(key.GetTaggedValue()); in PutIfAbsent()
425 return dictionary; in PutIfAbsent()
428 … JSHandle<PointerToIndexDictionary> newDictionary = HashTableT::GrowHashTable(thread, dictionary); in PutIfAbsent()
Dobject_operator.cpp870 NumberDictionary *dictionary = NumberDictionary::Cast(elements); in WriteElement() local
871 dictionary->UpdateValue(thread_, GetIndex(), value); in WriteElement()
963 … NumberDictionary *dictionary = NumberDictionary::Cast(obj->GetElements().GetTaggedObject()); in LookupElementInlinedProps() local
965 int entry = dictionary->FindEntry(key); in LookupElementInlinedProps()
970 uint32_t attr = dictionary->GetAttributes(entry).GetValue(); in LookupElementInlinedProps()
971 SetFound(entry, dictionary->GetValue(entry), attr, false); in LookupElementInlinedProps()
Djs_hclass.cpp38 … const JSHandle<TransitionsDictionary> &dictionary, in PutIfAbsent() argument
46 int entry = dictionary->FindEntry(key.GetTaggedValue(), metaData.GetTaggedValue()); in PutIfAbsent()
48 if (dictionary->GetValue(entry).IsUndefined()) { in PutIfAbsent()
50 dictionary->SetValue(thread, entry, weakValue); in PutIfAbsent()
52 return dictionary; in PutIfAbsent()
56 JSHandle<TransitionsDictionary> newDictionary(HashTableT::GrowHashTable(thread, dictionary)); in PutIfAbsent()
Djs_object-inl.h358 inline bool JSObject::ShouldTransToFastElements(JSHandle<NumberDictionary> dictionary, in ShouldTransToFastElements() argument
364 uint32_t dictionarySize = static_cast<uint32_t>(dictionary->GetLength()); in ShouldTransToFastElements()
Dtagged_dictionary.h185 … const JSThread *thread, const JSHandle<PointerToIndexDictionary> &dictionary,
Dobject_fast_operator-inl.h75 NumberDictionary *dictionary = in HasOwnProperty() local
77 int entry = dictionary->FindEntry(JSTaggedValue(static_cast<int>(index))); in HasOwnProperty()
Djs_object.h718 …static bool ShouldTransToFastElements(JSHandle<NumberDictionary> dictionary, uint32_t capacity, ui…
/arkcompiler/runtime_core/static_core/plugins/ets/tests/stdlib-templates/
Dreadme.md113 - init_object_data - dictionary with data that used for object initialization
116 - param_list - dictionary that contains test data for each parameter
117 - param_types - dictionary that contains type for each parameter
118 - param_init_data_types - dictionary that contains data type that used for parameters initialization
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp482 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in GetModuleVariableIndex() local
483 if (dictionary.IsUndefined()) { in GetModuleVariableIndex()
488 if (dictionary.IsTaggedArray()) { in GetModuleVariableIndex()
544 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in GetExportVariableValue() local
545 if (dictionary.IsUndefined()) { in GetExportVariableValue()
550 if (dictionary.IsTaggedArray()) { in GetExportVariableValue()
551 TaggedArray *array = TaggedArray::Cast(dictionary.GetTaggedObject()); in GetExportVariableValue()
570 …JSTaggedValue dictionary = SourceTextModule::Cast(currentModule->GetTaggedObject())->GetNameDictio… in SetExportVariableValue() local
571 if (dictionary.IsUndefined()) { in SetExportVariableValue()
577 if (dictionary.IsTaggedArray()) { in SetExportVariableValue()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dntype_hcr_lowering.cpp302 GateRef dictionary = builder_.Load(VariableType::JS_ANY(), module, nameDictionaryOffset); in LowerLdLocalModuleVar() local
306 builder_.Branch(builder_.TaggedIsUndefined(dictionary), &exit, &dataIsNotUndefined); in LowerLdLocalModuleVar()
312 result = builder_.Load(VariableType::JS_ANY(), dictionary, offset); in LowerLdLocalModuleVar()
/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_namespace.cpp323 …JSTaggedValue dictionary = SourceTextModule::Cast(targetModule.GetTaggedObject())->GetNameDictiona… in ValidateKeysAvailable() local
324 if (dictionary.IsUndefined()) { in ValidateKeysAvailable()
Djs_module_source_text.cpp1376 JSTaggedValue dictionary = GetNameDictionary(); in GetModuleValue() local
1377 if (dictionary.IsUndefined()) { in GetModuleValue()
1384 TaggedArray *array = TaggedArray::Cast(dictionary.GetTaggedObject()); in GetModuleValue()
1391 JSTaggedValue dictionary = GetNameDictionary(); in GetModuleValue() local
1392 if (dictionary.IsUndefined()) { in GetModuleValue()
1399 NameDictionary *dict = NameDictionary::Cast(dictionary.GetTaggedObject()); in GetModuleValue()
1408 JSTaggedValue resolution = FindByExport(exportEntriesTv, key, dictionary); in GetModuleValue()
1418 const JSTaggedValue &dictionary) in FindByExport() argument
1421 NameDictionary *dict = NameDictionary::Cast(dictionary.GetTaggedObject()); in FindByExport()
Djs_module_source_text.h263 const JSTaggedValue &dictionary);
/arkcompiler/ets_runtime/ecmascript/tests/
Djs_hclass_test.cpp323 JSHandle<TransitionsDictionary> dictionary(thread, obj2Class->GetTransitions()); in HWTEST_F_L0() local
326 dictionary->GetAllKeysIntoVector(keyVector); in HWTEST_F_L0()