Lines Matching refs:dict_
124 new (&dict_) DictStorage(); in Value()
163 Value::Value(const DictStorage& in_dict) : type_(Type::DICTIONARY), dict_() { in Value()
164 dict_.reserve(in_dict.size()); in Value()
166 dict_.try_emplace(dict_.end(), it.first, in Value()
172 : type_(Type::DICTIONARY), dict_(std::move(in_dict)) {} in Value()
205 return Value(dict_); in Clone()
270 auto found = dict_.find(key); in FindKey()
271 if (found == dict_.end()) in FindKey()
291 return dict_.erase(key) != 0; in RemoveKey()
299 auto result = dict_.try_emplace(key, std::move(val_ptr)); in SetKey()
309 return dict_ in SetKey()
384 auto found = cur->dict_.lower_bound(path_component); in SetPath()
385 if (found == cur->dict_.end() || found->first != path_component) { in SetPath()
387 auto inserted = cur->dict_.try_emplace( in SetPath()
413 auto found = dict_.find(path[0]); in RemovePath()
414 if (found == dict_.end() || !found->second->is_dict()) in RemovePath()
418 if (removed && found->second->dict_.empty()) in RemovePath()
419 dict_.erase(found); in RemovePath()
426 return dict_iterator_proxy(&dict_); in DictItems()
431 return const_dict_iterator_proxy(&dict_); in DictItems()
436 return dict_.size(); in DictSize()
441 return dict_.empty(); in DictEmpty()
564 if (lhs.dict_.size() != rhs.dict_.size()) in operator ==()
566 return std::equal(std::begin(lhs.dict_), std::end(lhs.dict_), in operator ==()
567 std::begin(rhs.dict_), in operator ==()
605 std::begin(lhs.dict_), std::end(lhs.dict_), std::begin(rhs.dict_), in operator <()
606 std::end(rhs.dict_), in operator <()
674 new (&dict_) DictStorage(std::move(that.dict_)); in InternalMoveConstructFrom()
698 dict_.~DictStorage(); in InternalCleanup()
726 auto current_entry = dict_.find(key); in HasKey()
727 DCHECK((current_entry == dict_.end()) || current_entry->second); in HasKey()
728 return current_entry != dict_.end(); in HasKey()
732 dict_.clear(); in Clear()
797 auto result = dict_.try_emplace(key, std::move(in_value)); in SetWithoutPathExpansion()
948 auto entry_iterator = dict_.find(key); in GetWithoutPathExpansion()
949 if (entry_iterator == dict_.end()) in GetWithoutPathExpansion()
1077 auto entry_iterator = dict_.find(key); in RemoveWithoutPathExpansion()
1078 if (entry_iterator == dict_.end()) in RemoveWithoutPathExpansion()
1083 dict_.erase(entry_iterator); in RemoveWithoutPathExpansion()
1136 dict_.swap(other->dict_); in Swap()
1140 : target_(target), it_(target.dict_.begin()) {} in Iterator()
1147 return new DictionaryValue(dict_); in DeepCopy()
1151 return std::make_unique<DictionaryValue>(dict_); in CreateDeepCopy()