Home
last modified time | relevance | path

Searched refs:LT (Results 1 – 25 of 624) sorted by relevance

12345678910>>...25

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestCommonTokenStream.java54 String result = tokens.LT(1).getText(); in testFirstToken()
75 String result = tokens.LT(2).getText(); in test2ndToken()
97 Token t = tokens.LT(i); in testCompleteBuffer()
100 t = tokens.LT(i); in testCompleteBuffer()
102 tokens.LT(i++); // push it past end in testCompleteBuffer()
103 tokens.LT(i++); in testCompleteBuffer()
126 Token t = tokens.LT(1); in testCompleteBufferAfterConsuming()
129 t = tokens.LT(1); in testCompleteBufferAfterConsuming()
132 tokens.LT(1); // push it past end in testCompleteBufferAfterConsuming()
134 tokens.LT(1); in testCompleteBufferAfterConsuming()
[all …]
DTestTreeNodeStream.java154 assertEquals(101, ((Tree)stream.LT(1)).getType()); in testLT()
155 assertEquals(Token.DOWN, ((Tree)stream.LT(2)).getType()); in testLT()
156 assertEquals(102, ((Tree)stream.LT(3)).getType()); in testLT()
157 assertEquals(Token.DOWN, ((Tree)stream.LT(4)).getType()); in testLT()
158 assertEquals(103, ((Tree)stream.LT(5)).getType()); in testLT()
159 assertEquals(Token.UP, ((Tree)stream.LT(6)).getType()); in testLT()
160 assertEquals(104, ((Tree)stream.LT(7)).getType()); in testLT()
161 assertEquals(Token.UP, ((Tree)stream.LT(8)).getType()); in testLT()
162 assertEquals(Token.EOF, ((Tree)stream.LT(9)).getType()); in testLT()
164 assertEquals(Token.EOF, ((Tree)stream.LT(100)).getType()); in testLT()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DITreeNodeStreamFixture.cs179 Assert.AreEqual(101, ((ITree)stream.LT(1)).Type); in testLT()
180 Assert.AreEqual(Token.Down, ((ITree)stream.LT(2)).Type); in testLT()
181 Assert.AreEqual(102, ((ITree)stream.LT(3)).Type); in testLT()
182 Assert.AreEqual(Token.Down, ((ITree)stream.LT(4)).Type); in testLT()
183 Assert.AreEqual(103, ((ITree)stream.LT(5)).Type); in testLT()
184 Assert.AreEqual(Token.Up, ((ITree)stream.LT(6)).Type); in testLT()
185 Assert.AreEqual(104, ((ITree)stream.LT(7)).Type); in testLT()
186 Assert.AreEqual(Token.Up, ((ITree)stream.LT(8)).Type); in testLT()
187 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(9)).Type); in testLT()
189 Assert.AreEqual(Token.EndOfFile, ((ITree)stream.LT(100)).Type); in testLT()
[all …]
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp86 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty); in getArithmeticInstrCost() local
122 int Idx = CostTableLookup(AVX2UniformConstCostTable, ISD, LT.second); in getArithmeticInstrCost()
124 return LT.first * AVX2UniformConstCostTable[Idx].Cost; in getArithmeticInstrCost()
172 int Idx = CostTableLookup(AVX512CostTable, ISD, LT.second); in getArithmeticInstrCost()
174 return LT.first * AVX512CostTable[Idx].Cost; in getArithmeticInstrCost()
178 if (ISD == ISD::SHL && LT.second == MVT::v16i16 && in getArithmeticInstrCost()
183 return LT.first; in getArithmeticInstrCost()
185 int Idx = CostTableLookup(AVX2CostTable, ISD, LT.second); in getArithmeticInstrCost()
187 return LT.first * AVX2CostTable[Idx].Cost; in getArithmeticInstrCost()
218 if (ISD == ISD::SDIV && LT.second == MVT::v4i32 && ST->hasSSE41()) in getArithmeticInstrCost()
[all …]
/external/antlr/antlr-3.4/runtime/Python/unittests/
Dtesttree.py163 self.failUnlessEqual(101, stream.LT(1).getType())
164 self.failUnlessEqual(DOWN, stream.LT(2).getType())
165 self.failUnlessEqual(102, stream.LT(3).getType())
166 self.failUnlessEqual(DOWN, stream.LT(4).getType())
167 self.failUnlessEqual(103, stream.LT(5).getType())
168 self.failUnlessEqual(UP, stream.LT(6).getType())
169 self.failUnlessEqual(104, stream.LT(7).getType())
170 self.failUnlessEqual(UP, stream.LT(8).getType())
171 self.failUnlessEqual(EOF, stream.LT(9).getType())
173 self.failUnlessEqual(EOF, stream.LT(100).getType())
[all …]
Dteststreams.py91 self.failUnlessEqual(stream.LT(1), 'f')
99 self.failUnlessEqual(stream.LT(1), 'f')
100 self.failUnlessEqual(stream.LT(2), 'o')
101 self.failUnlessEqual(stream.LT(3), 'o')
106 self.failUnlessEqual(stream.LT(1), 'o')
107 self.failUnlessEqual(stream.LT(2), antlr3.EOF)
108 self.failUnlessEqual(stream.LT(3), antlr3.EOF)
132 self.failUnlessEqual(stream.LT(1), 'b')
220 self.failUnlessEqual(stream.LT(1), 'b')
242 self.failUnlessEqual(stream.LT(1), 'a')
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DDebugTokenStream.cs51 input.LT( 1 ); in DebugTokenStream()
93 IToken t = input.LT( 1 ); in Consume()
118 public virtual IToken LT( int i ) in LT() method in Antlr.Runtime.Debug.DebugTokenStream
124 dbg.LT( i, input.LT( i ) ); in LT()
125 return input.LT( i ); in LT()
134 dbg.LT( i, input.LT( i ) ); in LA()
DDebugTreeNodeStream.cs127 object node = input.LT( 1 ); in Consume()
140 public virtual object LT( int i ) in LT() method in Antlr.Runtime.Debug.DebugTreeNodeStream
142 object node = input.LT( i ); in LT()
146 dbg.LT( i, node ); in LT()
152 object node = input.LT( i ); in LA()
156 dbg.LT( i, node ); in LA()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DDebugTokenStream.java47 input.LT(1); in DebugTokenStream()
59 Token t = input.LT(1); in consume()
80 public Token LT(int i) { in LT() method in DebugTokenStream
84 dbg.LT(i, input.LT(i)); in LT()
85 return input.LT(i); in LT()
92 dbg.LT(i, input.LT(i)); in LA()
DDebugTreeNodeStream.java65 Object node = input.LT(1); in consume()
74 public Object LT(int i) { in LT() method in DebugTreeNodeStream
75 Object node = input.LT(i); in LT()
79 dbg.LT(i, node); in LT()
84 Object node = input.LT(i); in LA()
88 dbg.LT(i, node); in LA()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugTokenStream.cs48 input.LT(1); in DebugTokenStream()
81 IToken t = input.LT(1); in Consume()
102 public virtual IToken LT(int i) { in LT() method in Antlr.Runtime.Debug.DebugTokenStream
106 dbg.LT(i, input.LT(i)); in LT()
107 return input.LT(i); in LT()
114 dbg.LT(i, input.LT(i)); in LA()
DDebugTreeNodeStream.cs109 object node = input.LT(1); in Consume()
120 public virtual object LT(int i) { in LT() method in Antlr.Runtime.Debug.DebugTreeNodeStream
121 object node = input.LT(i); in LT()
125 dbg.LT(i, node); in LT()
130 object node = input.LT(i); in LA()
134 dbg.LT(i, node); in LA()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h301 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Ty); variable
308 if (TLI->isOperationLegalOrPromote(ISD, LT.second)) {
313 if (LT.first > 1)
314 return LT.first * 2 * OpCost;
315 return LT.first * 1 * OpCost;
318 if (!TLI->isOperationExpand(ISD, LT.second)) {
321 return LT.first * 2 * OpCost;
458 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() local
460 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost()
461 !TLI->isOperationExpand(ISD, LT.second)) { in getCmpSelInstrCost()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/
DSimpleCParser.java15 public static final int LT=18; field in SimpleCParser
74 retval.start = input.LT(1); in program()
126 retval.stop = input.LT(-1); in program()
135 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); in program()
153 retval.start = input.LT(1); in declaration()
280 retval.stop = input.LT(-1); in declaration()
289 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); in declaration()
307 retval.start = input.LT(1); in variable()
371 retval.stop = input.LT(-1); in variable()
380 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); in variable()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/
DSimpleCParser.java15 public static final int LT=18; field in SimpleCParser
74 retval.start = input.LT(1); in program()
126 retval.stop = input.LT(-1); in program()
135 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); in program()
153 retval.start = input.LT(1); in declaration()
280 retval.stop = input.LT(-1); in declaration()
289 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); in declaration()
307 retval.start = input.LT(1); in variable()
371 retval.stop = input.LT(-1); in variable()
380 retval.tree = (Object)adaptor.errorNode(input, retval.start, input.LT(-1), re); in variable()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DParser.cs64 return ((ITokenStream)input).LT(1); in GetCurrentInputSymbol()
77 IToken current = ((ITokenStream)input).LT(1); in GetMissingSymbol()
79 current = ((ITokenStream)input).LT(-1); in GetMissingSymbol()
107 base.TraceIn(ruleName, ruleIndex, input.LT(1)); in TraceIn()
112 base.TraceOut(ruleName, ruleIndex, input.LT(1)); in TraceOut()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DParser.cs70 return ( (ITokenStream)input ).LT( 1 ); in GetCurrentInputSymbol()
84 IToken current = ( (ITokenStream)input ).LT( 1 ); in GetMissingSymbol()
87 current = ( (ITokenStream)input ).LT( -1 ); in GetMissingSymbol()
122 base.TraceIn( ruleName, ruleIndex, input.LT( 1 ) ); in TraceIn()
128 base.TraceOut( ruleName, ruleIndex, input.LT( 1 ) ); in TraceOut()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DParser.java56 return ((TokenStream)input).LT(1); in getCurrentInputSymbol()
68 Token current = ((TokenStream)input).LT(1); in getMissingSymbol()
70 current = ((TokenStream)input).LT(-1); in getMissingSymbol()
95 super.traceIn(ruleName, ruleIndex, input.LT(1)); in traceIn()
99 super.traceOut(ruleName, ruleIndex, input.LT(1)); in traceOut()
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
DParser.pm26 return $self->input->LT(1);
48 my $current = $input->LT(1);
50 $current = $input->LT(-1);
81 $self->SUPER::trace_in($rule_name, $rule_index, $self->input->LT(1));
87 $self->SUPER::trace_out($rule_name, $rule_index, $self->input->LT(1));
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DParser.js19 return input.LT(1);
30 var current = input.LT(1);
34 current = input.LT(-1);
64 this, ruleName, ruleIndex, this.input.LT(1));
69 this, ruleName, ruleIndex, this.input.LT(1));
/external/opencv/cxcore/include/
Dcxmisc.h421 #define CV_IMPLEMENT_QSORT_EX( func_name, T, LT, user_data_type ) \ argument
459 for( ptr2 = ptr; ptr2 > left && LT(ptr2[0],ptr2[-1]); ptr2--) \
484 left = LT(*a, *b) ? (LT(*b, *c) ? b : (LT(*a, *c) ? c : a)) \
485 : (LT(*c, *b) ? b : (LT(*a, *c) ? a : c)); \
488 pivot = LT(*a, *b) ? (LT(*b, *c) ? b : (LT(*a, *c) ? c : a)) \
489 : (LT(*c, *b) ? b : (LT(*a, *c) ? a : c)); \
492 right = LT(*a, *b) ? (LT(*b, *c) ? b : (LT(*a, *c) ? c : a)) \
493 : (LT(*c, *b) ? b : (LT(*a, *c) ? a : c)); \
497 pivot = LT(*a, *b) ? (LT(*b, *c) ? b : (LT(*a, *c) ? c : a)) \
498 : (LT(*c, *b) ? b : (LT(*a, *c) ? a : c)); \
[all …]
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas628 T := Nodes.LT(I + 1);
748 Node := Stream.LT(1) as ITree;
759 Node := Stream.LT(I) as ITree; // look ahead to ith token
826 CheckEquals((Stream.LT(1) as ITree).TokenType,101);
827 CheckEquals((Stream.LT(2) as ITree).TokenType,TToken.DOWN);
828 CheckEquals((Stream.LT(3) as ITree).TokenType,102);
829 CheckEquals((Stream.LT(4) as ITree).TokenType,TToken.DOWN);
830 CheckEquals((Stream.LT(5) as ITree).TokenType,103);
831 CheckEquals((Stream.LT(6) as ITree).TokenType,TToken.UP);
832 CheckEquals((Stream.LT(7) as ITree).TokenType,104);
[all …]
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliParser.java489 retval.start = input.LT(1); in smali_file()
727 retval.stop = input.LT(-1); in smali_file()
736 retval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re); in smali_file()
759 retval.start = input.LT(1); in class_spec()
811 retval.stop = input.LT(-1); in class_spec()
820 retval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re); in class_spec()
841 retval.start = input.LT(1); in super_spec()
891 retval.stop = input.LT(-1); in super_spec()
900 retval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re); in super_spec()
921 retval.start = input.LT(1); in implements_spec()
[all …]
/external/llvm/lib/Support/Windows/
DTimeValue.inc38 struct tm *LT;
43 LT = ::localtime(&OurTime);
44 assert(LT);
51 LT = &Storage;
55 strftime(Buffer, sizeof(Buffer), "%Y-%m-%d %H:%M:%S", LT);
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp64 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Src); in getCastInstrCost() local
65 int Idx = CostTableLookup(NEONFltDblTbl, ISD, LT.second); in getCastInstrCost()
67 return LT.first * NEONFltDblTbl[Idx].Cost; in getCastInstrCost()
295 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy); in getCmpSelInstrCost() local
296 return LT.first; in getCmpSelInstrCost()
356 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Tp); in getShuffleCost() local
358 int Idx = CostTableLookup(NEONShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second); in getShuffleCost()
362 return LT.first * NEONShuffleTbl[Idx].Cost; in getShuffleCost()
382 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(Tp); in getShuffleCost() local
384 CostTableLookup(NEONAltShuffleTbl, ISD::VECTOR_SHUFFLE, LT.second); in getShuffleCost()
[all …]

12345678910>>...25