HomeSort by relevance Sort by last modified time
    Searched refs:Lines (Results 1 - 25 of 39) sorted by null

1 2

  /external/clang/lib/Format/
BreakableToken.cpp 259 TokenText.substr(2, TokenText.size() - 4).split(Lines, "\n");
262 LeadingWhitespace.resize(Lines.size());
263 StartOfLineColumn.resize(Lines.size());
265 for (size_t i = 1; i < Lines.size(); ++i)
269 if (Lines.size() == 1 && !FirstInLine) {
272 // lines with the first one.
277 for (size_t i = 1, e = Lines.size(); i < e && !Decoration.empty(); ++i) {
279 if (i + 1 == e && Lines[i].empty())
281 if (!Lines[i].empty() && i + 1 != e && Decoration.startswith(Lines[i])
    [all...]
UnwrappedLineFormatter.h 12 /// linebreaks unwrapped lines can be formatted in.
42 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines,
UnwrappedLineParser.h 35 /// within an unwrapped line does not affect any other unwrapped lines.
134 // Comments are sorted into unwrapped lines by whether they are in the same
142 // The parsed lines. Only added to through \c CurrentLines.
143 SmallVector<UnwrappedLine, 8> Lines;
145 // Preprocessor directives are parsed out-of-order from other unwrapped lines.
150 // New unwrapped lines are added via CurrentLines.
151 // Usually points to \c &Lines. While parsing a preprocessor directive when
UnwrappedLineFormatter.cpp 35 /// subsequent lines on the same level to be indented at the same level as the
70 /// When a line is not formatted, we move the subsequent lines on the same
132 const SmallVectorImpl<AnnotatedLine *> &Lines)
133 : Style(Style), Keywords(Keywords), End(Lines.end()),
134 Next(Lines.begin()) {}
136 /// \brief Returns the next line, merging multiple lines into one if possible.
147 // input lines.
159 /// \brief Calculates how many lines can be merged into 1 starting at \p I.
371 // Check that we still have three lines and they fit into the limit.
502 /// If \p NewLine is true, we format the nested block on separate lines, i.e
    [all...]
BreakableToken.h 13 /// break long lines in tokens.
41 /// \brief Returns the number of lines in this token in the original code.
183 // Rearranges the whitespace between Lines[LineIndex-1] and Lines[LineIndex],
184 // so that all whitespace between the lines is accounted to Lines[LineIndex]
186 // - Lines[LineIndex] points to the text after that whitespace
187 // - Lines[LineIndex-1] shrinks by its trailing whitespace
189 // between the end of the text of Lines[LineIndex-1] and Lines[LineIndex
    [all...]
TokenAnnotator.h 114 /// \c True if the leading empty lines of this line intersect with one of the
146 /// \brief Adapts the indent levels of comment lines to the indent of the
149 void setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines);
UnwrappedLineParser.cpp 205 CurrentLines(&Lines), Style(Style), Keywords(Keywords), Tokens(nullptr),
215 CurrentLines = &Lines;
234 for (SmallVectorImpl<UnwrappedLine>::iterator I = Lines.begin(),
235 E = Lines.end();
240 Lines.clear();
625 // trailing semicolons from other constructs split to several lines.
    [all...]
  /external/llvm/lib/Support/
Host.cpp 636 SmallVector<StringRef, 32> Lines;
637 Str.split(Lines, "\n");
641 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
642 if (Lines[I].startswith("CPU implementer"))
643 Implementer = Lines[I].substr(15).ltrim("\t :");
647 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
648 if (Lines[I].startswith("CPU part"))
652 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :"))
668 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
669 if (Lines[I].startswith("CPU part")
    [all...]
Signals.cpp 133 SmallVector<StringRef, 32> Lines;
134 Output.split(Lines, "\n");
135 auto CurLine = Lines.begin();
142 // Read pairs of lines (function name and file/line info) until we
145 if (CurLine == Lines.end())
153 if (CurLine == Lines.end())
SpecialCaseList.cpp 89 SmallVector<StringRef, 16> Lines;
90 SplitString(MB->getBuffer(), Lines, "\n\r");
92 for (auto I = Lines.begin(), E = Lines.end(); I != E; ++I, ++LineNo) {
93 // Ignore empty lines and lines starting with "#"
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/m68hc11/
malis-include.s 13 ;; Lines starting with '#' represent instructions that fail in GAS.
  /build/kati/testcase/
multiline_recipe.mk 7 # http://www.gnu.org/software/make/manual/make.html#Splitting-Recipe-Lines
  /external/llvm/lib/ExecutionEngine/IntelJITEvents/
IntelJITEventListener.cpp 135 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size);
136 DILineInfoTable::iterator Begin = Lines.begin();
137 DILineInfoTable::iterator End = Lines.end();
159 SourceFileName = Lines.front().second.FileName;
  /external/deqp/framework/referencerenderer/
rrPrimitiveTypes.hpp 38 PRIMITIVETYPE_LINES, //!< Separate lines
44 PRIMITIVETYPE_LINES_ADJACENCY, //!< Separate lines (adjacency)
56 template <> struct PrimitiveTypeTraits<PRIMITIVETYPE_LINES> { typedef pa::Line Type; typedef pa::Line BaseType; typedef pa::Lines Assembler; };
  /external/llvm/include/llvm/Support/
GCOV.h 316 DstEdges(), Lines() {}
319 void addLine(uint32_t N) { Lines.push_back(N); }
320 uint32_t getLastLine() const { return Lines.back(); }
361 SmallVector<uint32_t, 16> Lines;
  /external/llvm/lib/Transforms/Instrumentation/
GCOVProfiling.cpp 208 // list of line numbers and a single filename, representing lines that belong
214 Lines.push_back(Line);
219 return lengthOfGCOVString(Filename) + 2 + Lines.size();
225 for (int i = 0, e = Lines.size(); i != e; ++i)
226 write(Lines[i]);
236 SmallVector<uint32_t, 32> Lines;
241 // function, number of lines belonging to each block, and a set of edges to
246 GCOVLines *&Lines = LinesByFile[Filename];
247 if (!Lines) {
248 Lines = new GCOVLines(Filename, os)
    [all...]
  /external/llvm/lib/DebugInfo/DWARF/
DWARFContext.cpp 476 DILineInfoTable Lines;
479 return Lines;
489 Lines.push_back(std::make_pair(Address, Result));
490 return Lines;
498 return Lines;
509 Lines.push_back(std::make_pair(Row.Address, Result));
512 return Lines;
  /external/llvm/lib/IR/
GCOV.cpp 225 // Read lines up to, but not including, the null terminator.
370 Lines.clear();
395 for (uint32_t N : Lines)
414 if (!Lines.empty()) {
416 for (uint32_t N : Lines)
622 // 1) Ensure that the number of logical lines is only incremented
625 // number of lines executed is incremented as long as at least
757 OS << format("Lines executed:%.2f%% of %u\n",
  /external/clang/unittests/AST/
CommentParser.cpp 488 struct Lines {};
504 << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
516 Lines,
525 << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
531 << "VerbatimBlockComment has lines[0] \"" << ActualLine0.str() << "\", "
543 Lines,
553 << "VerbatimBlockComment has " << VBC->getNumLines() << " lines(s), "
559 << "VerbatimBlockComment has lines[0] \"" << ActualLine0.str() << "\", "
565 << "VerbatimBlockComment has lines[1] \"" << ActualLine1.str() << "\", "
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
scesvc.h 53 PSCESVC_CONFIGURATION_LINE Lines;
77 PSCESVC_ANALYSIS_LINE Lines;
  /external/clang/include/clang/AST/
Comment.h 895 /// opening and a closing command and contains multiple lines of text
901 ArrayRef<VerbatimBlockLineComment *> Lines;
917 return reinterpret_cast<child_iterator>(Lines.begin());
921 return reinterpret_cast<child_iterator>(Lines.end());
930 Lines = L;
938 return Lines.size();
942 return Lines[LineIdx]->getText();
CommentSema.h 164 ArrayRef<VerbatimBlockLineComment *> Lines);
  /external/clang/lib/AST/
CommentParser.cpp 668 SmallVector<VerbatimBlockLineComment *, 8> Lines;
684 Lines.push_back(Line);
691 S.copyArray(llvm::makeArrayRef(Lines)));
696 S.copyArray(llvm::makeArrayRef(Lines)));
  /external/deqp/framework/opengl/
gluDrawUtil.hpp 231 DECLARE_PR_CTOR(Lines, PRIMITIVETYPE_LINES);
  /external/llvm/tools/llvm-rtdyld/
llvm-rtdyld.cpp 359 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size);
360 for (auto &D : Lines) {

Completed in 783 milliseconds

1 2