Home
last modified time | relevance | path

Searched refs:LineIndex (Results 1 – 12 of 12) 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
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 …]
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.cpp1161 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/
DGCOV.cpp591 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/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DGCOV.cpp613 for (uint32_t LineIndex = 0; LineIndex < Line.LastLine || !AllLines.empty(); in print() local
614 ++LineIndex) { in print()
616 FunctionLines::const_iterator FuncsIt = Line.Functions.find(LineIndex); in print()
621 BlockLines::const_iterator BlocksIt = Line.Blocks.find(LineIndex); in print()
625 AllLines.printNext(CovOS, LineIndex + 1); in print()
685 AllLines.printNext(CovOS, LineIndex + 1); in print()
691 if (Block->getLastLine() != LineIndex + 1) in print()
694 printBlockInfo(CovOS, *Block, LineIndex, BlockNo); in print()
734 uint32_t LineIndex, uint32_t &BlockNo) const { in printBlockInfo() argument
739 OS << format("%5u-block %2u\n", LineIndex + 1, BlockNo++); in printBlockInfo()
/external/clang/lib/Parse/
DParseStmtAsm.cpp247 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/
Draw_ostream.cpp366 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/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
Draw_ostream.cpp387 size_t LineIndex = 0; in operator <<() local
414 llvm::write_hex(*this, Offset + LineIndex, HPS, OffsetWidth); in operator <<()
448 LineIndex += Line.size(); in operator <<()
449 if (LineIndex < Size) in operator <<()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DGCOV.h437 uint32_t LineIndex, uint32_t &BlockNo) const;
/external/llvm/include/llvm/Support/
DGCOV.h422 uint32_t LineIndex, uint32_t &BlockNo) const;
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
DBreakableToken-reduced.ll212 …format::BreakableStringLiteral"* nocapture readonly %this, i32 zeroext %LineIndex, i32 zeroext %Ta…
/external/llvm/test/CodeGen/PowerPC/
DBreakableToken-reduced.ll212 …format::BreakableStringLiteral"* nocapture readonly %this, i32 zeroext %LineIndex, i32 zeroext %Ta…