Home
last modified time | relevance | path

Searched refs:dict_ (Results 1 – 4 of 4) sorted by relevance

/third_party/gn/src/base/
Dvalues.cc120 new (&dict_) DictStorage(); in Value()
153 Value::Value(const DictStorage& in_dict) : type_(Type::DICTIONARY), dict_() { in Value()
154 dict_.reserve(in_dict.size()); in Value()
156 dict_.try_emplace(dict_.end(), it.first, in Value()
162 : type_(Type::DICTIONARY), dict_(std::move(in_dict)) {} in Value()
193 return Value(dict_); in Clone()
249 auto found = dict_.find(key); in FindKey()
250 if (found == dict_.end()) in FindKey()
270 return dict_.erase(key) != 0; in RemoveKey()
278 auto result = dict_.try_emplace(key, std::move(val_ptr)); in SetKey()
[all …]
Dvalues.h359 DictStorage dict_; member
391 size_t size() const { return dict_.size(); } in size()
394 bool empty() const { return dict_.empty(); } in empty()
551 bool IsAtEnd() const { return it_ == target_.dict_.end(); } in IsAtEnd()
564 iterator begin() { return dict_.begin(); } in begin()
565 iterator end() { return dict_.end(); } in end()
568 const_iterator begin() const { return dict_.begin(); } in begin()
569 const_iterator end() const { return dict_.end(); } in end()
/third_party/node/deps/v8/src/objects/
Dswiss-name-dictionary-inl.h582 : enum_index_{start}, dict_{dict} { in IndexIterator()
601 DCHECK(dict_.equals(b.dict_));
616 return InternalIndex(dict_->EntryForEnumerationIndex(enum_index_));
621 : dict_{dict} {} in IndexIterable()
624 return IndexIterator(dict_, 0); in begin()
628 if (!COMPRESS_POINTERS_IN_ISOLATE_CAGE_BOOL && dict_.is_null()) { in end()
629 return IndexIterator(dict_, 0); in end()
631 DCHECK(!dict_.is_null()); in end()
632 return IndexIterator(dict_, dict_->UsedCapacity()); in end()
Dswiss-name-dictionary.h161 Handle<SwissNameDictionary> dict_; variable
174 Handle<SwissNameDictionary> dict_;