Home
last modified time | relevance | path

Searched refs:_index (Results 1 - 25 of 42) sorted by relevance

12

/third_party/protobuf/csharp/src/Google.Protobuf.Test/Buffers/
H A 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 in Clear()
[all...]
/third_party/python/Tools/peg_generator/pegen/
H A Dtokenizer.py27 self._index = 0
36 cached = not self._index == len(self._tokens)
38 self._index += 1
45 while self._index == len(self._tokens):
60 return self._tokens[self._index]
68 for tok in reversed(self._tokens[: self._index]):
96 return self._index
99 if index == self._index:
102 old_index = self._index
103 self._index
[all...]
/third_party/python/Lib/dbm/
H A Ddumb.py68 self._index = None # maps keys to (pos, siz) pairs
95 self._index = {}
108 self._index[key] = pos_and_siz_pair
117 if self._index is None or not self._modified:
132 for key, pos_and_siz_pair in self._index.items():
141 if self._index is None:
148 pos, siz = self._index[key] # may raise KeyError
182 self._index[key] = pos_and_siz_pair
200 if key not in self._index:
205 pos, siz = self._index[ke
[all...]
/third_party/skia/modules/canvaskit/npm_build/
H A Dtextapi_utils.js258 _index: { start: 0, end: 0 },
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
[all...]
/third_party/skia/demos.skia.org/demos/textedit/
H A Dtextapi_utils.js247 _index: { start: 0, end: 0 },
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
[all...]
/third_party/ffmpeg/libavcodec/
H A 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 >>
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DLocaleSyntaxException.java15 private int _index = -1; field in LocaleSyntaxException
23 _index = errorIndex; in LocaleSyntaxException()
27 return _index; in getErrorIndex()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
H A DLocaleSyntaxException.java19 private int _index = -1; field in LocaleSyntaxException
27 _index = errorIndex; in LocaleSyntaxException()
31 return _index; in getErrorIndex()
/third_party/python/Lib/multiprocessing/
H A Dpool.py845 self._index = 0
858 if self._index == self._length:
865 if self._index == self._length:
879 if self._index == i:
881 self._index += 1
882 while self._index in self._unsorted:
883 obj = self._unsorted.pop(self._index)
885 self._index += 1
890 if self._index == self._length:
897 if self._index
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_tex_sample.c167 #define LP_LLVM_TEXTURE_MEMBER(_name, _index, _emit_load) \
177 _index, #_name, _emit_load ); \
236 #define LP_LLVM_SAMPLER_MEMBER(_name, _index, _emit_load) \
244 sampler_unit, _index, #_name, _emit_load ); \
312 #define LP_LLVM_IMAGE_MEMBER(_name, _index, _emit_load) \
321 _index, #_name, _emit_load ); \
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_llvm_sample.c250 #define DRAW_LLVM_TEXTURE_MEMBER(_name, _index, _emit_load) \
260 _index, #_name, _emit_load ); \
276 #define DRAW_LLVM_SAMPLER_MEMBER(_name, _index, _emit_load) \
284 sampler_unit, _index, #_name, _emit_load ); \
294 #define DRAW_LLVM_IMAGE_MEMBER(_name, _index, _emit_load) \
303 _index, #_name, _emit_load ); \
/third_party/FreeBSD/sys/kern/
H A Dbus_if.h190 typedef int bus_read_ivar_t(device_t _dev, device_t _child, int _index,
211 * @param _index the instance variable to read
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()
241 * @param _index the instance variable to write
/third_party/node/deps/v8/tools/release/
H A Dtest_scripts.py134 self._index = -1
140 self._index += 1
143 expected_call = self._recipe[self._index]
191 if self._index < len(self._recipe) -1:
193 (self._index, len(self._recipe)))
/third_party/protobuf/python/google/protobuf/internal/
H A 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/python/Lib/
H A Drandom.py54 from operator import index as _index namespace
295 istart = _index(start)
317 istop = _index(stop)
330 istep = _index(step)
H A Dfractions.py597 def __int__(a, _index=operator.index):
600 return _index(-(-a._numerator // a._denominator))
602 return _index(a._numerator // a._denominator)
H A Ddatetime.py14 from operator import index as _index namespace
516 year = _index(year)
517 month = _index(month)
518 day = _index(day)
529 hour = _index(hour)
530 minute = _index(minute)
531 second = _index(second)
532 microsecond = _index(microsecond)
2629 _format_time, _format_offset, _index, _is_leap, _isoweek1monday, _math,
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A 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/alsa-lib/include/
H A Dhwdep.h160 void snd_hwdep_dsp_image_set_index(snd_hwdep_dsp_image_t *obj, unsigned int _index);
/third_party/lzma/CPP/7zip/UI/Common/
H A DArchiveExtractCallback.cpp531 return _arc->GetItem_Size(_index, _curSize, _curSize_Defined); in GetUnpackSize()
782 const UInt32 index = _index; in ReadLink()
838 _arc->GetRawProps->GetRawProp(_index, kpidNtReparse, &data, &dataSize, &propType); in ReadLink()
984 const UInt32 index = _index; in Read_fi_Props()
1300 const UInt32 index = _index; in GetExtractStream()
1578 _index = index; in GetStream()
2339 _arc->GetRawProps->GetRawProp(_index, kpidNtSecure, &data, &dataSize, &propType); in SetOperationResult()
2474 // if (index != _index) return E_FAIL; in GetStream2()
H A DArchiveExtractCallback.h371 UInt32 _index;
/third_party/icu/icu4c/source/test/intltest/
H A Dcpdtrtst.cpp364 UTransPosition _index = {1,3,2,3}; in TestTransliterate()
365 uprv_memcpy(&index, &_index, sizeof(index)); in TestTransliterate()
/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_draw_hw_select.c197 nir_variable *name##_index = \
199 nir_store_var(b, name##_index, nir_imm_int(b, 0), 1); \
203 nir_ssa_def *idx = nir_load_var(b, name##_index); \
207 nir_store_var(b, name##_index, nir_iadd_imm(b, idx, 1), 1); \
/third_party/node/deps/llhttp/src/
H A Dllhttp.c241 index = s->_index; in llparse__match_sequence_id()
256 s->_index = index; in llparse__match_sequence_id()
261 s->_index = 0; in llparse__match_sequence_id()
273 index = s->_index; in llparse__match_sequence_to_lower()
288 s->_index = index; in llparse__match_sequence_to_lower()
293 s->_index = 0; in llparse__match_sequence_to_lower()
305 index = s->_index; in llparse__match_sequence_to_lower_unsafe()
320 s->_index = index; in llparse__match_sequence_to_lower_unsafe()
325 s->_index = 0; in llparse__match_sequence_to_lower_unsafe()
8407 index = s->_index; in llparse__match_sequence_to_lower()
[all...]
/third_party/node/deps/llhttp/include/
H A Dllhttp.h22 int32_t _index; member

Completed in 33 milliseconds

12