Searched refs:iter_ (Results 1 - 25 of 37) sorted by relevance

12

/external/chromium_org/third_party/leveldatabase/src/table/
H A Diterator_wrapper.h16 IteratorWrapper(): iter_(NULL), valid_(false) { }
17 explicit IteratorWrapper(Iterator* iter): iter_(NULL) {
20 ~IteratorWrapper() { delete iter_; }
21 Iterator* iter() const { return iter_; }
26 delete iter_;
27 iter_ = iter;
28 if (iter_ == NULL) {
39 Slice value() const { assert(Valid()); return iter_->value(); }
41 Status status() const { assert(iter_); return iter_
56 Iterator* iter_; member in class:leveldb::IteratorWrapper
[all...]
/external/chromium_org/media/formats/mp4/
H A Dtrack_run_iterator_unittest.cc56 scoped_ptr<TrackRunIterator> iter_; member in class:media::mp4::TrackRunIteratorTest
267 return iter_->Init(*moof) &&
268 iter_->CacheAuxInfo(&aux_info[0], aux_info.size());
279 iter_.reset(new TrackRunIterator(&moov_, log_cb_));
280 ASSERT_TRUE(iter_->Init(MovieFragment()));
281 EXPECT_FALSE(iter_->IsRunValid());
282 EXPECT_FALSE(iter_->IsSampleValid());
286 iter_.reset(new TrackRunIterator(&moov_, log_cb_));
291 ASSERT_TRUE(iter_->Init(moof));
292 EXPECT_TRUE(iter_
[all...]
/external/chromium_org/third_party/leveldatabase/src/db/
H A Ddb_iter.cc55 iter_(iter),
63 delete iter_;
68 return (direction_ == kForward) ? ExtractUserKey(iter_->key()) : saved_key_;
72 return (direction_ == kForward) ? iter_->value() : saved_value_;
76 return iter_->status();
113 Iterator* const iter_; member in class:leveldb::__anon12441::DBIter
131 Slice k = iter_->key();
132 ssize_t n = k.size() + iter_->value().size();
151 // iter_ is pointing just before the entries for this->key(),
154 if (!iter_
[all...]
H A Dmemtable.cc53 explicit MemTableIterator(MemTable::Table* table) : iter_(table) { }
55 virtual bool Valid() const { return iter_.Valid(); }
56 virtual void Seek(const Slice& k) { iter_.Seek(EncodeKey(&tmp_, k)); }
57 virtual void SeekToFirst() { iter_.SeekToFirst(); }
58 virtual void SeekToLast() { iter_.SeekToLast(); }
59 virtual void Next() { iter_.Next(); }
60 virtual void Prev() { iter_.Prev(); }
61 virtual Slice key() const { return GetLengthPrefixedSlice(iter_.key()); }
63 Slice key_slice = GetLengthPrefixedSlice(iter_.key());
70 MemTable::Table::Iterator iter_; member in class:leveldb::MemTableIterator
[all...]
/external/chromium_org/base/i18n/
H A Dbreak_iterator.cc18 : iter_(NULL),
26 : iter_(NULL),
35 if (iter_)
36 ubrk_close(static_cast<UBreakIterator*>(iter_));
60 iter_ = ubrk_openRules(rules_.c_str(),
71 iter_ = ubrk_open(break_type,
86 ubrk_first(static_cast<UBreakIterator*>(iter_));
99 pos = ubrk_next(static_cast<UBreakIterator*>(iter_));
108 pos = ubrk_next(static_cast<UBreakIterator*>(iter_));
112 status = ubrk_getRuleStatus(static_cast<UBreakIterator*>(iter_));
[all...]
H A Dbreak_iterator.h130 void* iter_; member in class:base::i18n::BreakIterator
/external/chromium_org/ui/app_list/search/
H A Dterm_break_iterator.cc18 iter_(new base::i18n::UTF16CharIterator(&word)),
37 while (iter_->Advance()) {
38 const State new_state = GetNewState(word_[iter_->array_pos()]);
46 pos_ = iter_->array_pos();
48 return prev_ != pos_ || !iter_->end();
H A Dterm_break_iterator.h62 scoped_ptr<base::i18n::UTF16CharIterator> iter_; member in class:app_list::TermBreakIterator
/external/icu/icu4c/source/i18n/
H A Dcoleitr.cpp54 : UObject(other), iter_(NULL), rbc_(NULL), otherHalf_(0), dir_(0), offsets_(NULL) {
60 delete iter_;
85 int32_t i = iter_->getCEsLength();
93 return iter_->getOffset();
115 // The iter_ is already reset to the start of the text.
123 iter_->clearCEsIfNoneRemaining();
124 int64_t ce = iter_->nextCE(status);
155 *iter_ == *that.iter_;
175 iter_
[all...]
/external/chromium_org/base/metrics/
H A Dsample_map.cc62 : iter_(sample_counts.begin()),
68 return iter_ == end_;
73 iter_++;
79 *min = iter_->first;
81 *max = iter_->first + 1;
83 *count = iter_->second;
H A Dhistogram_samples.cc24 PickleIterator* const iter_; member in class:base::__anon2386::SampleCountPickleIterator
33 : iter_(iter),
44 if (!iter_->ReadInt(&min_) ||
45 !iter_->ReadInt(&max_) ||
46 !iter_->ReadInt(&count_))
H A Dsample_map.h59 SampleToCountMap::const_iterator iter_; member in class:base::SampleMapIterator
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Dtestturnserver.h49 iter_(alternate_server_addresses_.begin()) {
54 if (!out || iter_ == alternate_server_addresses_.end()) {
57 *out = *iter_++;
63 std::vector<rtc::SocketAddress>::const_iterator iter_; member in class:cricket::TestTurnRedirector
/external/chromium_org/base/
H A Did_map.h139 iter_(map_->data_.begin()) {
145 iter_(iter.iter_) {
151 iter_ = iter.iter;
169 return iter_ == map_->data_.end();
174 return iter_->first;
179 return iter_->second;
184 ++iter_;
196 while (iter_ != map_->data_.end() &&
197 map_->removed_ids_.find(iter_
204 typename HashTable::const_iterator iter_; member in class:IDMap::Iterator
[all...]
/external/libvpx/libvpx/test/
H A Ddecode_test_driver.h27 : decoder_(decoder), iter_(NULL) {}
30 return vpx_codec_get_frame(decoder_, &iter_);
35 vpx_codec_iter_t iter_; member in class:libvpx_test::DxDataIterator
H A Dencode_test_driver.h53 : encoder_(encoder), iter_(NULL) {}
56 return vpx_codec_get_cx_data(encoder_, &iter_);
61 vpx_codec_iter_t iter_; member in class:libvpx_test::CxDataIterator
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Ddecode_test_driver.h27 : decoder_(decoder), iter_(NULL) {}
30 return vpx_codec_get_frame(decoder_, &iter_);
35 vpx_codec_iter_t iter_; member in class:libvpx_test::DxDataIterator
H A Dencode_test_driver.h53 : encoder_(encoder), iter_(NULL) {}
56 return vpx_codec_get_cx_data(encoder_, &iter_);
61 vpx_codec_iter_t iter_; member in class:libvpx_test::CxDataIterator
/external/openfst/src/include/fst/
H A Dstring-weight.h169 iter_(rest_.begin()) {}
173 else return iter_ == rest_.end();
176 const L& Value() const { return init_ ? first_ : *iter_; }
180 else ++iter_;
185 iter_ = rest_.begin();
192 typename list<L>::const_iterator iter_; member in class:fst::StringWeightIterator
204 iter_(rest_.rbegin()) {}
208 const L& Value() const { return iter_ == rest_.rend() ? first_ : *iter_; }
211 if (iter_
224 typename list<L>::const_reverse_iterator iter_; member in class:fst::StringWeightReverseIterator
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dstring-weight.h161 iter_(rest_.begin()) {}
165 else return iter_ == rest_.end();
168 const L& Value() const { return init_ ? first_ : *iter_; }
172 else ++iter_;
177 iter_ = rest_.begin();
184 typename list<L>::const_iterator iter_; member in class:fst::StringWeightIterator
196 iter_(rest_.rbegin()) {}
200 const L& Value() const { return iter_ == rest_.rend() ? first_ : *iter_; }
203 if (iter_
216 typename list<L>::const_reverse_iterator iter_; member in class:fst::StringWeightReverseIterator
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutex.cc185 : iter_() {
189 if (iter_++ < kActiveSpinIters)
197 u64 active = iter_ % kActiveSpinIters;
198 u64 passive = iter_ - active;
203 int iter_; member in class:__tsan::Backoff
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_shared_library.h149 : iter_(&lib->view_), symbols_(&lib->symbols_), dep_name_(NULL) {}
160 ElfView::DynamicIterator iter_; member in class:crazy::SharedLibrary::DependencyIterator
H A Dcrazy_linker_shared_library.cpp549 for (; iter_.HasNext(); iter_.GetNext()) {
550 if (iter_.GetTag() == DT_NEEDED) {
551 dep_name_ = symbols_->GetStringById(iter_.GetValue());
552 iter_.GetNext();
/external/chromium_org/net/tools/dump_cache/
H A Dsimple_cache_dumper.h78 scoped_ptr<disk_cache::Backend::Iterator> iter_; member in class:net::SimpleCacheDumper
/external/chromium_org/chrome/test/chromedriver/
H A Dutil.cc142 : data_(data), size_(size), iter_(0) {}
157 if (iter_ + length > size_)
166 if (iter_ + size > size_)
168 memcpy(bytes, &data_[iter_], size);
169 iter_ += size;
173 int remaining() const { return size_ - iter_; }
178 int iter_; member in class:__anon5980::DataInputStream

Completed in 543 milliseconds

12