/external/llvm-project/flang/runtime/ |
D | unit.h | 50 static void CloseAll(IoErrorHandler &); 51 static void FlushAll(IoErrorHandler &); 55 IoErrorHandler &); 57 OpenStatus, std::optional<Action>, Position, Convert, IoErrorHandler &); 58 void CloseUnit(CloseStatus, IoErrorHandler &); 61 bool SetDirection(Direction, IoErrorHandler &); 76 const char *, std::size_t, std::size_t elementBytes, IoErrorHandler &); 77 bool Receive(char *, std::size_t, std::size_t elementBytes, IoErrorHandler &); 78 std::optional<char32_t> GetCurrentChar(IoErrorHandler &); 80 void BeginReadingRecord(IoErrorHandler &); [all …]
|
D | file.h | 43 void Open(OpenStatus, std::optional<Action>, Position, IoErrorHandler &); 45 void Close(CloseStatus, IoErrorHandler &); 53 std::size_t maxBytes, IoErrorHandler &); 57 std::size_t Write(FileOffset, const char *, std::size_t, IoErrorHandler &); 60 void Truncate(FileOffset, IoErrorHandler &); 63 int ReadAsynchronously(FileOffset, char *, std::size_t, IoErrorHandler &); 65 FileOffset, const char *, std::size_t, IoErrorHandler &); 66 void Wait(int id, IoErrorHandler &); 67 void WaitAll(IoErrorHandler &); 77 bool Seek(FileOffset, IoErrorHandler &);
|
D | unit.cpp | 32 IoErrorHandler handler{terminator}; in FlushOutputOnCrash() 62 IoErrorHandler handler{terminator}; in LookUpOrCreateAnonymous() 94 Convert convert, IoErrorHandler &handler) { in OpenUnit() 151 IoErrorHandler &handler) { in OpenAnonymousUnit() 160 void ExternalFileUnit::CloseUnit(CloseStatus status, IoErrorHandler &handler) { in CloseUnit() 171 Direction direction, IoErrorHandler &handler) { in SetDirection() 202 IoErrorHandler handler{terminator}; in GetUnitMap() 216 void ExternalFileUnit::CloseAll(IoErrorHandler &handler) { in CloseAll() 225 void ExternalFileUnit::FlushAll(IoErrorHandler &handler) { in FlushAll() 245 std::size_t elementBytes, IoErrorHandler &handler) { in Emit() [all …]
|
D | io-error.cpp | 20 void IoErrorHandler::Begin(const char *sourceFileName, int sourceLine) { in Begin() 27 void IoErrorHandler::SignalError(int iostatOrErrno, const char *msg, ...) { in SignalError() 61 void IoErrorHandler::SignalError(int iostatOrErrno) { in SignalError() 65 void IoErrorHandler::SignalErrno() { SignalError(errno); } in SignalErrno() 67 void IoErrorHandler::SignalEnd() { SignalError(IostatEnd); } in SignalEnd() 69 void IoErrorHandler::SignalEor() { SignalError(IostatEor); } in SignalEor() 71 bool IoErrorHandler::GetIoMsg(char *buffer, std::size_t bufferLength) { in GetIoMsg()
|
D | internal-unit.h | 21 class IoErrorHandler; variable 33 bool Emit(const char *, std::size_t, IoErrorHandler &); 34 std::optional<char32_t> GetCurrentChar(IoErrorHandler &); 35 bool AdvanceRecord(IoErrorHandler &); 36 void BackspaceRecord(IoErrorHandler &);
|
D | format.h | 63 struct DefaultFormatControlCallbacks : public IoErrorHandler { 64 using IoErrorHandler::IoErrorHandler; 91 IoErrorHandler &, const CharType *format, std::size_t formatLength); 125 CharType GetNextChar(IoErrorHandler &handler) { in GetNextChar() 134 int GetIntField(IoErrorHandler &, CharType firstCh = '\0');
|
D | file.cpp | 33 static int openfile_mkstemp(IoErrorHandler &handler) { in openfile_mkstemp() 63 Position position, IoErrorHandler &handler) { in Open() 166 void OpenFile::Close(CloseStatus status, IoErrorHandler &handler) { in Close() 189 std::size_t maxBytes, IoErrorHandler &handler) { in Read() 219 std::size_t bytes, IoErrorHandler &handler) { in Write() 255 void OpenFile::Truncate(FileOffset at, IoErrorHandler &handler) { in Truncate() 269 FileOffset at, char *buffer, std::size_t bytes, IoErrorHandler &handler) { in ReadAsynchronously() 298 std::size_t bytes, IoErrorHandler &handler) { in WriteAsynchronously() 322 void OpenFile::Wait(int id, IoErrorHandler &handler) { in Wait() 341 void OpenFile::WaitAll(IoErrorHandler &handler) { in WaitAll() [all …]
|
D | internal-unit.cpp | 58 const char *data, std::size_t bytes, IoErrorHandler &handler) { in Emit() 92 IoErrorHandler &handler) { in GetCurrentChar() 113 bool InternalDescriptorUnit<DIR>::AdvanceRecord(IoErrorHandler &handler) { in AdvanceRecord() 133 void InternalDescriptorUnit<DIR>::BackspaceRecord(IoErrorHandler &handler) { in BackspaceRecord()
|
D | io-error.h | 26 class IoErrorHandler : public Terminator { 29 explicit IoErrorHandler(const Terminator &that) : Terminator{that} {} in IoErrorHandler() function
|
D | unit-map.h | 53 void CloseAll(IoErrorHandler &); 54 void FlushAll(IoErrorHandler &);
|
D | buffer.h | 50 FileOffset at, std::size_t bytes, IoErrorHandler &handler) { in ReadFrame() 92 void WriteFrame(FileOffset at, std::size_t bytes, IoErrorHandler &handler) { in WriteFrame() 105 void Flush(IoErrorHandler &handler) { in Flush()
|
D | stop.cpp | 48 Fortran::runtime::io::IoErrorHandler handler{why}; in CloseAllExternalUnits() 79 Fortran::runtime::io::IoErrorHandler handler{"PAUSE statement"}; in StartPause()
|
D | unit-map.cpp | 54 void UnitMap::CloseAll(IoErrorHandler &handler) { in CloseAll() 66 void UnitMap::FlushAll(IoErrorHandler &handler) { in FlushAll()
|
D | format-implementation.h | 38 IoErrorHandler &handler, const CharType *format, std::size_t formatLength) { in GetMaxParenthesisNesting() 91 IoErrorHandler &handler, CharType firstCh) { in GetIntField()
|
D | io-api.cpp | 167 IoErrorHandler handler{terminator}; in BeginExternalListIO() 199 IoErrorHandler handler{terminator}; in BeginExternalFormattedIO() 232 IoErrorHandler handler{terminator}; in BeginUnformattedIO() 369 IoErrorHandler &handler{cookie->GetIoErrorHandler()}; in IONAME() 388 IoErrorHandler &handler) { in YesOrNo() 1059 IoErrorHandler &handler{cookie->GetIoErrorHandler()}; in IONAME()
|
D | io-stmt.cpp | 396 IoErrorHandler &IoStatementState::GetIoErrorHandler() const { in GetIoErrorHandler() 398 [](auto &x) -> IoErrorHandler & { in GetIoErrorHandler() 399 return static_cast<IoErrorHandler &>(x.get()); in GetIoErrorHandler() 488 IoErrorHandler &handler{GetIoErrorHandler()}; in NextInField()
|
D | io-stmt.h | 71 IoErrorHandler &GetIoErrorHandler() const;
|
/external/llvm-project/flang/unittests/Runtime/ |
D | format.cpp | 18 class TestFormatContext : public IoErrorHandler { 21 TestFormatContext() : IoErrorHandler{"format.cpp", 1} {} in TestFormatContext()
|