Home
last modified time | relevance | path

Searched refs:Lines (Results 1 – 25 of 79) sorted by relevance

1234

/NextBSD/contrib/llvm/tools/clang/lib/Format/
HDBreakableToken.cpp259 TokenText.substr(2, TokenText.size() - 4).split(Lines, "\n"); in BreakableBlockComment()
262 LeadingWhitespace.resize(Lines.size()); in BreakableBlockComment()
263 StartOfLineColumn.resize(Lines.size()); in BreakableBlockComment()
265 for (size_t i = 1; i < Lines.size(); ++i) in BreakableBlockComment()
269 if (Lines.size() == 1 && !FirstInLine) { in BreakableBlockComment()
277 for (size_t i = 1, e = Lines.size(); i < e && !Decoration.empty(); ++i) { in BreakableBlockComment()
279 if (i + 1 == e && Lines[i].empty()) in BreakableBlockComment()
281 if (!Lines[i].empty() && i + 1 != e && Decoration.startswith(Lines[i])) in BreakableBlockComment()
283 while (!Lines[i].startswith(Decoration)) in BreakableBlockComment()
289 for (size_t i = 1; i < Lines.size(); ++i) { in BreakableBlockComment()
[all …]
HDUnwrappedLineFormatter.cpp132 const SmallVectorImpl<AnnotatedLine *> &Lines) in LineJoiner() argument
133 : Style(Style), Keywords(Keywords), End(Lines.end()), in LineJoiner()
134 Next(Lines.begin()) {} in LineJoiner()
797 UnwrappedLineFormatter::format(const SmallVectorImpl<AnnotatedLine *> &Lines, in format() argument
800 LineJoiner Joiner(Style, Keywords, Lines); in format()
804 &Lines, AdditionalIndent); in format()
809 assert(!Lines.empty()); in format()
811 LevelIndentTracker IndentTracker(Style, Keywords, Lines[0]->Level, in format()
HDUnwrappedLineFormatter.h42 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines,
HDUnwrappedLineParser.cpp207 CurrentLines(&Lines), Style(Style), Keywords(Keywords), Tokens(nullptr), in UnwrappedLineParser()
217 CurrentLines = &Lines; in reset()
236 for (SmallVectorImpl<UnwrappedLine>::iterator I = Lines.begin(), in parse()
237 E = Lines.end(); in parse()
242 Lines.clear(); in parse()
1821 if (CurrentLines == &Lines) in addUnwrappedLine()
1826 if (CurrentLines == &Lines && !PreprocessorDirectives.empty()) { in addUnwrappedLine()
HDUnwrappedLineParser.h143 SmallVector<UnwrappedLine, 8> Lines; variable
HDTokenAnnotator.h140 void setCommentLineLevels(SmallVectorImpl<AnnotatedLine *> &Lines);
HDBreakableToken.h205 SmallVector<StringRef, 16> Lines; variable
/NextBSD/contrib/llvm/lib/Support/
HDHost.cpp628 SmallVector<StringRef, 32> Lines; in getHostCPUName() local
629 Str.split(Lines, "\n"); in getHostCPUName()
633 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
634 if (Lines[I].startswith("CPU implementer")) in getHostCPUName()
635 Implementer = Lines[I].substr(15).ltrim("\t :"); in getHostCPUName()
639 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
640 if (Lines[I].startswith("CPU part")) in getHostCPUName()
644 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUName()
660 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
661 if (Lines[I].startswith("CPU part")) in getHostCPUName()
[all …]
HDSpecialCaseList.cpp89 SmallVector<StringRef, 16> Lines; in parse() local
90 SplitString(MB->getBuffer(), Lines, "\n\r"); in parse()
92 for (auto I = Lines.begin(), E = Lines.end(); I != E; ++I, ++LineNo) { in parse()
HDYAMLTraits.cpp634 for (line_iterator Lines(*Buffer, false); !Lines.is_at_end(); ++Lines) { in blockScalarString() local
638 output(*Lines); in blockScalarString()
/NextBSD/usr.bin/tset/
HDtset.c68 int Lines, Columns; /* window size */ variable
163 Lines = tgetnum("li"); in main()
169 Lines > 0 && Columns > 0) { in main()
170 win.ws_row = Lines; in main()
HDextern.h36 extern int Columns, isreset, Lines;
/NextBSD/lib/libc/net/
HDnsparser.y68 | Lines
71 Lines
73 | Lines Entry
/NextBSD/contrib/llvm/lib/ExecutionEngine/IntelJITEvents/
HDIntelJITEventListener.cpp135 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size); in NotifyObjectEmitted() local
136 DILineInfoTable::iterator Begin = Lines.begin(); in NotifyObjectEmitted()
137 DILineInfoTable::iterator End = Lines.end(); in NotifyObjectEmitted()
159 SourceFileName = Lines.front().second.FileName; in NotifyObjectEmitted()
/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDGCOVProfiling.cpp213 Lines.push_back(Line); in addLine()
218 return lengthOfGCOVString(Filename) + 2 + Lines.size(); in length()
224 for (int i = 0, e = Lines.size(); i != e; ++i) in writeOut()
225 write(Lines[i]); in writeOut()
235 SmallVector<uint32_t, 32> Lines; member in __anon8cea58790211::GCOVLines
245 GCOVLines *&Lines = LinesByFile[Filename]; in getFile() local
246 if (!Lines) { in getFile()
247 Lines = new GCOVLines(Filename, os); in getFile()
249 return *Lines; in getFile()
545 GCOVLines &Lines = Block.getFile(SP->getFilename()); in emitProfileNotes() local
[all …]
/NextBSD/contrib/llvm/lib/DebugInfo/DWARF/
HDDWARFContext.cpp425 DILineInfoTable Lines; in getLineInfoForAddressRange() local
428 return Lines; in getLineInfoForAddressRange()
438 Lines.push_back(std::make_pair(Address, Result)); in getLineInfoForAddressRange()
439 return Lines; in getLineInfoForAddressRange()
447 return Lines; in getLineInfoForAddressRange()
458 Lines.push_back(std::make_pair(Row.Address, Result)); in getLineInfoForAddressRange()
461 return Lines; in getLineInfoForAddressRange()
/NextBSD/contrib/llvm/include/llvm/Support/
HDGCOV.h311 DstEdges(), Lines() {} in GCOVBlock()
314 void addLine(uint32_t N) { Lines.push_back(N); } in addLine()
315 uint32_t getLastLine() const { return Lines.back(); } in getLastLine()
356 SmallVector<uint32_t, 16> Lines; variable
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDComment.h901 ArrayRef<VerbatimBlockLineComment *> Lines; variable
917 return reinterpret_cast<child_iterator>(Lines.begin()); in child_begin()
921 return reinterpret_cast<child_iterator>(Lines.end()); in child_end()
930 Lines = L; in setLines()
938 return Lines.size(); in getNumLines()
942 return Lines[LineIdx]->getText(); in getText()
HDCommentSema.h168 ArrayRef<VerbatimBlockLineComment *> Lines);
/NextBSD/contrib/llvm/lib/IR/
HDGCOV.cpp370 Lines.clear(); in ~GCOVBlock()
395 for (uint32_t N : Lines) in collectLineCounts()
414 if (!Lines.empty()) { in dump()
416 for (uint32_t N : Lines) in dump()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDCommentParser.cpp668 SmallVector<VerbatimBlockLineComment *, 8> Lines; in parseVerbatimBlock() local
684 Lines.push_back(Line); in parseVerbatimBlock()
691 S.copyArray(llvm::makeArrayRef(Lines))); in parseVerbatimBlock()
696 S.copyArray(llvm::makeArrayRef(Lines))); in parseVerbatimBlock()
/NextBSD/contrib/llvm/lib/Support/Unix/
HDSignals.inc393 SmallVector<StringRef, 32> Lines;
394 Output.split(Lines, "\n");
395 auto CurLine = Lines.begin();
405 if (CurLine == Lines.end())
413 if (CurLine == Lines.end())
/NextBSD/crypto/openssl/crypto/objects/
HDobjects.README42 Lines starting with # are treated as comments, as well as any line starting
/NextBSD/contrib/llvm/tools/llvm-rtdyld/
HDllvm-rtdyld.cpp319 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size); in printLineInfoForInput() local
320 DILineInfoTable::iterator Begin = Lines.begin(); in printLineInfoForInput()
321 DILineInfoTable::iterator End = Lines.end(); in printLineInfoForInput()
/NextBSD/contrib/netbsd-tests/lib/libc/regex/
HDREADME2 Lines are at least three fields, separated by one or more tabs. "" stands

1234