Home
last modified time | relevance | path

Searched refs:LineIndex (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/Format/
DBreakableToken.cpp137 unsigned LineIndex, unsigned Offset, StringRef::size_type Length) const { in getLineLengthAfterSplit() argument
163 BreakableStringLiteral::getSplit(unsigned LineIndex, unsigned TailOffset, in getSplit() argument
170 void BreakableStringLiteral::insertBreak(unsigned LineIndex, in insertBreak() argument
217 BreakableLineComment::getSplit(unsigned LineIndex, unsigned TailOffset, in getSplit() argument
223 void BreakableLineComment::insertBreak(unsigned LineIndex, unsigned TailOffset, in insertBreak() argument
231 void BreakableLineComment::replaceWhitespace(unsigned LineIndex, in replaceWhitespace() argument
241 BreakableLineComment::replaceWhitespaceBefore(unsigned LineIndex, in replaceWhitespaceBefore() argument
319 void BreakableBlockComment::adjustWhitespace(unsigned LineIndex, in adjustWhitespace() argument
326 size_t EndOfPreviousLine = Lines[LineIndex - 1].size(); in adjustWhitespace()
327 if (InPPDirective && Lines[LineIndex - 1].endswith("\\")) in adjustWhitespace()
[all …]
DBreakableToken.h51 getLineLengthAfterSplit(unsigned LineIndex, unsigned Offset,
57 virtual Split getSplit(unsigned LineIndex, unsigned TailOffset,
61 virtual void insertBreak(unsigned LineIndex, unsigned TailOffset, Split Split,
66 virtual void replaceWhitespace(unsigned LineIndex, unsigned TailOffset,
71 virtual void replaceWhitespaceBefore(unsigned LineIndex, in replaceWhitespaceBefore() argument
94 unsigned getLineLengthAfterSplit(unsigned LineIndex, unsigned TailOffset,
125 Split getSplit(unsigned LineIndex, unsigned TailOffset,
127 void insertBreak(unsigned LineIndex, unsigned TailOffset, Split Split,
129 void replaceWhitespace(unsigned LineIndex, unsigned TailOffset, Split Split, in replaceWhitespace() argument
143 Split getSplit(unsigned LineIndex, unsigned TailOffset,
[all …]
DContinuationIndenter.cpp1004 for (unsigned LineIndex = 0, EndIndex = Token->getLineCount(); in breakProtrudingToken() local
1005 LineIndex != EndIndex; ++LineIndex) { in breakProtrudingToken()
1007 Token->replaceWhitespaceBefore(LineIndex, Whitespaces); in breakProtrudingToken()
1010 Token->getLineLengthAfterSplit(LineIndex, TailOffset, StringRef::npos); in breakProtrudingToken()
1013 Token->getSplit(LineIndex, TailOffset, ColumnLimit); in breakProtrudingToken()
1016 if (LineIndex < EndIndex - 1) in breakProtrudingToken()
1023 LineIndex, TailOffset + Split.first + Split.second, StringRef::npos); in breakProtrudingToken()
1029 Token->replaceWhitespace(LineIndex, TailOffset, Split, Whitespaces); in breakProtrudingToken()
1041 Token->insertBreak(LineIndex, TailOffset, Split, Whitespaces); in breakProtrudingToken()
1044 Token->getLineLengthAfterSplit(LineIndex, TailOffset, Split.first); in breakProtrudingToken()
/external/llvm/lib/IR/
DGCOV.cpp586 for (uint32_t LineIndex = 0; LineIndex < Line.LastLine || !AllLines.empty(); in print() local
587 ++LineIndex) { in print()
589 FunctionLines::const_iterator FuncsIt = Line.Functions.find(LineIndex); in print()
594 BlockLines::const_iterator BlocksIt = Line.Blocks.find(LineIndex); in print()
598 AllLines.printNext(CovOS, LineIndex + 1); in print()
658 AllLines.printNext(CovOS, LineIndex + 1); in print()
664 if (Block->getLastLine() != LineIndex + 1) in print()
667 printBlockInfo(CovOS, *Block, LineIndex, BlockNo); in print()
708 uint32_t LineIndex, uint32_t &BlockNo) const { in printBlockInfo() argument
713 OS << format("%5u-block %2u\n", LineIndex + 1, BlockNo++); in printBlockInfo()
/external/clang/lib/Parse/
DParseStmtAsm.cpp226 unsigned LineIndex = 0; in ParseMSAsmIdentifier() local
228 LineIndex = LineToks.size() - 2; in ParseMSAsmIdentifier()
230 while (LineToks[LineIndex].getLocation() != Tok.getLocation()) { in ParseMSAsmIdentifier()
231 LineIndex++; in ParseMSAsmIdentifier()
232 assert(LineIndex < LineToks.size() - 2); // we added two extra tokens in ParseMSAsmIdentifier()
242 NumLineToksConsumed = LineIndex; in ParseMSAsmIdentifier()
247 for (unsigned i = 0, e = LineToks.size() - LineIndex - 2; i != e; ++i) { in ParseMSAsmIdentifier()
/external/llvm/include/llvm/Support/
DGCOV.h417 uint32_t LineIndex, uint32_t &BlockNo) const;