Lines Matching refs:LineBreaks
504 unsigned &LineBreaks, bool &IsDone);
1574 unsigned LineBreaks, StringRef Str) { in getChompedLineBreaks() argument
1578 return LineBreaks; in getChompedLineBreaks()
1622 unsigned &LineBreaks, bool &IsDone) { in findBlockScalarIndent() argument
1662 ++LineBreaks; in findBlockScalarIndent()
1712 unsigned LineBreaks = 0; in scanBlockScalar() local
1714 if (!findBlockScalarIndent(BlockIndent, BlockExitIndent, LineBreaks, in scanBlockScalar()
1731 if (LineBreaks && IsFolded && !Scanner::isLineEmpty(Str)) { in scanBlockScalar()
1735 if (LineBreaks == 1) { in scanBlockScalar()
1736 Str.append(LineBreaks, in scanBlockScalar()
1745 LineBreaks--; in scanBlockScalar()
1747 Str.append(LineBreaks, '\n'); in scanBlockScalar()
1749 LineBreaks = 0; in scanBlockScalar()
1758 ++LineBreaks; in scanBlockScalar()
1761 if (Current == End && !LineBreaks) in scanBlockScalar()
1763 LineBreaks = 1; in scanBlockScalar()
1764 Str.append(getChompedLineBreaks(ChompingIndicator, LineBreaks, Str), '\n'); in scanBlockScalar()