Home
last modified time | relevance | path

Searched refs:value_ (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish/common/libs/fs/
Dshared_fd.h133 SharedFD(const std::shared_ptr<FileInstance>& in) : value_(in) {} in SharedFD()
202 bool operator==(const SharedFD& rhs) const { return value_ == rhs.value_; }
204 bool operator!=(const SharedFD& rhs) const { return value_ != rhs.value_; }
206 bool operator<(const SharedFD& rhs) const { return value_ < rhs.value_; }
208 bool operator<=(const SharedFD& rhs) const { return value_ <= rhs.value_; }
210 bool operator>(const SharedFD& rhs) const { return value_ > rhs.value_; }
212 bool operator>=(const SharedFD& rhs) const { return value_ >= rhs.value_; }
214 std::shared_ptr<FileInstance> operator->() const { return value_; }
216 const FileInstance& operator*() const { return *value_; }
218 FileInstance& operator*() { return *value_; }
[all …]
Dshared_select.h41 iterator begin() { return value_.begin(); } in begin()
42 iterator end() { return value_.end(); } in end()
43 const_iterator begin() const { return value_.begin(); } in begin()
44 const_iterator end() const { return value_.end(); } in end()
47 value_.swap(rhs->value_); in swap()
51 value_.erase(in); in Clr()
55 return value_.count(in) != 0; in IsSet()
59 value_.insert(in); in Set()
63 value_.clear(); in Zero()
67 std::set<SharedFD> value_;
Dshared_fd.cpp328 value_ = std::move(other.value_); in SharedFD()
329 other.value_.reset(new FileInstance(-1, EBADF)); in SharedFD()
333 value_ = std::move(other.value_); in operator =()
334 other.value_.reset(new FileInstance(-1, EBADF)); in operator =()
485 if (!shared_fd.value_) { in Fchdir()
791 auto locked_file_instance = value_.lock(); in lock()