Home
last modified time | relevance | path

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

12345678910>>...150

/external/python/cpython2/Objects/
Dsliceobject.c61 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
72 if (stop == NULL) stop = Py_None; in PySlice_New()
73 Py_INCREF(stop); in PySlice_New()
77 obj->stop = stop; in PySlice_New()
104 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
120 if (r->stop == Py_None) { in PySlice_GetIndices()
121 *stop = *step < 0 ? -1 : length; in PySlice_GetIndices()
123 if (!_PyAnyInt_Check(r->stop)) return -1; in PySlice_GetIndices()
124 *stop = PyInt_AsSsize_t(r->stop); in PySlice_GetIndices()
125 if (*stop < 0) *stop += length; in PySlice_GetIndices()
[all …]
/external/python/cpython3/Objects/
Dsliceobject.c117 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument
134 if (stop == NULL) stop = Py_None; in PySlice_New()
135 Py_INCREF(stop); in PySlice_New()
139 obj->stop = stop; in PySlice_New()
166 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument
183 if (r->stop == Py_None) { in PySlice_GetIndices()
184 *stop = *step < 0 ? -1 : length; in PySlice_GetIndices()
186 if (!PyLong_Check(r->stop)) return -1; in PySlice_GetIndices()
187 *stop = PyLong_AsSsize_t(r->stop); in PySlice_GetIndices()
188 if (*stop < 0) *stop += length; in PySlice_GetIndices()
[all …]
/external/llvm-project/lldb/test/Shell/ExecControl/StopHook/
Dstop-hook.test1 # RUN: %clang_host %p/Inputs/stop-hook.c -g -o %t
2 # Test setting stop-hook per-function
3 # RUN: %lldb -b -s %p/Inputs/stop-hook-1.lldbinit -s %s -f %t \
5 # Test setting stop-hook per-line range
6 # RUN: %lldb -b -s %p/Inputs/stop-hook-2.lldbinit -s %s -f %t | FileCheck %s
7 # Test setting stop-hook with multi-line expression
8 # RUN: %lldb -b -s %p/Inputs/stop-hook-3.lldbinit -s %s -f %t | FileCheck %s
15 break set -f stop-hook.c -p "// Set breakpoint here to test target stop-hook"
16 break set -f stop-hook.c -p "// Another breakpoint which is outside of the stop-hook range"
17 target stop-hook list
[all …]
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DBufferedTokenStream.java160 public List<? extends Token> get(int start, int stop) { in get() argument
161 if ( start<0 || stop<0 ) return null; in get()
164 if ( stop>=tokens.size() ) stop = tokens.size()-1; in get()
165 for (int i = start; i <= stop; i++) { in get()
208 public List<? extends Token> getTokens(int start, int stop) { in getTokens() argument
209 return getTokens(start, stop, (BitSet)null); in getTokens()
216 public List<? extends Token> getTokens(int start, int stop, BitSet types) { in getTokens() argument
218 if ( stop>=tokens.size() ) stop=tokens.size()-1; in getTokens()
220 if ( start>stop ) return null; in getTokens()
224 for (int i=start; i<=stop; i++) { in getTokens()
[all …]
DLegacyCommonTokenStream.java191 public List<? extends Token> getTokens(int start, int stop) { in getTokens() argument
192 return getTokens(start, stop, (BitSet)null); in getTokens()
199 public List<? extends Token> 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<? extends Token> getTokens(int start, int stop, List<Integer> types) { in getTokens() argument
228 return getTokens(start,stop,new BitSet(types)); in getTokens()
231 public List<? extends Token> 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()
105 if ( start<n && stop<n) { in getText()
106 return input.substring(start,stop); in getText()
162 return stop; in getStopIndex()
165 public void setStopIndex(int stop) { in setStopIndex() argument
166 this.stop = stop; in setStopIndex()
204 …return "[@"+getTokenIndex()+","+start+":"+stop+"='"+txt+"',<"+type+">"+channelStr+","+line+":"+get… in toString()
/external/tensorflow/tensorflow/python/data/kernel_tests/
Drange_test.py40 stop = 5
41 dataset = dataset_ops.Dataset.range(stop, output_type=output_type)
42 expected_output = np.arange(stop, dtype=output_type.as_numpy_dtype)
53 start, stop = 2, 5
54 dataset = dataset_ops.Dataset.range(start, stop, output_type=output_type)
55 expected_output = np.arange(start, stop, dtype=output_type.as_numpy_dtype)
66 start, stop, step = 2, 10, 2
68 start, stop, step, output_type=output_type)
70 start, stop, step, dtype=output_type.as_numpy_dtype)
81 start, stop, step = 2, 10, 0
[all …]
/external/antlr/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-project/llvm/unittests/ADT/
DIntervalMapTest.cpp94 EXPECT_EQ(150u, I.stop()); in TEST()
107 EXPECT_EQ(150u, I.stop()); in TEST()
116 EXPECT_EQ(150u, I.stop()); in TEST()
123 EXPECT_EQ(150u, I.stop()); in TEST()
129 EXPECT_EQ(200u, I.stop()); in TEST()
136 EXPECT_EQ(200u, I.stop()); in TEST()
143 EXPECT_EQ(150u, I.stop()); in TEST()
149 EXPECT_EQ(160u, I.stop()); in TEST()
156 EXPECT_EQ(160u, I.stop()); in TEST()
179 EXPECT_EQ(150u, I.stop()); in TEST()
[all …]
/external/antlr/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/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/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/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()
74 int j = stop.getTokenIndex(); in getText()
75 if ( stop.getType() == Token.EOF ) { in getText()
81 badText = ((TreeNodeStream)input).toString(start, stop); in getText()
/external/llvm-project/lldb/test/Shell/Reproducer/Functionalities/
DTestStepping.test12 # Set breakpoints in a,b and c and verify we stop there when stepping.
28 # CHECK: stop reason = breakpoint 1.1
32 # CHECK: stop reason = breakpoint 2.1
36 # CHECK: stop reason = breakpoint 3.1
40 # CHECK: stop reason = breakpoint 4.1
47 # Continue and stop resulting from the step overs.
52 # CHECK: stop reason = step over
56 # CHECK: stop reason = step over
60 # CHECK: stop reason = step over
77 # CHECK: stop reason = step over
[all …]
/external/antlr/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/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/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/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/python/cpython3/Include/
Dsliceobject.h24 PyObject *start, *stop, *step; /* not NULL */ member
33 PyAPI_FUNC(PyObject *) PySlice_New(PyObject* start, PyObject* stop,
36 PyAPI_FUNC(PyObject *) _PySlice_FromIndices(Py_ssize_t start, Py_ssize_t stop);
42 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
45 Py_ssize_t *start, Py_ssize_t *stop,
50 #define PySlice_GetIndicesEx(slice, length, start, stop, step, slicelen) ( \ argument
51 PySlice_Unpack((slice), (start), (stop), (step)) < 0 ? \
53 ((*(slicelen) = PySlice_AdjustIndices((length), (start), (stop), *(step))), \
56 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step);
58 Py_ssize_t *start, Py_ssize_t *stop,
/external/antlr/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/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 …]

12345678910>>...150