Home
last modified time | relevance | path

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

123

/external/libusb/libusb/os/
Dpoll_windows.c105 static inline BOOL cancel_io(int _index) in cancel_io() argument
107 if ((_index < 0) || (_index >= MAX_FDS)) { in cancel_io()
111 if ( (poll_fd[_index].fd < 0) || (poll_fd[_index].handle == INVALID_HANDLE_VALUE) in cancel_io()
112 || (poll_fd[_index].handle == 0) || (poll_fd[_index].overlapped == NULL) ) { in cancel_io()
115 if (poll_fd[_index].itransfer && poll_fd[_index].cancel_fn) { in cancel_io()
117 (*poll_fd[_index].cancel_fn)(poll_fd[_index].itransfer); in cancel_io()
121 return (*pCancelIoEx)(poll_fd[_index].handle, poll_fd[_index].overlapped); in cancel_io()
123 if (_poll_fd[_index].thread_id == GetCurrentThreadId()) { in cancel_io()
124 return CancelIo(poll_fd[_index].handle); in cancel_io()
137 static __inline BOOL cancel_io(int _index) in cancel_io() argument
[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/tensorflow/tensorflow/tools/docs/
Ddoc_generator_visitor.py43 self._index = {}
63 return self._index
146 self._index[parent_name] = parent
160 self._index[full_name] = child
185 container = self._index['.'.join(parts[:-1])]
198 container = self._index['.'.join(parts)]
239 for full_name, py_object in six.iteritems(self._index):
266 tf_export.get_canonical_name_for_symbol(self._index[names[0]])
281 reverse_index[id(self._index[master_name])] = master_name
/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/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()
D7zFolderInStream.h30 unsigned _index; variable
48 bool WasFinished() const { return _index == _numFiles; } in WasFinished()
/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/eclipse-build/plugins.template/com.ibm.icu.base/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/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-7.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/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 …]
/external/grpc-grpc/src/objective-c/RxLibrary/private/
DGRXNSFastEnumerator.m27 NSUInteger _index;
54 if (_index == _count) {
55 _index = 0;
70 return _state.itemsPtr[_index++];
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/AArch64/
DAArch64GenSystemOperands.inc1010 unsigned _index;
1045 return &ATsList[Idx->_index];
1051 unsigned _index;
1087 return &ATsList[Idx->_index];
1115 unsigned _index;
1148 return &DBsList[Idx->_index];
1154 unsigned _index;
1188 return &DBsList[Idx->_index];
1213 unsigned _index;
1243 return &DCsList[Idx->_index];
[all …]
/external/python/cpython3/Lib/multiprocessing/
Dpool.py837 self._index = 0
850 if self._index == self._length:
857 if self._index == self._length:
871 if self._index == i:
873 self._index += 1
874 while self._index in self._unsorted:
875 obj = self._unsorted.pop(self._index)
877 self._index += 1
882 if self._index == self._length:
889 if self._index == self._length:
[all …]
/external/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()
293 #define DRAW_LLVM_IMAGE_MEMBER(_name, _index, _emit_load) \ argument
302 _index, #_name, _emit_load ); \
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tex_sample.c162 #define LP_LLVM_TEXTURE_MEMBER(_name, _index, _emit_load) \ argument
172 _index, #_name, _emit_load ); \
235 #define LP_LLVM_SAMPLER_MEMBER(_name, _index, _emit_load) \ argument
243 sampler_unit, _index, #_name, _emit_load ); \
314 #define LP_LLVM_IMAGE_MEMBER(_name, _index, _emit_load) \ argument
323 _index, #_name, _emit_load ); \
/external/antlr/runtime/Python3/antlr3/
Dtokens.py62 self._index = index
131 return self._index
135 self._index = value

123