/external/python/cpython3/Objects/ |
D | sliceobject.c | 116 PySlice_New(PyObject *start, PyObject *stop, PyObject *step) in PySlice_New() argument 133 if (stop == NULL) stop = Py_None; in PySlice_New() 134 Py_INCREF(stop); in PySlice_New() 138 obj->stop = stop; in PySlice_New() 165 Py_ssize_t *start, Py_ssize_t *stop, Py_ssize_t *step) in PySlice_GetIndices() argument 182 if (r->stop == Py_None) { in PySlice_GetIndices() 183 *stop = *step < 0 ? -1 : length; in PySlice_GetIndices() 185 if (!PyLong_Check(r->stop)) return -1; in PySlice_GetIndices() 186 *stop = PyLong_AsSsize_t(r->stop); in PySlice_GetIndices() 187 if (*stop < 0) *stop += length; in PySlice_GetIndices() [all …]
|
D | rangeobject.c | 16 PyObject *stop; member 42 compute_range_length(PyObject *start, PyObject *stop, PyObject *step); 46 PyObject *stop, PyObject *step) in make_range_object() argument 50 length = compute_range_length(start, stop, step); in make_range_object() 60 obj->stop = stop; in make_range_object() 75 PyObject *start = NULL, *stop = NULL, *step = NULL; in range_new() local 81 if (!PyArg_UnpackTuple(args, "range", 1, 1, &stop)) in range_new() 83 stop = PyNumber_Index(stop); in range_new() 84 if (!stop) in range_new() 93 &start, &stop, &step)) in range_new() [all …]
|
/external/python/cpython2/Objects/ |
D | sliceobject.c | 61 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/u-boot/arch/arm/cpu/armv7/ |
D | cache_v7.c | 30 static void v7_dcache_clean_inval_range(u32 start, u32 stop, u32 line_len) in v7_dcache_clean_inval_range() argument 36 for (mva = start; mva < stop; mva = mva + line_len) { in v7_dcache_clean_inval_range() 42 static void v7_dcache_inval_range(u32 start, u32 stop, u32 line_len) in v7_dcache_inval_range() argument 46 if (!check_cache_range(start, stop)) in v7_dcache_inval_range() 49 for (mva = start; mva < stop; mva = mva + line_len) { in v7_dcache_inval_range() 55 static void v7_dcache_maint_range(u32 start, u32 stop, u32 range_op) in v7_dcache_maint_range() argument 69 v7_dcache_clean_inval_range(start, stop, line_len); in v7_dcache_maint_range() 72 v7_dcache_inval_range(start, stop, line_len); in v7_dcache_maint_range() 117 void invalidate_dcache_range(unsigned long start, unsigned long stop) in invalidate_dcache_range() argument 119 check_cache_range(start, stop); in invalidate_dcache_range() [all …]
|
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/ |
D | BufferedTokenStream.java | 160 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 …]
|
D | LegacyCommonTokenStream.java | 191 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 …]
|
D | CommonToken.java | 52 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/ |
D | dataset_checkpoint_test.py | 66 def _build_graph(start, stop): argument 68 dataset_ops.Dataset.range(start, stop)) 77 stop = 10 80 init_op, get_next, save_op, _ = _build_graph(start, stop) 89 init_op, get_next, _, restore_op = _build_graph(start, stop) 93 for i in range(break_point, stop): 100 init_op, get_next, save_op, restore_op = _build_graph(start, stop) 108 for i in range(break_point, stop): 115 def _build_graph(start, stop, num_epochs): argument 116 dataset = dataset_ops.Dataset.range(start, stop).repeat(num_epochs) [all …]
|
D | range_test.py | 35 start, stop = 2, 5 36 dataset = dataset_ops.Dataset.range(start, stop) 40 start, stop, step = 2, 10, 2 41 dataset = dataset_ops.Dataset.range(start, stop, step) 45 start, stop, step = 2, 10, 0 47 dataset = dataset_ops.Dataset.range(start, stop, step) 51 start, stop, step = 2, 10, -1 52 dataset = dataset_ops.Dataset.range(start, stop, step) 56 start, stop = 10, 2 57 dataset = dataset_ops.Dataset.range(start, stop) [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | IntervalMapTest.cpp | 85 EXPECT_EQ(150u, I.stop()); in TEST() 98 EXPECT_EQ(150u, I.stop()); in TEST() 107 EXPECT_EQ(150u, I.stop()); in TEST() 114 EXPECT_EQ(150u, I.stop()); in TEST() 120 EXPECT_EQ(200u, I.stop()); in TEST() 127 EXPECT_EQ(200u, I.stop()); in TEST() 134 EXPECT_EQ(150u, I.stop()); in TEST() 140 EXPECT_EQ(160u, I.stop()); in TEST() 147 EXPECT_EQ(160u, I.stop()); in TEST() 170 EXPECT_EQ(150u, I.stop()); in TEST() [all …]
|
/external/llvm/unittests/ADT/ |
D | IntervalMapTest.cpp | 83 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/swiftshader/third_party/LLVM/unittests/ADT/ |
D | IntervalMapTest.cpp | 83 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/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
D | SlimTokenStream.cs | 182 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/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | BufferedTokenStream.cs | 283 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 …]
|
D | LegacyCommonTokenStream.cs | 234 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 …]
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | BufferedTokenStream.cs | 322 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 …]
|
D | LegacyCommonTokenStream.cs | 259 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 …]
|
D | CommonToken.cs | 64 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()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | CommonErrorNode.cs | 42 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/ |
D | CommonErrorNode.cs | 40 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/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | CommonErrorNode.java | 36 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/antlr/runtime/Ruby/test/functional/lexer/ |
D | basic.rb | 142 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/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
D | CommonErrorNode.as | 10 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/strace/ |
D | README-linux-ptrace | 28 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/tensorflow/tensorflow/lite/kernels/internal/ |
D | strided_slice_logic.h | 122 int stop = stop_indices[axis]; in StopForAxis() local 129 stop = start_for_axis + 1; in StopForAxis() 137 stop = std::numeric_limits<int>::max(); in StopForAxis() 140 stop = std::numeric_limits<int>::lowest(); in StopForAxis() 146 if (stop < 0) { in StopForAxis() 147 stop += axis_size; in StopForAxis() 155 stop = Clamp(stop, 0, axis_size); in StopForAxis() 158 stop = Clamp(stop, -1, axis_size - 1); in StopForAxis() 161 return stop; in StopForAxis() 164 inline bool LoopCondition(int index, int stop, int stride) { in LoopCondition() argument [all …]
|