Home
last modified time | relevance | path

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

/external/clang/lib/Format/
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 …]
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
219 BreakableLineComment::getSplit(unsigned LineIndex, unsigned TailOffset, in getSplit() argument
225 void BreakableLineComment::insertBreak(unsigned LineIndex, unsigned TailOffset, in insertBreak() argument
233 void BreakableLineComment::replaceWhitespace(unsigned LineIndex, in replaceWhitespace() argument
243 unsigned LineIndex, WhitespaceManager &Whitespaces) { in replaceWhitespaceBefore() argument
326 void BreakableBlockComment::adjustWhitespace(unsigned LineIndex, in adjustWhitespace() argument
333 size_t EndOfPreviousLine = Lines[LineIndex - 1].size(); in adjustWhitespace()
334 if (InPPDirective && Lines[LineIndex - 1].endswith("\\")) in adjustWhitespace()
[all …]
DContinuationIndenter.cpp1106 for (unsigned LineIndex = 0, EndIndex = Token->getLineCount(); in breakProtrudingToken() local
1107 LineIndex != EndIndex; ++LineIndex) { in breakProtrudingToken()
1109 Token->replaceWhitespaceBefore(LineIndex, Whitespaces); in breakProtrudingToken()
1112 Token->getLineLengthAfterSplit(LineIndex, TailOffset, StringRef::npos); in breakProtrudingToken()
1115 Token->getSplit(LineIndex, TailOffset, ColumnLimit); in breakProtrudingToken()
1118 if (LineIndex < EndIndex - 1) in breakProtrudingToken()
1125 LineIndex, TailOffset + Split.first + Split.second, StringRef::npos); in breakProtrudingToken()
1131 Token->replaceWhitespace(LineIndex, TailOffset, Split, Whitespaces); in breakProtrudingToken()
1143 Token->insertBreak(LineIndex, TailOffset, Split, Whitespaces); in breakProtrudingToken()
1146 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.cpp250 unsigned LineIndex = 0; in ParseMSAsmIdentifier() local
252 LineIndex = LineToks.size() - 2; in ParseMSAsmIdentifier()
254 while (LineToks[LineIndex].getLocation() != Tok.getLocation()) { in ParseMSAsmIdentifier()
255 LineIndex++; in ParseMSAsmIdentifier()
256 assert(LineIndex < LineToks.size() - 2); // we added two extra tokens in ParseMSAsmIdentifier()
266 NumLineToksConsumed = LineIndex; in ParseMSAsmIdentifier()
271 for (unsigned i = 0, e = LineToks.size() - LineIndex - 2; i != e; ++i) { in ParseMSAsmIdentifier()
/external/llvm/include/llvm/Support/
DGCOV.h422 uint32_t LineIndex, uint32_t &BlockNo) const;
/external/llvm/test/CodeGen/PowerPC/
DBreakableToken-reduced.ll212 …format::BreakableStringLiteral"* nocapture readonly %this, i32 zeroext %LineIndex, i32 zeroext %Ta…