Home
last modified time | relevance | path

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

12345678910>>...56

/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/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/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/android_icu4j/src/main/tests/android/icu/dev/util/
DSortedBag.java14 import java.util.Iterator;
46 public Iterator iterator() { in iterator()
49 static Iterator EMPTY_ITERATOR = new HashSet().iterator();
50 private class MyIterator implements Iterator {
51 private Iterator mapIterator = m.keySet().iterator();
52 private Iterator setIterator = null;
58 private Iterator getSetIterator() { in getSetIterator()
97 for (Iterator it = iterator(); it.hasNext();) { in toArray()
114 for (Iterator it = c.iterator(); it.hasNext(); ) { in containsAll()
121 for (Iterator it = c.iterator(); it.hasNext(); ) { in addAll()
[all …]
DCollectionUtilities.java13 import java.util.Iterator;
58 for (Iterator it = collection.iterator(); it.hasNext();) { in join()
93 public static <T, U extends Collection<T>> U addAll(Iterator<T> source, U target) { in addAll()
105 public static int size(Iterator source) { in size()
133 for (Iterator it = itemsToRemove.iterator(); it.hasNext();) { in removeAll()
148 Iterator<T> it = c.iterator(); in getFirst()
163 Iterator<T> it = c.iterator(); in getBest()
227 for (Iterator<T> it = c.iterator(); it.hasNext();) { in removeAll()
243 for (Iterator<T> it = c.iterator(); it.hasNext();) { in retainAll()
266 Iterator ai = aa.iterator(); in containsSome()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DSortedBag.java13 import java.util.Iterator;
45 public Iterator iterator() { in iterator()
48 static Iterator EMPTY_ITERATOR = new HashSet().iterator();
49 private class MyIterator implements Iterator {
50 private Iterator mapIterator = m.keySet().iterator();
51 private Iterator setIterator = null;
57 private Iterator getSetIterator() { in getSetIterator()
96 for (Iterator it = iterator(); it.hasNext();) { in toArray()
113 for (Iterator it = c.iterator(); it.hasNext(); ) { in containsAll()
120 for (Iterator it = c.iterator(); it.hasNext(); ) { in addAll()
[all …]
DCollectionUtilities.java12 import java.util.Iterator;
57 for (Iterator it = collection.iterator(); it.hasNext();) { in join()
92 public static <T, U extends Collection<T>> U addAll(Iterator<T> source, U target) { in addAll()
104 public static int size(Iterator source) { in size()
132 for (Iterator it = itemsToRemove.iterator(); it.hasNext();) { in removeAll()
147 Iterator<T> it = c.iterator(); in getFirst()
162 Iterator<T> it = c.iterator(); in getBest()
226 for (Iterator<T> it = c.iterator(); it.hasNext();) { in removeAll()
242 for (Iterator<T> it = c.iterator(); it.hasNext();) { in retainAll()
265 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/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 bool operator==(const Iterator& X) const { return I == X.I; }
98 bool operator!=(const Iterator& X) const { return I != X.I; }
122 typedef Iterator iterator;
125 iterator begin() { return Iterator(TheMap.begin()); } in begin()
126 iterator end() { return Iterator(TheMap.end()); } in end()
131 iterator find(const ValueT &V) { return Iterator(TheMap.find(V)); } in find()
140 return Iterator(TheMap.find_as(Val)); in find_as()
[all …]
/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/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/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/icu/icu4c/source/common/
Dbytestrieiterator.cpp23 BytesTrie::Iterator::Iterator(const void *trieBytes, int32_t maxStringLength, in Iterator() function in BytesTrie::Iterator
45 BytesTrie::Iterator::Iterator(const BytesTrie &trie, int32_t maxStringLength, in Iterator() function in BytesTrie::Iterator
76 BytesTrie::Iterator::~Iterator() { in ~Iterator()
81 BytesTrie::Iterator &
82 BytesTrie::Iterator::reset() { in reset()
97 BytesTrie::Iterator::hasNext() const { return pos_!=NULL || !stack_->isEmpty(); } in hasNext()
100 BytesTrie::Iterator::next(UErrorCode &errorCode) { in next()
171 BytesTrie::Iterator::truncateAndStop() { in truncateAndStop()
180 BytesTrie::Iterator::branchNext(const uint8_t *pos, int32_t length, UErrorCode &errorCode) { in branchNext()

12345678910>>...56