Home
last modified time | relevance | path

Searched refs:Line (Results 1 – 25 of 833) sorted by relevance

12345678910>>...34

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
H A DResourceScriptCppFilter.cpp31 bool parseLine(StringRef Line);
49 StringRef Line = Data.take_front(Pos).drop_front(LineStart); in run() local
51 if (parseLine(Line)) in run()
52 Output.push_back(Line); in run()
58 bool Filter::parseLine(StringRef Line) { in parseLine() argument
59 Line = Line.ltrim(); in parseLine()
61 if (!Line.consume_front("#")) { in parseLine()
69 Line.consume_front("line"); in parseLine()
70 if (!Line.startswith(" ")) in parseLine()
76 Line = in parseLine()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Format/
H A DTokenAnnotator.h39 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine() argument
40 : First(Line.Tokens.front().Tok), Level(Line.Level), in AnnotatedLine()
41 MatchingOpeningBlockLineIndex(Line.MatchingOpeningBlockLineIndex), in AnnotatedLine()
42 MatchingClosingBlockLineIndex(Line.MatchingClosingBlockLineIndex), in AnnotatedLine()
43 InPPDirective(Line.InPPDirective), in AnnotatedLine()
44 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), in AnnotatedLine()
47 FirstStartColumn(Line.FirstStartColumn) { in AnnotatedLine()
48 assert(!Line.Tokens.empty()); in AnnotatedLine()
55 for (std::list<UnwrappedLineNode>::const_iterator I = ++Line.Tokens.begin(), in AnnotatedLine()
56 E = Line.Tokens.end(); in AnnotatedLine()
[all …]
H A DAffectedRangeManager.cpp29 AnnotatedLine *Line = *I; in computeAffectedLines() local
30 Line->LeadingEmptyLinesAffected = affectsLeadingEmptyLines(*Line->First); in computeAffectedLines()
34 if (Line->InPPDirective) { in computeAffectedLines()
35 FormatToken *Last = Line->Last; in computeAffectedLines()
42 if (affectsTokenRange(*Line->First, *Last, in computeAffectedLines()
51 if (nonPPLineAffected(Line, PreviousLine, Lines)) in computeAffectedLines()
54 PreviousLine = Line; in computeAffectedLines()
102 AnnotatedLine *Line, const AnnotatedLine *PreviousLine, in nonPPLineAffected() argument
105 Line->ChildrenAffected = computeAffectedLines(Line->Children); in nonPPLineAffected()
106 if (Line->ChildrenAffected) in nonPPLineAffected()
[all …]
H A DUnwrappedLineParser.cpp41 ScopedDeclarationState(UnwrappedLine &Line, std::vector<bool> &Stack, in ScopedDeclarationState() argument
43 : Line(Line), Stack(Stack) { in ScopedDeclarationState()
44 Line.MustBeDeclaration = MustBeDeclaration; in ScopedDeclarationState()
50 Line.MustBeDeclaration = Stack.back(); in ~ScopedDeclarationState()
52 Line.MustBeDeclaration = true; in ~ScopedDeclarationState()
56 UnwrappedLine &Line; member in clang::format::__anond4a2c0880111::ScopedDeclarationState
81 ScopedMacroState(UnwrappedLine &Line, FormatTokenSource *&TokenSource, in ScopedMacroState() argument
83 : Line(Line), TokenSource(TokenSource), ResetToken(ResetToken), in ScopedMacroState()
84 PreviousLineLevel(Line.Level), PreviousTokenSource(TokenSource), in ScopedMacroState()
89 Line.Level = 0; in ScopedMacroState()
[all …]
H A DUnwrappedLineFormatter.cpp22 bool startsExternCBlock(const AnnotatedLine &Line) { in startsExternCBlock() argument
23 const FormatToken *Next = Line.First->getNextNonComment(); in startsExternCBlock()
25 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock()
53 void nextLine(const AnnotatedLine &Line) { in nextLine() argument
54 Offset = getIndentOffset(*Line.First); in nextLine()
57 while (IndentForLevel.size() <= Line.Level) in nextLine()
59 if (Line.InPPDirective) { in nextLine()
60 Indent = Line.Level * Style.IndentWidth + AdditionalIndent; in nextLine()
62 IndentForLevel.resize(Line.Level + 1); in nextLine()
63 Indent = getIndent(IndentForLevel, Line.Level); in nextLine()
[all …]
H A DUsingDeclarationsSorter.cpp68 const AnnotatedLine *Line; member
71 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) in UsingDeclaration()
72 : Line(Line), Label(Label) {} in UsingDeclaration()
119 if (Declaration.Line->Affected) { in endUsingDeclarationBlock()
142 (*UsingDeclarations)[I].Line->First->WhitespaceRange.getBegin(); in endUsingDeclarationBlock()
143 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
152 if ((*UsingDeclarations)[I].Line == SortedUsingDeclarations[I].Line) in endUsingDeclarationBlock()
154 auto Begin = (*UsingDeclarations)[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock()
155 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
157 SortedUsingDeclarations[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock()
[all …]
H A DTokenAnnotator.cpp73 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line, in AnnotatingParser() argument
75 : Style(Style), Line(Line), CurrentToken(Line.First), AutoFound(false), in AnnotatingParser()
126 (isKeywordWithCondition(*Line.First) || in parseAngle()
166 !Line.startsWith(tok::kw_template)) in parseAngle()
234 (Line.startsWith(Keywords.kw_type, tok::identifier) || in parseParens()
235 Line.startsWith(tok::kw_export, Keywords.kw_type, in parseParens()
260 } else if (Line.InPPDirective && in parseParens()
273 } else if (!Line.MustBeDeclaration && !Line.InPPDirective) { in parseParens()
344 (CurrentToken->Next->is(tok::l_square) && Line.MustBeDeclaration))) in parseParens()
540 bool InsideInlineASM = Line.startsWith(tok::kw_asm); in parseSquare()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
H A DSourceCoverageView.h57 unsigned Line; member
60 InstantiationView(StringRef FunctionName, unsigned Line, in InstantiationView()
62 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView()
66 return LHS.Line < RHS.Line;
74 unsigned Line; member
76 BranchView(unsigned Line, ArrayRef<CountedRegion> Regions, in BranchView()
78 : Regions(Regions), View(std::move(View)), Line(Line) {} in BranchView()
80 unsigned getLine() const { return Line; } in getLine()
83 return LHS.Line < RHS.Line;
172 StringRef Line; member
[all …]
H A DSourceCoverageViewText.cpp100 StringRef Line = L.Line; in renderLine() local
116 unsigned End = std::min(S->Col, static_cast<unsigned>(Line.size()) + 1); in renderLine()
120 << Line.substr(Col - 1, End - Col); in renderLine()
136 << Line.substr(Col - 1, Line.size() - Col + 1); in renderLine()
149 raw_ostream &OS, const LineCoverageStats &Line) { in renderLineCoverageColumn() argument
150 if (!Line.isMapped()) { in renderLineCoverageColumn()
154 std::string C = formatCount(Line.getExecutionCount()); in renderLineCoverageColumn()
157 Line.hasMultipleRegions() && getOptions().Colors) in renderLineCoverageColumn()
174 const LineCoverageStats &Line, in renderRegionMarkers() argument
179 CoverageSegmentArray Segments = Line.getLineSegments(); in renderRegionMarkers()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/LineEditor/
H A DLineEditor.cpp259 const char *Line = ::el_gets(Data->EL, &LineLen); in readLine() local
262 if (!Line || LineLen == 0) in readLine()
267 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) in readLine()
272 ::history(Data->Hist, &HE, H_ENTER, Line); in readLine()
274 return std::string(Line, LineLen); in readLine()
303 std::string Line; in readLine() local
308 if (Line.empty()) in readLine()
311 return Line; in readLine()
313 Line.append(Buf); in readLine()
314 } while (Line.empty() || in readLine()
[all …]
/netbsd-src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.dwarf2/
H A Dfile1.txt1 File 1 Line 1
2 File 1 Line 2
3 File 1 Line 3
4 File 1 Line 4
5 File 1 Line 5
6 File 1 Line 6
7 File 1 Line 7
8 File 1 Line 8
/netbsd-src/external/gpl3/gdb/dist/gdb/testsuite/gdb.dwarf2/
H A Dfile1.txt1 File 1 Line 1
2 File 1 Line 2
3 File 1 Line 3
4 File 1 Line 4
5 File 1 Line 5
6 File 1 Line 6
7 File 1 Line 7
8 File 1 Line 8
/netbsd-src/sys/external/bsd/acpica/dist/utilities/
H A Duttrack.c77 UINT32 Line);
84 UINT32 Line);
144 UINT32 Line) in AcpiUtAllocateAndTrack() argument
154 ACPI_WARNING ((Module, Line, in AcpiUtAllocateAndTrack()
164 ACPI_WARNING ((Module, Line, in AcpiUtAllocateAndTrack()
171 Allocation, Size, ACPI_MEM_MALLOC, Component, Module, Line); in AcpiUtAllocateAndTrack()
213 UINT32 Line) in AcpiUtAllocateZeroedAndTrack() argument
223 ACPI_WARNING ((Module, Line, in AcpiUtAllocateZeroedAndTrack()
234 ACPI_ERROR ((Module, Line, in AcpiUtAllocateZeroedAndTrack()
240 ACPI_MEM_CALLOC, Component, Module, Line); in AcpiUtAllocateZeroedAndTrack()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DLLVMContextImpl.h257 unsigned Line;
263 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
265 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt),
268 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()),
272 return Line == RHS->getLine() && Column == RHS->getColumn() &&
278 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode);
465 unsigned Line;
475 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *File, unsigned Line,
480 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
486 Line(N->getLine()), Scope(N->getRawScope()),
[all …]
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
H A Dam3517-evm-ui.dtsi15 "Line", "Line In",
16 "Line", "Line Out";
19 "Line Out", "LOUT",
20 "Line Out", "ROUT",
21 "LLINEIN", "Line In",
22 "RLINEIN", "Line In",
45 "Line", "Line In",
46 "Line", "Line Out";
49 "Line Out", "LOUT",
50 "Line Out", "ROUT",
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DDebugInfoMetadata.h663 unsigned Line; variable
671 unsigned Line, uint64_t SizeInBits, uint32_t AlignInBits, in DIType() argument
674 init(Line, SizeInBits, AlignInBits, OffsetInBits, Flags); in DIType()
678 void init(unsigned Line, uint64_t SizeInBits, uint32_t AlignInBits, in init() argument
680 this->Line = Line; in init()
688 void mutate(unsigned Tag, unsigned Line, uint64_t SizeInBits, in mutate() argument
692 init(Line, SizeInBits, AlignInBits, OffsetInBits, Flags); in mutate()
700 unsigned getLine() const { return Line; } in getLine()
926 unsigned Line, uint64_t SizeInBits, uint32_t AlignInBits, in DIDerivedType() argument
929 : DIType(C, DIDerivedTypeKind, Storage, Tag, Line, SizeInBits, in DIDerivedType()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp87 void WriteLineInfo(StringRef Filename, int Line,
118 void InclusionRewriter::WriteLineInfo(StringRef Filename, int Line, in WriteLineInfo() argument
124 OS << "#line" << ' ' << Line << ' ' << '"'; in WriteLineInfo()
130 OS << '#' << ' ' << Line << ' ' << '"'; in WriteLineInfo()
287 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument
311 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
321 Line++; in OutputContentUpTo()
340 unsigned &NextToWrite, int &Line) { in CommentOutDirective() argument
342 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
356 LocalEOL, Line, true); in CommentOutDirective()
[all …]
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/xray/
H A Dxray_powerpc64.cc38 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache() local
39 asm volatile("dcbf 0, %0" : : "r"(Line)); in clearCache()
42 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache() local
43 asm volatile("icbi 0, %0" : : "r"(Line)); in clearCache()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DSymbolRemappingReader.cpp36 StringRef Line = *LineIt; in read() local
37 Line = Line.ltrim(' '); in read()
39 if (Line.startswith("#") || Line.empty()) in read()
43 Line.split(Parts, ' ', /*MaxSplits*/-1, /*KeepEmpty*/false); in read()
47 "found '" + Line + "'"); in read()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/GSYM/
H A DLineTable.cpp103 Row.Line += Data.getSLEB128(&Offset); in parse()
110 Row.Line += LineDelta; in parse()
143 int64_t LineDelta = (int64_t)line_entry.Line - PrevLine; in encode()
155 PrevLine = (int64_t)line_entry.Line; in encode()
193 LineEntry Prev(BaseAddr, 1, Lines.front().Line); in encode()
199 Out.writeULEB(Prev.Line); in encode()
212 if (Curr.Line > Prev.Line) in encode()
213 LineDelta = Curr.Line - Prev.Line; in encode()
214 else if (Prev.Line > Curr.Line) in encode()
215 LineDelta = -((int32_t)(Prev.Line - Curr.Line)); in encode()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/
H A DPrettyCompilandDumper.cpp75 while (auto Line = Lines->getNext()) { in start() local
77 uint32_t LineStart = Line->getLineNumber(); in start()
78 uint32_t LineEnd = Line->getLineNumberEnd(); in start()
81 PDB_ColorItem StatementColor = Line->isStatement() in start()
88 uint32_t ColumnStart = Line->getColumnNumber(); in start()
89 uint32_t ColumnEnd = Line->getColumnNumberEnd(); in start()
98 if (Line->getLength() > 0) { in start()
99 uint64_t AddrStart = Line->getVirtualAddress(); in start()
100 uint64_t AddrEnd = AddrStart + Line->getLength() - 1; in start()
104 Printer << " (" << Line->getLength() << " bytes)"; in start()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DSymbolRemappingReader.h71 SymbolRemappingParseError(StringRef File, int64_t Line, const Twine &Message) in SymbolRemappingParseError() argument
72 : File(File), Line(Line), Message(Message.str()) {} in SymbolRemappingParseError()
75 OS << File << ':' << Line << ": " << Message; in log()
82 int64_t getLineNum() const { return Line; } in getLineNum()
89 int64_t Line; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DNativeLineNumber.cpp15 const codeview::LineInfo Line, in NativeLineNumber() argument
19 : Session(Session), Line(Line), ColumnNumber(ColumnNumber), in NativeLineNumber()
23 uint32_t NativeLineNumber::getLineNumber() const { return Line.getStartLine(); } in getLineNumber()
26 return Line.getEndLine(); in getLineNumberEnd()
51 bool NativeLineNumber::isStatement() const { return Line.isStatement(); } in isStatement()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-undname/
H A Dllvm-undname.cpp108 StringRef Line(LineStr); in main() local
109 Line = Line.trim(); in main()
110 if (Line.empty() || Line.startswith("#") || Line.startswith(";")) in main()
118 outs() << Line << "\n"; in main()
121 if (!msDemangle(std::string(Line))) in main()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/
H A Dubsan_value.h47 u32 Line; variable
51 SourceLocation() : Filename(), Line(), Column() {} in SourceLocation()
52 SourceLocation(const char *Filename, unsigned Line, unsigned Column) in SourceLocation() argument
53 : Filename(Filename), Line(Line), Column(Column) {} in SourceLocation()
64 return SourceLocation(Filename, Line, OldColumn); in acquire()
76 unsigned getLine() const { return Line; } in getLine()

12345678910>>...34