Lines Matching refs:dict
518 GlobalDictionary *dict = GlobalDictionary::Cast(array);
519 int entry = dict->FindEntry(key_.GetTaggedValue());
523 JSTaggedValue value(dict->GetBox(entry));
524 auto attr = dict->GetAttributes(entry).GetValue();
546 GlobalDictionary *dict = GlobalDictionary::Cast(array);
547 int entry = dict->FindEntry(key_.GetTaggedValue());
552 JSTaggedValue value(dict->GetBox(entry));
553 auto attr = dict->GetAttributes(entry).GetValue();
587 NameDictionary *dict = NameDictionary::Cast(array);
588 int entry = dict->FindEntry(key_.GetTaggedValue());
593 JSTaggedValue value = dict->GetValue(entry);
594 auto attr = dict->GetAttributes(entry).GetValue();
605 auto dict = NumberDictionary::Cast(receiver->GetElements().GetTaggedObject());
606 index = static_cast<uint32_t>(dict->FindEntry(JSTaggedValue(index)));
607 PropertyAttributes origin = dict->GetAttributes(index);
609 dict->SetAttributes(thread_, index, attr);
611 auto dict = NumberDictionary::Cast(receiver->GetElements().GetTaggedObject());
612 dict->SetAttributes(thread_, index, attr);
624 JSHandle<NameDictionary> dict(JSObject::TransitionToDictionary(thread_, receiver));
626 index = static_cast<uint32_t>(dict->FindEntry(key_.GetTaggedValue()));
627 PropertyAttributes origin = dict->GetAttributes(index);
630 dict->SetAttributes(thread_, index, attr);
632 auto dict = NameDictionary::Cast(receiver->GetProperties().GetTaggedObject());
633 dict->SetAttributes(thread_, index, attr);
695 NumberDictionary *dict = NumberDictionary::Cast(elements);
696 dict->UpdateValue(thread_, GetIndex(), value.GetTaggedValue());
702 auto *dict = GlobalDictionary::Cast(receiver->GetProperties().GetTaggedObject());
704 PropertyAttributes attr = dict->GetAttributes(GetIndex());
706 dict->SetAttributes(thread_, GetIndex(), attr);
708 PropertyBox *cell = dict->GetBox(GetIndex());
826 JSHandle<NameDictionary> dict(JSObject::TransitionToDictionary(thread_, receiver));
828 int entry = dict->FindEntry(key_.GetTaggedValue());
830 dict->UpdateValueAndAttributes(thread_, entry, accessor.GetTaggedValue(), attr);
1038 JSMutableHandle<GlobalDictionary> dict(thread_, obj->GetProperties());
1039 if (dict->GetLength() == 0) {
1040 dict.Update(GlobalDictionary::Create(thread_));
1050 GlobalDictionary::PutIfAbsent(thread_, dict, key_, JSHandle<JSTaggedValue>(cellHandle), attr);