• Home
  • Raw
  • Download

Lines Matching refs:dict

310     GlobalDictionary *dict = GlobalDictionary::Cast(array);  in LookupGlobal()  local
311 int entry = dict->FindEntry(key_.GetTaggedValue()); in LookupGlobal()
315 JSTaggedValue value(dict->GetBox(entry)); in LookupGlobal()
316 uint32_t attr = dict->GetAttributes(entry).GetValue(); in LookupGlobal()
338 GlobalDictionary *dict = GlobalDictionary::Cast(array); in LookupPropertyInlinedProps() local
339 int entry = dict->FindEntry(key_.GetTaggedValue()); in LookupPropertyInlinedProps()
344 JSTaggedValue value(dict->GetBox(entry)); in LookupPropertyInlinedProps()
345 uint32_t attr = dict->GetAttributes(entry).GetValue(); in LookupPropertyInlinedProps()
379 NameDictionary *dict = NameDictionary::Cast(array); in LookupPropertyInlinedProps() local
380 int entry = dict->FindEntry(key_.GetTaggedValue()); in LookupPropertyInlinedProps()
385 JSTaggedValue value = dict->GetValue(entry); in LookupPropertyInlinedProps()
386 uint32_t attr = dict->GetAttributes(entry).GetValue(); in LookupPropertyInlinedProps()
396 auto dict = NumberDictionary::Cast(receiver->GetElements().GetTaggedObject()); in TransitionForAttributeChanged() local
397 index = static_cast<uint32_t>(dict->FindEntry(JSTaggedValue(index))); in TransitionForAttributeChanged()
398 PropertyAttributes origin = dict->GetAttributes(index); in TransitionForAttributeChanged()
400 dict->SetAttributes(thread_, index, attr); in TransitionForAttributeChanged()
402 auto dict = NumberDictionary::Cast(receiver->GetElements().GetTaggedObject()); in TransitionForAttributeChanged() local
403 dict->SetAttributes(thread_, index, attr); in TransitionForAttributeChanged()
413 JSHandle<NameDictionary> dict(JSObject::TransitionToDictionary(thread_, receiver)); in TransitionForAttributeChanged() local
414 index = static_cast<uint32_t>(dict->FindEntry(key_.GetTaggedValue())); in TransitionForAttributeChanged()
415 PropertyAttributes origin = dict->GetAttributes(index); in TransitionForAttributeChanged()
417 dict->SetAttributes(thread_, index, attr); in TransitionForAttributeChanged()
419 auto dict = NameDictionary::Cast(receiver->GetProperties().GetTaggedObject()); in TransitionForAttributeChanged() local
420 dict->SetAttributes(thread_, index, attr); in TransitionForAttributeChanged()
491 NumberDictionary *dict = NumberDictionary::Cast(elements); in UpdateDataValue() local
492 dict->UpdateValue(thread_, GetIndex(), value.GetTaggedValue()); in UpdateDataValue()
498 auto *dict = GlobalDictionary::Cast(receiver->GetProperties().GetTaggedObject()); in UpdateDataValue() local
500 PropertyAttributes attr = dict->GetAttributes(GetIndex()); in UpdateDataValue()
502 dict->SetAttributes(thread_, GetIndex(), attr); in UpdateDataValue()
504 PropertyBox *cell = dict->GetBox(GetIndex()); in UpdateDataValue()
612 JSHandle<NameDictionary> dict(JSObject::TransitionToDictionary(thread_, receiver)); in WriteDataProperty() local
613 int entry = dict->FindEntry(key_.GetTaggedValue()); in WriteDataProperty()
615 dict->UpdateValueAndAttributes(thread_, entry, accessor.GetTaggedValue(), attr); in WriteDataProperty()
786 JSMutableHandle<GlobalDictionary> dict(thread_, obj->GetProperties()); in AddPropertyInternal() local
787 if (dict->GetLength() == 0) { in AddPropertyInternal()
788 dict.Update(GlobalDictionary::Create(thread_)); in AddPropertyInternal()
798 … GlobalDictionary::PutIfAbsent(thread_, dict, key_, JSHandle<JSTaggedValue>(cellHandle), attr); in AddPropertyInternal()