Home
last modified time | relevance | path

Searched refs:has_value_ (Results 1 – 2 of 2) sorted by relevance

/aosp12/art/cmdline/
H A Dcmdline_parse_result.h85 assert(has_value_); in GetValue()
93 assert(has_value_); in GetValue()
101 assert(has_value_); in ReleaseValue()
108 return has_value_; in HasValue()
126 : CmdlineResult(kSuccess), value_(value), has_value_(true) {} in CmdlineParseResult()
128 : CmdlineResult(kSuccess), value_(std::forward<T>(value)), has_value_(true) {} in CmdlineParseResult()
130 : CmdlineResult(kSuccess), value_(), has_value_(false) {} in CmdlineParseResult()
133 bool has_value_ = false; member
/aosp12/system/update_engine/update_manager/
H A Dgeneric_variables.h185 : Variable<T>(name, kVariableModeAsync), has_value_(false) {} in AsyncCopyVariable()
189 has_value_(true), in AsyncCopyVariable()
193 bool should_notify = !(has_value_ && new_value == value_); in SetValue()
195 has_value_ = true; in SetValue()
201 if (has_value_) { in UnsetValue()
202 has_value_ = false; in UnsetValue()
211 if (!has_value_) { in GetValue()
221 bool has_value_;