HomeSort by relevance Sort by last modified time
    Searched defs:Iterator (Results 1 - 25 of 142) sorted by null

1 2 3 4 5 6

  /libcore/luni/src/main/java/java/util/
Iterator.java 21 * An iterator over a sequence of objects, such as a collection.
23 * <p>If a collection has been changed since the iterator was created,
29 * <p>Implementing {@link Iterable} and returning an {@code Iterator} allows your
33 * the type of object returned by the iterator.
35 public interface Iterator<E> {
43 * Returns the next object and advances the iterator.
  /external/icu4c/common/
bytestrieiterator.cpp 23 BytesTrie::Iterator::Iterator(const void *trieBytes, int32_t maxStringLength,
35 // Unlike BytesTrie itself, its Iterator performs memory allocations anyway
45 BytesTrie::Iterator::Iterator(const BytesTrie &trie, int32_t maxStringLength,
76 BytesTrie::Iterator::~Iterator() {
81 BytesTrie::Iterator &
82 BytesTrie::Iterator::reset() {
97 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty();
    [all...]
ucharstrieiterator.cpp 22 UCharsTrie::Iterator::Iterator(const UChar *trieUChars, int32_t maxStringLength,
35 // Unlike UCharsTrie itself, its Iterator performs memory allocations anyway
44 UCharsTrie::Iterator::Iterator(const UCharsTrie &trie, int32_t maxStringLength,
75 UCharsTrie::Iterator::~Iterator() {
79 UCharsTrie::Iterator &
80 UCharsTrie::Iterator::reset() {
96 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty();
    [all...]
  /external/sfntly/cpp/src/sfntly/port/
java_iterator.h 22 // Interface of Java iterator.
23 // This is a forward read-only iterator that represents java.util.Iterator<E>
28 class Iterator : public virtual RefCount {
30 virtual ~Iterator() {}
34 Iterator() {}
35 NO_COPY_AND_ASSIGN(Iterator);
40 class PODIterator : public Iterator<ReturnType, ContainerBase>,
67 class RefIterator : public Iterator<ReturnType, ContainerBase>,
  /external/chromium_org/third_party/leveldatabase/src/include/leveldb/
iterator.h 5 // An iterator yields a sequence of key/value pairs from a source.
10 // Multiple threads can invoke const methods on an Iterator without
12 // non-const method, all threads accessing the same Iterator must use
23 class Iterator {
25 Iterator();
26 virtual ~Iterator();
28 // An iterator is either positioned at a key/value pair, or
29 // not valid. This method returns true iff the iterator is valid.
32 // Position at the first key in the source. The iterator is Valid()
36 // Position at the last key in the source. The iterator i
    [all...]
  /external/chromium_org/third_party/leveldatabase/src/table/
iterator.cc 5 #include "leveldb/iterator.h"
9 Iterator::Iterator() {
14 Iterator::~Iterator() {
26 void Iterator::RegisterCleanup(CleanupFunction func, void* arg1, void* arg2) {
42 class EmptyIterator : public Iterator {
59 Iterator* NewEmptyIterator() {
63 Iterator* NewErrorIterator(const Status& status) {
  /frameworks/av/include/drm/
DrmInfo.h 52 * Iterator for key
76 * Iterator
78 class Iterator {
82 Iterator(const DrmInfo* drmInfo)
86 Iterator(const Iterator& iterator);
87 Iterator& operator=(const Iterator& iterator);
    [all...]
DrmMetadata.h 33 * Iterator for key
55 * Iterator for constraints
57 class Iterator {
60 Iterator(DrmMetadata* drmMetadata) : mDrmMetadata(drmMetadata), mIndex(0) {}
63 Iterator(const Iterator& iterator);
64 Iterator& operator=(const Iterator& iterator);
    [all...]
DrmConstraints.h 68 * Iterator for key
91 * Iterator for constraints
93 class Iterator {
96 Iterator(DrmConstraints* drmConstraints)
100 Iterator(const Iterator& iterator);
101 Iterator& operator=(const Iterator& iterator);
    [all...]
DrmInfoRequest.h 66 * Iterator for key
90 * Iterator
92 class Iterator {
96 Iterator(const DrmInfoRequest* drmInfoRequest)
100 Iterator(const Iterator& iterator);
101 Iterator& operator=(const Iterator& iterator);
    [all...]
  /external/chromium_org/cc/base/
region.cc 103 for (Iterator it(*this); it.has_rect(); it.next()) {
113 for (Iterator it(*this); it.has_rect(); it.next()) {
123 Region::Iterator::Iterator() {
126 Region::Iterator::Iterator(const Region& region)
130 Region::Iterator::~Iterator() {
region.h 63 class CC_EXPORT Iterator {
65 Iterator();
66 explicit Iterator(const Region& region);
67 ~Iterator();
82 SkRegion::Iterator it_;
  /external/chromium_org/chrome/browser/chromeos/drive/
file_cache_metadata.h 22 class Iterator;
44 class Iterator {
46 explicit Iterator(scoped_ptr<leveldb::Iterator> it);
47 ~Iterator();
49 // Returns true if this iterator cannot advance any more and does not point
70 scoped_ptr<leveldb::Iterator> it_;
73 DISALLOW_COPY_AND_ASSIGN(Iterator);
96 scoped_ptr<Iterator> GetIterator();
file_cache_metadata.cc 32 FileCacheMetadata::Iterator::Iterator(scoped_ptr<leveldb::Iterator> it)
41 FileCacheMetadata::Iterator::~Iterator() {
45 bool FileCacheMetadata::Iterator::IsAtEnd() const {
50 std::string FileCacheMetadata::Iterator::GetKey() const {
56 const FileCacheEntry& FileCacheMetadata::Iterator::GetValue() const {
62 void FileCacheMetadata::Iterator::Advance() {
70 bool FileCacheMetadata::Iterator::HasError() const
    [all...]
resource_metadata_storage.h 23 class Iterator;
45 class Iterator {
47 explicit Iterator(scoped_ptr<leveldb::Iterator> it);
48 ~Iterator();
50 // Returns true if this iterator cannot advance any more and does not point
68 scoped_ptr<leveldb::Iterator> it_;
70 DISALLOW_COPY_AND_ASSIGN(Iterator);
76 explicit CacheEntryIterator(scoped_ptr<leveldb::Iterator> it);
79 // Returns true if this iterator cannot advance any more and does not poin
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/loader/cache/
ResourceClientWalker.h 34 // Call this "walker" instead of iterator so people won't expect Qt or STL-style iterator interface.
41 typedef HashCountedSet<ResourceClient*>::const_iterator Iterator;
42 Iterator end = set.end();
44 for (Iterator current = set.begin(); current != end; ++current)
  /frameworks/av/drm/common/
DrmConstraints.cpp 88 DrmConstraints::Iterator DrmConstraints::iterator() { function in class:DrmConstraints
89 return Iterator(this);
92 DrmConstraints::Iterator::Iterator(const DrmConstraints::Iterator& iterator) :
93 mDrmConstraints(iterator.mDrmConstraints),
94 mIndex(iterator.mIndex) {
97 DrmConstraints::Iterator& DrmConstraints::Iterator::operator=
    [all...]
DrmInfoRequest.cpp 57 DrmInfoRequest::Iterator DrmInfoRequest::iterator() const { function in class:DrmInfoRequest
58 return Iterator(this);
85 // Iterator implementation
86 DrmInfoRequest::Iterator::Iterator(const DrmInfoRequest::Iterator& iterator) :
87 mDrmInfoRequest(iterator.mDrmInfoRequest), mIndex(iterator.mIndex)
    [all...]
DrmMetadata.cpp 92 DrmMetadata::Iterator DrmMetadata::iterator() { function in class:DrmMetadata
93 return Iterator(this);
96 DrmMetadata::Iterator::Iterator(const DrmMetadata::Iterator& iterator) :
97 mDrmMetadata(iterator.mDrmMetadata),
98 mIndex(iterator.mIndex) {
99 ALOGV("DrmMetadata::Iterator::Iterator")
    [all...]
DrmInfo.cpp 64 DrmInfo::Iterator DrmInfo::iterator() const { function in class:DrmInfo
65 return Iterator(this);
90 // Iterator implementation
91 DrmInfo::Iterator::Iterator(const DrmInfo::Iterator& iterator)
92 : mDrmInfo(iterator.mDrmInfo), mIndex(iterator.mIndex)
    [all...]
  /external/chromium/base/
id_map.h 82 typename HashTable::iterator i = data_.find(id);
117 class Iterator {
119 Iterator(IDMap<T, OS>* map)
127 ~Iterator() {
167 typedef Iterator<T> iterator; typedef in class:IDMap
168 typedef Iterator<const T> const_iterator;
182 for (typename HashTable::iterator i = table->begin();
204 // finished. This way we manage to not invalidate the iterator when an element
observer_list.h 22 // iterator. So, it safely handles the case of an observer removing itself
77 // An iterator class that can be used to access the list of observers. See
79 class Iterator {
81 Iterator(ObserverListBase<ObserverType>& list)
90 ~Iterator() {
123 typename ListType::iterator it =
144 for (typename ListType::iterator it = observers_.begin();
157 typename ListType::iterator it = observers_.begin();
176 friend class ObserverListBase::Iterator;
202 ObserverListBase<ObserverType>::Iterator it(observer_list);
    [all...]
  /external/chromium_org/base/
observer_list.h 22 // iterator. So, it safely handles the case of an observer removing itself
78 // An iterator class that can be used to access the list of observers. See
80 class Iterator {
82 Iterator(ObserverListBase<ObserverType>& list)
91 ~Iterator() {
130 typename ListType::iterator it =
151 for (typename ListType::iterator it = observers_.begin();
178 friend class ObserverListBase::Iterator;
209 ObserverListBase<ObserverType>::Iterator it(observer_list); \
  /external/chromium_org/net/base/
expiring_cache.h 90 // This class provides a read-only iterator over items in the ExpiringCache
91 class Iterator {
93 explicit Iterator(const ExpiringCache& cache)
97 ~Iterator() {}
126 typename EntryMap::iterator it = entries_.find(key);
144 typename EntryMap::iterator it = entries_.find(key);
179 typename EntryMap::iterator it;
198 void Evict(typename EntryMap::iterator it,
  /external/v8/src/
data-flow.h 43 // Iterator for the elements of this BitVector.
44 class Iterator BASE_EMBEDDED {
46 explicit Iterator(BitVector* target)
54 ~Iterator() { }

Completed in 723 milliseconds

1 2 3 4 5 6