/external/guava/guava-tests/test/com/google/common/collect/ |
PeekingIteratorTest.java | 32 import java.util.Iterator; 46 * Version of {@link IteratorTester} that compares an iterator over 47 * a given collection of elements (used as the reference iterator) 48 * against a {@code PeekingIterator} that *wraps* such an iterator 49 * (used as the target iterator). 53 * same elements as the reference's iterator {@code #remove()}. 64 @Override protected Iterator<T> newTargetIterator() { 67 Iterator<T> iterator = targetList.iterator(); local 84 Iterator<T> iterator = Collections.unmodifiableList(list).iterator(); local 111 Iterator<?> iterator = list.iterator(); local 122 Iterator<?> iterator = list.iterator(); local 163 Iterator<String> iterator = list.iterator(); local 193 Iterator<E> iterator; field in class:PeekingIteratorTest.ThrowsAtEndIterator 227 Iterator<Integer> iterator = local [all...] |
/external/chromium_org/chrome/browser/extensions/updater/ |
request_queue.h | 39 class iterator; 76 iterator begin(); 77 iterator end(); 117 // Iterator class that wraps a std::deque<> iterator, only giving access to the 120 class RequestQueue<T>::iterator { class in class:extensions::RequestQueue 122 iterator() {} function in class:extensions::RequestQueue::iterator 126 iterator& operator++() { 130 bool operator!=(const iterator& b) const { 138 explicit iterator(const typename Container::iterator& it function in class:extensions::RequestQueue::iterator [all...] |
/external/llvm/include/llvm/Analysis/ |
Trace.h | 86 typedef BasicBlockListType::iterator iterator; typedef in class:llvm::Trace 89 typedef std::reverse_iterator<iterator> reverse_iterator; 91 iterator begin() { return BasicBlocks.begin(); } 93 iterator end () { return BasicBlocks.end(); } 104 iterator erase(iterator q) { return BasicBlocks.erase (q); } 105 iterator erase(iterator q1, iterator q2) { return BasicBlocks.erase (q1, q2); [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
BaseMenuWrapper.java | 24 import java.util.Iterator; 88 Iterator<android.view.MenuItem> iterator = mMenuItems.keySet().iterator(); local 91 while (iterator.hasNext()) { 92 menuItem = iterator.next(); 94 iterator.remove(); 104 Iterator<android.view.MenuItem> iterator = mMenuItems.keySet().iterator(); local [all...] |
/external/llvm/lib/Target/X86/ |
X86FixupLEAs.cpp | 40 bool processBasicBlock(MachineFunction &MF, MachineFunction::iterator MFI); 49 void seekLEAFixup(MachineOperand& p, MachineBasicBlock::iterator& I, 50 MachineFunction::iterator MFI); 56 void processInstruction(MachineBasicBlock::iterator& I, 57 MachineFunction::iterator MFI); 62 MachineBasicBlock::iterator I); 67 MachineBasicBlock::iterator searchBackwards(MachineOperand& p, 68 MachineBasicBlock::iterator& I, 69 MachineFunction::iterator MFI); 74 MachineInstr* postRAConvertToLEA(MachineFunction::iterator &MFI [all...] |
/external/chromium_org/net/base/ |
linked_hash_map.h | 13 // iterator pointing to an element that was just deleted. 28 // We also keep a map<Key, list::iterator> for find. Since std::list is a 34 typedef base::hash_map<Key, typename ListType::iterator> MapType; 37 typedef typename ListType::iterator iterator; typedef in class:linked_hash_map 48 // Returns an iterator to the first (insertion-ordered) element. Like a map, 50 iterator begin() { 57 // Returns an iterator beyond the last element. 58 iterator end() { 65 // Returns an iterator to the last (insertion-ordered) element. Like a map [all...] |
/external/chromium_org/v8/test/mjsunit/harmony/ |
array-iterator.js | 47 var iterator = array.values(); 48 assertIteratorResult('a', false, iterator.next()); 49 assertIteratorResult('b', false, iterator.next()); 50 assertIteratorResult('c', false, iterator.next()); 51 assertIteratorResult(void 0, true, iterator.next()); 54 assertIteratorResult(void 0, true, iterator.next()); 60 var iterator = array.values(); 61 assertIteratorResult('a', false, iterator.next()); 62 assertIteratorResult('b', false, iterator.next()); 63 assertIteratorResult('c', false, iterator.next()) [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/algorithm/string/detail/ |
sequence.hpp | 31 BOOST_STRING_TYPENAME InputT::iterator At, 41 BOOST_STRING_TYPENAME InputT::iterator At, 51 Returns the iterator pointing just after the erase subrange 54 inline typename InputT::iterator erase( 56 BOOST_STRING_TYPENAME InputT::iterator From, 57 BOOST_STRING_TYPENAME InputT::iterator To ) 72 BOOST_STRING_TYPENAME InputT::iterator From, 73 BOOST_STRING_TYPENAME InputT::iterator To, 79 BOOST_STRING_TYPENAME InputT::iterator InputIt=From; 108 BOOST_STRING_TYPENAME InputT::iterator From [all...] |
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/mpl/aux_/preprocessed/gcc/ |
iter_fold_if_impl.hpp | 15 template< typename Iterator, typename State > 19 typedef Iterator iterator; typedef in struct:boost::mpl::aux::iter_fold_if_null_step 26 typename Iterator 33 typedef typename apply2< StateOp,State,Iterator >::type state; 34 typedef typename IteratorOp::type iterator; typedef in struct:boost::mpl::aux::iter_fold_if_step_impl::result_ 42 typename Iterator 50 typedef Iterator iterator; typedef in struct:boost::mpl::aux::iter_fold_if_step_impl::result_ 55 typename Iterator 68 typedef typename impl_::iterator iterator; typedef in struct:boost::mpl::aux::iter_fold_if_forward_step 85 typedef typename impl_::iterator iterator; typedef in struct:boost::mpl::aux::iter_fold_if_backward_step 130 typedef typename backward_step4::iterator iterator; typedef in struct:boost::mpl::aux::iter_fold_if_impl [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSVariablesMap.cpp | 62 Iterators::iterator end = m_activeIterators.end(); 63 for (Iterators::iterator it = m_activeIterators.begin(); it != end; ++it) 73 Iterators::iterator end = m_activeIterators.end(); 74 for (Iterators::iterator it = m_activeIterators.begin(); it != end; ++it) 86 Iterators::iterator end = m_activeIterators.end(); 87 for (Iterators::iterator it = m_activeIterators.begin(); it != end; ++it) 106 RefPtr<CSSVariablesIterator> iterator = m_styleDeclaration->variablesIterator(); 107 m_activeIterators.append(iterator.get()); 108 while (!iterator->atEnd()) { 109 String name = iterator->name() [all...] |
/external/llvm/lib/Target/Mips/ |
Mips16InstrInfo.h | 47 MachineBasicBlock::iterator MI, DebugLoc DL, 52 MachineBasicBlock::iterator MBBI, 59 MachineBasicBlock::iterator MBBI, 65 virtual bool expandPostRAPseudo(MachineBasicBlock::iterator MI) const; 71 MachineBasicBlock::iterator I) const; 75 MachineBasicBlock::iterator I) const; 80 MachineBasicBlock::iterator I) const; 88 MachineBasicBlock::iterator II, DebugLoc DL, 93 MachineBasicBlock::iterator II, DebugLoc DL, 109 (MachineBasicBlock &MBB, MachineBasicBlock::iterator I, int64_t Imm) const [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/profile/ |
set.h | 56 typedef typename _Base::iterator iterator; typedef in class:__profile::set 126 iterator 128 { return iterator(_Base::begin()); } 134 iterator 136 { return iterator(_Base::end()); } 182 std::pair<iterator, bool> 185 typedef typename _Base::iterator _Base_iterator; 187 return std::pair<iterator, bool>(iterator(__res.first) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/profile/ |
set.h | 56 typedef typename _Base::iterator iterator; typedef in class:__profile::set 126 iterator 128 { return iterator(_Base::begin()); } 134 iterator 136 { return iterator(_Base::end()); } 182 std::pair<iterator, bool> 185 typedef typename _Base::iterator _Base_iterator; 187 return std::pair<iterator, bool>(iterator(__res.first) [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/profile/ |
set.h | 56 typedef typename _Base::iterator iterator; typedef in class:__profile::set 126 iterator 128 { return iterator(_Base::begin()); } 134 iterator 136 { return iterator(_Base::end()); } 182 std::pair<iterator, bool> 185 typedef typename _Base::iterator _Base_iterator; 187 return std::pair<iterator, bool>(iterator(__res.first) [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/profile/ |
set.h | 56 typedef typename _Base::iterator iterator; typedef in class:__profile::set 127 iterator 129 { return iterator(_Base::begin()); } 135 iterator 137 { return iterator(_Base::end()); } 183 std::pair<iterator, bool> 186 typedef typename _Base::iterator _Base_iterator; 188 return std::pair<iterator, bool>(iterator(__res.first) [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/profile/ |
set.h | 56 typedef typename _Base::iterator iterator; typedef in class:__profile::set 126 iterator 128 { return iterator(_Base::begin()); } 134 iterator 136 { return iterator(_Base::end()); } 182 std::pair<iterator, bool> 185 typedef typename _Base::iterator _Base_iterator; 187 return std::pair<iterator, bool>(iterator(__res.first) [all...] |
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/profile/ |
set.h | 56 typedef typename _Base::iterator iterator; typedef in class:__profile::set 127 iterator 129 { return iterator(_Base::begin()); } 135 iterator 137 { return iterator(_Base::end()); } 183 std::pair<iterator, bool> 186 typedef typename _Base::iterator _Base_iterator; 188 return std::pair<iterator, bool>(iterator(__res.first) [all...] |
/external/chromium_org/cc/base/ |
scoped_ptr_deque.h | 29 // On Android the iterator is not a class, so we can't block assignment. 30 typedef typename std::deque<T*>::iterator iterator; typedef in class:cc::ScopedPtrDeque 32 // Ban setting values on the iterator directly. New pointers must be passed 34 class iterator : public std::deque<T*>::iterator { class in class:cc::ScopedPtrDeque 36 explicit iterator(const typename std::deque<T*>::iterator& other) function in class:cc::ScopedPtrDeque::iterator 37 : std::deque<T*>::iterator(other) {} 38 T* const& operator*() { return std::deque<T*>::iterator::operator*(); [all...] |
/external/javassist/src/main/javassist/convert/ |
TransformNewClass.java | 46 public int transform(CtClass clazz, int pos, CodeIterator iterator, 50 int c = iterator.byteAt(pos); 52 index = iterator.u16bitAt(pos + 1); 54 if (iterator.byteAt(pos + 3) != DUP) 61 iterator.write16bit(newClassIndex, pos + 1); 66 index = iterator.u16bitAt(pos + 1); 75 iterator.write16bit(newMethodIndex, pos + 1);
|
/external/llvm/include/llvm/IR/ |
TypeFinder.h | 45 typedef std::vector<StructType*>::iterator iterator; typedef in class:llvm::TypeFinder 48 iterator begin() { return StructTypes.begin(); } 49 iterator end() { return StructTypes.end(); } 56 iterator erase(iterator I, iterator E) { return StructTypes.erase(I, E); }
|
/external/llvm/lib/CodeGen/ |
MachineLoopInfo.cpp | 51 MachineFunction::iterator Begin = TopMBB->getParent()->begin(); 53 MachineBasicBlock *PriorMBB = prior(MachineFunction::iterator(TopMBB)); 57 PriorMBB = prior(MachineFunction::iterator(TopMBB)); 65 MachineFunction::iterator End = BotMBB->getParent()->end(); 67 MachineBasicBlock *NextMBB = llvm::next(MachineFunction::iterator(BotMBB)); 70 if (BotMBB == llvm::next(MachineFunction::iterator(BotMBB))) break; 71 NextMBB = llvm::next(MachineFunction::iterator(BotMBB));
|
/external/flac/libFLAC/ |
metadata_iterators.c | 89 static FLAC__bool read_metadata_block_header_(FLAC__Metadata_SimpleIterator *iterator); 90 static FLAC__bool read_metadata_block_data_(FLAC__Metadata_SimpleIterator *iterator, FLAC__StreamMetadata *block); 117 static FLAC__bool write_metadata_block_stationary_(FLAC__Metadata_SimpleIterator *iterator, const FLAC__StreamMetadata *block); 118 static FLAC__bool write_metadata_block_stationary_with_padding_(FLAC__Metadata_SimpleIterator *iterator, FLAC__StreamMetadata *block, unsigned padding_length, FLAC__bool padding_is_last); 119 static FLAC__bool rewrite_whole_file_(FLAC__Metadata_SimpleIterator *iterator, FLAC__StreamMetadata *block, FLAC__bool append); 121 static void simple_iterator_push_(FLAC__Metadata_SimpleIterator *iterator); 122 static FLAC__bool simple_iterator_pop_(FLAC__Metadata_SimpleIterator *iterator); 127 static FLAC__bool simple_iterator_copy_file_prefix_(FLAC__Metadata_SimpleIterator *iterator, FILE **tempfile, char **tempfilename, FLAC__bool append); 128 static FLAC__bool simple_iterator_copy_file_postfix_(FLAC__Metadata_SimpleIterator *iterator, FILE **tempfile, char **tempfilename, int fixup_is_last_code, off_t fixup_is_last_flag_offset, FLAC__bool backup); 380 FLAC__Metadata_SimpleIterator *iterator = (FLAC__Metadata_SimpleIterator*)calloc(1, sizeof(FLAC__Metadata_SimpleIterator)) local 1836 FLAC__Metadata_Iterator *iterator = (FLAC__Metadata_Iterator*)calloc(1, sizeof(FLAC__Metadata_Iterator)); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
SurroundingText.cpp | 82 CharacterIterator iterator(m_contentRange.get()); 84 ASSERT(!iterator.atEnd()); 85 iterator.advance(startOffsetInContent); 87 ASSERT(iterator.range()); 88 Position start = iterator.range()->startPosition(); 90 ASSERT(!iterator.atEnd()); 91 iterator.advance(endOffsetInContent - startOffsetInContent); 93 ASSERT(iterator.range()); 94 Position end = iterator.range()->startPosition();
|
/cts/tests/tests/text/src/android/text/cts/ |
TextUtils_SimpleStringSplitterTest.java | 19 import java.util.Iterator; 56 Iterator<String> iterator = simpleStringSplitter.iterator(); local 57 assertNotNull(iterator); 58 assertFalse(iterator.hasNext()); 61 iterator = simpleStringSplitter.iterator(); 62 assertNotNull(iterator); 63 assertTrue(iterator.hasNext()) [all...] |
/external/chromium_org/android_webview/native/ |
state_serializer.h | 30 bool RestoreFromPickle(PickleIterator* iterator, 39 bool RestoreHeaderFromPickle(PickleIterator* iterator) WARN_UNUSED_RESULT; 43 PickleIterator* iterator,
|