Searched refs:values_ (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/common/ |
D | fake_prefs.cc | 94 return values_.find(key) != values_.end(); in Exists() 98 if (values_.find(key) == values_.end()) in Delete() 100 values_.erase(key); in Delete() 127 for (const auto& pr : values_) in GetSubKeys() 146 auto it = values_.find(key); in CheckKeyType() 147 EXPECT_TRUE(it == values_.end() || it->second.type == type) in CheckKeyType() 155 values_[key].type = PrefConsts<T>::type; in SetValue() 156 values_[key].value.*(PrefConsts<T>::member) = std::move(value); in SetValue() 168 auto it = values_.find(key); in GetValue() 169 if (it == values_.end()) in GetValue()
|
D | prefs.cc | 240 auto it = values_.find(key); in GetKey() 241 if (it == values_.end()) in GetKey() 249 using value_type = decltype(values_)::value_type; in GetSubKeys() 250 using key_type = decltype(values_)::key_type; in GetSubKeys() 258 std::lower_bound(begin(values_), end(values_), ns, lower_comp); in GetSubKeys() 259 auto upper_it = std::upper_bound(lower_it, end(values_), ns, upper_comp); in GetSubKeys() 267 values_[key] = value; in SetKey() 272 return values_.find(key) != values_.end(); in KeyExists() 276 auto it = values_.find(key); in DeleteKey() 277 if (it != values_.end()) in DeleteKey() [all …]
|
D | fake_prefs.h | 109 std::map<std::string, PrefTypeValue> values_; variable
|
D | prefs.h | 173 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 | 548 value_strings.reserve(values_.size()); in ValueString() 551 for (const auto& value : values_) { in ValueString() 619 for (const auto& v : values_) is_valid_ &= v->CheckValid(); in CheckValid() 642 for (const auto& value : values_) { in evaluate() 1045 values_(std::move(*values)), in AidlConstantValue()
|
D | aidl_language.h | 596 for (const auto& v : values_) { 655 for (const auto& v : values_) { 676 const vector<unique_ptr<AidlConstantValue>> values_; // if type_ == ARRAY
|