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

/art/runtime/base/unix_file/
H A Dfd_file.cc39 : guard_state_(GuardState::kClosed), fd_(-1), auto_close_(true), read_only_mode_(false) {
43 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck),
52 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck),
57 if (kCheckSafeUsage && (guard_state_ < GuardState::kNoCheck)) {
58 if (guard_state_ < GuardState::kFlushed) {
61 if (guard_state_ < GuardState::kClosed) {
64 CHECK_GE(guard_state_, GuardState::kClosed);
75 if (guard_state_ < GuardState::kNoCheck) {
76 if (warn_threshold < GuardState::kNoCheck && guard_state_ >= warn_threshold) {
79 guard_state_
[all...]
H A Dfd_file.h116 guard_state_ = new_state;
120 GuardState guard_state_; member in class:unix_file::FdFile

Completed in 154 milliseconds