HomeSort by relevance Sort by last modified time
    Searched refs:GuardState (Results 1 - 3 of 3) sorted by null

  /art/runtime/base/unix_file/
fd_file.h 80 enum class GuardState {
93 void moveTo(GuardState target, GuardState warn_threshold, const char* warning);
98 void moveUp(GuardState target, const char* warning);
101 void resetGuard(GuardState new_state) {
107 GuardState guard_state_;
117 std::ostream& operator<<(std::ostream& os, const FdFile::GuardState& kind);
fd_file.cc 28 FdFile::FdFile() : guard_state_(GuardState::kClosed), fd_(-1), auto_close_(true) {
32 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck),
37 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck),
43 if (kCheckSafeUsage && (guard_state_ < GuardState::kNoCheck)) {
44 if (guard_state_ < GuardState::kFlushed) {
47 if (guard_state_ < GuardState::kClosed) {
50 CHECK_GE(guard_state_, GuardState::kClosed);
59 void FdFile::moveTo(GuardState target, GuardState warn_threshold, const char* warning)
    [all...]
mapped_file.cc 46 resetGuard(GuardState::kNoCheck);
82 resetGuard(GuardState::kBase);
143 moveUp(GuardState::kFlushed, "Flushing closed file.");
159 moveTo(GuardState::kBase, GuardState::kClosed, "Writing into a closed file.");

Completed in 3380 milliseconds