Home
last modified time | relevance | path

Searched refs:values_ (Results 1 – 8 of 8) sorted by relevance

/system/update_engine/common/
Dfake_prefs.cc92 return values_.find(key) != values_.end(); in Exists()
96 if (values_.find(key) == values_.end()) in Delete()
98 values_.erase(key); in Delete()
121 auto it = values_.find(key); in CheckKeyType()
122 EXPECT_TRUE(it == values_.end() || it->second.type == type) in CheckKeyType()
130 values_[key].type = PrefConsts<T>::type; in SetValue()
131 values_[key].value.*(PrefConsts<T>::member) = value; in SetValue()
143 auto it = values_.find(key); in GetValue()
144 if (it == values_.end()) in GetValue()
Dprefs.cc171 auto it = values_.find(key); in GetKey()
172 if (it == values_.end()) in GetKey()
180 values_[key] = value; in SetKey()
185 return values_.find(key) != values_.end(); in KeyExists()
189 auto it = values_.find(key); in DeleteKey()
190 if (it == values_.end()) in DeleteKey()
192 values_.erase(it); in DeleteKey()
Dfake_prefs.h103 std::map<std::string, PrefTypeValue> values_; variable
Dprefs.h158 std::map<std::string, std::string> values_;
/system/nfc/utils/
Dconfig.cc107 values_.emplace(key, value); in addConfig()
143 return values_.count(key) != 0; in hasKey()
147 auto search = values_.find(key); in getValue()
148 CHECK(search != values_.end()); in getValue()
164 bool ConfigFile::isEmpty() { return values_.empty(); } in isEmpty()
165 void ConfigFile::clear() { values_.clear(); } in clear()
/system/nfc/utils/include/
Dconfig.h61 std::map<std::string, ConfigValue> values_; variable
/system/tools/aidl/
Daidl_language.cpp339 : AidlNode(location), type_(type), values_(std::move(*values)) {} in AidlConstantValue()
420 raw_values.reserve(values_.size()); in As()
423 for (const auto& value : values_) { in As()
Daidl_language.h364 const std::vector<std::unique_ptr<AidlConstantValue>> values_; // if type_ == ARRAY variable