Searched refs:value_ (Results 1 - 13 of 13) sorted by relevance

/system/core/base/include/android-base/
H A Dunique_fd.h55 unique_fd_impl() : value_(-1) {}
57 explicit unique_fd_impl(int value) : value_(value) {}
60 unique_fd_impl(unique_fd_impl&& other) : value_(other.release()) {}
67 if (value_ != -1) {
68 Closer::Close(value_);
70 value_ = new_value;
77 int get() const { return value_; }
81 int ret = value_;
82 value_ = -1;
87 int value_; member in class:android::base::final
[all...]
/system/update_engine/update_manager/
H A Dboxed_value.h59 BoxedValue() : value_(nullptr), deleter_(nullptr), printer_(nullptr) {}
65 : value_(static_cast<const void*>(value)), deleter_(ValueDeleter<T>),
74 : value_(other.value_), deleter_(other.deleter_),
76 other.value_ = nullptr;
85 deleter_(value_);
88 const void* value() const { return value_; }
93 if (!value_)
95 return printer_(value_);
111 const void* value_; member in class:chromeos_update_manager::BoxedValue
[all...]
H A Dgeneric_variables.h179 has_value_(true), value_(value) {}
182 bool should_notify = !(has_value_ && new_value == value_);
183 value_ = new_value;
205 return new T(value_);
213 T value_; member in class:chromeos_update_manager::AsyncCopyVariable
/system/core/metricsd/
H A Dpersistent_integer.cc30 : value_(0),
39 value_ = value;
47 return value_;
68 (HANDLE_EINTR(write(fd, &value_, sizeof(value_))) ==
69 sizeof(value_)))
88 value_ = value;
H A Dpersistent_integer.h58 // Writes |value_| to the backing file, creating it if necessary.
61 // Reads the value from the backing file, stores it in |value_|, and returns
66 int64_t value_; member in class:chromeos_metrics::PersistentInteger
/system/connectivity/shill/
H A Dproperty_iterator.h48 const V& value() const { return value_; }
59 value_() {
69 value_ = it_->second->Get(&error);
75 V value_; member in class:shill::ReadablePropertyConstIterator
H A Dproperty_accessor_unittest.cc369 return value_;
372 return value_;
375 if (value_ == value) {
378 value_ = value;
382 value_.clear();
385 string value_; member in class:shill::StringWrapper
395 const string orig_value = wrapper.value_ = "original value";
414 wrapper.value_ = "nooooo";
415 EXPECT_EQ(wrapper.value_, accessor.Get(&error));
423 EXPECT_EQ(wrapper.value_, accesso
591 map<string, string> value_; member in class:shill::StringMapWrapper
[all...]
/system/connectivity/shill/net/
H A Dnetlink_attribute.cc467 *output = value_;
473 value_ = new_value;
492 reinterpret_cast<const unsigned char*>(&value_), sizeof(value_));
521 *output = value_;
527 value_ = new_value;
546 reinterpret_cast<const unsigned char*>(&value_), sizeof(value_));
575 *output = value_;
581 value_
[all...]
H A Dnetlink_attribute.h159 uint8_t value_; member in class:shill::NetlinkU8Attribute
177 uint16_t value_; member in class:shill::NetlinkU16Attribute
196 uint32_t value_; member in class:shill::NetlinkU32Attribute
214 uint64_t value_; member in class:shill::NetlinkU64Attribute
232 bool value_; member in class:shill::NetlinkFlagAttribute
249 std::string value() const { return value_; }
250 void set_value(const std::string& value) { value_ = value; }
253 std::string value_; member in class:shill::NetlinkStringAttribute
342 AttributeListRefPtr value_; member in class:shill::NetlinkNestedAttribute
/system/core/include/utils/
H A DLruCache.h65 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { argument
/system/core/init/
H A Daction.cpp279 : name_(name), value_(value) {
282 return action.CheckPropertyTrigger(name_, value_);
286 const std::string value_; member in class:PropertyTrigger
/system/tools/aidl/
H A Daidl_language.h149 int GetValue() const { return value_; }
155 int32_t value_; member in class:AidlConstant
H A Daidl_language.cpp92 value_(value) {}

Completed in 175 milliseconds