Home
last modified time | relevance | path

Searched refs:iterator (Results 1 – 25 of 4481) sorted by relevance

12345678910>>...180

/external/ImageMagick/MagickWand/
Dpixel-iterator.c119 WandExport void ClearPixelIterator(PixelIterator *iterator) in ClearPixelIterator() argument
121 assert(iterator != (const PixelIterator *) NULL); in ClearPixelIterator()
122 assert(iterator->signature == MagickWandSignature); in ClearPixelIterator()
123 if (iterator->debug != MagickFalse) in ClearPixelIterator()
124 (void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",iterator->name); in ClearPixelIterator()
125 iterator->pixel_wands=DestroyPixelWands(iterator->pixel_wands, in ClearPixelIterator()
126 iterator->region.width); in ClearPixelIterator()
127 ClearMagickException(iterator->exception); in ClearPixelIterator()
128 iterator->pixel_wands=NewPixelWands(iterator->region.width); in ClearPixelIterator()
129 iterator->active=MagickFalse; in ClearPixelIterator()
[all …]
/external/wpa_supplicant_8/src/utils/
Dradiotap.c91 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->_next_ns_data = NULL; in ieee80211_radiotap_iterator_init()
113 iterator->_reset_on_ext = 0; in ieee80211_radiotap_iterator_init()
114 iterator->_next_bitmap = &radiotap_header->it_present; in ieee80211_radiotap_iterator_init()
115 iterator->_next_bitmap++; in ieee80211_radiotap_iterator_init()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DIteratorsTest.java53 Iterator<String> iterator = Iterators.emptyIterator(); in testEmptyIterator() local
54 assertFalse(iterator.hasNext()); in testEmptyIterator()
56 iterator.next(); in testEmptyIterator()
61 iterator.remove(); in testEmptyIterator()
68 ListIterator<String> iterator = Iterators.emptyListIterator(); in testEmptyListIterator() local
69 assertFalse(iterator.hasNext()); in testEmptyListIterator()
70 assertFalse(iterator.hasPrevious()); in testEmptyListIterator()
71 assertEquals(0, iterator.nextIndex()); in testEmptyListIterator()
72 assertEquals(-1, iterator.previousIndex()); in testEmptyListIterator()
74 iterator.next(); in testEmptyListIterator()
[all …]
DPeekingIteratorTest.java66 Iterator<T> iterator = targetList.iterator(); in newTargetIterator() local
67 return Iterators.peekingIterator(iterator); in newTargetIterator()
83 Iterator<T> iterator = Collections.unmodifiableList(list).iterator(); in actsLikeIteratorHelper() local
84 return Iterators.peekingIterator(iterator); in actsLikeIteratorHelper()
101 Iterator<?> iterator = list.iterator(); in testPeekOnEmptyList() local
102 PeekingIterator<?> peekingIterator = Iterators.peekingIterator(iterator); in testPeekOnEmptyList()
112 Iterator<?> iterator = list.iterator(); in testPeekDoesntChangeIteration() local
114 Iterators.peekingIterator(iterator); in testPeekDoesntChangeIteration()
153 Iterator<String> iterator = list.iterator(); in testCantRemoveAfterPeek() local
154 PeekingIterator<?> peekingIterator = Iterators.peekingIterator(iterator); in testCantRemoveAfterPeek()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DIteratorsTest.java78 Iterator<String> iterator = Iterators.emptyIterator(); in testEmptyIterator() local
79 assertFalse(iterator.hasNext()); in testEmptyIterator()
81 iterator.next(); in testEmptyIterator()
86 iterator.remove(); in testEmptyIterator()
93 ListIterator<String> iterator = Iterators.emptyListIterator(); in testEmptyListIterator() local
94 assertFalse(iterator.hasNext()); in testEmptyListIterator()
95 assertFalse(iterator.hasPrevious()); in testEmptyListIterator()
96 assertEquals(0, iterator.nextIndex()); in testEmptyListIterator()
97 assertEquals(-1, iterator.previousIndex()); in testEmptyListIterator()
99 iterator.next(); in testEmptyListIterator()
[all …]
DPeekingIteratorTest.java67 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 …]
/external/guava/guava/src/com/google/common/collect/
DIterators.java156 final Iterator<T> iterator) { in unmodifiableIterator() argument
157 checkNotNull(iterator); in unmodifiableIterator()
158 if (iterator instanceof UnmodifiableIterator) { in unmodifiableIterator()
159 return (UnmodifiableIterator<T>) iterator; in unmodifiableIterator()
164 return iterator.hasNext(); in unmodifiableIterator()
168 return iterator.next(); in unmodifiableIterator()
180 UnmodifiableIterator<T> iterator) {
181 return checkNotNull(iterator);
189 public static int size(Iterator<?> iterator) {
191 while (iterator.hasNext()) {
[all …]
DIterables.java93 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()
122 return Iterators.contains(iterable.iterator(), element); in contains()
140 : Iterators.removeAll(removeFrom.iterator(), elementsToRemove); in removeAll()
158 : Iterators.retainAll(removeFrom.iterator(), elementsToRetain); in retainAll()
180 return Iterators.removeIf(removeFrom.iterator(), predicate); in removeIf()
239 Iterator<T> iterator = removeFrom.iterator(); in removeFirstMatching() local
240 while (iterator.hasNext()) { in removeFirstMatching()
241 T next = iterator.next(); in removeFirstMatching()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterators.java154 final Iterator<T> iterator) { in unmodifiableIterator() argument
155 checkNotNull(iterator); in unmodifiableIterator()
156 if (iterator instanceof UnmodifiableIterator) { in unmodifiableIterator()
157 return (UnmodifiableIterator<T>) iterator; in unmodifiableIterator()
162 return iterator.hasNext(); in unmodifiableIterator()
166 return iterator.next(); in unmodifiableIterator()
178 UnmodifiableIterator<T> iterator) {
179 return checkNotNull(iterator);
187 public static int size(Iterator<?> iterator) {
189 while (iterator.hasNext()) {
[all …]
DIterables.java91 public Iterator<T> iterator() { in iterator() method in Iterables.UnmodifiableIterable
92 return Iterators.unmodifiableIterator(iterable.iterator()); in iterator()
108 : Iterators.size(iterable.iterator()); in size()
120 return Iterators.contains(iterable.iterator(), element); in contains()
138 : Iterators.removeAll(removeFrom.iterator(), elementsToRemove); in removeAll()
156 : Iterators.retainAll(removeFrom.iterator(), elementsToRetain); in retainAll()
178 return Iterators.removeIf(removeFrom.iterator(), predicate); in removeIf()
237 Iterator<T> iterator = removeFrom.iterator(); in removeFirstMatching() local
238 while (iterator.hasNext()) { in removeFirstMatching()
239 T next = iterator.next(); in removeFirstMatching()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DScientificNumberFormatter.java132 AttributedCharacterIterator iterator, in format() argument
136 AttributedCharacterIterator iterator, in append() argument
140 int oldIndex = iterator.getIndex(); in append()
141 iterator.setIndex(start); in append()
143 result.append(iterator.current()); in append()
144 iterator.next(); in append()
146 iterator.setIndex(oldIndex); in append()
162 AttributedCharacterIterator iterator, in format() argument
167 iterator.first(); in format()
168 iterator.current() != CharacterIterator.DONE; in format()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DScientificNumberFormatter.java121 AttributedCharacterIterator iterator, in format() argument
125 AttributedCharacterIterator iterator, in append() argument
129 int oldIndex = iterator.getIndex(); in append()
130 iterator.setIndex(start); in append()
132 result.append(iterator.current()); in append()
133 iterator.next(); in append()
135 iterator.setIndex(oldIndex); in append()
151 AttributedCharacterIterator iterator, in format() argument
156 iterator.first(); in format()
157 iterator.current() != CharacterIterator.DONE; in format()
[all …]
/external/flac/libFLAC/
Dmetadata_iterators.c72 static FLAC__bool read_metadata_block_header_(FLAC__Metadata_SimpleIterator *iterator);
73 static FLAC__bool read_metadata_block_data_(FLAC__Metadata_SimpleIterator *iterator, FLAC__StreamMe…
100 static FLAC__bool write_metadata_block_stationary_(FLAC__Metadata_SimpleIterator *iterator, const F…
101 …_metadata_block_stationary_with_padding_(FLAC__Metadata_SimpleIterator *iterator, FLAC__StreamMeta…
102 static FLAC__bool rewrite_whole_file_(FLAC__Metadata_SimpleIterator *iterator, FLAC__StreamMetadata…
104 static void simple_iterator_push_(FLAC__Metadata_SimpleIterator *iterator);
105 static FLAC__bool simple_iterator_pop_(FLAC__Metadata_SimpleIterator *iterator);
110 static FLAC__bool simple_iterator_copy_file_prefix_(FLAC__Metadata_SimpleIterator *iterator, FILE *…
111 static FLAC__bool simple_iterator_copy_file_postfix_(FLAC__Metadata_SimpleIterator *iterator, FILE …
363 FLAC__Metadata_SimpleIterator *iterator = calloc(1, sizeof(FLAC__Metadata_SimpleIterator)); in FLAC__metadata_simple_iterator_new() local
[all …]
/external/v8/src/
Dframes-inl.h33 inline StackFrame::StackFrame(StackFrameIteratorBase* iterator) in StackFrame() argument
34 : iterator_(iterator), isolate_(iterator_->isolate()) { in StackFrame()
53 inline NativeFrame::NativeFrame(StackFrameIteratorBase* iterator) in NativeFrame() argument
54 : StackFrame(iterator) {} in NativeFrame()
60 inline EntryFrame::EntryFrame(StackFrameIteratorBase* iterator) in EntryFrame() argument
61 : StackFrame(iterator) {} in EntryFrame()
64 StackFrameIteratorBase* iterator) in ConstructEntryFrame() argument
65 : EntryFrame(iterator) {} in ConstructEntryFrame()
67 inline ExitFrame::ExitFrame(StackFrameIteratorBase* iterator) in ExitFrame() argument
68 : StackFrame(iterator) {} in ExitFrame()
[all …]
/external/bcc/src/cc/
Dtable_storage.cc34 bool TableStorage::Find(const Path &path, TableStorage::iterator &result) const { in Find()
61 TableStorage::iterator TableStorage::begin() { return impl_->begin(); } in begin()
62 TableStorage::iterator TableStorage::end() { return impl_->end(); } in end()
63 TableStorage::iterator TableStorage::lower_bound(const Path &p) { in lower_bound()
66 TableStorage::iterator TableStorage::upper_bound(const Path &p) { in upper_bound()
71 TableStorage::iterator::iterator() {} in iterator() function in ebpf::TableStorage::iterator
72 TableStorage::iterator::iterator(unique_ptr<TableStorageIteratorImpl> impl) : impl_(move(impl)) {} in iterator() function in ebpf::TableStorage::iterator
73 TableStorage::iterator::iterator(const iterator &that) : impl_(that.impl_->clone()) {} in iterator() function in ebpf::TableStorage::iterator
74 TableStorage::iterator::~iterator() {} in ~iterator()
75 TableStorage::iterator::iterator(iterator &&that) { *this = move(that); } in iterator() function in ebpf::TableStorage::iterator
[all …]
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DMinimalIterableTest.java37 Iterator<String> iterator = iterable.iterator(); in testOf_empty() local
38 assertFalse(iterator.hasNext()); in testOf_empty()
40 iterator.next(); in testOf_empty()
45 iterable.iterator(); in testOf_empty()
53 Iterator<String> iterator = iterable.iterator(); in testOf_one() local
54 assertTrue(iterator.hasNext()); in testOf_one()
55 assertEquals("a", iterator.next()); in testOf_one()
56 assertFalse(iterator.hasNext()); in testOf_one()
58 iterator.next(); in testOf_one()
63 iterable.iterator(); in testOf_one()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DCharacterIteratorWrapper.java23 private CharacterIterator iterator; field in CharacterIteratorWrapper
30 iterator = iter; in CharacterIteratorWrapper()
38 int c = iterator.current(); in current()
50 return (iterator.getEndIndex() - iterator.getBeginIndex()); in getLength()
58 return iterator.getIndex(); in getIndex()
66 int i = iterator.current(); in next()
67 iterator.next(); in next()
79 int i = iterator.previous(); in previous()
92 iterator.setIndex(index); in setIndex()
103 iterator.setIndex(iterator.getEndIndex()); in setToLimit()
[all …]
DUCharacterIteratorWrapper.java24 this.iterator = iter; in UCharacterIteratorWrapper()
27 private UCharacterIterator iterator; field in UCharacterIteratorWrapper
39 iterator.setToStart(); in first()
40 return (char)iterator.current(); in first()
51 iterator.setToLimit(); in last()
52 return (char)iterator.previous(); in last()
63 return (char) iterator.current(); in current()
77 iterator.next(); in next()
78 return (char) iterator.current(); in next()
91 return (char) iterator.previous(); in previous()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DCharacterIteratorWrapper.java25 private CharacterIterator iterator; field in CharacterIteratorWrapper
32 iterator = iter; in CharacterIteratorWrapper()
40 int c = iterator.current(); in current()
52 return (iterator.getEndIndex() - iterator.getBeginIndex()); in getLength()
60 return iterator.getIndex(); in getIndex()
68 int i = iterator.current(); in next()
69 iterator.next(); in next()
81 int i = iterator.previous(); in previous()
94 iterator.setIndex(index); in setIndex()
105 iterator.setIndex(iterator.getEndIndex()); in setToLimit()
[all …]
DUCharacterIteratorWrapper.java26 this.iterator = iter; in UCharacterIteratorWrapper()
29 private UCharacterIterator iterator; field in UCharacterIteratorWrapper
41 iterator.setToStart(); in first()
42 return (char)iterator.current(); in first()
53 iterator.setToLimit(); in last()
54 return (char)iterator.previous(); in last()
65 return (char) iterator.current(); in current()
79 iterator.next(); in next()
80 return (char) iterator.current(); in next()
93 return (char) iterator.previous(); in previous()
[all …]
/external/libchrome/base/
Dvalue_iterators_unittest.cc63 using iterator = dict_iterator; in TEST() typedef
64 iterator iter(storage.begin()); in TEST()
76 using iterator = dict_iterator; in TEST() typedef
77 iterator iter(storage.begin()); in TEST()
90 using iterator = dict_iterator; in TEST() typedef
91 iterator iter(storage.begin()); in TEST()
95 iterator& iter_ref = ++iter; in TEST()
107 using iterator = dict_iterator; in TEST() typedef
108 iterator iter(storage.begin()); in TEST()
109 iterator iter_old = iter++; in TEST()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDie.h271 class iterator; variable
273 iterator begin() const;
274 iterator end() const;
276 std::reverse_iterator<iterator> rbegin() const;
277 std::reverse_iterator<iterator> rend() const;
279 iterator_range<iterator> children() const;
335 class DWARFDie::iterator
336 : public iterator_facade_base<iterator, std::bidirectional_iterator_tag,
340 friend std::reverse_iterator<llvm::DWARFDie::iterator>;
341 friend bool operator==(const DWARFDie::iterator &LHS,
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dmap_traits_stl.h19 using Iterator = typename std::map<K, V, Compare>::iterator;
43 static void AdvanceIterator(ConstIterator& iterator) { iterator++; }
44 static void AdvanceIterator(Iterator& iterator) { iterator++; }
46 static const K& GetKey(Iterator& iterator) { return iterator->first; }
47 static const K& GetKey(ConstIterator& iterator) { return iterator->first; }
49 static V& GetValue(Iterator& iterator) { return iterator->second; }
50 static const V& GetValue(ConstIterator& iterator) { return iterator->second; }
70 using Iterator = typename std::unordered_map<K, V>::iterator;
94 static void AdvanceIterator(ConstIterator& iterator) { iterator++; }
95 static void AdvanceIterator(Iterator& iterator) { iterator++; }
[all …]
/external/libchrome/base/containers/
Dsmall_map.h205 class iterator {
207 typedef typename NormalMap::iterator::iterator_category iterator_category;
208 typedef typename NormalMap::iterator::value_type value_type;
209 typedef typename NormalMap::iterator::difference_type difference_type;
210 typedef typename NormalMap::iterator::pointer pointer;
211 typedef typename NormalMap::iterator::reference reference;
213 inline iterator(): array_iter_(NULL) {}
215 inline iterator& operator++() {
223 inline iterator operator++(int /*unused*/) {
224 iterator result(*this);
[all …]
/external/llvm/lib/Target/X86/
DX86FixupLEAs.cpp41 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 bool fixupIncDec(MachineBasicBlock::iterator &I,
68 MachineFunction::iterator MFI) const;
72 RegUsageState usesRegister(MachineOperand &p, MachineBasicBlock::iterator I);
[all …]

12345678910>>...180