Searched refs:OpenStatus (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/flang/runtime/ |
D | file.cpp | 62 void OpenFile::Open(OpenStatus status, std::optional<Action> action, in Open() 65 (status == OpenStatus::Old || status == OpenStatus::Unknown)) { in Open() 78 if (status == OpenStatus::Scratch) { in Open() 93 if (status != OpenStatus::Old) { in Open() 96 if (status == OpenStatus::New) { in Open() 98 } else if (status == OpenStatus::Replace) { in Open() 136 if (status == OpenStatus::Old || status == OpenStatus::Unknown) { in Open()
|
D | file.h | 21 enum class OpenStatus { Old, New, Scratch, Replace, Unknown }; enum 43 void Open(OpenStatus, std::optional<Action>, Position, IoErrorHandler &);
|
D | unit.h | 53 void OpenUnit(OpenStatus, std::optional<Action>, Position, 57 OpenStatus, std::optional<Action>, Position, Convert, IoErrorHandler &);
|
D | unit.cpp | 64 dir == Direction::Input ? OpenStatus::Unknown : OpenStatus::Replace, in LookUpOrCreateAnonymous() 92 void ExternalFileUnit::OpenUnit(OpenStatus status, std::optional<Action> action, in OpenUnit() 102 if (status == OpenStatus::Old && in OpenUnit() 149 void ExternalFileUnit::OpenAnonymousUnit(OpenStatus status, in OpenAnonymousUnit()
|
D | io-stmt.cpp | 191 if (wasExtant_ && status_ && *status_ != OpenStatus::Old) { in EndIoStatement() 196 (status_ && *status_ == OpenStatus::Scratch)) { in EndIoStatement() 197 unit().OpenUnit(status_.value_or(OpenStatus::Unknown), action_, position_, in EndIoStatement() 200 unit().OpenAnonymousUnit(status_.value_or(OpenStatus::Unknown), action_, in EndIoStatement()
|
D | io-api.cpp | 806 open->set_status(OpenStatus::Old); in IONAME() 809 open->set_status(OpenStatus::New); in IONAME() 812 open->set_status(OpenStatus::Scratch); in IONAME() 815 open->set_status(OpenStatus::Replace); in IONAME() 818 open->set_status(OpenStatus::Unknown); in IONAME()
|
D | io-stmt.h | 335 void set_status(OpenStatus status) { status_ = status; } // STATUS= in set_status() 346 std::optional<OpenStatus> status_;
|