Searched refs:iterator (Results 276 - 300 of 2954) sorted by relevance

<<11121314151617181920>>

/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DUnmodifiableCollectionTests.java61 public static void assertIteratorIsUnmodifiable(Iterator<?> iterator) { argument
62 while (iterator.hasNext()) {
63 iterator.next();
65 iterator.remove();
66 fail("Remove on unmodifiable iterator succeeded");
142 assertIteratorIsUnmodifiable(collection.iterator());
297 multimap.asMap().entrySet().iterator().next().getValue();
324 K key = multimap.keySet().iterator().next();
388 K presentKey = multimap.keySet().iterator().next();
397 multimap.asMap().values().iterator()
[all...]
/external/opencv/cxcore/src/
H A Dcxlogic.cpp223 CvNArrayIterator iterator; local
229 CV_CALL( cvInitNArrayIterator( 2, arrs, 0, stubs, &iterator ));
231 type = CV_MAT_TYPE(iterator.hdr[0]->type);
233 iterator.size.width *= CV_ELEM_SIZE(type);
240 IPPI_CALL( fn_2d( iterator.ptr[0], CV_STUB_STEP,
241 iterator.ptr[1], CV_STUB_STEP,
242 iterator.size, buf, elem_size1 ));
244 while( cvNextNArraySlice( &iterator ));
389 CvNArrayIterator iterator; local
395 CV_CALL( cvInitNArrayIterator( 3, arrs, 0, stubs, &iterator ));
651 CvNArrayIterator iterator; local
[all...]
/external/llvm/include/llvm/ADT/
H A DValueMap.h33 #include <iterator>
96 typedef ValueMapIterator<MapT, KeyT> iterator; typedef in class:llvm::ValueMap
98 inline iterator begin() { return iterator(Map.begin()); }
99 inline iterator end() { return iterator(Map.end()); }
116 iterator find(const KeyT &Val) {
117 return iterator(Map.find_as(Val));
133 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) {
134 std::pair<typename MapT::iterator, boo
[all...]
/external/webkit/Source/WebCore/platform/graphics/
H A DGlyphPageTreeNode.cpp82 HashMap<int, GlyphPageTreeNode*>::iterator end = roots->end();
83 for (HashMap<int, GlyphPageTreeNode*>::iterator it = roots->begin(); it != end; ++it)
105 HashMap<int, GlyphPageTreeNode*>::iterator end = roots->end();
106 for (HashMap<int, GlyphPageTreeNode*>::iterator it = roots->begin(); it != end; ++it)
130 HashMap<int, GlyphPageTreeNode*>::iterator end = roots->end();
131 for (HashMap<int, GlyphPageTreeNode*>::iterator it = roots->begin(); it != end; ++it)
142 HashMap<int, GlyphPageTreeNode*>::iterator end = roots->end();
143 for (HashMap<int, GlyphPageTreeNode*>::iterator it = roots->begin(); it != end; ++it)
400 HashMap<const FontData*, GlyphPageTreeNode*>::iterator end = m_children.end();
401 for (HashMap<const FontData*, GlyphPageTreeNode*>::iterator i
[all...]
/external/chromium/net/url_request/
H A Durl_request_filter.cc43 HostnameHandlerMap::iterator host_it =
53 HostnameHandlerMap::iterator iter =
76 HostnameHandlerMap::iterator host_it =
86 UrlHandlerMap::iterator iter = url_handler_map_.find(url.spec());
127 HostnameHandlerMap::iterator i =
135 UrlHandlerMap::iterator i = url_handler_map_.find(url);
/external/chromium/net/websockets/
H A Dwebsocket_throttle.cc76 ConnectingAddressMap::iterator iter = addr_map_.find(addrkey);
91 for (ConnectingQueue::iterator iter = queue_.begin();
113 ConnectingAddressMap::iterator iter = addr_map_.find(addrkey);
118 for (ConnectingQueue::iterator iter = queue->begin();
134 for (ConnectingQueue::iterator iter = queue_.begin();
147 ConnectingAddressMap::iterator iter = addr_map_.find(addrkey);
/external/clang/include/clang/AST/
H A DCXXInheritance.h170 typedef std::list<CXXBasePath>::iterator paths_iterator;
280 typedef MapType::iterator iterator; typedef in class:clang::OverridingMethods
282 iterator begin() { return Overrides.begin(); }
284 iterator end() { return Overrides.end(); }
290 typedef SmallVector<UniqueVirtualMethod, 4>::iterator
H A DDeclLookups.h24 /// all_lookups_iterator - An iterator that provides a view over the results
27 StoredDeclsMap::iterator It, End;
36 all_lookups_iterator(StoredDeclsMap::iterator It,
37 StoredDeclsMap::iterator End)
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DCollectionIteratorTester.java41 * A generic JUnit test which tests {@code iterator} operations on a collection.
52 for (E element : collection) { // uses iterator()
62 for (E element : collection) { // uses iterator()
106 return collection.iterator();
139 Iterator<E> iterator = collection.iterator();
140 while (iterator.hasNext()) {
141 iterator.next();
145 iterator.next();
146 fail("iterator
[all...]
/external/guava/guava-tests/test/com/google/common/collect/
H A DAbstractListMultimapTest.java126 multimap.asMap().entrySet().iterator();
168 Iterator<Integer> values = multimap.get("foo").iterator();
246 ListIterator<Integer> iterator = list.listIterator();
248 assertFalse(iterator.hasPrevious());
249 assertTrue(iterator.hasNext());
250 assertEquals(0, iterator.nextIndex());
251 assertEquals(-1, iterator.previousIndex());
253 assertEquals(1, iterator.next().intValue());
254 assertEquals(3, iterator.next().intValue());
255 assertTrue(iterator
[all...]
H A DLinkedHashMultisetTest.java75 return createSample().iterator();
91 return multiset.elementSet().iterator();
122 Iterator<String> iterator = ms.iterator();
123 iterator.next();
128 iterator.remove();
/external/llvm/include/llvm/CodeGen/
H A DScheduleDAGInstrs.h102 MachineBasicBlock::iterator RegionBegin;
105 MachineBasicBlock::iterator RegionEnd;
159 /// begin - Return an iterator to the top of the current scheduling region.
160 MachineBasicBlock::iterator begin() const { return RegionBegin; }
162 /// end - Return an iterator to the bottom of the current scheduling region.
163 MachineBasicBlock::iterator end() const { return RegionEnd; }
179 MachineBasicBlock::iterator begin,
180 MachineBasicBlock::iterator end,
/external/llvm/include/llvm/IR/
H A DBasicBlock.h98 typedef InstListType::iterator iterator; typedef in class:llvm::BasicBlock
148 /// \brief Returns an iterator to the first instruction in this block that is
152 iterator getFirstInsertionPt();
190 /// Instruction iterator methods
192 inline iterator begin() { return InstList.begin(); }
194 inline iterator end () { return InstList.end(); }
250 /// Note that all instructions BEFORE the specified iterator stay as part of
254 /// This function invalidates the specified iterator.
263 BasicBlock *splitBasicBlock(iterator
[all...]
/external/llvm/include/llvm/MC/
H A DMCInst.h174 typedef SmallVector<MCOperand, 8>::iterator iterator; typedef in class:llvm::MCInst
175 iterator begin() { return Operands.begin(); }
176 iterator end() { return Operands.end(); }
177 iterator insert(iterator I, const MCOperand &Op) {
/external/llvm/lib/Target/Hexagon/
H A DHexagonFixupHwLoops.cpp64 MachineBasicBlock::iterator &MII,
109 for (MachineFunction::iterator MBB = MF.begin(), MBBe = MF.end();
122 for (MachineFunction::iterator MBB = MF.begin(), MBBe = MF.end();
128 MachineBasicBlock::iterator MIE = MBB->end();
129 MachineBasicBlock::iterator MII = MBB->begin();
159 MachineBasicBlock::iterator &MII,
/external/llvm/lib/Target/X86/
H A DX86PadShortFunction.cpp68 MachineBasicBlock::iterator &MBBI,
116 for (DenseMap<MachineBasicBlock*, unsigned int>::iterator I = ReturnBBs.begin();
126 MachineBasicBlock::iterator ReturnLoc = --MBB->end();
171 DenseMap<MachineBasicBlock*, VisitedBBInfo>::iterator it
181 for (MachineBasicBlock::iterator MBBI = MBB->begin();
204 MachineBasicBlock::iterator &MBBI,
/external/stlport/stlport/stl/pointers/
H A D_deque.h35 typedef _Deque_iterator<_ValueT, _Nonconst_traits<_ValueT> > iterator; typedef in struct:_DequeIteCast
41 static iterator to_value_type_ite (storage_iterator const& __ite) {
42 iterator tmp;
49 static storage_iterator to_storage_type_ite (iterator const& __ite) {
121 typedef _STLP_PRIV _Deque_iterator<value_type, _Nonconst_traits<value_type> > iterator; typedef in class:deque
127 iterator begin() { return ite_cast_traits::to_value_type_ite(_M_impl.begin()); }
128 iterator end() { return ite_cast_traits::to_value_type_ite(_M_impl.end()); }
289 iterator insert(iterator __pos, const value_type& __x = _STLP_DEFAULT_CONSTRUCTED(value_type))
291 iterator inser
[all...]
/external/webkit/Source/WebCore/bridge/
H A Druntime_root.cpp104 WeakGCMap<RuntimeObject*, RuntimeObject>::iterator end = m_runtimeObjects.end();
105 for (WeakGCMap<RuntimeObject*, RuntimeObject>::iterator it = m_runtimeObjects.begin(); it != end; ++it) {
118 HashSet<InvalidationCallback*>::iterator end = m_invalidationCallbacks.end();
119 for (HashSet<InvalidationCallback*>::iterator iter = m_invalidationCallbacks.begin(); iter != end; ++iter)
125 ProtectCountSet::iterator end = m_protectCountSet.end();
126 for (ProtectCountSet::iterator it = m_protectCountSet.begin(); it != end; ++it)
/external/webkit/Source/WebCore/rendering/svg/
H A DSVGResourcesCache.cpp67 HashSet<RenderSVGResourceContainer*>::iterator end = resourceSet.end();
68 for (HashSet<RenderSVGResourceContainer*>::iterator it = resourceSet.begin(); it != end; ++it)
83 HashSet<RenderSVGResourceContainer*>::iterator end = resourceSet.end();
84 for (HashSet<RenderSVGResourceContainer*>::iterator it = resourceSet.begin(); it != end; ++it)
162 HashMap<RenderObject*, SVGResources*>::iterator end = cache->m_cache.end();
163 for (HashMap<RenderObject*, SVGResources*>::iterator it = cache->m_cache.begin(); it != end; ++it)
/external/webrtc/src/system_wrappers/source/
H A Dlist_stl.cc125 std::list<ListItem*>::iterator item_iter = list_.begin();
139 std::list<ListItem*>::iterator item_iter = list_.end();
152 std::list<ListItem*>::iterator item_iter = item->this_iter_;
169 std::list<ListItem*>::iterator item_iter = item->this_iter_;
196 std::list<ListItem*>::iterator insert_location = list_.begin();
225 std::list<ListItem*>::iterator insert_location = list_.begin();
/external/javassist/src/main/javassist/
H A DCtBehavior.java697 CodeIterator iterator = ca.iterator();
716 int pos = iterator.insertEx(b.get());
717 iterator.insert(b.getExceptionTable(), pos);
768 CodeIterator iterator = ca.iterator();
790 int gapPos = iterator.append(b.get());
791 iterator.append(b.getExceptionTable(), gapPos);
796 int gapLen = iterator.getCodeLength() - gapPos - handlerLen;
797 int subr = iterator
852 insertGoto(CodeIterator iterator, int subr, int pos) argument
[all...]
/external/chromium/base/
H A Dfile_descriptor_shuffle.cc24 for (InjectiveMultimap::iterator i = m->begin(); i != m->end(); ++i) {
28 for (InjectiveMultimap::iterator j = i + 1; j != m->end(); ++j) {
35 for (InjectiveMultimap::iterator j = i + 1; j != m->end(); ++j) {
/external/chromium/chrome/browser/profiles/
H A Dprofile_keyed_service_factory.cc40 std::map<Profile*, ProfileKeyedService*>::iterator it =
77 std::map<Profile*, ProfileKeyedService*>::iterator it =
84 std::map<Profile*, ProfileKeyedService*>::iterator it =
/external/clang/lib/Analysis/
H A DCocoaConventions.cpp98 StringRef::iterator it = functionName.begin();
99 StringRef::iterator start = it;
100 StringRef::iterator endI = functionName.end();
/external/clang/lib/Sema/
H A DIdentifierResolver.cpp71 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) {
83 for (DeclsTy::iterator I = Decls.end(); I != Decls.begin(); --I) {
179 void IdentifierResolver::InsertDeclAfter(iterator Pos, NamedDecl *D) {
194 if (Pos == iterator()) {
262 /// begin - Returns an iterator for decls with name 'Name'.
263 IdentifierResolver::iterator
272 return iterator(static_cast<NamedDecl*>(Ptr));
276 IdDeclInfo::DeclsTy::iterator I = IDI->decls_end();
278 return iterator(I-1);
378 for (IdDeclInfo::DeclsTy::iterator
[all...]

Completed in 2365 milliseconds

<<11121314151617181920>>