Home
last modified time | relevance | path

Searched refs:edit (Results 1 – 25 of 1070) sorted by relevance

12345678910>>...43

/llvm-project/flang/runtime/
H A Dedit-output.cpp1 //===-- runtime/edit-output.cpp -------------------------------------------===//
9 #include "edit-output.h"
31 const DataEdit &edit, const unsigned char *data0, std::size_t bytes) { in EditBOZOutput() argument
69 int editWidth{edit.width.value_or(0)}; in EditBOZOutput()
71 if (edit.digits && significant <= *edit.digits) { // Bw.m, Ow.m, Zw.m in EditBOZOutput()
72 if (*edit.digits == 0 && bytes == 0) { in EditBOZOutput()
75 leadingZeroes = *edit.digits - significant; in EditBOZOutput()
111 bool RT_API_ATTRS EditIntegerOutput(IoStatementState &io, const DataEdit &edit, in EditIntegerOutput() argument
119 switch (edit in EditIntegerOutput()
192 FormatExponent(int expo,const DataEdit & edit,int & length) FormatExponent() argument
231 EmitPrefix(const DataEdit & edit,std::size_t length,std::size_t width) EmitPrefix() argument
251 EmitSuffix(const DataEdit & edit) EmitSuffix() argument
293 EditEorDOutput(const DataEdit & edit) EditEorDOutput() argument
429 EditFOutput(const DataEdit & edit) EditFOutput() argument
433 enum decimal::FortranRounding rounding{edit.modes.round}; EditFOutput() enumerator
567 EditForGOutput(DataEdit edit) EditForGOutput() argument
612 EditListDirectedOutput(const DataEdit & edit) EditListDirectedOutput() argument
704 EditEXOutput(const DataEdit & edit) EditEXOutput() argument
756 Edit(const DataEdit & edit) Edit() argument
813 EditLogicalOutput(IoStatementState & io,const DataEdit & edit,bool truth) EditLogicalOutput() argument
903 EditCharacterOutput(IoStatementState & io,const DataEdit & edit,const CHAR * x,std::size_t length) EditCharacterOutput() argument
[all...]
H A Dedit-input.cpp1 //===-- runtime/edit-input.cpp --------------------------------------------===//
9 #include "edit-input.h"
25 const DataEdit &edit, char32_t ch) { in IsCharValueSeparator() argument
27 edit.modes.editingFlags & decimalComma ? char32_t{';'} : char32_t{','}}; in IsCharValueSeparator()
29 (edit.IsNamelist() && (ch == '&' || ch == '$')); in IsCharValueSeparator()
33 IoStatementState &io, const DataEdit &edit) { in CheckCompleteListDirectedField() argument
34 if (edit.IsListDirected()) { in CheckCompleteListDirectedField()
37 if (IsCharValueSeparator(edit, *ch)) { in CheckCompleteListDirectedField()
57 static inline RT_API_ATTRS char32_t GetSeparatorChar(const DataEdit &edit) {
58 return edit
59 EditBOZInput(IoStatementState & io,const DataEdit & edit,void * n,std::size_t bytes) EditBOZInput() argument
157 GetRadixPointChar(const DataEdit & edit) GetRadixPointChar() argument
163 ScanNumericPrefix(IoStatementState & io,const DataEdit & edit,Fortran::common::optional<char32_t> & next,Fortran::common::optional<int> & remaining) ScanNumericPrefix() argument
181 EditIntegerInput(IoStatementState & io,const DataEdit & edit,void * n,int kind) EditIntegerInput() argument
286 ScanRealInput(char * buffer,int bufferSize,IoStatementState & io,const DataEdit & edit) ScanRealInput() argument
531 TryFastPathRealDecimalInput(IoStatementState & io,const DataEdit & edit,void * n) TryFastPathRealDecimalInput() argument
720 EditCommonRealInput(IoStatementState & io,const DataEdit & edit,void * n) EditCommonRealInput() argument
817 EditRealInput(IoStatementState & io,const DataEdit & edit,void * n) EditRealInput() argument
852 EditLogicalInput(IoStatementState & io,const DataEdit & edit,bool & x) EditLogicalInput() argument
937 EditListDirectedCharacterInput(IoStatementState & io,CHAR * x,std::size_t length,const DataEdit & edit) EditListDirectedCharacterInput() argument
986 EditCharacterInput(IoStatementState & io,const DataEdit & edit,CHAR * x,std::size_t lengthChars) EditCharacterInput() argument
[all...]
H A Dformat-implementation.h280 "Unknown '%c%c' edit descriptor in FORMAT", ch, next); in CueUpNextDataEdit()
283 IostatErrorInFormat, "Unknown '%c' edit descriptor in FORMAT", ch); in CueUpNextDataEdit()
287 // Locates the next data edit descriptor in the format. in CueUpNextDataEdit()
288 // Handles all repetition counts and control edit descriptors. in CueUpNextDataEdit()
295 // Do repetitions remain on an unparenthesized data edit? in CueUpNextDataEdit()
396 "Unlimited repetition in FORMAT lacks data edit descriptors", in CueUpNextDataEdit()
449 // Assume a two-letter edit descriptor in GetNextDataEdit()
463 // Data edit descriptor found in GetNextDataEdit()
467 // Control edit descriptor in GetNextDataEdit()
490 // Returns the next data edit descripto in GetNextDataEdit()
428 DataEdit edit; GetNextDataEdit() local
[all...]
H A Dio-api-minimal.cpp12 #include "edit-output.h"
39 auto edit{io.GetNextDataEdit()}; in FormattedScalarIntegerOutput() local
40 return edit && EditIntegerOutput<KIND>(io, *edit, x, /*isSigned=*/true); in FormattedScalarIntegerOutput()
73 auto edit{io.GetNextDataEdit()}; in FormattedScalarRealOutput() local
74 return edit && RealOutputEditing<KIND>{io, x}.Edit(*edit); in FormattedScalarRealOutput()
127 auto edit{io.GetNextDataEdit()}; in IODEF() local
128 return edit && EditCharacterOutput(io, *edit, in IODEF()
140 auto edit{io.GetNextDataEdit()}; IODEF() local
[all...]
H A Ddescriptor-io.h17 #include "edit-input.h"
18 #include "edit-output.h"
56 if (auto edit{io.GetNextDataEdit()}) { in FormattedIntegerIO()
59 if (!EditIntegerOutput<KIND>(io, *edit, x, isSigned)) { in FormattedIntegerIO()
62 } else if (edit->descriptor != DataEdit::ListDirectedNullValue) { in FormattedIntegerIO()
64 io, *edit, reinterpret_cast<void *>(&x), KIND, isSigned)) { in FormattedIntegerIO()
67 return anyInput && edit->IsNamelist(); in FormattedIntegerIO()
90 if (auto edit{io.GetNextDataEdit()}) { in FormattedRealIO()
93 if (!RealOutputEditing<KIND>{io, x}.Edit(*edit)) { in FormattedRealIO()
96 } else if (edit in FormattedRealIO()
[all...]
H A Ddescriptor-io.cpp28 DataEdit edit{*io.GetNextDataEdit(1)}; // now consume it; no repeats in DefinedFormattedIo() local
29 RUNTIME_CHECK(handler, edit.descriptor == peek->descriptor); in DefinedFormattedIo()
30 char ioType[2 + edit.maxIoTypeChars]; in DefinedFormattedIo()
31 auto ioTypeLen{std::size_t{2} /*"DT"*/ + edit.ioTypeChars}; in DefinedFormattedIo()
32 if (edit.descriptor == DataEdit::DefinedDerivedType) { in DefinedFormattedIo()
35 std::memcpy(ioType + 2, edit.ioType, edit.ioTypeChars); in DefinedFormattedIo()
44 vListDesc.set_base_addr(edit.vList); in DefinedFormattedIo()
45 vListDesc.GetDimension(0).SetBounds(1, edit.vListEntries); in DefinedFormattedIo()
62 if (edit.descriptor == DataEdit::DefinedDerivedType && in DefinedFormattedIo()
H A Dio-stmt.cpp615 Fortran::common::optional<int> &remaining, const DataEdit &edit) { in NextInField()
619 if (edit.IsListDirected()) { in NextInField()
634 if (edit.IsNamelist()) { in NextInField()
639 if (!(edit.modes.editingFlags & decimalComma)) { in NextInField()
644 if (edit.modes.editingFlags & decimalComma) { in NextInField()
766 DataEdit edit; in GetNextDataEdit()
767 edit.descriptor = DataEdit::ListDirected; in GetNextDataEdit()
768 edit.repeat = maxRepeat; in GetNextDataEdit()
769 edit.modes = io.mutableModes(); in GetNextDataEdit()
770 return edit; in GetNextDataEdit()
594 NextInField(Fortran::common::optional<int> & remaining,const DataEdit & edit) NextInField() argument
745 DataEdit edit; GetNextDataEdit() local
764 DataEdit edit; GetNextDataEdit() local
[all...]
H A DCMakeLists.txt131 edit-input.cpp
132 edit-output.cpp
199 edit-input.cpp
200 edit-output.cpp
/llvm-project/flang/unittests/Runtime/
H A DFormat.cpp68 void TestFormatContext::Report(const std::optional<DataEdit> &edit) { in Report() argument
69 if (edit) { in Report()
70 std::string str{edit->descriptor}; in Report()
71 if (edit->repeat != 1) { in Report()
72 str = std::to_string(edit->repeat) + '*' + str; in Report()
74 if (edit->variation) { in Report()
75 str += edit->variation; in Report()
77 if (edit->width) { in Report()
78 str += std::to_string(*edit->width); in Report()
80 if (edit->digits) { in Report()
[all …]
/llvm-project/clang/lib/Edit/
H A DEditedSource.cpp28 using namespace edit;
292 for (edit::Commit::edit_iterator in commit()
294 const edit::Commit::Edit &edit = *I; in commit() local
295 switch (edit.Kind) { in commit()
296 case edit::Commit::Act_Insert: in commit()
297 commitInsert(edit.OrigLoc, edit.Offset, edit.Text, edit.BeforePrev); in commit()
299 case edit::Commit::Act_InsertFromRange: in commit()
300 commitInsertFromRange(edit.OrigLoc, edit.Offset, in commit()
301 edit.InsertFromRangeOffs, edit.Length, in commit()
302 edit.BeforePrev); in commit()
[all …]
/llvm-project/llvm/utils/gn/build/libs/edit/
H A DBUILD.gn1 import("//llvm/utils/gn/build/libs/edit/enable.gni")
4 visibility = [ ":edit" ]
5 libs = [ "edit" ]
8 group("edit") {
/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp99 std::unique_ptr<edit::EditedSource> Editor;
133 Editor.reset(new edit::EditedSource(Context.getSourceManager(), in Initialize()
234 const NSAPI &NS, edit::Commit &commit, in rewriteToPropertyDotSyntax()
325 edit::Commit commit(*Consumer.Editor); in VisitObjCMessageExpr()
326 edit::rewriteToObjCLiteralSyntax(E, *Consumer.NSAPIObj, commit, &PMap); in VisitObjCMessageExpr()
331 edit::Commit commit(*Consumer.Editor); in VisitObjCMessageExpr()
332 edit::rewriteToObjCSubscriptSyntax(E, *Consumer.NSAPIObj, commit); in VisitObjCMessageExpr()
337 edit::Commit commit(*Consumer.Editor); in VisitObjCMessageExpr()
455 const NSAPI &NS, edit::Commit &commit, in rewriteToObjCProperty()
662 const NSAPI &NS, edit in rewriteToObjCInterfaceDecl()
[all...]
/llvm-project/clang/include/clang/Tooling/Transformer/
H A DRewriteRule.h121 EditGenerator edit(ASTEdit E);
149 return ifBound(std::move(ID), edit(std::move(TrueEdit)), in ifBound()
150 edit(std::move(FalseEdit))); in ifBound()
156 return ifBound(std::move(ID), edit(std::move(TrueEdit)), noEdits()); in ifBound()
168 inline EditGenerator injectEdits(ASTEdit E) { return edit(std::move(E)); } in injectEdits()
/llvm-project/clang/tools/clang-format/
H A Dclang-format-sublime.py31 def run(self, edit): argument
65 edit, sublime.Region(0, self.view.size()), output.decode(encoding)
/llvm-project/llvm/docs/
H A DGettingInvolved.rst155 - `Minutes/docs <https://docs.google.com/document/d/1sdzoyB11s0ccTZ3fobqctDpgJmRoFcz0sviKxqczs4g/edit>`__
164 - `Minutes/docs <https://docs.google.com/document/d/1JecbplF09l3swTjze-UVeLh4L48svJxGVy4mz_e9Rhs/edit?usp=gmail#heading=h.ts9cmcjbir1j>`__
173 - `Minutes/docs <https://docs.google.com/document/d/1fOSRdyZR2w75D87yU2Ma9h2-_lEPL4NxvhJGJd-s5pk/edit#heading=h.mulvhjtr8dk9>`__
194 - `Minutes/docs <https://docs.google.com/document/d/1GahxppHJ7o1O_fn1Mbidu1DHEg7V2aOr92LXCtNV1_o/edit?usp=sharing>`__
198 - `Minutes/docs <https://docs.google.com/document/d/1x5-RbOC6-jnI_NcJ9Dp4pSmGhhNe7lUevuWUIB46TeM/edit?usp=sharing>`__
202 - `Meeting details/agenda <https://docs.google.com/document/d/1UjX-LAwPjJ75Nmb8a5jz-Qrm-pPtKtQw0k1S1Lop9jU/edit?usp=sharing>`__
206 - `Meeting details/agenda <https://docs.google.com/document/d/1ivYDSn_5ChTeiZ7TiO64WC_jYJnGwAUiT9Ngi9cAdFU/edit?usp=sharing>`__
215 - `Meeting details/agenda: <https://docs.google.com/document/d/1Glzy2JiWuysbD-HBWGUOkZqT09GJ4_Ljodr0lXD5XfQ/edit>`__
241 - `Minutes/docs <https://docs.google.com/document/d/1UPH2Hzou5RgGT8XfO39OmVXKEibWPfdYLELSaHr3xzo/edit>`__
246 - `Minutes/docs <https://docs.google.com/document/d/1-uEEZfmRdPThZlctOq9eXlmUaSSAAi8oKxhrPY_lpjk/edit#>`_
[all...]
/llvm-project/mlir/lib/Tools/mlir-lsp-server/
H A DMLIRServer.cpp916 lsp::TextEdit edit; in getCodeActionForDiagnostic() local
917 edit.range = lsp::Range(lsp::Position(pos.line, 0)); in getCodeActionForDiagnostic()
924 edit.newText.append(indent, ' '); in getCodeActionForDiagnostic()
925 llvm::raw_string_ostream(edit.newText) in getCodeActionForDiagnostic()
927 edits.emplace_back(std::move(edit)); in getCodeActionForDiagnostic()
1173 for (lsp::TextEdit &edit : item.additionalTextEdits) in getCodeCompletion()
1174 chunk.adjustLocForChunkOffset(edit.range); in getCodeCompletion()
1224 for (lsp::TextEdit &edit : edits) in getCodeActions()
1225 chunk.adjustLocForChunkOffset(edit.range); in getCodeActions()
1227 action.edit.emplace(); in getCodeActions()
[all …]
/llvm-project/clang/docs/
H A DClangTransformerTutorial.rst28 target of the transformation, they specify an *edit* to the code identified by
29 the pattern, and their pattern and edit refer to common variables, like ``s``,
33 even though it doesn't change any of the code -- it's "edit" is simply a no-op.
78 arguments: the pattern, the edit, and (optionally) an explanatory note. In our
81 fix, our edit is an no-op. But, it contains an *anchor* for the diagnostic
106 example. Our edit (``changeTo(...)``) says to *change* the code matched by the
142 target to ``s`` [#f1]_. For the edit, we again use ``changeTo``, but this
235 source code affected by an edit and to extract source code in constructing new
293 We are not limited one edit per match found. Some situations require making
312 also support a very general signature for edit generator
[all...]
/llvm-project/clang/tools/clang-format-vs/ClangFormat/
H A DClangFormatPackage.cs
/llvm-project/llvm/docs/AMDGPU/
H A Dgfx11_vparam0.rst4 * Automatically generated file, do not edit! *
H A Dgfx11_vparam.rst4 * Automatically generated file, do not edit! *
H A Dgfx11_vij.rst4 * Automatically generated file, do not edit! *
H A Dgfx908_vsrc_1027ca.rst4 * Automatically generated file, do not edit! *
H A Dgfx90a_vsrc_1027ca.rst4 * Automatically generated file, do not edit! *
H A Dgfx10_vdst_69a144.rst4 * Automatically generated file, do not edit! *
H A Dgfx10_vdst_89680f.rst4 * Automatically generated file, do not edit! *

12345678910>>...43