Home
last modified time | relevance | path

Searched full:linestate (Results 1 – 21 of 21) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Format/
H A DContinuationIndenter.h29 struct LineState;
61 LineState getInitialState(unsigned FirstIndent, unsigned FirstStartColumn,
67 bool canBreak(const LineState &State);
70 bool mustBreak(const LineState &State);
80 unsigned addTokenToState(LineState &State, bool Newline, bool DryRun,
85 unsigned getColumnLimit(const LineState &State) const;
90 unsigned moveStateToNextToken(LineState &State, bool DryRun, bool Newline);
93 void moveStatePastFakeLParens(LineState &State, bool Newline);
95 void moveStatePastFakeRParens(LineState &State);
98 void moveStatePastScopeOpener(LineState &State, bool Newline);
[all …]
H A DContinuationIndenter.cpp246 LineState ContinuationIndenter::getInitialState(unsigned FirstIndent, in getInitialState()
250 LineState State; in getInitialState()
290 bool ContinuationIndenter::canBreak(const LineState &State) { in canBreak()
371 bool ContinuationIndenter::mustBreak(const LineState &State) { in mustBreak()
633 unsigned ContinuationIndenter::addTokenToState(LineState &State, bool Newline, in addTokenToState()
672 void ContinuationIndenter::addTokenOnCurrentLine(LineState &State, bool DryRun, in addTokenOnCurrentLine()
940 unsigned ContinuationIndenter::addTokenOnNewLine(LineState &State, in addTokenOnNewLine()
1207 unsigned ContinuationIndenter::getNewLineColumn(const LineState &State) { in getNewLineColumn()
1495 unsigned ContinuationIndenter::moveStateToNextToken(LineState &State, in moveStateToNextToken()
1675 void ContinuationIndenter::moveStatePastFakeLParens(LineState &State, in moveStatePastFakeLParens()
[all …]
H A DUnwrappedLineFormatter.cpp982 static void printLineState(const LineState &State) { in printLineState()
1029 bool formatChildren(LineState &State, bool NewLine, bool DryRun, in formatChildren()
1111 LineState State = Indenter->getInitialState(FirstIndent, FirstStartColumn, in formatLine()
1137 LineState State = in formatLine()
1161 LineState State = in formatLine()
1175 bool operator()(LineState *obj1, LineState *obj2) const { in operator ()()
1190 StateNode(const LineState &State, bool NewLine, StateNode *Previous) in StateNode()
1192 LineState State;
1214 unsigned analyzeSolutionSpace(LineState &InitialState, bool DryRun) { in analyzeSolutionSpace()
1215 std::set<LineState *, CompareLineStatePointers> Seen; in analyzeSolutionSpace()
[all …]
H A DFormatToken.cpp88 unsigned CommaSeparatedList::formatAfterToken(LineState &State, in formatAfterToken()
148 unsigned CommaSeparatedList::formatFromToken(LineState &State, in formatFromToken()
H A DBreakableToken.h228 virtual void updateNextToken(LineState &State) const {} in updateNextToken()
496 void updateNextToken(LineState &State) const override;
H A DFormatToken.h930 struct LineState;
947 virtual unsigned formatFromToken(LineState &State, in formatFromToken()
955 virtual unsigned formatAfterToken(LineState &State, in formatAfterToken()
977 unsigned formatAfterToken(LineState &State, ContinuationIndenter *Indenter,
980 unsigned formatFromToken(LineState &State, ContinuationIndenter *Indenter,
H A DBreakableToken.cpp1145 void BreakableLineCommentSection::updateNextToken(LineState &State) const { in updateNextToken()
H A DUnwrappedLineParser.cpp989 ScopedLineState LineState(*this); in parseChildBlock() local
/freebsd/sys/contrib/device-tree/Bindings/phy/
H A Dphy-rockchip-inno-usb2.yaml75 description: host linestate interrupt
79 const: linestate
103 - const: linestate
108 - const: linestate
177 interrupt-names = "linestate";
185 interrupt-names = "otg-bvalid", "otg-id", "linestate";
H A Drockchip,inno-usb2phy.yaml84 description: host linestate interrupt
88 const: linestate
112 - const: linestate
117 - const: linestate
192 interrupt-names = "linestate";
200 interrupt-names = "otg-bvalid", "otg-id", "linestate";
/freebsd/contrib/unifdef/
H A Dunifdef.c211 static Line_state linestate; /* #if line parser state */ variable
791 * parser state between calls in the global variable linestate, with
861 if (linestate == LS_HASH) { in parseline()
869 linestate = LS_START; in parseline()
876 if (retval != LT_PLAIN && (wascomment || linestate != LS_START)) { in parseline()
878 linestate = LS_DIRTY; in parseline()
882 comment_name[incomment], linestate_name[linestate]); in parseline()
1212 if (linestate == LS_START && *cp == '#') { in skiphash()
1213 linestate = LS_HASH; in skiphash()
1231 linestate = LS_DIRTY; in skipline()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/soc/rockchip/
H A Dgrf.yaml283 interrupt-names = "linestate";
292 "linestate";
/freebsd/sys/contrib/device-tree/src/arm/rockchip/
H A Drk322x.dtsi270 "linestate";
277 interrupt-names = "linestate";
294 interrupt-names = "linestate";
301 interrupt-names = "linestate";
H A Drk3128.dtsi422 interrupt-names = "linestate";
432 "linestate";
H A Drv1108.dtsi281 interrupt-names = "linestate";
/freebsd/sys/contrib/device-tree/Bindings/usb/
H A Ddwc3.txt75 - snps,dis-tx-ipgap-linecheck-quirk: when set, disable u2mac linestate check
H A Dsnps,dwc3.yaml231 description: When set, disable u2mac linestate check during HS transmit
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3399.dtsi1567 interrupt-names = "linestate";
1577 "linestate";
1594 interrupt-names = "linestate";
1604 "linestate";
H A Drk3308.dtsi209 "linestate";
216 interrupt-names = "linestate";
H A Drk3328.dtsi855 "linestate";
862 interrupt-names = "linestate";
H A Dpx30.dtsi887 interrupt-names = "linestate";
897 "linestate";