Home
last modified time | relevance | path

Searched refs:stop (Results 1 – 25 of 1335) sorted by relevance

12345678910>>...54

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DBufferedTokenStream.java149 public List get(int start, int stop) { in get() argument
150 if ( start<0 || stop<0 ) return null; in get()
153 if ( stop>=tokens.size() ) stop = tokens.size()-1; in get()
154 for (int i = start; i <= stop; i++) { in get()
195 public List getTokens(int start, int stop) { in getTokens() argument
196 return getTokens(start, stop, (BitSet)null); in getTokens()
203 public List getTokens(int start, int stop, BitSet types) { in getTokens() argument
205 if ( stop>=tokens.size() ) stop=tokens.size()-1; in getTokens()
207 if ( start>stop ) return null; in getTokens()
211 for (int i=start; i<=stop; i++) { in getTokens()
[all …]
DLegacyCommonTokenStream.java191 public List getTokens(int start, int stop) { in getTokens() argument
192 return getTokens(start, stop, (BitSet)null); in getTokens()
199 public List getTokens(int start, int stop, BitSet types) { in getTokens() argument
203 if ( stop>=tokens.size() ) { in getTokens()
204 stop=tokens.size()-1; in getTokens()
209 if ( start>stop ) { in getTokens()
215 for (int i=start; i<=stop; i++) { in getTokens()
227 public List getTokens(int start, int stop, List types) { in getTokens() argument
228 return getTokens(start,stop,new BitSet(types)); in getTokens()
231 public List getTokens(int start, int stop, int ttype) { in getTokens() argument
[all …]
DCommonToken.java52 protected int stop; field in CommonToken
58 public CommonToken(CharStream input, int type, int channel, int start, int stop) { in CommonToken() argument
63 this.stop = stop; in CommonToken()
82 stop = ((CommonToken)oldToken).stop; in CommonToken()
102 if ( start<n && stop<n) { in getText()
103 return input.substring(start,stop); in getText()
152 return stop; in getStopIndex()
155 public void setStopIndex(int stop) { in setStopIndex() argument
156 this.stop = stop; in setStopIndex()
189 …return "[@"+getTokenIndex()+","+start+":"+stop+"='"+txt+"',<"+type+">"+channelStr+","+line+":"+get… in toString()
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Dbyterange.py32 stop = min(end, length)
33 return (start, stop)
98 def __init__(self, start, stop, length): argument
99 if not _is_content_range_valid(start, stop, length):
101 "Bad start:stop/length: %r-%r/%r" % (start, stop, length))
103 self.stop = stop # this is python-style range end (non-inclusive)
115 assert self.stop is None
117 stop = self.stop - 1 # from non-inclusive to HTTP-style
118 return 'bytes %s-%s/%s' % (self.start, stop, length)
126 return iter([self.start, self.stop, self.length])
[all …]
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
DSlimTokenStream.cs182 public IList<SlimToken> GetTokens( int start, int stop ) in GetTokens() argument
184 return GetTokens( start, stop, (BitSet)null ); in GetTokens()
193 public IList<SlimToken> GetTokens( int start, int stop, BitSet types ) in GetTokens() argument
199 if ( stop >= tokens.Count ) in GetTokens()
201 stop = tokens.Count - 1; in GetTokens()
207 if ( start > stop ) in GetTokens()
214 for ( int i = start; i <= stop; i++ ) in GetTokens()
229 public IList<SlimToken> GetTokens( int start, int stop, IList<int> types ) in GetTokens() argument
231 return GetTokens( start, stop, new BitSet( types ) ); in GetTokens()
234 public IList<SlimToken> GetTokens( int start, int stop, int ttype ) in GetTokens() argument
[all …]
/external/llvm/unittests/ADT/
DIntervalMapTest.cpp83 EXPECT_EQ(150u, I.stop()); in TEST()
96 EXPECT_EQ(150u, I.stop()); in TEST()
105 EXPECT_EQ(150u, I.stop()); in TEST()
112 EXPECT_EQ(150u, I.stop()); in TEST()
118 EXPECT_EQ(200u, I.stop()); in TEST()
125 EXPECT_EQ(200u, I.stop()); in TEST()
131 EXPECT_EQ(160u, I.stop()); in TEST()
150 EXPECT_EQ(150u, map.stop()); in TEST()
156 EXPECT_EQ(200u, map.stop()); in TEST()
162 EXPECT_EQ(200u, map.stop()); in TEST()
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DCommonErrorNode.cs40 public IToken stop; field in Antlr.Runtime.Tree.CommonErrorNode
43 public CommonErrorNode(ITokenStream input, IToken start, IToken stop, in CommonErrorNode() argument
46 if (stop == null || in CommonErrorNode()
47 (stop.TokenIndex < start.TokenIndex && in CommonErrorNode()
48 stop.Type != TokenTypes.EndOfFile)) { in CommonErrorNode()
53 stop = start; in CommonErrorNode()
57 this.stop = stop; in CommonErrorNode()
72 int j = ((IToken)stop).TokenIndex;
73 if (((IToken)stop).Type == TokenTypes.EndOfFile) {
78 badText = ((ITreeNodeStream)input).ToString(start, stop);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DCommonErrorNode.cs42 public IToken stop; field in Antlr.Runtime.Tree.CommonErrorNode
45 public CommonErrorNode( ITokenStream input, IToken start, IToken stop, in CommonErrorNode() argument
49 if ( stop == null || in CommonErrorNode()
50 ( stop.TokenIndex < start.TokenIndex && in CommonErrorNode()
51 stop.Type != TokenTypes.EndOfFile ) ) in CommonErrorNode()
57 stop = start; in CommonErrorNode()
61 this.stop = stop; in CommonErrorNode()
81 int j = ( (IToken)stop ).TokenIndex;
82 if ( ( (IToken)stop ).Type == TokenTypes.EndOfFile )
90 badText = ( (ITreeNodeStream)input ).ToString( start, stop );
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/
DCommonErrorNode.java36 public Token stop; field in CommonErrorNode
39 public CommonErrorNode(TokenStream input, Token start, Token stop, in CommonErrorNode() argument
43 if ( stop==null || in CommonErrorNode()
44 (stop.getTokenIndex() < start.getTokenIndex() && in CommonErrorNode()
45 stop.getType()!=Token.EOF) ) in CommonErrorNode()
51 stop = start; in CommonErrorNode()
55 this.stop = stop; in CommonErrorNode()
71 int j = ((Token)stop).getTokenIndex(); in getText()
72 if ( ((Token)stop).getType() == Token.EOF ) { in getText()
78 badText = ((TreeNodeStream)input).toString(start, stop); in getText()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DBufferedTokenStream.cs322 public virtual List<IToken> GetTokens(int start, int stop) in GetTokens() argument
324 return GetTokens(start, stop, default(BitSet)); in GetTokens()
331 public virtual List<IToken> GetTokens(int start, int stop, BitSet types) in GetTokens() argument
335 if (stop >= _tokens.Count) in GetTokens()
336 stop = _tokens.Count - 1; in GetTokens()
339 if (start > stop) in GetTokens()
344 for (int i = start; i <= stop; i++) in GetTokens()
359 public virtual List<IToken> GetTokens(int start, int stop, IEnumerable<int> types) in GetTokens() argument
361 return GetTokens(start, stop, new BitSet(types)); in GetTokens()
364 public virtual List<IToken> GetTokens(int start, int stop, int ttype) in GetTokens() argument
[all …]
DCommonToken.cs64 int stop; field in Antlr.Runtime.CommonToken
75 public CommonToken( ICharStream input, int type, int channel, int start, int stop ) in CommonToken() argument
81 this.stop = stop; in CommonToken()
103 stop = ( (CommonToken)oldToken ).stop; in CommonToken()
117 if (start <= stop && stop < input.Count)
118 return input.Substring( start, stop - start + 1 );
198 return stop;
202 stop = value;
250 …return "[@" + TokenIndex + "," + start + ":" + stop + "='" + txt + "',<" + type + ">" + channelStr… in ToString()
DLegacyCommonTokenStream.cs259 public virtual IList<IToken> GetTokens( int start, int stop ) in GetTokens() argument
261 return GetTokens( start, stop, (BitSet)null ); in GetTokens()
270 public virtual IList<IToken> GetTokens( int start, int stop, BitSet types ) in GetTokens() argument
276 if ( stop >= tokens.Count ) in GetTokens()
278 stop = tokens.Count - 1; in GetTokens()
284 if ( start > stop ) in GetTokens()
291 for ( int i = start; i <= stop; i++ ) in GetTokens()
306 public virtual IList<IToken> GetTokens( int start, int stop, IList<int> types ) in GetTokens() argument
308 return GetTokens( start, stop, new BitSet( types ) ); in GetTokens()
311 public virtual IList<IToken> GetTokens( int start, int stop, int ttype ) in GetTokens() argument
[all …]
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBufferedTokenStream.cs283 public virtual List<IToken> GetTokens(int start, int stop) { in GetTokens() argument
284 return GetTokens(start, stop, default(BitSet)); in GetTokens()
291 public virtual List<IToken> GetTokens(int start, int stop, BitSet types) { in GetTokens() argument
294 if (stop >= _tokens.Count) in GetTokens()
295 stop = _tokens.Count - 1; in GetTokens()
298 if (start > stop) in GetTokens()
303 for (int i = start; i <= stop; i++) { in GetTokens()
315 public virtual List<IToken> GetTokens(int start, int stop, IEnumerable<int> types) { in GetTokens() argument
316 return GetTokens(start, stop, new BitSet(types)); in GetTokens()
319 public virtual List<IToken> GetTokens(int start, int stop, int ttype) { in GetTokens() argument
[all …]
DLegacyCommonTokenStream.cs234 public virtual IList<IToken> GetTokens(int start, int stop) { in GetTokens() argument
235 return GetTokens(start, stop, (BitSet)null); in GetTokens()
244 public virtual IList<IToken> GetTokens(int start, int stop, BitSet types) { in GetTokens() argument
248 if (stop >= tokens.Count) { in GetTokens()
249 stop = tokens.Count - 1; in GetTokens()
254 if (start > stop) { in GetTokens()
260 for (int i = start; i <= stop; i++) { in GetTokens()
272 public virtual IList<IToken> GetTokens(int start, int stop, IList<int> types) { in GetTokens() argument
273 return GetTokens(start, stop, new BitSet(types)); in GetTokens()
276 public virtual IList<IToken> GetTokens(int start, int stop, int ttype) { in GetTokens() argument
[all …]
DCommonToken.cs62 int stop; field in Antlr.Runtime.CommonToken
71 public CommonToken(ICharStream input, int type, int channel, int start, int stop) { in CommonToken() argument
76 this.stop = stop; in CommonToken()
95 stop = ((CommonToken)oldToken).stop; in CommonToken()
107 if (start < input.Count && stop < input.Count)
108 text = input.Substring(start, stop - start + 1);
171 return stop;
174 stop = value;
211 …return "[@" + TokenIndex + "," + start + ":" + stop + "='" + txt + "',<" + type + ">" + channelStr… in ToString()
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/
DCommonErrorNode.as10 public var stop:Token; variable in org.antlr.runtime.tree.CommonErrorNode
13 public function CommonErrorNode(input:TokenStream, start:Token, stop:Token,
16 //System.out.println("start: "+start+", stop: "+stop);
17 if ( stop==null ||
18 (stop.tokenIndex < start.tokenIndex &&
19 stop.type!=TokenConstants.EOF) )
22 // in follow set. So, stop will be 1 to left to start. adjust.
25 stop = start;
29 this.stop = stop;
45 var j:int = Token(stop).tokenIndex;
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/lexer/
Dbasic.rb142 token.stop.should == 0
149 token.stop.should == 2
154 token.stop.should == 5
160 token.stop.should == 9
196 token.stop.should == 1
203 token.stop.should == 4
208 token.stop.should == 8
254 token.stop.should == 1
261 token.stop.should == 7
300 token.stop.should == 1
[all …]
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/
DCommonErrorNode.js1 org.antlr.runtime.tree.CommonErrorNode = function(input, start, stop, e) { argument
2 if ( !stop ||
3 (stop.getTokenIndex() < start.getTokenIndex() &&
4 stop.getType()!=org.antlr.runtime.Token.EOF) )
10 stop = start;
14 this.stop = stop;
31 var j = this.stop.getTokenIndex();
32 if ( this.stop.getType() === org.antlr.runtime.Token.EOF ) {
38 badText = this.input.toString(this.start, this.stop);
/external/strace/
DREADME-linux-ptrace28 ptrace commands from the tracer is called ptrace-stop. Ptrace-stops can
29 be further subdivided into signal-delivery-stop, group-stop,
30 syscall-stop and so on. They are described in detail later.
38 not a ptrace-stop (because tracer can't query tracee status such as
41 ptrace-stop.
43 Note that killing signal will first cause signal-delivery-stop (on one
48 SIGKILL operates similarly, with exceptions. No signal-delivery-stop is
50 kills even within syscalls (syscall-exit-stop is not generated prior to
80 been observed to enter ptrace-stop. Note that there is no guarantee
93 When running tracee enters ptrace-stop, it notifies its tracer using
[all …]
/external/libvncserver/webclients/novnc/include/
Dblack.css8 …linear, left top, left bottom, color-stop(0%,#4c4c4c), color-stop(50%,#2c2c2c), color-stop(51%,#00…
28 …linear, left top, left bottom, color-stop(0%,#4c4c4c), color-stop(50%,#2c2c2c), color-stop(51%,#00…
39 …linear, left top, left bottom, color-stop(0%,#9dd53a), color-stop(50%,#a1d54f), color-stop(51%,#80…
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt011lexer.py30 assert token.stop == 5, token.stop
36 assert token.stop == 6, token.stop
42 assert token.stop == 11, token.stop
48 assert token.stop == 14, token.stop
54 assert token.stop == 20, token.stop
Dt010lexer.py30 assert token.stop == 5, token.stop
36 assert token.stop == 6, token.stop
42 assert token.stop == 11, token.stop
48 assert token.stop == 14, token.stop
54 assert token.stop == 20, token.stop
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
DCommonTokenStream.js134 getTokens: function(start, stop, types) { argument
149 if ( stop>=this.tokens.length ) {
150 stop=this.tokens.length-1;
155 if ( start>stop ) {
163 for (i=start; i<=stop; i++) {
286 toString: function(start, stop) { argument
292 stop = this.tokens.length-1;
295 if (!org.antlr.lang.isNumber(start) && !org.antlr.lang.isNumber(stop)) {
296 if ( org.antlr.lang.isValue(start) && org.antlr.lang.isValue(stop) ) {
298 stop = stop.getTokenIndex();
[all …]
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
DCommonTokenStream.pm170 my $stop = $args->{stop};
185 if ($stop >= @{$self->tokens}) {
186 $stop = $#{$self->tokens};
192 if ($start > $stop) {
197 foreach my $t (@{$self->tokens}[$start..$stop]) {
356 my ($self, $start, $stop) = @_;
358 if (defined $start && defined $stop) {
363 if (ref($start) && $stop->isa('ANTLR::Runtime::Token')) {
364 $stop = $stop->get_token_index();
367 if ($start < 0 || $stop < 0) {
[all …]
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
Dintset.py137 start, stop = arg, arg+1
143 start, stop = arg
146 if stop is None:
147 stop = self._max
152 if not ( isinstance(stop, six.integer_types) or stop is _MAXINF ):
154 if ( start is not _MININF and stop is not _MAXINF and
155 start > stop ):
157 if isinstance(stop, six.integer_types):
158 stop += 1
166 if stop < self._min:
[all …]

12345678910>>...54