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

1 2

  /external/clang/lib/Format/
BreakableToken.cpp 258 TokenText.substr(2, TokenText.size() - 4).split(Lines, "\n");
261 LeadingWhitespace.resize(Lines.size());
262 StartOfLineColumn.resize(Lines.size());
264 for (size_t i = 1; i < Lines.size(); ++i)
268 if (Lines.size() == 1 && !FirstInLine) {
271 // lines with the first one.
276 for (size_t i = 1, e = Lines.size(); i < e && !Decoration.empty(); ++i) {
278 if (i + 1 == e && Lines[i].empty())
280 while (!Lines[i].startswith(Decoration))
286 for (size_t i = 1; i < Lines.size(); ++i)
    [all...]
UnwrappedLineParser.h 34 /// within an unwrapped line does not affect any other unwrapped lines.
129 // Comments are sorted into unwrapped lines by whether they are in the same
137 // The parsed lines. Only added to through \c CurrentLines.
138 SmallVector<UnwrappedLine, 8> Lines;
140 // Preprocessor directives are parsed out-of-order from other unwrapped lines.
145 // New unwrapped lines are added via CurrentLines.
146 // Usually points to \c &Lines. While parsing a preprocessor directive when
TokenAnnotator.h 94 /// \c True if the leading empty lines of this line intersect with one of the
114 /// \brief Adapts the indent levels of comment lines to the indent of the
117 void setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines);
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...]
UnwrappedLineParser.cpp 209 CurrentLines(&Lines), StructuralError(false), Style(Style),
220 CurrentLines = &Lines;
240 for (SmallVectorImpl<UnwrappedLine>::iterator I = Lines.begin(),
241 E = Lines.end();
246 Lines.clear();
591 // trailing semicolons from other constructs split to several lines.
    [all...]
Format.cpp 570 /// \brief Calculates how many lines can be merged into 1 starting at \p I.
732 // Check that we still have three lines and they fit into the limit.
799 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines, bool DryRun,
803 &Lines, AdditionalIndent);
808 assert(!Lines.empty());
811 for (unsigned i = 0, e = Lines[0]->Level; i != e; ++i)
814 for (SmallVectorImpl<AnnotatedLine *>::const_iterator I = Lines.begin(),
815 E = Lines.end();
821 // Determine indent and try to merge multiple unwrapped lines.
835 // Merge multiple lines if possible
    [all...]
  /external/llvm/lib/Support/
Host.cpp 600 SmallVector<StringRef, 32> Lines;
601 Str.split(Lines, "\n");
605 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
606 if (Lines[I].startswith("CPU implementer"))
607 Implementer = Lines[I].substr(15).ltrim("\t :");
611 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
612 if (Lines[I].startswith("CPU part"))
616 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :"))
632 for (unsigned I = 0, E = Lines.size(); I != E; ++I)
633 if (Lines[I].startswith("CPU part")
    [all...]
SpecialCaseList.cpp 81 SmallVector<StringRef, 16> Lines;
82 SplitString(MB->getBuffer(), Lines, "\n\r");
87 for (SmallVectorImpl<StringRef>::iterator I = Lines.begin(), E = Lines.end();
89 // Ignore empty lines and lines starting with "#"
  /external/llvm/lib/ExecutionEngine/IntelJITEvents/
IntelJITEventListener.cpp 223 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size);
224 DILineInfoTable::iterator Begin = Lines.begin();
225 DILineInfoTable::iterator End = Lines.end();
236 SourceFileName = Lines.front().second.FileName;
  /external/chromium_org/net/tools/balsa/
balsa_frame.h 29 typedef std::vector<std::pair<size_t, size_t> > Lines;
254 Lines lines_;
  /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; };
rrPrimitiveAssembler.hpp 202 struct Lines
  /external/llvm/include/llvm/Support/
GCOV.h 309 DstEdgesAreSorted(true), SrcEdges(), DstEdges(), Lines() {}
312 void addLine(uint32_t N) { Lines.push_back(N); }
313 uint32_t getLastLine() const { return Lines.back(); }
346 SmallVector<uint32_t, 16> Lines;
  /external/llvm/lib/Transforms/Instrumentation/
GCOVProfiling.cpp 209 // list of line numbers and a single filename, representing lines that belong
215 Lines.push_back(Line);
220 return lengthOfGCOVString(Filename) + 2 + Lines.size();
226 for (int i = 0, e = Lines.size(); i != e; ++i)
227 write(Lines[i]);
237 SmallVector<uint32_t, 32> Lines;
242 // function, number of lines belonging to each block, and a set of edges to
247 GCOVLines *&Lines = LinesByFile[Filename];
248 if (!Lines) {
249 Lines = new GCOVLines(Filename, os)
    [all...]
DebugIR.cpp 51 ValueMap<const Value *, unsigned int> Lines;
56 Lines.insert(std::make_pair(V, Out.getLine() + 1));
82 LineIter i = Lines.find(V);
83 if (i != Lines.end()) {
  /external/llvm/lib/DebugInfo/
DWARFContext.cpp 508 DILineInfoTable Lines;
511 return Lines;
521 Lines.push_back(std::make_pair(Address, Result));
522 return Lines;
530 return Lines;
541 Lines.push_back(std::make_pair(Row.Address, Result));
544 return Lines;
  /external/llvm/tools/llvm-rtdyld/
llvm-rtdyld.cpp 214 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size);
215 DILineInfoTable::iterator Begin = Lines.begin();
216 DILineInfoTable::iterator End = Lines.end();
  /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 893 /// opening and a closing command and contains multiple lines of text
899 ArrayRef<VerbatimBlockLineComment *> Lines;
915 return reinterpret_cast<child_iterator>(Lines.begin());
919 return reinterpret_cast<child_iterator>(Lines.end());
928 Lines = L;
936 return Lines.size();
940 return Lines[LineIdx]->getText();
CommentSema.h 168 ArrayRef<VerbatimBlockLineComment *> Lines);
  /external/llvm/lib/IR/
GCOV.cpp 195 // Read lines up to, but not including, the null terminator.
326 Lines.clear();
351 for (SmallVectorImpl<uint32_t>::iterator I = Lines.begin(),
352 E = Lines.end(); I != E; ++I)
375 if (!Lines.empty()) {
377 for (SmallVectorImpl<uint32_t>::const_iterator I = Lines.begin(),
378 E = Lines.end(); I != E; ++I)
588 // 1) Ensure that the number of logical lines is only incremented
591 // number of lines executed is incremented as long as at least
729 outs() << format("Lines executed:%.2f%% of %u\n"
    [all...]
  /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/clang/utils/TableGen/
NeonEmitter.cpp     [all...]

Completed in 453 milliseconds

1 2