Lines Matching full:entry
51 PropertyBox *GlobalDictionary::GetBox(const JSThread *thread, int entry) const in GetBox() argument
53 int index = GetEntryIndex(entry) + ENTRY_VALUE_INDEX; in GetBox()
57 JSTaggedValue GlobalDictionary::GetValue(const JSThread *thread, int entry) const in GetValue() argument
59 return GetBox(thread, entry)->GetValue(thread); in GetValue()
62 PropertyAttributes GlobalDictionary::GetAttributes(const JSThread *thread, int entry) const in GetAttributes() argument
64 int index = GetEntryIndex(entry) + ENTRY_DETAILS_INDEX; in GetAttributes()
68 void GlobalDictionary::SetEntry(const JSThread *thread, int entry, const JSTaggedValue &key, const … in SetEntry() argument
71 SetKey(thread, entry, key); in SetEntry()
72 SetAttributes(thread, entry, attributes); in SetEntry()
73 UpdateValueAndAttributes(thread, entry, value, attributes); in SetEntry()
76 void GlobalDictionary::ClearEntry(const JSThread *thread, int entry) in ClearEntry() argument
80 SetEntry(thread, entry, hole, hole, metaData); in ClearEntry()
83 void GlobalDictionary::UpdateValueAndAttributes(const JSThread *thread, int entry, const JSTaggedVa… in UpdateValueAndAttributes() argument
86 UpdateValue(thread, entry, value); in UpdateValueAndAttributes()
87 SetAttributes(thread, entry, metaData); in UpdateValueAndAttributes()
90 void GlobalDictionary::SetAttributes(const JSThread *thread, int entry, const PropertyAttributes &m… in SetAttributes() argument
92 int index = static_cast<int>(GetEntryIndex(entry) + ENTRY_DETAILS_INDEX); in SetAttributes()
96 void GlobalDictionary::UpdateValue(const JSThread *thread, int entry, const JSTaggedValue &value) in UpdateValue() argument
98 SetValue(thread, entry, value); in UpdateValue()
118 for (auto entry : sortArr) { in GetAllKeys() local
119 JSTaggedValue nameKey = entry.first; in GetAllKeys()
152 for (auto entry : sortArr) { in GetAllKeysByFilter() local
153 JSTaggedValue nameKey = entry.first; in GetAllKeysByFilter()
198 for (const auto &entry : sortArr) { in GetEnumAllKeys() local
199 JSTaggedValue nameKey = entry.first; in GetEnumAllKeys()
211 …y::InvalidatePropertyBox(JSThread *thread, const JSHandle<GlobalDictionary> &dictHandle, int entry) in InvalidatePropertyBox() argument
213 PropertyBox *box = dictHandle->GetBox(thread, entry); in InvalidatePropertyBox()
217 GlobalDictionary::InvalidateAndReplaceEntry(thread, dictHandle, entry, oldValue); in InvalidatePropertyBox()
221 int entry, const JSHandle<JSTaggedValue> &oldValue) in InvalidateAndReplaceEntry() argument
223 if (!dictHandle->IsValidateBox(thread, entry)) { in InvalidateAndReplaceEntry()
229 PropertyBox *box = dictHandle->GetBox(thread, entry); in InvalidateAndReplaceEntry()
230 PropertyAttributes attr = dictHandle->GetAttributes(thread, entry); in InvalidateAndReplaceEntry()
239 dictHandle->SetAttributes(thread, entry, attr); in InvalidateAndReplaceEntry()
240 dictHandle->UpdateValue(thread, entry, newBox.GetTaggedValue()); in InvalidateAndReplaceEntry()
244 bool GlobalDictionary::IsValidateBox(const JSThread *thread, int entry) const in IsValidateBox() argument
246 int index = GetEntryIndex(entry) + ENTRY_VALUE_INDEX; in IsValidateBox()