Searched refs:guard_state_ (Results 1 – 2 of 2) sorted by relevance
39 : 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()57 if (kCheckSafeUsage && (guard_state_ < GuardState::kNoCheck)) { in ~FdFile()58 if (guard_state_ < GuardState::kFlushed) { in ~FdFile()61 if (guard_state_ < GuardState::kClosed) { in ~FdFile()64 CHECK_GE(guard_state_, GuardState::kClosed); in ~FdFile()75 if (guard_state_ < GuardState::kNoCheck) { in moveTo()76 if (warn_threshold < GuardState::kNoCheck && guard_state_ >= warn_threshold) { in moveTo()79 guard_state_ = target; in moveTo()[all …]
116 guard_state_ = new_state; in resetGuard()120 GuardState guard_state_; variable