Home
last modified time | relevance | path

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

/art/runtime/base/unix_file/
Dfd_file.cc39 : guard_state_(GuardState::kClosed), fd_(-1), auto_close_(true), read_only_mode_(false) { in FdFile()
43 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck), in FdFile()
52 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck), in FdFile()
60 guard_state_ = GuardState::kNoCheck; in FdFile()
65 if (kCheckSafeUsage && (guard_state_ < GuardState::kNoCheck)) { in Destroy()
66 if (guard_state_ < GuardState::kFlushed) { in Destroy()
69 if (guard_state_ < GuardState::kClosed) { in Destroy()
72 CHECK_GE(guard_state_, GuardState::kClosed); in Destroy()
90 guard_state_ = other.guard_state_; in operator =()
105 if (guard_state_ < GuardState::kNoCheck) { in moveTo()
[all …]
Dfd_file.h50 : guard_state_(other.guard_state_), in FdFile()
66 guard_state_ = GuardState::kNoCheck; in Release()
77 guard_state_ = fd == -1 ? GuardState::kNoCheck : GuardState::kBase; in Reset()
79 guard_state_ = GuardState::kNoCheck; in Reset()
161 guard_state_ = new_state; in resetGuard()
165 GuardState guard_state_; variable