Home
last modified time | relevance | path

Searched refs:OpenStatus (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/flang/runtime/
Dfile.cpp62 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()
Dfile.h21 enum class OpenStatus { Old, New, Scratch, Replace, Unknown }; enum
43 void Open(OpenStatus, std::optional<Action>, Position, IoErrorHandler &);
Dunit.h53 void OpenUnit(OpenStatus, std::optional<Action>, Position,
57 OpenStatus, std::optional<Action>, Position, Convert, IoErrorHandler &);
Dunit.cpp64 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()
Dio-stmt.cpp191 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()
Dio-api.cpp806 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()
Dio-stmt.h335 void set_status(OpenStatus status) { status_ = status; } // STATUS= in set_status()
346 std::optional<OpenStatus> status_;