Home
last modified time | relevance | path

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

/art/libartbase/base/unix_file/
Dfd_file.cc153 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck), in FdFile()
168 guard_state_ = GuardState::kNoCheck; in FdFile()
173 if (kCheckSafeUsage && (guard_state_ < GuardState::kNoCheck)) { in Destroy()
174 if (guard_state_ < GuardState::kFlushed) { in Destroy()
177 if (guard_state_ < GuardState::kClosed) { in Destroy()
180 DCHECK_GE(guard_state_, GuardState::kClosed); in Destroy()
190 : guard_state_(other.guard_state_), in FdFile()
199 other.guard_state_ = GuardState::kClosed; in FdFile()
212 guard_state_ = other.guard_state_; in operator =()
222 other.guard_state_ = GuardState::kClosed; in operator =()
[all …]
Dfd_file.h142 guard_state_ = new_state; in resetGuard()
146 GuardState guard_state_ = GuardState::kClosed; variable