/external/wpa_supplicant_8/src/utils/ |
D | radiotap.c | 91 struct ieee80211_radiotap_iterator *iterator, in ieee80211_radiotap_iterator_init() argument 107 iterator->_rtheader = radiotap_header; in ieee80211_radiotap_iterator_init() 108 iterator->_max_length = get_unaligned_le16(&radiotap_header->it_len); in ieee80211_radiotap_iterator_init() 109 iterator->_arg_index = 0; in ieee80211_radiotap_iterator_init() 110 iterator->_bitmap_shifter = get_unaligned_le32(&radiotap_header->it_present); in ieee80211_radiotap_iterator_init() 111 iterator->_arg = (uint8_t *)radiotap_header + sizeof(*radiotap_header); in ieee80211_radiotap_iterator_init() 112 iterator->_reset_on_ext = 0; in ieee80211_radiotap_iterator_init() 113 iterator->_next_bitmap = &radiotap_header->it_present; in ieee80211_radiotap_iterator_init() 114 iterator->_next_bitmap++; in ieee80211_radiotap_iterator_init() 115 iterator->_vns = vns; in ieee80211_radiotap_iterator_init() [all …]
|
/external/chromium_org/cc/resources/ |
D | picture_pile_impl_unittest.cc | 160 PicturePileImpl::PixelRefIterator iterator( in TEST() local 162 EXPECT_FALSE(iterator); in TEST() 165 PicturePileImpl::PixelRefIterator iterator( in TEST() local 167 EXPECT_FALSE(iterator); in TEST() 170 PicturePileImpl::PixelRefIterator iterator( in TEST() local 172 EXPECT_FALSE(iterator); in TEST() 176 PicturePileImpl::PixelRefIterator iterator( in TEST() local 178 EXPECT_FALSE(iterator); in TEST() 181 PicturePileImpl::PixelRefIterator iterator( in TEST() local 183 EXPECT_FALSE(iterator); in TEST() [all …]
|
D | picture_unittest.cc | 160 Picture::PixelRefIterator iterator; in TEST() local 161 EXPECT_FALSE(iterator); in TEST() 165 Picture::PixelRefIterator iterator(gfx::Rect(x * 512, y * 512, 500, 500), in TEST() local 168 EXPECT_TRUE(iterator) << x << " " << y; in TEST() 169 EXPECT_TRUE(*iterator == discardable_bitmap[y][x].pixelRef()) << x << in TEST() 171 EXPECT_FALSE(++iterator) << x << " " << y; in TEST() 173 EXPECT_FALSE(iterator) << x << " " << y; in TEST() 179 Picture::PixelRefIterator iterator(gfx::Rect(512, 512, 2048, 2048), in TEST() local 181 EXPECT_TRUE(iterator); in TEST() 182 EXPECT_TRUE(*iterator == discardable_bitmap[1][2].pixelRef()); in TEST() [all …]
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | IteratorsTest.java | 77 Iterator<String> iterator = Iterators.emptyIterator(); in testEmptyIterator() local 78 assertFalse(iterator.hasNext()); in testEmptyIterator() 80 iterator.next(); in testEmptyIterator() 85 iterator.remove(); in testEmptyIterator() 92 Iterator<String> iterator = Iterators.emptyIterator(); in testSize0() local 93 assertEquals(0, Iterators.size(iterator)); in testSize0() 97 Iterator<Integer> iterator = Collections.singleton(0).iterator(); in testSize1() local 98 assertEquals(1, Iterators.size(iterator)); in testSize1() 102 Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator(); in testSize_partiallyConsumed() local 103 iterator.next(); in testSize_partiallyConsumed() [all …]
|
D | PeekingIteratorTest.java | 67 Iterator<T> iterator = targetList.iterator(); in newTargetIterator() local 68 return Iterators.peekingIterator(iterator); in newTargetIterator() 84 Iterator<T> iterator = Collections.unmodifiableList(list).iterator(); in actsLikeIteratorHelper() local 85 return Iterators.peekingIterator(iterator); in actsLikeIteratorHelper() 111 Iterator<?> iterator = list.iterator(); in testPeekOnEmptyList() local 112 PeekingIterator<?> peekingIterator = Iterators.peekingIterator(iterator); in testPeekOnEmptyList() 122 Iterator<?> iterator = list.iterator(); in testPeekDoesntChangeIteration() local 124 Iterators.peekingIterator(iterator); in testPeekDoesntChangeIteration() 163 Iterator<String> iterator = list.iterator(); in testCantRemoveAfterPeek() local 164 PeekingIterator<?> peekingIterator = Iterators.peekingIterator(iterator); in testCantRemoveAfterPeek() [all …]
|
D | UnmodifiableListIteratorTest.java | 35 Iterator<String> iterator = create(); in testRemove() local 37 assertTrue(iterator.hasNext()); in testRemove() 38 assertEquals("a", iterator.next()); in testRemove() 40 iterator.remove(); in testRemove() 46 ListIterator<String> iterator = create(); in testAdd() local 48 assertTrue(iterator.hasNext()); in testAdd() 49 assertEquals("a", iterator.next()); in testAdd() 50 assertEquals("b", iterator.next()); in testAdd() 51 assertEquals("b", iterator.previous()); in testAdd() 53 iterator.add("c"); in testAdd() [all …]
|
/external/guava/guava/src/com/google/common/collect/ |
D | Iterators.java | 116 final Iterator<T> iterator) { in unmodifiableIterator() argument 117 checkNotNull(iterator); in unmodifiableIterator() 118 if (iterator instanceof UnmodifiableIterator) { in unmodifiableIterator() 119 return (UnmodifiableIterator<T>) iterator; in unmodifiableIterator() 124 return iterator.hasNext(); in unmodifiableIterator() 128 return iterator.next(); in unmodifiableIterator() 140 UnmodifiableIterator<T> iterator) { 141 return checkNotNull(iterator); 149 public static int size(Iterator<?> iterator) { 151 while (iterator.hasNext()) { [all …]
|
D | Iterables.java | 93 public Iterator<T> iterator() { in iterator() method in Iterables.UnmodifiableIterable 94 return Iterators.unmodifiableIterator(iterable.iterator()); in iterator() 110 : Iterators.size(iterable.iterator()); in size() 129 return Iterators.contains(iterable.iterator(), element); in contains() 147 : Iterators.removeAll(removeFrom.iterator(), elementsToRemove); in removeAll() 165 : Iterators.retainAll(removeFrom.iterator(), elementsToRetain); in retainAll() 187 return Iterators.removeIf(removeFrom.iterator(), predicate); in removeIf() 249 return Iterators.elementsEqual(iterable1.iterator(), iterable2.iterator()); in elementsEqual() 257 return Iterators.toString(iterable.iterator()); in toString() 268 return Iterators.getOnlyElement(iterable.iterator()); in getOnlyElement() [all …]
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Iterators.java | 114 final Iterator<T> iterator) { in unmodifiableIterator() argument 115 checkNotNull(iterator); in unmodifiableIterator() 116 if (iterator instanceof UnmodifiableIterator) { in unmodifiableIterator() 117 return (UnmodifiableIterator<T>) iterator; in unmodifiableIterator() 122 return iterator.hasNext(); in unmodifiableIterator() 126 return iterator.next(); in unmodifiableIterator() 138 UnmodifiableIterator<T> iterator) { 139 return checkNotNull(iterator); 147 public static int size(Iterator<?> iterator) { 149 while (iterator.hasNext()) { [all …]
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
D | array-iterator.js | 50 var iterator = array.values(); 51 assertIteratorResult('a', false, iterator.next()); 52 assertIteratorResult('b', false, iterator.next()); 53 assertIteratorResult('c', false, iterator.next()); 54 assertIteratorResult(void 0, true, iterator.next()); 57 assertIteratorResult(void 0, true, iterator.next()); 64 var iterator = array.values(); 65 assertIteratorResult('a', false, iterator.next()); 66 assertIteratorResult('b', false, iterator.next()); 67 assertIteratorResult('c', false, iterator.next()); [all …]
|
/external/flac/libFLAC/ |
D | metadata_iterators.c | 89 static FLAC__bool read_metadata_block_header_(FLAC__Metadata_SimpleIterator *iterator); 90 static FLAC__bool read_metadata_block_data_(FLAC__Metadata_SimpleIterator *iterator, FLAC__StreamMe… 117 static FLAC__bool write_metadata_block_stationary_(FLAC__Metadata_SimpleIterator *iterator, const F… 118 …_metadata_block_stationary_with_padding_(FLAC__Metadata_SimpleIterator *iterator, FLAC__StreamMeta… 119 static FLAC__bool rewrite_whole_file_(FLAC__Metadata_SimpleIterator *iterator, FLAC__StreamMetadata… 121 static void simple_iterator_push_(FLAC__Metadata_SimpleIterator *iterator); 122 static FLAC__bool simple_iterator_pop_(FLAC__Metadata_SimpleIterator *iterator); 127 static FLAC__bool simple_iterator_copy_file_prefix_(FLAC__Metadata_SimpleIterator *iterator, FILE *… 128 static FLAC__bool simple_iterator_copy_file_postfix_(FLAC__Metadata_SimpleIterator *iterator, FILE … 380 …FLAC__Metadata_SimpleIterator *iterator = (FLAC__Metadata_SimpleIterator*)calloc(1, sizeof(FLAC__M… in FLAC__metadata_simple_iterator_new() local [all …]
|
/external/openssl/crypto/engine/ |
D | eng_list.c | 84 ENGINE *iterator = engine_list_head; in engine_list_cleanup() local 86 while(iterator != NULL) in engine_list_cleanup() 88 ENGINE_remove(iterator); in engine_list_cleanup() 89 iterator = engine_list_head; in engine_list_cleanup() 99 ENGINE *iterator = NULL; in engine_list_add() local 107 iterator = engine_list_head; in engine_list_add() 108 while(iterator && !conflict) in engine_list_add() 110 conflict = (strcmp(iterator->id, e->id) == 0); in engine_list_add() 111 iterator = iterator->next; in engine_list_add() 159 ENGINE *iterator; in engine_list_remove() local [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/engine/ |
D | eng_list.c | 84 ENGINE *iterator = engine_list_head; in engine_list_cleanup() local 86 while(iterator != NULL) in engine_list_cleanup() 88 ENGINE_remove(iterator); in engine_list_cleanup() 89 iterator = engine_list_head; in engine_list_cleanup() 99 ENGINE *iterator = NULL; in engine_list_add() local 107 iterator = engine_list_head; in engine_list_add() 108 while(iterator && !conflict) in engine_list_add() 110 conflict = (strcmp(iterator->id, e->id) == 0); in engine_list_add() 111 iterator = iterator->next; in engine_list_add() 159 ENGINE *iterator; in engine_list_remove() local [all …]
|
/external/javassist/src/main/javassist/convert/ |
D | TransformAfter.java | 30 protected int match2(int pos, CodeIterator iterator) throws BadBytecode { in match2() argument 31 iterator.move(pos); in match2() 32 iterator.insert(saveCode); in match2() 33 iterator.insert(loadCode); in match2() 34 int p = iterator.insertGap(3); in match2() 35 iterator.setMark(p); in match2() 36 iterator.insert(loadCode); in match2() 37 pos = iterator.next(); in match2() 38 p = iterator.getMark(); in match2() 39 iterator.writeByte(iterator.byteAt(pos), p); in match2() [all …]
|
D | TransformWriteField.java | 29 public int transform(CtClass tclazz, int pos, CodeIterator iterator, in transform() argument 32 int c = iterator.byteAt(pos); in transform() 34 int index = iterator.u16bitAt(pos + 1); in transform() 39 CodeAttribute ca = iterator.get(); in transform() 40 iterator.move(pos); in transform() 44 pos = iterator.insertGap(3); in transform() 45 iterator.writeByte(ACONST_NULL, pos); in transform() 46 iterator.writeByte(DUP_X2, pos + 1); in transform() 47 iterator.writeByte(POP, pos + 2); in transform() 52 pos = iterator.insertGap(2); in transform() [all …]
|
/external/chromium_org/cc/base/ |
D | scoped_ptr_vector.h | 30 typedef typename std::vector<T*>::iterator iterator; typedef 34 class iterator : public std::vector<T*>::iterator { 36 iterator(const typename std::vector<T*>::iterator& other) // NOLINT in iterator() function 37 : std::vector<T*>::iterator(other) {} in iterator() 38 T* const& operator*() { return std::vector<T*>::iterator::operator*(); } 73 scoped_ptr<T> take(iterator position) { in take() 78 typename std::vector<T*>::iterator writable_position = position; in take() 91 void erase(iterator position) { in erase() 94 typename std::vector<T*>::iterator writable_position = position; in erase() 99 void erase(iterator first, iterator last) { in erase() [all …]
|
/external/stlport/stlport/stl/pointers/ |
D | _slist.h | 61 typedef typename _Base::iterator _BaseIte; 77 typedef _STLP_PRIV _Slist_iterator<value_type, _Nonconst_traits<value_type> > iterator; typedef 186 iterator before_begin() { return iterator(_M_impl.before_begin()._M_node); } in before_begin() 189 iterator begin() { return iterator(_M_impl.begin()._M_node); } in begin() 192 iterator end() { return iterator(_M_impl.end()._M_node); } in end() 193 const_iterator end() const { return iterator(_M_impl.end()._M_node); } in end() 220 iterator previous(const_iterator __pos) in previous() 221 { return iterator(_M_impl.previous(_BaseConstIte(__pos._M_node))._M_node); } in previous() 226 …iterator insert_after(iterator __pos, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type… 228 iterator insert_after(iterator __pos, const value_type& __x) [all …]
|
/external/clang/include/clang/Lex/ |
D | PreprocessingRecord.h | 382 class iterator { 406 iterator() : Self(nullptr), Position(0) { } in iterator() function 408 iterator(PreprocessingRecord *Self, int Position) in iterator() function 423 iterator &operator++() { 428 iterator operator++(int) { 429 iterator Prev(*this); 434 iterator &operator--() { 439 iterator operator--(int) { 440 iterator Prev(*this); 445 friend bool operator==(const iterator &X, const iterator &Y) { [all …]
|
/external/stlport/stlport/stl/debug/ |
D | _tree.h | 105 typedef _STLP_PRIV _DBG_iter<_Base, _STLP_PRIV _DbgTraits<_NonConstIteTraits> > iterator; typedef 112 void _Invalidate_iterator(const iterator& __it) in _STLP_KEY_TYPE_FOR_CONT_EXT() 114 void _Invalidate_iterators(const iterator& __first, const iterator& __last) in _Invalidate_iterators() 117 typedef typename _Base::iterator _Base_iterator; 156 iterator begin() { return iterator(&_M_iter_list, _M_non_dbg_impl.begin()); } in begin() 158 iterator end() { return iterator(&_M_iter_list, _M_non_dbg_impl.end()); } in end() 178 iterator find(const _KT& __k) in find() 179 { return iterator(&_M_iter_list, _M_non_dbg_impl.find(__k)); } in find() 185 iterator lower_bound(const _KT& __x) in lower_bound() 186 { return iterator(&_M_iter_list, _M_non_dbg_impl.lower_bound(__x)); } in lower_bound() [all …]
|
D | _slist.h | 91 …f _STLP_PRIV _DBG_iter<_Base, _STLP_PRIV _SlistDbgTraits<_Nonconst_traits<value_type> > > iterator; typedef 99 void _Invalidate_iterator(const iterator& __it) in _Invalidate_iterator() 101 void _Invalidate_iterators(const iterator& __first, const iterator& __last) in _Invalidate_iterators() 104 typedef typename _Base::iterator _Base_iterator; 184 iterator before_begin() in before_begin() 185 { return iterator(&_M_iter_list, _M_non_dbg_impl.before_begin()); } in before_begin() 189 iterator begin() in begin() 190 { return iterator(&_M_iter_list, _M_non_dbg_impl.begin()); } in begin() 194 iterator end() in end() 195 { return iterator(&_M_iter_list, _M_non_dbg_impl.end()); } in end() [all …]
|
/external/llvm/lib/Target/X86/ |
D | X86FixupLEAs.cpp | 41 bool processBasicBlock(MachineFunction &MF, MachineFunction::iterator MFI); 50 void seekLEAFixup(MachineOperand &p, MachineBasicBlock::iterator &I, 51 MachineFunction::iterator MFI); 57 void processInstruction(MachineBasicBlock::iterator &I, 58 MachineFunction::iterator MFI); 62 void processInstructionForSLM(MachineBasicBlock::iterator &I, 63 MachineFunction::iterator MFI); 67 RegUsageState usesRegister(MachineOperand &p, MachineBasicBlock::iterator I); 72 MachineBasicBlock::iterator searchBackwards(MachineOperand &p, 73 MachineBasicBlock::iterator &I, [all …]
|
/external/clang/test/Analysis/inlining/ |
D | containers.cpp | 113 struct iterator { struct in MySet 116 iterator(int *p) : impl(p) {} in iterator() function 119 iterator begin() { in begin() 124 return iterator(storage); in begin() 127 iterator end() { in end() 132 return iterator(storage+size); in end() 162 void useIterator(iterator i) { in useIterator() 174 MySet::iterator impl; 177 IterImpl(MySet::iterator i) : impl(i) { in IterImpl() 214 typedef MySet::iterator iterator; typedef in IteratorTypedefOnlySet [all …]
|
/external/libcxx/test/iterators/iterator.primitives/iterator.traits/ |
D | Android.mk | 17 test_makefile := external/libcxx/test/iterators/iterator.primitives/iterator.traits/Android.mk 19 test_name := iterators/iterator.primitives/iterator.traits/const_pointer 23 test_name := iterators/iterator.primitives/iterator.traits/pointer 27 test_name := iterators/iterator.primitives/iterator.traits/iterator 28 test_src := iterator.pass.cpp 31 test_name := iterators/iterator.primitives/iterator.traits/empty
|
/external/javassist/src/main/javassist/expr/ |
D | ExprEditor.java | 85 CodeIterator iterator = codeAttr.iterator(); in doit() 89 while (iterator.hasNext()) in doit() 90 if (loopBody(iterator, clazz, minfo, context)) in doit() 96 Handler h = new Handler(et, i, iterator, clazz, minfo); in doit() 126 CodeIterator iterator, int endPos) in doit() argument 130 while (iterator.hasNext() && iterator.lookAhead() < endPos) { in doit() 131 int size = iterator.getCodeLength(); in doit() 132 if (loopBody(iterator, clazz, minfo, context)) { in doit() 134 int size2 = iterator.getCodeLength(); in doit() 175 final boolean loopBody(CodeIterator iterator, CtClass clazz, in loopBody() argument [all …]
|
/external/clang/include/clang/AST/ |
D | ExternalASTSource.h | 481 class iterator { 507 iterator() : Self(0), Position(0) { } 509 iterator(LazyVector *Self, int Position) 529 iterator &operator++() { 534 iterator operator++(int) { 535 iterator Prev(*this); 540 iterator &operator--() { 545 iterator operator--(int) { 546 iterator Prev(*this); 551 friend bool operator==(const iterator &X, const iterator &Y) { [all …]
|