/external/clang/lib/Format/ |
D | BreakableToken.cpp | 137 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 …]
|
D | BreakableToken.h | 51 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 …]
|
D | ContinuationIndenter.cpp | 1161 for (unsigned LineIndex = 0, EndIndex = Token->getLineCount(); in breakProtrudingToken() local 1162 LineIndex != EndIndex; ++LineIndex) { in breakProtrudingToken() 1164 Token->replaceWhitespaceBefore(LineIndex, Whitespaces); in breakProtrudingToken() 1167 Token->getLineLengthAfterSplit(LineIndex, TailOffset, StringRef::npos); in breakProtrudingToken() 1170 Token->getSplit(LineIndex, TailOffset, ColumnLimit); in breakProtrudingToken() 1173 if (LineIndex < EndIndex - 1) in breakProtrudingToken() 1180 LineIndex, TailOffset + Split.first + Split.second, StringRef::npos); in breakProtrudingToken() 1186 Token->replaceWhitespace(LineIndex, TailOffset, Split, Whitespaces); in breakProtrudingToken() 1198 Token->insertBreak(LineIndex, TailOffset, Split, Whitespaces); in breakProtrudingToken() 1201 Token->getLineLengthAfterSplit(LineIndex, TailOffset, Split.first); in breakProtrudingToken()
|
/external/llvm/lib/IR/ |
D | GCOV.cpp | 591 for (uint32_t LineIndex = 0; LineIndex < Line.LastLine || !AllLines.empty(); in print() local 592 ++LineIndex) { in print() 594 FunctionLines::const_iterator FuncsIt = Line.Functions.find(LineIndex); in print() 599 BlockLines::const_iterator BlocksIt = Line.Blocks.find(LineIndex); in print() 603 AllLines.printNext(CovOS, LineIndex + 1); in print() 663 AllLines.printNext(CovOS, LineIndex + 1); in print() 669 if (Block->getLastLine() != LineIndex + 1) in print() 672 printBlockInfo(CovOS, *Block, LineIndex, BlockNo); in print() 712 uint32_t LineIndex, uint32_t &BlockNo) const { in printBlockInfo() argument 717 OS << format("%5u-block %2u\n", LineIndex + 1, BlockNo++); in printBlockInfo()
|
/external/clang/lib/Parse/ |
D | ParseStmtAsm.cpp | 247 unsigned LineIndex = 0; in ParseMSAsmIdentifier() local 249 LineIndex = LineToks.size() - 2; in ParseMSAsmIdentifier() 251 while (LineToks[LineIndex].getLocation() != Tok.getLocation()) { in ParseMSAsmIdentifier() 252 LineIndex++; in ParseMSAsmIdentifier() 253 assert(LineIndex < LineToks.size() - 2); // we added two extra tokens in ParseMSAsmIdentifier() 263 NumLineToksConsumed = LineIndex; in ParseMSAsmIdentifier() 268 for (unsigned i = 0, e = LineToks.size() - LineIndex - 2; i != e; ++i) { in ParseMSAsmIdentifier()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | raw_ostream.cpp | 366 size_t LineIndex = 0; in operator <<() local 393 llvm::write_hex(*this, Offset + LineIndex, HPS, OffsetWidth); in operator <<() 427 LineIndex += Line.size(); in operator <<() 428 if (LineIndex < Size) in operator <<()
|
/external/llvm/include/llvm/Support/ |
D | GCOV.h | 422 uint32_t LineIndex, uint32_t &BlockNo) const;
|
/external/llvm/test/CodeGen/PowerPC/ |
D | BreakableToken-reduced.ll | 212 …format::BreakableStringLiteral"* nocapture readonly %this, i32 zeroext %LineIndex, i32 zeroext %Ta…
|