Home
last modified time | relevance | path

Searched refs:DataEdit (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/flang/runtime/
Dedit-output.h33 bool EditIntegerOutput(IoStatementState &, const DataEdit &, INT);
54 const char *FormatExponent(int, const DataEdit &edit, int &length);
55 bool EmitPrefix(const DataEdit &, std::size_t length, std::size_t width);
56 bool EmitSuffix(const DataEdit &);
71 bool Edit(const DataEdit &);
77 bool EditEorDOutput(const DataEdit &);
78 bool EditFOutput(const DataEdit &);
79 DataEdit EditForGOutput(DataEdit); // returns an E or F edit
80 bool EditEXOutput(const DataEdit &);
81 bool EditListDirectedOutput(const DataEdit &);
[all …]
Dedit-input.h18 bool EditIntegerInput(IoStatementState &, const DataEdit &, void *, int kind);
21 bool EditRealInput(IoStatementState &, const DataEdit &, void *);
23 bool EditLogicalInput(IoStatementState &, const DataEdit &, bool &);
25 IoStatementState &, const DataEdit &, char *, std::size_t);
28 IoStatementState &, const DataEdit &, void *);
30 IoStatementState &, const DataEdit &, void *);
32 IoStatementState &, const DataEdit &, void *);
34 IoStatementState &, const DataEdit &, void *);
36 IoStatementState &, const DataEdit &, void *);
39 IoStatementState &, const DataEdit &, void *);
Dedit-input.cpp19 IoStatementState &io, const DataEdit &edit, std::optional<int> &remaining) { in PrepareInput()
21 if (edit.descriptor == DataEdit::ListDirected) { in PrepareInput()
32 static bool EditBOZInput(IoStatementState &io, const DataEdit &edit, void *n, in EditBOZInput()
68 static bool ScanNumericPrefix(IoStatementState &io, const DataEdit &edit, in ScanNumericPrefix()
83 IoStatementState &io, const DataEdit &edit, void *n, int kind) { in EditIntegerInput()
86 case DataEdit::ListDirected: in EditIntegerInput()
141 const DataEdit &edit, int &exponent) { in ScanRealInput()
264 bool EditCommonRealInput(IoStatementState &io, const DataEdit &edit, void *n) { in EditCommonRealInput()
299 bool EditRealInput(IoStatementState &io, const DataEdit &edit, void *n) { in EditRealInput()
302 case DataEdit::ListDirected: in EditRealInput()
[all …]
Dedit-output.cpp16 bool EditIntegerOutput(IoStatementState &io, const DataEdit &edit, INT n) { in EditIntegerOutput()
27 case DataEdit::ListDirected: in EditIntegerOutput()
97 int expo, const DataEdit &edit, int &length) { in FormatExponent()
127 const DataEdit &edit, std::size_t length, std::size_t width) { in EmitPrefix()
129 int prefixLength{edit.descriptor == DataEdit::ListDirectedRealPart ? 2 in EmitPrefix()
130 : edit.descriptor == DataEdit::ListDirectedImaginaryPart ? 0 in EmitPrefix()
132 int suffixLength{edit.descriptor == DataEdit::ListDirectedRealPart || in EmitPrefix()
133 edit.descriptor == DataEdit::ListDirectedImaginaryPart in EmitPrefix()
149 bool RealOutputEditingBase::EmitSuffix(const DataEdit &edit) { in EmitSuffix()
150 if (edit.descriptor == DataEdit::ListDirectedRealPart) { in EmitSuffix()
[all …]
Ddescriptor-io.h47 } else if (edit->descriptor != DataEdit::ListDirectedNullValue) { in FormattedIntegerIO()
78 } else if (edit->descriptor != DataEdit::ListDirectedNullValue) { in FormattedRealIO()
106 DataEdit rEdit, iEdit; in FormattedComplexIO()
107 rEdit.descriptor = DataEdit::ListDirectedRealPart; in FormattedComplexIO()
108 iEdit.descriptor = DataEdit::ListDirectedImaginaryPart; in FormattedComplexIO()
122 } else if (edit->descriptor == DataEdit::ListDirectedNullValue) { in FormattedComplexIO()
158 if (edit->descriptor != DataEdit::ListDirectedNullValue) { in FormattedCharacterIO()
194 if (edit->descriptor != DataEdit::ListDirectedNullValue) { in FormattedLogicalIO()
Dio-stmt.cpp24 std::optional<DataEdit> IoStatementBase::GetNextDataEdit( in GetNextDataEdit()
350 std::optional<DataEdit> IoStatementState::GetNextDataEdit(int n) { in GetNextDataEdit()
556 std::optional<DataEdit>
559 DataEdit edit; in GetNextDataEdit()
560 edit.descriptor = DataEdit::ListDirected; in GetNextDataEdit()
566 std::optional<DataEdit>
571 DataEdit edit; in GetNextDataEdit()
572 edit.descriptor = DataEdit::ListDirected; in GetNextDataEdit()
576 edit.descriptor = DataEdit::ListDirectedNullValue; in GetNextDataEdit()
593 edit.descriptor = DataEdit::ListDirectedNullValue; in GetNextDataEdit()
[all …]
Dformat.h40 struct DataEdit { struct
65 DataEdit GetNextDataEdit(int = 1); argument
101 DataEdit GetNextDataEdit(Context &, int maxRepeat = 1);
Dio-stmt.h63 std::optional<DataEdit> GetNextDataEdit(int = 1);
140 std::optional<DataEdit> GetNextDataEdit(IoStatementState &, int = 1);
161 std::optional<DataEdit> GetNextDataEdit(
172 std::optional<DataEdit> GetNextDataEdit(
227 std::optional<DataEdit> GetNextDataEdit(
299 std::optional<DataEdit> GetNextDataEdit(
Dformat.cpp13 DataEdit DefaultFormatControlCallbacks::GetNextDataEdit(int) { in GetNextDataEdit()
Dformat-implementation.h367 DataEdit FormatControl<CONTEXT>::GetNextDataEdit( in GetNextDataEdit()
375 DataEdit edit; in GetNextDataEdit()
/external/llvm-project/flang/unittests/Runtime/
Dformat.cpp28 void Report(const DataEdit &);
70 void TestFormatContext::Report(const DataEdit &edit) { in Report()