Home
last modified time | relevance | path

Searched refs:Iterator (Results 1 – 25 of 1478) sorted by relevance

12345678910>>...60

/external/parameter-framework/asio-1.10.6/include/asio/impl/
Dconnect.hpp32 template <typename Iterator>
33 Iterator operator()(const asio::error_code&, Iterator next) in operator ()()
40 template <typename Protocol, typename SocketService, typename Iterator>
41 Iterator connect(basic_socket<Protocol, SocketService>& s, Iterator begin) in connect()
44 Iterator result = connect(s, begin, ec); in connect()
49 template <typename Protocol, typename SocketService, typename Iterator>
50 inline Iterator connect(basic_socket<Protocol, SocketService>& s, in connect()
51 Iterator begin, asio::error_code& ec) in connect()
53 return connect(s, begin, Iterator(), detail::default_connect_condition(), ec); in connect()
56 template <typename Protocol, typename SocketService, typename Iterator>
[all …]
/external/parameter-framework/asio-1.10.6/include/asio/
Dconnect.hpp60 template <typename Protocol, typename SocketService, typename Iterator>
61 Iterator connect(basic_socket<Protocol, SocketService>& s, Iterator begin);
97 template <typename Protocol, typename SocketService, typename Iterator>
98 Iterator connect(basic_socket<Protocol, SocketService>& s,
99 Iterator begin, asio::error_code& ec);
129 template <typename Protocol, typename SocketService, typename Iterator>
130 Iterator connect(basic_socket<Protocol, SocketService>& s,
131 Iterator begin, Iterator end);
166 template <typename Protocol, typename SocketService, typename Iterator>
167 Iterator connect(basic_socket<Protocol, SocketService>& s,
[all …]
/external/guava/guava/src/com/google/common/collect/
DIterators.java42 import java.util.Iterator;
127 private static final Iterator<Object> EMPTY_MODIFIABLE_ITERATOR =
128 new Iterator<Object>() {
150 static <T> Iterator<T> emptyModifiableIterator() { in emptyModifiableIterator()
151 return (Iterator<T>) EMPTY_MODIFIABLE_ITERATOR; in emptyModifiableIterator()
156 final Iterator<T> iterator) { in unmodifiableIterator()
189 public static int size(Iterator<?> iterator) {
201 public static boolean contains(Iterator<?> iterator, @Nullable Object element) {
215 Iterator<?> removeFrom, Collection<?> elementsToRemove) {
231 Iterator<T> removeFrom, Predicate<? super T> predicate) {
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterators.java40 import java.util.Iterator;
125 private static final Iterator<Object> EMPTY_MODIFIABLE_ITERATOR =
126 new Iterator<Object>() {
148 static <T> Iterator<T> emptyModifiableIterator() { in emptyModifiableIterator()
149 return (Iterator<T>) EMPTY_MODIFIABLE_ITERATOR; in emptyModifiableIterator()
154 final Iterator<T> iterator) { in unmodifiableIterator()
187 public static int size(Iterator<?> iterator) {
199 public static boolean contains(Iterator<?> iterator, @Nullable Object element) {
213 Iterator<?> removeFrom, Collection<?> elementsToRemove) {
229 Iterator<T> removeFrom, Predicate<? super T> predicate) {
[all …]
/external/libchrome/sandbox/linux/bpf_dsl/
Dsyscall_set.h32 class Iterator;
37 Iterator begin() const;
38 Iterator end() const;
72 class SyscallSet::Iterator
75 Iterator(const Iterator& it) in Iterator() function
77 ~Iterator() {} in ~Iterator()
80 Iterator& operator++();
83 Iterator(Set set, bool done);
92 friend bool operator==(const Iterator&, const Iterator&);
93 DISALLOW_ASSIGN(Iterator);
[all …]
Dsyscall_set.cc47 SyscallSet::Iterator SyscallSet::begin() const { in begin()
48 return Iterator(set_, false); in begin()
51 SyscallSet::Iterator SyscallSet::end() const { in end()
52 return Iterator(set_, true); in end()
68 SyscallSet::Iterator::Iterator(Set set, bool done) in Iterator() function in sandbox::SyscallSet::Iterator
76 uint32_t SyscallSet::Iterator::operator*() const { in operator *()
81 SyscallSet::Iterator& SyscallSet::Iterator::operator++() { in operator ++()
94 uint32_t SyscallSet::Iterator::NextSyscall() const { in NextSyscall()
135 bool operator==(const SyscallSet::Iterator& lhs, in operator ==()
136 const SyscallSet::Iterator& rhs) { in operator ==()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DIteratorsTest.java36 import java.util.Iterator;
53 Iterator<String> iterator = Iterators.emptyIterator(); in testEmptyIterator()
101 Iterator<String> iterator = Iterators.emptyModifiableIterator(); in testEmptyModifiableIterator()
116 Iterator<String> iterator = Iterators.emptyIterator(); in testSize0()
121 Iterator<Integer> iterator = Collections.singleton(0).iterator(); in testSize1()
126 Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator(); in testSize_partiallyConsumed()
133 Iterator<String> set = asList("a", null, "b").iterator(); in test_contains_nonnull_yes()
138 Iterator<String> set = asList("a", "b").iterator(); in test_contains_nonnull_no()
143 Iterator<String> set = asList("a", null, "b").iterator(); in test_contains_null_yes()
148 Iterator<String> set = asList("a", "b").iterator(); in test_contains_null_no()
[all …]
DAbstractSequentialIteratorTest.java26 import java.util.Iterator;
36 public Iterator<Integer> iterator() { in testDoubler()
46 public Iterator<Integer> iterator() { in testSampleCode()
47 Iterator<Integer> powersOfTwo = new AbstractSequentialIterator<Integer>(1) { in testSampleCode()
61 Iterator<Object> empty = newEmpty(); in testEmpty()
76 Iterator<Object> broken = newBroken(); in testBroken()
91 private static Iterator<Integer> newDoubler(int first, final int last) { in newDoubler()
100 private static <T> Iterator<T> newEmpty() {
109 private static Iterator<Object> newBroken() {
DPeekingIteratorTest.java31 import java.util.Iterator;
63 @Override protected Iterator<T> newTargetIterator() { in newTargetIterator()
66 Iterator<T> iterator = targetList.iterator(); in newTargetIterator()
82 @Override protected Iterator<T> newTargetIterator() { in actsLikeIteratorHelper()
83 Iterator<T> iterator = Collections.unmodifiableList(list).iterator(); in actsLikeIteratorHelper()
101 Iterator<?> iterator = list.iterator(); in testPeekOnEmptyList()
112 Iterator<?> iterator = list.iterator(); in testPeekDoesntChangeIteration()
153 Iterator<String> iterator = list.iterator(); in testCantRemoveAfterPeek()
182 static class ThrowsAtEndIterator<E> implements Iterator<E> {
183 Iterator<E> iterator;
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DIteratorsTest.java53 import java.util.Iterator;
78 Iterator<String> iterator = Iterators.emptyIterator(); in testEmptyIterator()
126 Iterator<String> iterator = Iterators.emptyModifiableIterator(); in testEmptyModifiableIterator()
141 Iterator<String> iterator = Iterators.emptyIterator(); in testSize0()
146 Iterator<Integer> iterator = Collections.singleton(0).iterator(); in testSize1()
151 Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator(); in testSize_partiallyConsumed()
158 Iterator<String> set = asList("a", null, "b").iterator(); in test_contains_nonnull_yes()
163 Iterator<String> set = asList("a", "b").iterator(); in test_contains_nonnull_no()
168 Iterator<String> set = asList("a", null, "b").iterator(); in test_contains_null_yes()
173 Iterator<String> set = asList("a", "b").iterator(); in test_contains_null_no()
[all …]
DAbstractSequentialIteratorTest.java29 import java.util.Iterator;
40 protected Iterator<Integer> newTargetIterator() { in testDoublerExhaustive()
49 public Iterator<Integer> iterator() { in testDoubler()
59 public Iterator<Integer> iterator() { in testSampleCode()
60 Iterator<Integer> powersOfTwo = new AbstractSequentialIterator<Integer>(1) { in testSampleCode()
74 Iterator<Object> empty = newEmpty(); in testEmpty()
89 Iterator<Object> broken = newBroken(); in testBroken()
104 private static Iterator<Integer> newDoubler(int first, final int last) { in newDoubler()
113 private static <T> Iterator<T> newEmpty() {
122 private static Iterator<Object> newBroken() {
DPeekingIteratorTest.java32 import java.util.Iterator;
64 @Override protected Iterator<T> newTargetIterator() { in newTargetIterator()
67 Iterator<T> iterator = targetList.iterator(); in newTargetIterator()
83 @Override protected Iterator<T> newTargetIterator() { in actsLikeIteratorHelper()
84 Iterator<T> iterator = Collections.unmodifiableList(list).iterator(); in actsLikeIteratorHelper()
111 Iterator<?> iterator = list.iterator(); in testPeekOnEmptyList()
122 Iterator<?> iterator = list.iterator(); in testPeekDoesntChangeIteration()
163 Iterator<String> iterator = list.iterator(); in testCantRemoveAfterPeek()
192 static class ThrowsAtEndIterator<E> implements Iterator<E> {
193 Iterator<E> iterator;
[all …]
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DIteratorTesterTest.java30 import java.util.Iterator;
47 @Override protected Iterator<Integer> newTargetIterator() { in testCanCatchDifferentLengthOfIteration()
58 @Override protected Iterator<Integer> newTargetIterator() { in testCanCatchDifferentContents()
69 @Override protected Iterator<Integer> newTargetIterator() { in testCanCatchDifferentRemoveBehaviour()
79 @Override protected Iterator<Integer> newTargetIterator() { in testUnknownOrder()
89 @Override protected Iterator<Integer> newTargetIterator() { in testUnknownOrderUnrecognizedElement()
110 static class IteratorWithSunJavaBug6529795<T> implements Iterator<T> {
111 Iterator<T> iterator;
113 IteratorWithSunJavaBug6529795(Iterator<T> iterator) { in IteratorWithSunJavaBug6529795()
146 @Override protected Iterator<Integer> newTargetIterator() { in testCanCatchSunJavaBug6529795InTargetIterator()
[all …]
/external/deqp/framework/common/
DtcuFormatUtil.hpp174 template <typename Iterator>
178 Iterator begin;
179 Iterator end;
181 Array (const Iterator& begin_, const Iterator& end_) : begin(begin_), end(end_) {} in Array()
194 template <typename Iterator>
195 std::ostream& operator<< (std::ostream& str, const Array<Iterator>& fmt) in operator <<()
198 for (Iterator cur = fmt.begin; cur != fmt.end; ++cur) in operator <<()
220 template <typename T, typename Iterator = const T*>
224 HexIterator (Iterator iter) : m_iter(iter) {} in HexIterator()
226 HexIterator<T, Iterator>& operator++ (void) { ++m_iter; return *this; } in operator ++()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DCollectionUtilities.java14 import java.util.Iterator;
59 for (Iterator it = collection.iterator(); it.hasNext();) { in join()
94 public static <T, U extends Collection<T>> U addAll(Iterator<T> source, U target) { in addAll()
106 public static int size(Iterator source) { in size()
134 for (Iterator it = itemsToRemove.iterator(); it.hasNext();) { in removeAll()
149 Iterator<T> it = c.iterator(); in getFirst()
164 Iterator<T> it = c.iterator(); in getBest()
228 for (Iterator<T> it = c.iterator(); it.hasNext();) { in removeAll()
244 for (Iterator<T> it = c.iterator(); it.hasNext();) { in retainAll()
267 Iterator ai = aa.iterator(); in containsSome()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DCollectionUtilities.java15 import java.util.Iterator;
60 for (Iterator it = collection.iterator(); it.hasNext();) { in join()
95 public static <T, U extends Collection<T>> U addAll(Iterator<T> source, U target) { in addAll()
107 public static int size(Iterator source) { in size()
135 for (Iterator it = itemsToRemove.iterator(); it.hasNext();) { in removeAll()
150 Iterator<T> it = c.iterator(); in getFirst()
165 Iterator<T> it = c.iterator(); in getBest()
229 for (Iterator<T> it = c.iterator(); it.hasNext();) { in removeAll()
245 for (Iterator<T> it = c.iterator(); it.hasNext();) { in retainAll()
268 Iterator ai = aa.iterator(); in containsSome()
[all …]
/external/libchrome/base/containers/
Dadapters.h22 using Iterator = decltype(static_cast<T*>(nullptr)->rbegin());
29 Iterator begin() const { return t_.rbegin(); } in begin()
30 Iterator end() const { return t_.rend(); } in end()
41 using Iterator = std::reverse_iterator<T*>;
46 Iterator begin() const { return Iterator(&t_[N]); } in begin()
47 Iterator end() const { return Iterator(&t_[0]); } in end()
/external/deqp/framework/referencerenderer/
DrrPrimitiveAssembler.hpp79 template <typename Iterator>
80 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec()
96 template <typename Iterator>
97 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec()
141 template <typename Iterator>
142 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec()
204 template <typename Iterator>
205 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec()
221 template <typename Iterator>
222 …static void exec (Iterator outputIterator, VertexPacket* const* vertices, size_t numVertices, rr::… in exec()
[all …]
/external/icu/icu4c/source/common/
Dbytestrieiterator.cpp25 BytesTrie::Iterator::Iterator(const void *trieBytes, int32_t maxStringLength, in Iterator() function in BytesTrie::Iterator
47 BytesTrie::Iterator::Iterator(const BytesTrie &trie, int32_t maxStringLength, in Iterator() function in BytesTrie::Iterator
78 BytesTrie::Iterator::~Iterator() { in ~Iterator()
83 BytesTrie::Iterator &
84 BytesTrie::Iterator::reset() { in reset()
99 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
102 BytesTrie::Iterator::next(UErrorCode &errorCode) { in next()
172 BytesTrie::Iterator::getString() const { in getString()
177 BytesTrie::Iterator::truncateAndStop() { in truncateAndStop()
185 BytesTrie::Iterator::branchNext(const uint8_t *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
Ducharstrieiterator.cpp24 UCharsTrie::Iterator::Iterator(const UChar *trieUChars, int32_t maxStringLength, in Iterator() function in UCharsTrie::Iterator
46 UCharsTrie::Iterator::Iterator(const UCharsTrie &trie, int32_t maxStringLength, in Iterator() function in UCharsTrie::Iterator
77 UCharsTrie::Iterator::~Iterator() { in ~Iterator()
81 UCharsTrie::Iterator &
82 UCharsTrie::Iterator::reset() { in reset()
98 UCharsTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
101 UCharsTrie::Iterator::next(UErrorCode &errorCode) { in next()
186 UCharsTrie::Iterator::branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode) { in branchNext()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue9/
DNopropTest.java18 import java.util.Iterator;
28 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testOK01()
37 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testOK02()
46 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testOK03()
55 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testOK04()
64 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testOK05()
73 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testOK06()
82 Iterator<Object> docs = new Yaml(new BeanConstructor()).loadAll(yaml).iterator(); in testEmptyBean()
91 Iterator<Object> docs = new Yaml().loadAll(yaml).iterator(); in testEmptyBean2()
100 Iterator<Object> docs = new Yaml(new BeanConstructor()).loadAll(yaml).iterator(); in testEmptyDoc()
[all …]
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DYaml.java25 import java.util.Iterator;
204 public String dumpAll(Iterator<? extends Object> data) { in dumpAll()
232 public void dumpAll(Iterator<? extends Object> data, Writer output) { in dumpAll()
236 private void dumpAll(Iterator<? extends Object> data, Writer output, Tag rootTag) { in dumpAll()
465 Iterator<Object> result = new Iterator<Object>() { in loadAll()
482 private Iterator<Object> iterator;
484 public YamlIterable(Iterator<Object> iterator) { in YamlIterable()
488 public Iterator<Object> iterator() { in iterator()
548 Iterator<Node> result = new Iterator<Node>() { in composeAll()
565 private Iterator<Node> iterator;
[all …]
/external/llvm/test/CodeGen/X86/
Dpr18162.ll7 %"Iterator" = type { i32* }
12 define { i64, <2 x float> } @Foo(%"Iterator"* %this) {
15 %this.addr = alloca %"Iterator"*
16 %this1 = load %"Iterator"*, %"Iterator"** %this.addr
17 %bundle_ = getelementptr inbounds %"Iterator", %"Iterator"* %this1, i32 0, i32 0
/external/llvm/include/llvm/ADT/
DDenseSet.h80 class Iterator {
91 Iterator(const typename MapTy::iterator &i) : I(i) {} in Iterator() function
96 Iterator& operator++() { ++I; return *this; }
97 Iterator operator++(int) { auto T = *this; ++I; return T; }
98 bool operator==(const Iterator& X) const { return I == X.I; }
99 bool operator!=(const Iterator& X) const { return I != X.I; }
124 typedef Iterator iterator;
127 iterator begin() { return Iterator(TheMap.begin()); } in begin()
128 iterator end() { return Iterator(TheMap.end()); } in end()
133 iterator find(const ValueT &V) { return Iterator(TheMap.find(V)); } in find()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DDenseSet.h62 class Iterator {
72 Iterator(const typename MapTy::iterator &i) : I(i) {} in Iterator() function
77 Iterator& operator++() { ++I; return *this; }
78 bool operator==(const Iterator& X) const { return I == X.I; }
79 bool operator!=(const Iterator& X) const { return I != X.I; }
102 typedef Iterator iterator;
105 iterator begin() { return Iterator(TheMap.begin()); } in begin()
106 iterator end() { return Iterator(TheMap.end()); } in end()
111 iterator find(const ValueT &V) { return Iterator(TheMap.find(V)); } in find()
112 void erase(Iterator I) { return TheMap.erase(I.I); } in erase()

12345678910>>...60