Home
last modified time | relevance | path

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

123

/third_party/protobuf/csharp/src/Google.Protobuf.Test/Buffers/
DArrayBufferWriter.cs48 private int _index; field in Google.Protobuf.Buffers.ArrayBufferWriter
59 _index = 0; in ArrayBufferWriter()
82 _index = 0; in ArrayBufferWriter()
88 public ReadOnlyMemory<T> WrittenMemory => _buffer.AsMemory(0, _index);
93 public ReadOnlySpan<T> WrittenSpan => _buffer.AsSpan(0, _index);
98 public int WrittenCount => _index;
108 public int FreeCapacity => _buffer.Length - _index;
118 Debug.Assert(_buffer.Length >= _index); in Clear()
119 _buffer.AsSpan(0, _index).Clear(); in Clear()
120 _index = 0; in Clear()
[all …]
/third_party/python/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 …]
/third_party/python/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 …]
/third_party/skia/demos.skia.org/demos/textedit/
Dtextapi_utils.js247 _index: { start: 0, end: 0 }, property
272 const a = this._index.start;
273 const b = this._index.end;
284 this._index.start = this._index.end = i;
289 this._index.start = a;
290 this._index.end = b;
295 if (this._index.start == this._index.end) {
297 index = Math.max(Math.min(this._index.start + dx, this._text.length), 0);
300 index = dx < 0 ? this._index.start : this._index.end;
305 let index = (dy < 0) ? this._index.start : this._index.end;
[all …]
/third_party/skia/modules/canvaskit/npm_build/
Dtextapi_utils.js258 _index: { start: 0, end: 0 }, property
283 const a = this._index.start;
284 const b = this._index.end;
295 this._index.start = this._index.end = i;
300 this._index.start = a;
301 this._index.end = b;
306 if (this._index.start == this._index.end) {
308 index = Math.max(Math.min(this._index.start + dx, this._text.length), 0);
311 index = dx < 0 ? this._index.start : this._index.end;
316 let index = (dy < 0) ? this._index.start : this._index.end;
[all …]
/third_party/ffmpeg/libavcodec/
Dget_bits.h134 unsigned int name ## _index = (gb)->index; \
146 #define BITS_AVAILABLE(name, gb) name ## _index < name ## _size_plus8
149 #define CLOSE_READER(name, gb) (gb)->index = name ## _index
154 AV_RL64((gb)->buffer + (name ## _index >> 3)) >> (name ## _index & 7)
157 AV_RB64((gb)->buffer + (name ## _index >> 3)) >> (32 - (name ## _index & 7))
162 AV_RL32((gb)->buffer + (name ## _index >> 3)) >> (name ## _index & 7)
165 AV_RB32((gb)->buffer + (name ## _index >> 3)) << (name ## _index & 7)
185 # define SKIP_COUNTER(name, gb, num) name ## _index += (num)
188 name ## _index = FFMIN(name ## _size_plus8, name ## _index + (num))
191 #define BITS_LEFT(name, gb) ((int)((gb)->size_in_bits - name ## _index))
/third_party/node/deps/npm/node_modules/npm-logical-tree/
Dindex.js176 function promiseMap (arr, fn, opts, _index) { argument
177 _index = _index || 0
185 if (_index >= arr.length) {
188 return P.resolve(fn(arr[_index], _index, arr))
189 .then(() => promiseMap(arr, fn, opts, _index + 1))
/third_party/skia/third_party/externals/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
DLocaleSyntaxException.java19 private int _index = -1; field in LocaleSyntaxException
27 _index = errorIndex; in LocaleSyntaxException()
31 return _index; in getErrorIndex()
/third_party/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()
/third_party/flutter/flutter/packages/flutter/lib/src/foundation/
Dbasic_types.dart197 _LazyListIterator(this._owner) : _index = -1;
200 int _index;
204 assert(_index >= 0); // called "current" before "moveNext()"
205 if (_index < 0 || _index == _owner._results.length)
207 return _owner._results[_index];
212 if (_index >= _owner._results.length)
214 _index += 1;
215 if (_index == _owner._results.length)
/third_party/flutter/flutter/packages/flutter/lib/src/material/
Dtab_controller.dart96 _index = initialIndex,
110 }) : _index = index,
124 index: index ?? _index,
155 if (value == _index || length < 2)
158 _index = value;
163 .animateTo(_index.toDouble(), duration: duration, curve: curve)
170 _animationController.value = _index.toDouble();
185 int get index => _index;
186 int _index;
223 double get offset => _animationController.value - _index.toDouble();
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/AArch64/
DAArch64GenSystemOperands.inc1077 unsigned _index;
1112 return &ATsList[Idx->_index];
1118 unsigned _index;
1154 return &ATsList[Idx->_index];
1173 unsigned _index;
1197 return &BTIsList[Idx->_index];
1203 unsigned _index;
1228 return &BTIsList[Idx->_index];
1256 unsigned _index;
1289 return &DBsList[Idx->_index];
[all …]
/third_party/python/Lib/multiprocessing/
Dpool.py842 self._index = 0
855 if self._index == self._length:
862 if self._index == self._length:
876 if self._index == i:
878 self._index += 1
879 while self._index in self._unsorted:
880 obj = self._unsorted.pop(self._index)
882 self._index += 1
887 if self._index == self._length:
894 if self._index == self._length:
[all …]
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c250 #define DRAW_LLVM_TEXTURE_MEMBER(_name, _index, _emit_load) \ argument
260 _index, #_name, _emit_load ); \
276 #define DRAW_LLVM_SAMPLER_MEMBER(_name, _index, _emit_load) \ in DRAW_LLVM_TEXTURE_MEMBER() argument
284 sampler_unit, _index, #_name, _emit_load ); \ in DRAW_LLVM_TEXTURE_MEMBER()
294 #define DRAW_LLVM_IMAGE_MEMBER(_name, _index, _emit_load) \ argument
303 _index, #_name, _emit_load ); \
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c167 #define LP_LLVM_TEXTURE_MEMBER(_name, _index, _emit_load) \ argument
177 _index, #_name, _emit_load ); \
236 #define LP_LLVM_SAMPLER_MEMBER(_name, _index, _emit_load) \ argument
244 sampler_unit, _index, #_name, _emit_load ); \
312 #define LP_LLVM_IMAGE_MEMBER(_name, _index, _emit_load) \ argument
321 _index, #_name, _emit_load ); \
/third_party/flutter/flutter/packages/flutter/lib/src/gestures/
Dvelocity_tracker.dart155 // Circular buffer; current sample at _index.
157 int _index = 0;
161 _index += 1;
162 if (_index == _historySize)
163 _index = 0;
164 _samples[_index] = _PointAtTime(position, time);
179 int index = _index;
/third_party/node/deps/npm/node_modules/pseudomap/
Dpseudomap.js50 delete this._data[res._index]
90 this._index = i
/third_party/protobuf/python/google/protobuf/internal/
Dcontainers.py687 self._index = index
694 if self._index >= len(self._parent):
702 return self._parent._internal_get(self._index)._field_number
708 return self._parent._internal_get(self._index)._wire_type
714 return self._parent._internal_get(self._index)._data
/third_party/FreeBSD/sys/kern/
Dbus_if.h190 typedef int bus_read_ivar_t(device_t _dev, device_t _child, int _index,
220 static __inline int BUS_READ_IVAR(device_t _dev, device_t _child, int _index, in BUS_READ_IVAR() argument
225 return ((bus_read_ivar_t *) _m)(_dev, _child, _index, _result); in BUS_READ_IVAR()
/third_party/python/Lib/
Drandom.py54 from operator import index as _index unknown
303 istart = _index(start)
325 istop = _index(stop)
338 istep = _index(step)
/third_party/flutter/flutter/packages/flutter/test/material/
Dexpansion_panel_test.dart30 expansionCallback: (int _index, bool _isExpanded) {
32 extendedState[_index] = !extendedState[_index];
109 expansionCallback: (int _index, bool _isExpanded) {
110 index = _index;
142 expansionCallback: (int _index, bool _isExpanded) {
143 index = _index;
515 expansionCallback: (int _index, bool _isExpanded) {
517 'index': _index,
588 expansionCallback: (int _index, bool _isExpanded) {
590 'index': _index,
/third_party/protobuf/ruby/ext/google/protobuf_c/
Drepeated_field.c54 static int index_position(VALUE _index, RepeatedField* repeated_field) { in index_position() argument
55 int index = NUM2INT(_index); in index_position()
160 VALUE RepeatedField_index_set(VALUE _self, VALUE _index, VALUE val) { in RepeatedField_index_set() argument
167 int index = index_position(_index, self); in RepeatedField_index_set()
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/asciidoctor-chunker/
Dasciidoctor-chunker.js4_index--)}:function(i,s){s===r||s===e?i._state=t:(i._state=n,i._index--)}}function h(e,t){var n=e.…
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dtab_scaffold.dart69 : _index = initialIndex,
83 int get index => _index;
84 int _index;
88 if (_index == value) {
91 _index = value;

123