| /llvm-project-15.0.7/flang/runtime/ |
| H A D | unit.h | 59 static void CloseAll(IoErrorHandler &); 60 static void FlushAll(IoErrorHandler &); 64 IoErrorHandler &); 90 bool AdvanceRecord(IoErrorHandler &); 91 void BackspaceRecord(IoErrorHandler &); 92 void FlushOutput(IoErrorHandler &); 93 void FlushIfTerminal(IoErrorHandler &); 94 void Endfile(IoErrorHandler &); 95 void Rewind(IoErrorHandler &); 122 void DoEndfile(IoErrorHandler &); [all …]
|
| H A 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 &); 80 bool Seek(FileOffset, IoErrorHandler &); [all …]
|
| H A D | io-error.cpp | 20 void IoErrorHandler::SignalError(int iostatOrErrno, const char *msg, ...) { in SignalError() 56 void IoErrorHandler::SignalError(int iostatOrErrno) { in SignalError() 60 void IoErrorHandler::Forward( in Forward() 72 void IoErrorHandler::SignalErrno() { SignalError(errno); } in SignalErrno() 74 void IoErrorHandler::SignalEnd() { SignalError(IostatEnd); } in SignalEnd() 76 void IoErrorHandler::SignalEor() { SignalError(IostatEor); } in SignalEor() 78 void IoErrorHandler::SignalPendingError() { in SignalPendingError() 84 bool IoErrorHandler::GetIoMsg(char *buffer, std::size_t bufferLength) { in GetIoMsg()
|
| H A D | unit.cpp | 31 IoErrorHandler handler{terminator}; in FlushOutputOnCrash() 58 IoErrorHandler handler{terminator}; in LookUpOrCreateAnonymous() 172 IoErrorHandler &handler) { in OpenAnonymousUnit() 218 IoErrorHandler handler{terminator}; in GetUnitMap() 279 std::size_t elementBytes, IoErrorHandler &handler) { in Emit() 366 const char *&p, IoErrorHandler &handler) { in GetNextInputBytes() 382 IoErrorHandler &handler, std::size_t bytes) { in FrameNextInput() 705 IoErrorHandler &handler) { in BeginSequentialVariableUnformattedInputRecord() 747 IoErrorHandler &handler) { in BeginVariableFormattedInputRecord() 785 IoErrorHandler &handler) { in BackspaceVariableUnformattedRecord() [all …]
|
| H A D | internal-unit.h | 21 class IoErrorHandler; variable 33 bool Emit(const char *, std::size_t, IoErrorHandler &); 34 std::size_t GetNextInputBytes(const char *&, IoErrorHandler &); 35 bool AdvanceRecord(IoErrorHandler &); 36 void BackspaceRecord(IoErrorHandler &);
|
| H A D | file.cpp | 33 static int openfile_mkstemp(IoErrorHandler &handler) { in openfile_mkstemp() 64 Position position, IoErrorHandler &handler) { in Open() 174 void OpenFile::Close(CloseStatus status, IoErrorHandler &handler) { in Close() 191 std::size_t maxBytes, IoErrorHandler &handler) { in Read() 220 std::size_t bytes, IoErrorHandler &handler) { in Write() 256 void OpenFile::Truncate(FileOffset at, IoErrorHandler &handler) { in Truncate() 299 std::size_t bytes, IoErrorHandler &handler) { in WriteAsynchronously() 323 void OpenFile::Wait(int id, IoErrorHandler &handler) { in Wait() 342 void OpenFile::WaitAll(IoErrorHandler &handler) { in WaitAll() 373 bool OpenFile::Seek(FileOffset at, IoErrorHandler &handler) { in Seek() [all …]
|
| H A D | internal-unit.cpp | 54 const char *data, std::size_t bytes, IoErrorHandler &handler) { in Emit() 88 const char *&p, IoErrorHandler &handler) { in GetNextInputBytes() 108 bool InternalDescriptorUnit<DIR>::AdvanceRecord(IoErrorHandler &handler) { in AdvanceRecord() 134 void InternalDescriptorUnit<DIR>::BackspaceRecord(IoErrorHandler &handler) { in BackspaceRecord()
|
| H A D | buffer.h | 67 FileOffset at, std::size_t bytes, IoErrorHandler &handler) { in ReadFrame() 95 void WriteFrame(FileOffset at, std::size_t bytes, IoErrorHandler &handler) { in WriteFrame() 113 void Flush(IoErrorHandler &handler, std::int64_t keep = 0) { 131 void TruncateFrame(std::int64_t at, IoErrorHandler &handler) { in TruncateFrame() 183 void MakeDataContiguous(IoErrorHandler &handler, std::size_t bytes) { in MakeDataContiguous()
|
| H A D | io-error.h | 26 class IoErrorHandler : public Terminator { 29 explicit IoErrorHandler(const Terminator &that) : Terminator{that} {} in IoErrorHandler() function
|
| H A D | unit-map.h | 56 void CloseAll(IoErrorHandler &); 57 void FlushAll(IoErrorHandler &);
|
| H A D | format.h | 124 CharType GetNextChar(IoErrorHandler &handler) { in GetNextChar() 138 int GetIntField(IoErrorHandler &, CharType firstCh = '\0');
|
| H A D | stop.cpp | 49 Fortran::runtime::io::IoErrorHandler handler{why}; in CloseAllExternalUnits() 91 Fortran::runtime::io::IoErrorHandler handler{"PAUSE statement"}; in StartPause()
|
| H A D | descriptor-io.cpp | 21 IoErrorHandler &handler{io.GetIoErrorHandler()}; in DefinedFormattedIo() 85 IoErrorHandler &handler{io.GetIoErrorHandler()}; in DefinedUnformattedIo()
|
| H A D | unit-map.cpp | 84 void UnitMap::CloseAll(IoErrorHandler &handler) { in CloseAll() 105 void UnitMap::FlushAll(IoErrorHandler &handler) { in FlushAll()
|
| H A D | io-api.cpp | 535 IoErrorHandler &handler) { in YesOrNo() 552 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IONAME() 619 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IONAME() 626 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IONAME() 637 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IONAME() 774 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IONAME() 1096 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IONAME() 1320 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IONAME() 1336 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IONAME() 1351 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IONAME() [all …]
|
| H A D | namelist.cpp | 143 IoErrorHandler &handler{io.GetIoErrorHandler()}; in HandleSubscripts() 244 IoErrorHandler &handler{io.GetIoErrorHandler()}; in HandleSubstring() 306 IoErrorHandler &handler{io.GetIoErrorHandler()}; in HandleComponent() 368 IoErrorHandler &handler{io.GetIoErrorHandler()}; in IONAME()
|
| H A D | descriptor-io.h | 272 IoErrorHandler &handler{io.GetIoErrorHandler()}; in FormattedDerivedTypeIO() 318 IoErrorHandler &handler{io.GetIoErrorHandler()}; in UnformattedDescriptorIO() 375 IoErrorHandler &handler{io.GetIoErrorHandler()}; in DescriptorIO()
|
| H A D | io-stmt.h | 113 IoErrorHandler &GetIoErrorHandler() const; 248 class IoStatementBase : public IoErrorHandler { 250 using IoErrorHandler::IoErrorHandler;
|
| H A D | io-stmt.cpp | 560 IoErrorHandler &IoStatementState::GetIoErrorHandler() const { in GetIoErrorHandler() 562 [](auto &x) -> IoErrorHandler & { in GetIoErrorHandler() 563 return static_cast<IoErrorHandler &>(x.get()); in GetIoErrorHandler() 682 IoErrorHandler &handler{GetIoErrorHandler()}; in CheckForEndOfRecord()
|
| H A D | format-implementation.h | 38 IoErrorHandler &handler, CharType firstCh) { in GetIntField()
|
| /llvm-project-15.0.7/flang/unittests/Runtime/ |
| H A D | BufferTest.cpp | 33 std::size_t maxBytes, IoErrorHandler &handler) { in Read() 49 IoErrorHandler &handler) { in Write() 84 IoErrorHandler handler{terminator}; in TEST()
|
| H A D | Format.cpp | 23 class TestFormatContext : public IoErrorHandler { 26 TestFormatContext() : IoErrorHandler{"format.cpp", 1} {} in TestFormatContext()
|