Searched refs:values_ (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/common/ |
D | fake_prefs.cc | 93 return values_.find(key) != values_.end(); in Exists() 97 if (values_.find(key) == values_.end()) in Delete() 99 values_.erase(key); in Delete() 110 for (const auto& pr : values_) in GetSubKeys() 129 auto it = values_.find(key); in CheckKeyType() 130 EXPECT_TRUE(it == values_.end() || it->second.type == type) in CheckKeyType() 138 values_[key].type = PrefConsts<T>::type; in SetValue() 139 values_[key].value.*(PrefConsts<T>::member) = value; in SetValue() 151 auto it = values_.find(key); in GetValue() 152 if (it == values_.end()) in GetValue()
|
D | prefs.cc | 216 auto it = values_.find(key); in GetKey() 217 if (it == values_.end()) in GetKey() 225 using value_type = decltype(values_)::value_type; in GetSubKeys() 226 using key_type = decltype(values_)::key_type; in GetSubKeys() 234 std::lower_bound(begin(values_), end(values_), ns, lower_comp); in GetSubKeys() 235 auto upper_it = std::upper_bound(lower_it, end(values_), ns, upper_comp); in GetSubKeys() 243 values_[key] = value; in SetKey() 248 return values_.find(key) != values_.end(); in KeyExists() 252 auto it = values_.find(key); in DeleteKey() 253 if (it != values_.end()) in DeleteKey() [all …]
|
D | fake_prefs.h | 106 std::map<std::string, PrefTypeValue> values_; variable
|
D | prefs.h | 170 std::map<std::string, std::string> values_;
|
/system/nfc/utils/ |
D | config.cc | 112 values_.emplace(key, value); in addConfig() 148 return values_.count(key) != 0; in hasKey() 152 auto search = values_.find(key); in getValue() 153 CHECK(search != values_.end()); in getValue() 169 bool ConfigFile::isEmpty() { return values_.empty(); } in isEmpty() 170 void ConfigFile::clear() { values_.clear(); } in clear()
|
/system/nfc/utils/include/ |
D | config.h | 61 std::map<std::string, ConfigValue> values_; variable
|
/system/tools/aidl/ |
D | aidl_const_expressions.cpp | 435 value_strings.reserve(values_.size()); in ValueString() 438 for (const auto& value : values_) { in ValueString() 534 for (const auto& value : values_) { in evaluate() 862 values_(std::move(*values)), in AidlConstantValue()
|
D | aidl_language.h | 484 const vector<unique_ptr<AidlConstantValue>> values_; // if type_ == ARRAY variable
|