Home
last modified time | relevance | path

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

123456789

/minix3/external/bsd/llvm/dist/llvm/test/DebugInfo/
H A Ddebuglineinfo.test11 TEST_INLINE-NEXT: Line info @ 0: test-inline.cpp, line:33
12 TEST_INLINE-NEXT: Line info @ 35: test-inline.cpp, line:34
13 TEST_INLINE-NEXT: Line info @ 165: test-inline.cpp, line:35
15 TEST_INLINE-NEXT: Line info @ 0: test-inline.cpp, line:28
16 TEST_INLINE-NEXT: Line info @ 2: test-inline.cpp, line:29
17 TEST_INLINE-NEXT: Line info @ 3: test-inline.cpp, line:29
19 TEST_INLINE-NEXT: Line info @ 0: test-inline.cpp, line:39
20 TEST_INLINE-NEXT: Line info @ 21: test-inline.cpp, line:41
21 TEST_INLINE-NEXT: Line info @ 39: test-inline.cpp, line:42
22 TEST_INLINE-NEXT: Line info @ 60: test-inline.cpp, line:44
[all …]
/minix3/external/bsd/llvm/dist/clang/lib/Format/
H A DTokenAnnotator.h41 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine() argument
42 : First(Line.Tokens.front().Tok), Level(Line.Level), in AnnotatedLine()
43 InPPDirective(Line.InPPDirective), in AnnotatedLine()
44 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), in AnnotatedLine()
47 assert(!Line.Tokens.empty()); in AnnotatedLine()
54 for (std::list<UnwrappedLineNode>::const_iterator I = ++Line.Tokens.begin(), in AnnotatedLine()
55 E = Line.Tokens.end(); in AnnotatedLine()
120 void annotate(AnnotatedLine &Line);
121 void calculateFormattingInformation(AnnotatedLine &Line);
125 unsigned splitPenalty(const AnnotatedLine &Line, const FormatToken &Tok,
[all …]
H A DUnwrappedLineParser.cpp37 ScopedDeclarationState(UnwrappedLine &Line, std::vector<bool> &Stack, in ScopedDeclarationState() argument
39 : Line(Line), Stack(Stack) { in ScopedDeclarationState()
40 Line.MustBeDeclaration = MustBeDeclaration; in ScopedDeclarationState()
46 Line.MustBeDeclaration = Stack.back(); in ~ScopedDeclarationState()
48 Line.MustBeDeclaration = true; in ~ScopedDeclarationState()
52 UnwrappedLine &Line; member in clang::format::__anon7e7ac7f00111::ScopedDeclarationState
58 ScopedMacroState(UnwrappedLine &Line, FormatTokenSource *&TokenSource, in ScopedMacroState() argument
60 : Line(Line), TokenSource(TokenSource), ResetToken(ResetToken), in ScopedMacroState()
61 PreviousLineLevel(Line.Level), PreviousTokenSource(TokenSource), in ScopedMacroState()
65 Line.Level = 0; in ScopedMacroState()
[all …]
H A DTokenAnnotator.cpp34 AnnotatingParser(const FormatStyle &Style, AnnotatedLine &Line, in AnnotatingParser() argument
36 : Style(Style), Line(Line), CurrentToken(Line.First), AutoFound(false), in AnnotatingParser()
83 Line.First->isNot(tok::kw_template)) in parseAngle()
120 } else if (Line.InPPDirective && in parseParens()
404 if (!Tok->Previous && Line.MustBeDeclaration) in consumeToken()
412 Line.First->isNot(tok::kw_case)) { in consumeToken()
417 Line.First->is(TT_ObjCMethodSpecifier)) { in consumeToken()
431 !Line.First->isOneOf(tok::kw_enum, tok::kw_case)) { in consumeToken()
459 if (Line.MustBeDeclaration && Contexts.size() == 1 && in consumeToken()
460 !Contexts.back().IsExpression && Line.First->isNot(TT_ObjCProperty) && in consumeToken()
[all …]
H A DUnwrappedLineFormatter.cpp21 bool startsExternCBlock(const AnnotatedLine &Line) { in startsExternCBlock() argument
22 const FormatToken *Next = Line.First->getNextNonComment(); in startsExternCBlock()
24 return Line.First->is(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock()
145 AnnotatedLine &Line = **I; in tryMergeSimpleControlStatement() local
146 if (Line.Last->isNot(tok::r_paren)) in tryMergeSimpleControlStatement()
154 if (I + 2 != E && Line.First->is(tok::kw_if) && in tryMergeSimpleControlStatement()
172 const AnnotatedLine *Line = I[1 + NumStmts]; in tryMergeShortCaseLabels() local
173 if (Line->InPPDirective != InPPDirective) in tryMergeShortCaseLabels()
175 if (Line->First->isOneOf(tok::kw_case, tok::kw_default, tok::r_brace)) in tryMergeShortCaseLabels()
177 if (Line->First->isOneOf(tok::kw_if, tok::kw_for, tok::kw_switch, in tryMergeShortCaseLabels()
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/LineEditor/
H A DLineEditor.cpp254 const char *Line = ::el_gets(Data->EL, &LineLen); in readLine() local
257 if (!Line || LineLen == 0) in readLine()
262 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) in readLine()
267 ::history(Data->Hist, &HE, H_ENTER, Line); in readLine()
269 return std::string(Line, LineLen); in readLine()
298 std::string Line; in readLine() local
303 if (Line.empty()) in readLine()
306 return Line; in readLine()
308 Line.append(Buf); in readLine()
309 } while (Line.empty() || in readLine()
[all …]
/minix3/external/bsd/llvm/dist/llvm/tools/llvm-cov/
H A DSourceCoverageView.h54 unsigned Line; member
57 InstantiationView(StringRef FunctionName, unsigned Line, in InstantiationView()
59 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView()
61 : FunctionName(std::move(RHS.FunctionName)), Line(std::move(RHS.Line)), in InstantiationView()
65 Line = std::move(RHS.Line);
72 return LHS.Line < RHS.Line;
112 void renderLine(raw_ostream &OS, StringRef Line, int64_t LineNumber,
122 void renderLineCoverageColumn(raw_ostream &OS, const LineCoverageInfo &Line);
150 void addInstantiation(StringRef FunctionName, unsigned Line, in addInstantiation() argument
152 InstantiationSubViews.emplace_back(FunctionName, Line, std::move(View)); in addInstantiation()
H A DSourceCoverageView.cpp22 raw_ostream &OS, StringRef Line, int64_t LineNumber, in renderLine() argument
36 unsigned End = std::min(S->Col, static_cast<unsigned>(Line.size()) + 1); in renderLine()
39 << Line.substr(Col - 1, End - Col); in renderLine()
54 << Line.substr(Col - 1, Line.size() - Col + 1); in renderLine()
82 const LineCoverageInfo &Line) { in renderLineCoverageColumn() argument
83 if (!Line.isMapped()) { in renderLineCoverageColumn()
89 BufferOS << Line.ExecutionCount; in renderLineCoverageColumn()
96 Line.hasMultipleRegions() && Options.Colors) in renderLineCoverageColumn()
137 errs() << "Marker at " << S->Line << ":" << S->Col << " = " << S->Count in renderRegionMarkers()
164 unsigned FirstLine = NextSegment != EndSegment ? NextSegment->Line : 0; in render()
[all …]
/minix3/minix/drivers/power/acpi/utilities/
H A Duttrack.c77 UINT32 Line);
84 UINT32 Line);
146 UINT32 Line) in AcpiUtAllocateAndTrack() argument
156 ACPI_WARNING ((Module, Line, in AcpiUtAllocateAndTrack()
166 ACPI_WARNING ((Module, Line, in AcpiUtAllocateAndTrack()
173 ACPI_MEM_MALLOC, Component, Module, Line); in AcpiUtAllocateAndTrack()
212 UINT32 Line) in AcpiUtAllocateZeroedAndTrack() argument
222 ACPI_WARNING ((Module, Line, in AcpiUtAllocateZeroedAndTrack()
232 ACPI_ERROR ((Module, Line, in AcpiUtAllocateZeroedAndTrack()
238 ACPI_MEM_CALLOC, Component, Module, Line); in AcpiUtAllocateZeroedAndTrack()
[all …]
/minix3/lib/libc/gdtoa/test/obad/
H A Dstrtodt.out1 Line 31 of testnos3: got 4585747a b143e354; expected 4585747a b143e353
2 Line 46 of testnos3: got 64fdcf7d f8f573b8; expected 64fdcf7d f8f573b7
3 Line 47 of testnos3: got 650dcf7d f8f573b8; expected 650dcf7d f8f573b7
4 Line 72 of testnos3: got 3cc70385 6844bdbe; expected 3cc70385 6844bdbf
5 Line 73 of testnos3: got 3cb70385 6844bdbe; expected 3cb70385 6844bdbf
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp70 void WriteLineInfo(const char *Filename, int Line,
104 void InclusionRewriter::WriteLineInfo(const char *Filename, int Line, in WriteLineInfo() argument
110 OS << "#line" << ' ' << Line << ' ' << '"'; in WriteLineInfo()
116 OS << '#' << ' ' << Line << ' ' << '"'; in WriteLineInfo()
227 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument
251 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
261 Line++; in OutputContentUpTo()
280 unsigned &NextToWrite, int &Line) { in CommentOutDirective() argument
282 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
296 LocalEOL, Line, true); in CommentOutDirective()
[all …]
/minix3/external/bsd/llvm/dist/clang/unittests/Tooling/
H A DCommentHandlerTest.cpp16 Comment(const std::string &Message, unsigned Line, unsigned Col) in Comment()
17 : Message(Message), Line(Line), Col(Col) { } in Comment()
20 unsigned Line, Col; member
103 << Current->Message << "\" at line " << Current->Line << ", column " in ~CommentVerifier()
108 void Match(const char *Message, unsigned Line, unsigned Col) { in Match() argument
113 EXPECT_TRUE(C.Message == Message && C.Line == Line && C.Col == Col) in Match()
115 << "\" at line " << Line << ", column " << Col in Match()
117 << "\" at line " << C.Line << ", column " << C.Col; in Match()
/minix3/external/bsd/llvm/dist/clang/test/SemaCXX/
H A Dimplicit-member-functions.cpp96 template<typename K> struct Line;
99 Vector(const Line<K> &l);
106 template<typename K> struct Line { struct
117 Line<void> L1;
118 Line<void> L2(L1);
/minix3/external/bsd/llvm/dist/llvm/bindings/go/llvm/
H A DDIBuilderBindings.cpp65 unsigned Line, in LLVMDIBuilderCreateLexicalBlock() argument
69 unwrapDI<DIDescriptor>(Scope), unwrapDI<DIFile>(File), Line, Column); in LLVMDIBuilderCreateLexicalBlock()
85 const char *LinkageName, LLVMMetadataRef File, unsigned Line, in LLVMDIBuilderCreateFunction() argument
91 Line, unwrapDI<DICompositeType>(CompositeType), IsLocalToUnit, in LLVMDIBuilderCreateFunction()
98 const char *Name, LLVMMetadataRef File, unsigned Line, LLVMMetadataRef Ty, in LLVMDIBuilderCreateLocalVariable() argument
102 Tag, unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line, in LLVMDIBuilderCreateLocalVariable()
139 LLVMMetadataRef File, unsigned Line, uint64_t SizeInBits, in LLVMDIBuilderCreateStructType() argument
144 unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line, in LLVMDIBuilderCreateStructType()
153 unsigned Line, uint64_t SizeInBits, in LLVMDIBuilderCreateMemberType() argument
158 unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line, in LLVMDIBuilderCreateMemberType()
[all …]
H A DDIBuilderBindings.h47 unsigned Line, unsigned Column);
56 const char *LinkageName, LLVMMetadataRef File, unsigned Line,
62 LLVMMetadataRef File, unsigned Line, LLVMMetadataRef Ty, int AlwaysPreserve,
83 LLVMMetadataRef File, unsigned Line, uint64_t SizeInBits,
90 unsigned Line, uint64_t SizeInBits,
102 LLVMMetadataRef File, unsigned Line,
H A Ddibuilder.go158 Line int member
168 C.unsigned(b.Line),
185 Line int member
207 C.unsigned(f.Line),
224 Line int member
244 C.unsigned(v.Line),
318 Line int member
336 C.unsigned(t.Line),
350 Line int member
367 C.unsigned(t.Line),
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/ProfileData/
H A DInstrProfReader.cpp91 while (!Line.is_at_end() && (Line->empty() || Line->startswith("#"))) in readNextRecord()
92 ++Line; in readNextRecord()
94 if (Line.is_at_end()) in readNextRecord()
98 Record.Name = *Line++; in readNextRecord()
101 if (Line.is_at_end()) in readNextRecord()
103 if ((Line++)->getAsInteger(10, Record.Hash)) in readNextRecord()
108 if (Line.is_at_end()) in readNextRecord()
110 if ((Line++)->getAsInteger(10, NumCounters)) in readNextRecord()
119 if (Line.is_at_end()) in readNextRecord()
122 if ((Line++)->getAsInteger(10, Count)) in readNextRecord()
H A DCoverageMapping.cpp262 void startSegment(unsigned Line, unsigned Col) { in startSegment() argument
263 DEBUG(dbgs() << "Top level segment at " << Line << ":" << Col << "\n"); in startSegment()
264 Segments.emplace_back(Line, Col, /*IsRegionEntry=*/false); in startSegment()
268 void startSegment(unsigned Line, unsigned Col, bool IsRegionEntry, in startSegment() argument
271 Segments.emplace_back(Line, Col, IsRegionEntry); in startSegment()
274 if (S.Line != Line || S.Col != Col) { in startSegment()
275 Segments.emplace_back(Line, Col, IsRegionEntry); in startSegment()
278 DEBUG(dbgs() << "Segment at " << Line << ":" << Col); in startSegment()
296 unsigned Line = Active->LineEnd, Col = Active->ColumnEnd; in popRegion() local
299 startSegment(Line, Col); in popRegion()
[all …]
/minix3/external/bsd/llvm/dist/llvm/test/JitListener/
H A Dmultiple.ll30 ; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[5,6,7,9]}}
31 ; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[5,6,7,9]}}
32 ; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[5,6,7,9]}}
33 ; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[5,6,7,9]}}
36 ; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[1,2]}}
37 ; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[1,2]}}
40 ; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[12,13,15,17,19]}}
41 ; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[12,13,15,17,19]}}
42 ; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[12,13,15,17,19]}}
43 ; CHECK: Line info @ {{[0-9]+}}: multiple.c, line {{[12,13,15,17,19]}}
[all …]
/minix3/external/bsd/llvm/dist/llvm/lib/IR/
H A DDebugLoc.cpp50 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, in get() argument
59 if (Line >= (1 << 24)) Line = 0; in get()
62 MDLocation::get(Scope->getContext(), Line, Col, Scope, InlinedAt)); in get()
H A DDiagnosticInfo.cpp136 unsigned *Line, in getLocation() argument
140 *Line = DIL.getLineNumber(); in getLocation()
146 unsigned Line = 0; in getLocationStr() local
149 getLocation(&Filename, &Line, &Column); in getLocationStr()
150 return Twine(Filename + ":" + Twine(Line) + ":" + Twine(Column)).str(); in getLocationStr()
H A DGCOV.cpp197 uint32_t Line; in readGCNO() local
198 if (!Buff.readInt(Line)) return false; in readGCNO()
200 if (!Line) continue; in readGCNO()
201 Block.addLine(Line); in readGCNO()
456 StringRef Line; in printNext() local
458 Line = "/*EOF*/"; in printNext()
460 std::tie(Line, Remaining) = Remaining.split("\n"); in printNext()
461 OS << format("%5u:", LineNum) << Line << "\n"; in printNext()
551 const LineData &Line = I->second; in print() local
554 LineIndex < Line.LastLine || !AllLines.empty(); ++LineIndex) { in print()
[all …]
/minix3/external/bsd/llvm/dist/clang/include/clang/Frontend/
H A DSerializedDiagnosticReader.h48 unsigned Line; member
51 Location(unsigned FileID, unsigned Line, unsigned Col, unsigned Offset) in Location()
52 : FileID(FileID), Line(Line), Col(Col), Offset(Offset) {} in Location()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/
H A DDIContext.h34 uint32_t Line; member
38 : FileName("<invalid>"), FunctionName("<invalid>"), Line(0), Column(0) {} in DILineInfo()
41 return Line == RHS.Line && Column == RHS.Column &&
/minix3/external/bsd/llvm/dist/clang/lib/Frontend/
H A DLogDiagnosticPrinter.cpp51 if (DE.Line != 0) { in EmitDiagEntry()
54 EmitInteger(OS, DE.Line) << '\n'; in EmitDiagEntry()
142 DE.Line = DE.Column = 0; in HandleDiagnostic()
157 DE.Line = PLoc.getLine(); in HandleDiagnostic()

123456789