Home
last modified time | relevance | path

Searched refs:DictStorage (Results 1 – 9 of 9) sorted by relevance

/external/libchrome/base/
Dvalue_iterators.h22 using DictStorage = base::flat_map<std::string, std::unique_ptr<Value>>; variable
31 using difference_type = DictStorage::iterator::difference_type;
48 explicit dict_iterator(DictStorage::iterator dict_iter);
67 DictStorage::iterator dict_iter_;
77 using difference_type = DictStorage::const_iterator::difference_type;
94 explicit const_dict_iterator(DictStorage::const_iterator dict_iter);
113 DictStorage::const_iterator dict_iter_;
123 using key_type = DictStorage::key_type;
124 using mapped_type = DictStorage::mapped_type::element_type;
126 using key_compare = DictStorage::key_compare;
[all …]
Dvalue_iterators_unittest.cc37 static_assert(std::is_same<Value::DictStorage, DictStorage>::value, in TEST()
60 DictStorage storage; in TEST()
73 DictStorage storage; in TEST()
86 DictStorage storage; in TEST()
103 DictStorage storage; in TEST()
119 DictStorage storage; in TEST()
136 DictStorage storage; in TEST()
152 DictStorage storage; in TEST()
159 DictStorage storage; in TEST()
167 DictStorage storage; in TEST()
[all …]
Dvalue_iterators.cc18 dict_iterator::dict_iterator(DictStorage::iterator dict_iter) in dict_iterator()
73 const_dict_iterator::const_dict_iterator(DictStorage::const_iterator dict_iter) in const_dict_iterator()
127 dict_iterator_proxy::dict_iterator_proxy(DictStorage* storage) in dict_iterator_proxy()
183 const_dict_iterator_proxy::const_dict_iterator_proxy(const DictStorage* storage) in const_dict_iterator_proxy()
Dvalues.h84 using DictStorage = flat_map<std::string, std::unique_ptr<Value>>; variable
136 explicit Value(const DictStorage& in_dict);
137 explicit Value(DictStorage&& in_dict) noexcept;
368 DictStorage dict_;
384 using const_iterator = DictStorage::const_iterator;
385 using iterator = DictStorage::iterator;
391 explicit DictionaryValue(const DictStorage& in_dict);
392 explicit DictionaryValue(DictStorage&& in_dict) noexcept;
571 DictStorage::const_iterator it_;
Dvalues.cc124 new (&dict_) DictStorage(); in Value()
163 Value::Value(const DictStorage& in_dict) : type_(Type::DICTIONARY), dict_() { in Value()
171 Value::Value(DictStorage&& in_dict) noexcept in Value()
607 [](const Value::DictStorage::value_type& u, in operator <()
608 const Value::DictStorage::value_type& v) { in operator <()
674 new (&dict_) DictStorage(std::move(that.dict_)); in InternalMoveConstructFrom()
698 dict_.~DictStorage(); in InternalCleanup()
720 DictionaryValue::DictionaryValue(const DictStorage& in_dict) : Value(in_dict) {} in DictionaryValue()
721 DictionaryValue::DictionaryValue(DictStorage&& in_dict) noexcept in DictionaryValue()
Dvalues_unittest.cc118 Value::DictStorage storage; in TEST()
240 Value::DictStorage storage; in TEST()
342 Value::DictStorage storage; in TEST()
352 Value::DictStorage storage; in TEST()
376 Value::DictStorage storage; in TEST()
388 Value::DictStorage storage; in TEST()
400 Value::DictStorage storage; in TEST()
408 Value::DictStorage storage; in TEST()
493 Value::DictStorage storage; in TEST()
578 Value::DictStorage storage; in TEST()
/external/libchrome/mojo/public/cpp/base/
Dvalues_unittest.cc87 std::vector<base::Value::DictStorage::value_type> storage; in TEST()
96 "dictionary", std::make_unique<base::Value>(base::Value::DictStorage())); in TEST()
101 base::Value::DictStorage(std::move(storage), base::KEEP_LAST_OF_DUPES)); in TEST()
128 storage.emplace_back(base::Value::DictStorage()); in TEST()
Dvalues_mojom_traits.cc19 std::vector<base::Value::DictStorage::value_type> dict_storage; in Read()
28 *value_out = base::Value(base::Value::DictStorage(std::move(dict_storage), in Read()
/external/libchrome/base/json/
Djson_parser.cc340 std::vector<Value::DictStorage::value_type> dict_storage; in ConsumeDictionary()
389 return Value(Value::DictStorage(std::move(dict_storage), KEEP_LAST_OF_DUPES)); in ConsumeDictionary()