Home
last modified time | relevance | path

Searched refs:getLine (Results 1 – 25 of 494) sorted by relevance

12345678910>>...20

/external/llvm-project/llvm/unittests/Support/
Dformatted_raw_ostream_test.cpp38 EXPECT_EQ(0U, C.getLine()); in TEST()
42 EXPECT_EQ(0U, C.getLine()); in TEST()
46 EXPECT_EQ(0U, C.getLine()); in TEST()
51 EXPECT_EQ(1U, C.getLine()); in TEST()
56 EXPECT_EQ(1U, C.getLine()); in TEST()
68 EXPECT_EQ(1U, C.getLine()); in TEST()
83 EXPECT_EQ(1U, C.getLine()); in TEST()
96 EXPECT_EQ(0U, C.getLine()); in TEST()
103 EXPECT_EQ(0U, C.getLine()); in TEST()
110 EXPECT_EQ(0U, C.getLine()); in TEST()
[all …]
/external/angle/src/compiler/translator/
DValidateLimitations.cpp118 error(node->getLine(), in visitSymbol()
184 error(node->getLine(), "This type of loop is not allowed", type == ELoopWhile ? "while" : "do"); in validateLoopType()
212 error(node->getLine(), "Missing init declaration", "for"); in validateForLoopInit()
223 error(init->getLine(), "Invalid init declaration", "for"); in validateForLoopInit()
230 error(decl->getLine(), "Invalid init declaration", "for"); in validateForLoopInit()
236 error(decl->getLine(), "Invalid init declaration", "for"); in validateForLoopInit()
242 error(declInit->getLine(), "Invalid init declaration", "for"); in validateForLoopInit()
249 error(symbol->getLine(), "Invalid type for loop index", getBasicString(type)); in validateForLoopInit()
255 error(declInit->getLine(), "Loop index cannot be initialized with non-constant expression", in validateForLoopInit()
268 error(node->getLine(), "Missing condition", "for"); in validateForLoopCond()
[all …]
DValidateAST.cpp137 mDiagnostics->error(node->getLine(), "Found child with two parents", in visitNode()
254 mDiagnostics->error(node->getLine(), in visitBuiltIn()
262 mDiagnostics->error(node->getLine(), in visitBuiltIn()
361 mDiagnostics->error(node->getLine(), "Too few children", "<validateNullNodes>"); in expectNonNullChildren()
369 mDiagnostics->error(node->getLine(), "Found nullptr child", "<validateNullNodes>"); in expectNonNullChildren()
394 mDiagnostics->error(node->getLine(), in visitSymbol()
403 mDiagnostics->error(node->getLine(), in visitSymbol()
417 mDiagnostics->error(node->getLine(), in visitSymbol()
501 mDiagnostics->error(node->getLine(), in visitFunctionDefinition()
548 mDiagnostics->error(node->getLine(), in visitGlobalQualifierDeclaration()
[all …]
DValidateSwitch.cpp186 mDiagnostics->error(node->getLine(), "label statement nested inside control flow", nodeStr); in visitCase()
196 mDiagnostics->error(node->getLine(), "duplicate default label", nodeStr); in visitCase()
210 mDiagnostics->error(condition->getLine(), in visitCase()
221 mDiagnostics->error(condition->getLine(), "duplicate case label", nodeStr); in visitCase()
234 mDiagnostics->error(condition->getLine(), "duplicate case label", nodeStr); in visitCase()
/external/swiftshader/src/OpenGL/compiler/
DValidateLimitations.cpp204 error(node->getLine(), in validateLoopType()
234 error(node->getLine(), "Missing init declaration", "for"); in validateForLoopInit()
244 error(init->getLine(), "Invalid init declaration", "for"); in validateForLoopInit()
250 error(decl->getLine(), "Invalid init declaration", "for"); in validateForLoopInit()
255 error(decl->getLine(), "Invalid init declaration", "for"); in validateForLoopInit()
260 error(declInit->getLine(), "Invalid init declaration", "for"); in validateForLoopInit()
266 error(symbol->getLine(), in validateForLoopInit()
272 error(declInit->getLine(), in validateForLoopInit()
287 error(node->getLine(), "Missing condition", "for"); in validateForLoopCond()
296 error(node->getLine(), "Invalid condition", "for"); in validateForLoopCond()
[all …]
DIntermediate.cpp627 …air.node1 ? setAggregateOperator(nodePair.node1, EOpSequence, nodePair.node1->getLine()) : nullptr; in addSelection()
629 …air.node2 ? setAggregateOperator(nodePair.node2, EOpSequence, nodePair.node2->getLine()) : nullptr; in addSelection()
1048 infoSink.info.message(EPrefixInternalError, "Missing elses", getLine()); in promote()
1085 infoSink.info.message(EPrefixInternalError, "Missing elses", getLine()); in promote()
1457 …fo.message(EPrefixInternalError, "Constant Folding cannot be done for matrix multiply", getLine()); in fold()
1466 …fo.message(EPrefixInternalError, "Constant Folding cannot be done for matrix multiply", getLine()); in fold()
1554 … infoSink.info.message(EPrefixWarning, "Divide by zero error during constant folding", getLine()); in fold()
1564 … infoSink.info.message(EPrefixWarning, "Divide by zero error during constant folding", getLine()); in fold()
1577 … infoSink.info.message(EPrefixWarning, "Divide by zero error during constant folding", getLine()); in fold()
1589 …nfoSink.info.message(EPrefixInternalError, "Constant folding cannot be done for \"/\"", getLine()); in fold()
[all …]
DparseConst.cpp70 …k.info.message(EPrefixInternalError, "Symbol Node found in constant constructor", node->getLine()); in visitSymbol()
82 infoSink.info.message(EPrefixError, buf.c_str(), node->getLine()); in visitBinary()
87 …k.info.message(EPrefixInternalError, "Binary Node found in constant constructor", node->getLine()); in visitBinary()
97 infoSink.info.message(EPrefixError, buf.c_str(), node->getLine()); in visitUnary()
108 infoSink.info.message(EPrefixError, buf.c_str(), node->getLine()); in visitAggregate()
152 …nfo.message(EPrefixInternalError, "Selection Node found in constant constructor", node->getLine()); in visitSelection()
222 …ink.info.message(EPrefixInternalError, "Loop Node found in constant constructor", node->getLine()); in visitLoop()
229 …k.info.message(EPrefixInternalError, "Branch Node found in constant constructor", node->getLine()); in visitBranch()
DValidateSwitch.cpp100 mContext->error(node->getLine(), "label statement nested inside control flow", nodeStr); in visitCase()
110 mContext->error(node->getLine(), "duplicate default label", nodeStr); in visitCase()
124 mContext->error(condition->getLine(), in visitCase()
134 mContext->error(condition->getLine(), "duplicate case label", nodeStr); in visitCase()
147 mContext->error(condition->getLine(), "duplicate case label", nodeStr); in visitCase()
/external/angle/src/tests/compiler_tests/
DIntermNode_test.cpp98 ASSERT_EQ(original->getLine().first_file, copy->getLine().first_file); in checkSymbolCopy()
99 ASSERT_EQ(original->getLine().first_line, copy->getLine().first_line); in checkSymbolCopy()
100 ASSERT_EQ(original->getLine().last_file, copy->getLine().last_file); in checkSymbolCopy()
101 ASSERT_EQ(original->getLine().last_line, copy->getLine().last_line); in checkSymbolCopy()
153 checkTestSourceLoc(copy->getLine()); in TEST_F()
169 checkTestSourceLoc(copy->getLine()); in TEST_F()
186 checkTestSourceLoc(copy->getLine()); in TEST_F()
205 checkTestSourceLoc(copy->getLine()); in TEST_F()
230 checkTestSourceLoc(copy->getLine()); in TEST_F()
256 checkTestSourceLoc(copy->getLine()); in TEST_F()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DSourceNodeImplTest.java32 assertEquals(LineImpl.EMPTY, node.getLine(123)); in testInit()
39 assertEquals(LineImpl.EMPTY, node.getLine(5)); in testGetLine()
40 assertEquals(LineImpl.EMPTY, node.getLine(15)); in testGetLine()
41 assertEquals(LineImpl.EMPTY, node.getLine(25)); in testGetLine()
48 assertEquals(LineImpl.EMPTY, node.getLine(10)); in testEnsureCapacityUnknown1()
55 assertEquals(LineImpl.EMPTY, node.getLine(10)); in testEnsureCapacityUnknown2()
77 assertEquals(CounterImpl.getInstance(1, 1), node.getLine(10) in testIncrementLines()
79 assertEquals(CounterImpl.COUNTER_0_0, node.getLine(11) in testIncrementLines()
81 assertEquals(CounterImpl.getInstance(2, 2), node.getLine(12) in testIncrementLines()
175 .getLine(33).getInstructionCounter()); in testIncrementLine()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DRecognitionException.java107 this.line = token.getLine(); in RecognitionException()
115 this.line = ((CharStream)input).getLine(); in RecognitionException()
141 if ( payload.getLine()<= 0 ) { in extractInformationFromTreeNodeStream()
147 if ( priorPayload!=null && priorPayload.getLine()>0 ) { in extractInformationFromTreeNodeStream()
149 this.line = priorPayload.getLine(); in extractInformationFromTreeNodeStream()
164 this.line = payload.getLine(); in extractInformationFromTreeNodeStream()
169 this.line = ((Tree)this.node).getLine(); in extractInformationFromTreeNodeStream()
DLexer.java79 state.tokenStartLine = input.getLine(); in nextToken()
116 eof.setLine(getLine()); in getEOFToken()
232 public int getLine() { in getLine() method in Lexer
233 return input.getLine(); in getLine()
347 String inputSymbol = ((char)input.LT(1))+" line="+getLine()+":"+getCharPositionInLine(); in traceIn()
352 String inputSymbol = ((char)input.LT(1))+" line="+getLine()+":"+getCharPositionInLine(); in traceOut()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DRecognitionException.js37 this.line = this.token.getLine();
47 this.line = input.getLine();
129 if ( payload.getLine()<= 0 ) {
135 if ( priorPayload && priorPayload.getLine()>0 ) {
137 this.line = priorPayload.getLine();
147 this.line = payload.getLine();
152 this.line = this.node.getLine();
/external/llvm-project/llvm/lib/Transforms/Utils/
DAddDiscriminators.cpp202 Location L = std::make_pair(DIL->getFilename(), DIL->getLine()); in addDiscriminators()
215 << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
220 LLVM_DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
246 std::make_pair(CurrentDIL->getFilename(), CurrentDIL->getLine()); in addDiscriminators()
254 << CurrentDIL->getLine() << ":" << CurrentDIL->getColumn() in addDiscriminators()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DAddDiscriminators.cpp202 Location L = std::make_pair(DIL->getFilename(), DIL->getLine()); in addDiscriminators()
215 << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
220 LLVM_DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
246 std::make_pair(CurrentDIL->getFilename(), CurrentDIL->getLine()); in addDiscriminators()
254 << CurrentDIL->getLine() << ":" << CurrentDIL->getColumn() in addDiscriminators()
/external/llvm/lib/IR/
DDebugLoc.cpp25 unsigned DebugLoc::getLine() const { in getLine() function in DebugLoc
27 return get()->getLine(); in getLine()
74 dbgs() << getLine(); in dump()
92 OS << ':' << getLine(); in print()
DLLVMContextImpl.h255 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()),
259 return Line == RHS->getLine() && Column == RHS->getColumn() &&
365 Line(N->getLine()), Scope(N->getRawScope()),
372 File == RHS->getRawFile() && Line == RHS->getLine() &&
454 Line(N->getLine()), Scope(N->getRawScope()),
464 File == RHS->getRawFile() && Line == RHS->getLine() &&
557 Line(N->getLine()), Type(N->getRawType()),
569 File == RHS->getRawFile() && Line == RHS->getLine() &&
639 : Scope(N->getRawScope()), File(N->getRawFile()), Line(N->getLine()),
644 Line == RHS->getLine() && Column == RHS->getColumn();
[all …]
/external/doclava/src/com/google/doclava/apicheck/
DApiFile.java81 throw new ApiParseException("expected package got " + token, tokenizer.getLine()); in parseApi()
103 throw new ApiParseException("expected '{' got " + token, tokenizer.getLine()); in parsePackage()
167 throw new ApiParseException("missing class or interface. got: " + token, tokenizer.getLine()); in parseClass()
206 throw new ApiParseException("expected {", tokenizer.getLine()); in parseClass()
225 … throw new ApiParseException("expected ctor, enum_constant, field or method", tokenizer.getLine()); in parseClass()
262 throw new ApiParseException("expected (", tokenizer.getLine()); in parseConstructor()
282 throw new ApiParseException("expected ; found " + token, tokenizer.getLine()); in parseConstructor()
364 throw new ApiParseException("expected (", tokenizer.getLine()); in parseMethod()
373 throw new ApiParseException("expected ; found " + token, tokenizer.getLine()); in parseMethod()
439 throw new ApiParseException("expected ; found " + token, tokenizer.getLine()); in parseField()
[all …]
/external/llvm/lib/Transforms/Utils/
DAddDiscriminators.cpp192 Location L = std::make_pair(DIL->getFilename(), DIL->getLine()); in addDiscriminators()
207 I.setDebugLoc(DILocation::get(Ctx, DIL->getLine(), DIL->getColumn(), in addDiscriminators()
209 DEBUG(dbgs() << DIL->getFilename() << ":" << DIL->getLine() << ":" in addDiscriminators()
232 std::make_pair(CurrentDIL->getFilename(), CurrentDIL->getLine()); in addDiscriminators()
238 Current->setDebugLoc(DILocation::get(Ctx, CurrentDIL->getLine(), in addDiscriminators()
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonTree.js61 getLine: function() { method
62 if ( !this.token || this.token.getLine()===0 ) {
64 return this.getChild(0).getLine();
68 return this.token.getLine();
/external/llvm-project/llvm/lib/CodeGen/
DMachineDebugify.cpp49 unsigned NextLine = SP->getLine(); in applyDebugifyMetadataToMachineFunction()
77 unsigned Line = DVI->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
80 if (!EarliestDVI || Line < EarliestDVI->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction()
111 unsigned Line = MI.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
113 Line = EarliestDVI->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DCommonTree.java97 public int getLine() { in getLine() method in CommonTree
98 if ( token==null || token.getLine()==0 ) { in getLine()
100 return getChild(0).getLine(); in getLine()
104 return token.getLine(); in getLine()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDebugLoc.cpp25 unsigned DebugLoc::getLine() const { in getLine() function in DebugLoc
27 return get()->getLine(); in getLine()
109 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
125 OS << ':' << getLine(); in print()
/external/llvm-project/llvm/lib/IR/
DDebugLoc.cpp25 unsigned DebugLoc::getLine() const { in getLine() function in DebugLoc
27 return get()->getLine(); in getLine()
109 Ctx, MD->getLine(), MD->getColumn(), MD->getScope(), Last); in appendInlinedAt()
125 OS << ':' << getLine(); in print()
/external/angle/src/compiler/translator/tree_ops/d3d/
DRewriteUnaryMinusOperatorInt.cpp82 bitwiseNot->setLine(opr->getLine()); in visitUnary()
96 oneNode->setLine(opr->getLine()); in visitUnary()
100 add->setLine(opr->getLine()); in visitUnary()

12345678910>>...20