Home
last modified time | relevance | path

Searched refs:_index (Results 1 – 25 of 115) sorted by relevance

12345

/external/python/cpython3/Tools/peg_generator/pegen/
Dtokenizer.py25 self._index = 0
33 while self._index == len(self._tokens):
41 tok = self._tokens[self._index]
42 self._index += 1
49 while self._index == len(self._tokens):
56 return self._tokens[self._index]
64 return self._index
67 if index == self._index:
70 old_index = self._index
71 self._index = index
[all …]
/external/python/cpython2/Lib/
Ddumbdbm.py67 self._index = None # maps keys to (pos, siz) pairs
81 self._index = {}
92 self._index[key] = pos_and_siz_pair
101 if self._index is None or not self._modified:
116 for key, pos_and_siz_pair in self._index.iteritems():
122 pos, siz = self._index[key] # may raise KeyError
156 self._index[key] = pos_and_siz_pair
165 if key not in self._index:
170 pos, siz = self._index[key]
174 self._index[key] = self._setval(pos, val)
[all …]
/external/python/cpython3/Lib/dbm/
Ddumb.py67 self._index = None # maps keys to (pos, siz) pairs
94 self._index = {}
107 self._index[key] = pos_and_siz_pair
116 if self._index is None or not self._modified:
131 for key, pos_and_siz_pair in self._index.items():
140 if self._index is None:
147 pos, siz = self._index[key] # may raise KeyError
181 self._index[key] = pos_and_siz_pair
199 if key not in self._index:
204 pos, siz = self._index[key]
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonStreamContext.java37 protected int _index; field in JsonStreamContext
55 _index = base._index; in JsonStreamContext()
63 _index = index; in JsonStreamContext()
129 public final int getEntryCount() { return _index + 1; } in getEntryCount()
134 public final int getCurrentIndex() { return (_index < 0) ? 0 : _index; } in getCurrentIndex()
143 public boolean hasCurrentIndex() { return _index >= 0; } in hasCurrentIndex()
/external/skia/modules/canvaskit/npm_build/
Dtextapi_utils.js254 _index: { start: 0, end: 0 }, property
279 const a = this._index.start;
280 const b = this._index.end;
291 this._index.start = this._index.end = i;
296 this._index.start = a;
297 this._index.end = b;
302 if (this._index.start == this._index.end) {
304 index = Math.max(Math.min(this._index.start + dx, this._text.length), 0);
307 index = dx < 0 ? this._index.start : this._index.end;
312 let index = (dy < 0) ? this._index.start : this._index.end;
[all …]
/external/skia/demos.skia.org/demos/textedit/
Dtextapi_utils.js244 _index: { start: 0, end: 0 }, property
269 const a = this._index.start;
270 const b = this._index.end;
281 this._index.start = this._index.end = i;
286 this._index.start = a;
287 this._index.end = b;
292 if (this._index.start == this._index.end) {
294 index = Math.max(Math.min(this._index.start + dx, this._text.length), 0);
297 index = dx < 0 ? this._index.start : this._index.end;
302 let index = (dy < 0) ? this._index.start : this._index.end;
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DJsonWriteContext.java73 _index = -1; in JsonWriteContext()
83 _index = -1; in JsonWriteContext()
89 _index = -1; in reset()
100 _index = -1; in reset()
218 return (_index < 0) ? STATUS_OK_AS_IS : STATUS_OK_AFTER_COMMA; in writeFieldName()
236 ++_index; in writeValue()
242 int ix = _index; in writeValue()
243 ++_index; in writeValue()
249 ++_index; in writeValue()
250 return (_index == 0) ? STATUS_OK_AS_IS : STATUS_OK_AFTER_SPACE; in writeValue()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DAnnotatedParameter.java33 protected final int _index; field in AnnotatedParameter
48 _index = index; in AnnotatedParameter()
56 return _owner.replaceParameterAnnotations(_index, ann); in withAnnotations()
149 public int getIndex() { return _index; } in getIndex()
159 return _owner.hashCode() + _index; in hashCode()
169 return other._owner.equals(_owner) && (other._index == _index); in equals()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DPropertyMetadata.java80 protected final Integer _index; field in PropertyMetadata
125 _index = index; in PropertyMetadata()
163 if ((_description == null) && (_index == null) && (_defaultValue == null) in readResolve()
175 return new PropertyMetadata(_required, desc, _index, _defaultValue, in withDescription()
183 return new PropertyMetadata(_required, _description, _index, _defaultValue, in withMergeInfo()
192 return new PropertyMetadata(_required, _description, _index, _defaultValue, in withNulls()
205 return new PropertyMetadata(_required, _description, _index, def, in withDefaultValue()
222 return new PropertyMetadata(b, _description, _index, _defaultValue, in withRequired()
254 public Integer getIndex() { return _index; } in getIndex()
259 public boolean hasIndex() { return _index != null; } in hasIndex()
DJsonMappingException.java67 protected int _index = -1; field in JsonMappingException.Reference
96 _index = index; in Reference()
101 void setIndex(int ix) { _index = ix; } in setIndex()
118 public int getIndex() { return _index; } in getIndex()
153 } else if (_index >= 0) { in getDescription()
154 sb.append(_index); in getDescription()
/external/autotest/client/cros/cellular/mbim_compliance/
Dusb_descriptors.py342 self._index = 0
357 if self._index >= self._data_length:
367 if self._index + 1 < self._data_length:
368 descriptor_type = self._data[self._index + 1]
369 if self._index + 2 < self._data_length:
370 descriptor_subtype = self._data[self._index + 2]
378 next_index = self._index + self._data[self._index]
379 descriptor = descriptor_class(self._data[self._index:next_index])
380 self._index = next_index
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DArrayIterator.java14 private int _index; field in ArrayIterator
18 _index = 0; in ArrayIterator()
22 public boolean hasNext() { return _index < _a.length; } in hasNext()
26 if (_index >= _a.length) { in next()
29 return _a[_index++]; in next()
/external/lzma/CPP/7zip/Archive/7z/
D7zFolderInStream.cpp16 _index = 0; in Init()
37 while (_index < _numFiles) in OpenStream()
40 HRESULT result = _updateCallback->GetStream(_indexes[_index], &stream); in OpenStream()
61 _index++; in OpenStream()
98 _index++; in Read()
109 if (_index >= _numFiles) in Read()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DRecognitionException.cs80 private int _index; field in Antlr.Runtime.RecognitionException
147 this._index = input.Index; in RecognitionException()
170 _index = info.GetInt32("Index"); in RecognitionException()
241 return _index;
244 _index = value;
271 info.AddValue("Index", _index); in GetObjectData()
/external/icu/android_icu4j/src/main/java/android/icu/impl/locale/
DLocaleSyntaxException.java19 private int _index = -1; field in LocaleSyntaxException
27 _index = errorIndex; in LocaleSyntaxException()
31 return _index; in getErrorIndex()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
DLocaleSyntaxException.java15 private int _index = -1; field in LocaleSyntaxException
23 _index = errorIndex; in LocaleSyntaxException()
27 return _index; in getErrorIndex()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DBufferedTreeNodeStream.cs69 int _index; field in Antlr.Runtime.Tree.BufferedTreeNodeStream.StreamIterator
73 _index = -1; in StreamIterator()
80 if (_index < _outer.nodes.Count)
81 return _outer.nodes[_index];
99 if (_index < _outer.nodes.Count) in MoveNext()
100 _index++; in MoveNext()
102 return _index < _outer.nodes.Count; in MoveNext()
106 _index = -1; in Reset()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DBufferedTreeNodeStream.cs72 int _index; field in Antlr.Runtime.Tree.BufferedTreeNodeStream.StreamIterator
77 _index = -1; in StreamIterator()
86 if ( _index < _outer.nodes.Count )
87 return _outer.nodes[_index];
107 if ( _index < _outer.nodes.Count ) in MoveNext()
108 _index++; in MoveNext()
110 return _index < _outer.nodes.Count; in MoveNext()
115 _index = -1; in Reset()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DRecognitionException.cs87 private int _index; field in Antlr.Runtime.RecognitionException
177 this._index = input.Index + k - 1; in RecognitionException()
224 _index = info.GetInt32("Index"); in RecognitionException()
324 return _index;
328 _index = value;
362 info.AddValue("Index", _index); in GetObjectData()
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Collections/
DHashList.cs65 private int _index; field in Antlr.Runtime.Collections.HashList.HashListEnumerator
74 _index = 0; in HashListEnumerator()
85 _index = 0; in HashListEnumerator()
140 _index = 0; in Reset()
170 if (_index < _orderList.Count) in MoveNext()
172 _key = _orderList[_index]; in MoveNext()
174 _index++; in MoveNext()
/external/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/ARM/
DARMGenSystemRegister.inc126 unsigned _index;
180 return &BankedRegsList[Idx->_index];
186 unsigned _index;
241 return &BankedRegsList[Idx->_index];
296 unsigned _index;
354 return &MClassSysRegsList[Idx->_index];
360 unsigned _index;
419 return &MClassSysRegsList[Idx->_index];
425 unsigned _index;
484 return &MClassSysRegsList[Idx->_index];
[all …]
/external/python/httplib2/doc/html/_static/
Dsearchtools.js216 _index : null, property
234 this._index = index;
242 return this._index !== null;
321 var filenames = this._index.filenames;
322 var titles = this._index.titles;
323 var terms = this._index.terms;
324 var descrefs = this._index.descrefs;
325 var modules = this._index.modules;
326 var desctypes = this._index.desctypes;
/external/flatbuffers/tests/FlatBuffers.Test/
DAssert.cs44 private readonly int _index; field in FlatBuffers.Test.AssertArrayFailedException
50 _index = index; in AssertArrayFailedException()
57 … get { return string.Format("Expected {0} at index {1} but saw {2}", _expected, _index, _actual); }
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DNodeCursor.java35 _index = -1; in NodeCursor()
129 ++_index; in nextToken()
171 ++_index; in nextToken()
212 ++_index; in nextToken()
/external/python/cpython2/Lib/multiprocessing/
Dpool.py644 self._index = 0
658 if self._index == self._length:
664 if self._index == self._length:
680 if self._index == i:
682 self._index += 1
683 while self._index in self._unsorted:
684 obj = self._unsorted.pop(self._index)
686 self._index += 1
691 if self._index == self._length:
700 if self._index == self._length:
[all …]

12345