Home
last modified time | relevance | path

Searched refs:LineState (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Format/
DContinuationIndenter.h31 struct LineState;
47 LineState getInitialState(unsigned FirstIndent, const AnnotatedLine *Line,
53 bool canBreak(const LineState &State);
56 bool mustBreak(const LineState &State);
66 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
71 unsigned getColumnLimit(const LineState &State) const;
76 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
79 void moveStatePastFakeLParens(LineState &State, bool Newline);
81 void moveStatePastFakeRParens(LineState &State);
84 void moveStatePastScopeOpener(LineState &State, bool Newline);
[all …]
DUnwrappedLineFormatter.h53 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()
55 LineState State;
110 bool operator()(LineState *obj1, LineState *obj2) const { in operator()
123 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun = false);
125 void reconstructPath(LineState &State, StateNode *Current);
154 bool formatChildren(LineState &State, bool NewLine, bool DryRun,
DContinuationIndenter.cpp70 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState()
73 LineState State; in getInitialState()
92 bool ContinuationIndenter::canBreak(const LineState &State) { in canBreak()
135 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak()
241 unsigned ContinuationIndenter::addTokenToState(LineState &State, bool Newline, in addTokenToState()
276 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, in addTokenOnCurrentLine()
381 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine()
509 unsigned ContinuationIndenter::getNewLineColumn(const LineState &State) { in getNewLineColumn()
608 unsigned ContinuationIndenter::moveStateToNextToken(LineState &State, in moveStateToNextToken()
713 void ContinuationIndenter::moveStatePastFakeLParens(LineState &State, in moveStatePastFakeLParens()
[all …]
DFormatToken.h431 struct LineState;
448 virtual unsigned formatFromToken(LineState &State, in formatFromToken()
456 virtual unsigned formatAfterToken(LineState &State, in formatAfterToken()
476 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,
479 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
DUnwrappedLineFormatter.cpp311 LineState State = in format()
423 LineState State = Indenter->getInitialState(Indent, &TheLine, DryRun); in format()
477 LineState State = Indenter->getInitialState(FirstIndent, &Line, DryRun); in format()
556 unsigned UnwrappedLineFormatter::analyzeSolutionSpace(LineState &InitialState, in analyzeSolutionSpace()
558 std::set<LineState *, CompareLineStatePointers> Seen; in analyzeSolutionSpace()
617 static void printLineState(const LineState &State) { in printLineState()
627 void UnwrappedLineFormatter::reconstructPath(LineState &State, in reconstructPath()
672 bool UnwrappedLineFormatter::formatChildren(LineState &State, bool NewLine, in formatChildren()
DFormatToken.cpp59 unsigned CommaSeparatedList::formatAfterToken(LineState &State, in formatAfterToken()
114 unsigned CommaSeparatedList::formatFromToken(LineState &State, in formatFromToken()
DUnwrappedLineParser.cpp460 ScopedLineState LineState(*this); in parseChildBlock() local
/external/deqp/framework/referencerenderer/
DrrRenderState.hpp305 struct LineState struct
309 LineState (void) in LineState() argument
364 LineState line;