Searched refs:Lines (Results 1 - 25 of 31) sorted by relevance

12

/external/clang/lib/Format/
H A DBreakableToken.cpp258 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) {
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) {
287 if (Lines[
[all...]
H A DTokenAnnotator.h117 void setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines);
H A DUnwrappedLineParser.h138 SmallVector<UnwrappedLine, 8> Lines; member in class:clang::format::UnwrappedLineParser
146 // Usually points to \c &Lines. While parsing a preprocessor directive when
H A DBreakableToken.h183 // 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]
192 // Lines[LineIndex] starts (note that the decoration, if present, is not
205 SmallVector<StringRef, 16> Lines; member in class:clang::format::BreakableBlockComment
208 // front of Lines[
[all...]
H A DUnwrappedLineParser.cpp209 CurrentLines(&Lines), StructuralError(false), Style(Style),
220 CurrentLines = &Lines;
240 for (SmallVectorImpl<UnwrappedLine>::iterator I = Lines.begin(),
241 E = Lines.end();
246 Lines.clear();
1480 if (CurrentLines == &Lines)
1485 if (CurrentLines == &Lines && !PreprocessorDirectives.empty()) {
1538 !Line->Tokens.empty() && CurrentLines == &Lines;
H A DFormat.cpp799 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines, bool DryRun, argument
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();
/external/llvm/lib/Support/
H A DHost.cpp600 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[
708 SmallVector<StringRef, 32> Lines; local
[all...]
H A DSpecialCaseList.cpp81 SmallVector<StringRef, 16> Lines; local
82 SplitString(MB->getBuffer(), Lines, "\n\r");
87 for (SmallVectorImpl<StringRef>::iterator I = Lines.begin(), E = Lines.end();
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp223 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size); local
224 DILineInfoTable::iterator Begin = Lines.begin();
225 DILineInfoTable::iterator End = Lines.end();
236 SourceFileName = Lines.front().second.FileName;
/external/chromium_org/net/tools/balsa/
H A Dbalsa_frame.h29 typedef std::vector<std::pair<size_t, size_t> > Lines; typedef in class:net::BalsaFrame
254 Lines lines_;
H A Dbalsa_frame.cc519 const Lines::size_type lines_size_m1 = lines_.size() - 1;
531 for (Lines::size_type i = 1; i < lines_size_m1;) {
/external/deqp/framework/referencerenderer/
H A DrrPrimitiveTypes.hpp56 template <> struct PrimitiveTypeTraits<PRIMITIVETYPE_LINES> { typedef pa::Line Type; typedef pa::Line BaseType; typedef pa::Lines Assembler; };
H A DrrPrimitiveAssembler.hpp202 struct Lines struct in namespace:rr::pa
/external/llvm/include/llvm/Support/
H A DGCOV.h309 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; member in class:llvm::GCOVBlock
/external/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp215 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; member in class:__anon26255::GCOVLines
247 GCOVLines *&Lines = LinesByFile[Filename]; local
248 if (!Lines) {
249 Lines = new GCOVLines(Filename, os);
251 return *Lines;
540 GCOVLines &Lines local
[all...]
H A DDebugIR.cpp51 ValueMap<const Value *, unsigned int> Lines; member in class:__anon26253::ValueToLineMap
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/
H A DDWARFContext.cpp508 DILineInfoTable Lines; local
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/
H A Dllvm-rtdyld.cpp214 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size); local
215 DILineInfoTable::iterator Begin = Lines.begin();
216 DILineInfoTable::iterator End = Lines.end();
/external/clang/unittests/AST/
H A DCommentParser.cpp488 struct Lines {}; struct in namespace:clang::comments::__anon19530
516 Lines,
543 Lines,
1245 Lines(), " Aaa "));
1259 Lines(), " Aaa"));
1298 Lines(), " Aaa"));
1323 Lines(), " Aaa"));
1350 Lines(), " Aaa", " Bbb"));
/external/clang/include/clang/AST/
H A DComment.h899 ArrayRef<VerbatimBlockLineComment *> Lines; member in class:clang::comments::ParamCommandComment::VerbatimBlockComment
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();
H A DCommentSema.h168 ArrayRef<VerbatimBlockLineComment *> Lines);
/external/llvm/lib/IR/
H A DGCOV.cpp326 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)
729 outs() << format("Lines executed:%.2f%% of %u\n",
/external/clang/lib/AST/
H A DCommentParser.cpp668 SmallVector<VerbatimBlockLineComment *, 8> Lines; local
684 Lines.push_back(Line);
691 S.copyArray(llvm::makeArrayRef(Lines)));
696 S.copyArray(llvm::makeArrayRef(Lines)));
/external/deqp/framework/opengl/
H A DgluDrawUtil.hpp231 DECLARE_PR_CTOR(Lines, PRIMITIVETYPE_LINES);
/external/clang/utils/TableGen/
H A DNeonEmitter.cpp1371 std::vector<std::string> Lines; local
1389 Lines.push_back(replaceParamsIn(SI->getAsString()));
1392 Lines.push_back(DE.emitDag(DI).second + ";");
1396 assert(Lines.size() && "Empty def?");
1398 Lines.back().insert(0, RetVar.getName() + " = ");
1400 for (auto &L : Lines) {

Completed in 364 milliseconds

12