Home
last modified time | relevance | path

Searched refs:iterator_ (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/content/browser/indexed_db/leveldb/
Dleveldb_iterator_impl.cc23 : iterator_(it.Pass()) { in LevelDBIteratorImpl()
27 const leveldb::Status& s = iterator_->status(); in CheckStatus()
33 return iterator_->Valid(); in IsValid()
37 iterator_->SeekToLast(); in SeekToLast()
39 return iterator_->status(); in SeekToLast()
43 iterator_->Seek(MakeSlice(target)); in Seek()
45 return iterator_->status(); in Seek()
50 iterator_->Next(); in Next()
52 return iterator_->status(); in Next()
57 iterator_->Prev(); in Prev()
[all …]
Dleveldb_transaction.cc135 return iterator_ != data_->end(); in IsValid()
139 iterator_ = data_->end(); in SeekToLast()
140 if (iterator_ != data_->begin()) in SeekToLast()
141 --iterator_; in SeekToLast()
147 iterator_ = data_->lower_bound(target); in Seek()
153 ++iterator_; in Next()
159 if (iterator_ != data_->begin()) in Prev()
160 --iterator_; in Prev()
162 iterator_ = data_->end(); in Prev()
168 return iterator_->first; in Key()
[all …]
Dleveldb_iterator_impl.h35 scoped_ptr<leveldb::Iterator> iterator_; variable
/external/jsoncpp/src/lib_json/
Djson_valueiterator.inl28 iterator_.array_ = ValueInternalArray::IteratorState();
43 iterator_.array_ = state;
50 iterator_.map_ = state;
61 return ValueInternalArray::dereference( iterator_.array_ );
62 return ValueInternalMap::value( iterator_.map_ );
74 ValueInternalArray::increment( iterator_.array_ );
75 ValueInternalMap::increment( iterator_.map_ );
87 ValueInternalArray::decrement( iterator_.array_ );
88 ValueInternalMap::decrement( iterator_.map_ );
124 return ValueInternalArray::distance( iterator_.array_, other.iterator_.array_ );
[all …]
/external/chromium_org/content/public/browser/
Dbrowser_child_process_host_iterator.cc17 iterator_ = BrowserChildProcessHostImpl::GetIterator()->begin(); in BrowserChildProcessHostIterator()
27 iterator_ = BrowserChildProcessHostImpl::GetIterator()->begin(); in BrowserChildProcessHostIterator()
28 if (!Done() && (*iterator_)->GetData().process_type != process_type_) in BrowserChildProcessHostIterator()
38 ++iterator_; in operator ++()
42 if (!all_ && (*iterator_)->GetData().process_type != process_type_) in operator ++()
52 return iterator_ == BrowserChildProcessHostImpl::GetIterator()->end(); in Done()
57 return (*iterator_)->GetData(); in GetData()
62 return (*iterator_)->Send(message); in Send()
67 return (*iterator_)->delegate(); in GetDelegate()
Dbrowser_child_process_host_iterator.h42 std::list<BrowserChildProcessHostImpl*>::iterator iterator_; variable
/external/chromium_org/media/formats/mp4/
Dsample_to_group_iterator.cc16 iterator_(sample_to_group_table_.begin()) { in SampleToGroupIterator()
18 while (iterator_ != sample_to_group_table_.end()) { in SampleToGroupIterator()
19 remaining_samples_ = iterator_->sample_count; in SampleToGroupIterator()
22 ++iterator_; in SampleToGroupIterator()
34 ++iterator_; in Advance()
35 if (iterator_ == sample_to_group_table_.end()) in Advance()
37 remaining_samples_ = iterator_->sample_count; in Advance()
Dsample_to_group_iterator.h34 return iterator_->group_description_index; in group_description_index()
41 std::vector<SampleToGroupEntry>::const_iterator iterator_; variable
/external/chromium_org/net/base/
Dpriority_queue.h57 iterator_ = dummy_empty_list_.end(); in Pointer()
62 iterator_(p.iterator_) { in Pointer()
71 iterator_ = p.iterator_;
83 const T& value() const { return iterator_->second; } in value()
85 const T& value() const { return *iterator_; } in value()
90 return (priority_ == other.priority_) && (iterator_ == other.iterator_); in Equals()
111 : priority_(priority), iterator_(iterator) { in Pointer()
113 id_ = iterator_->first; in Pointer()
118 ListIterator iterator_; variable
183 DCHECK_EQ(pointer.iterator_->first, pointer.id_); in Erase()
[all …]
/external/chromium_org/cc/resources/
Dprioritized_tile_set.cc113 iterator_ = tile_set->tiles_[current_bin_].begin(); in Iterator()
114 if (iterator_ == tile_set_->tiles_[current_bin_].end()) in Iterator()
127 DCHECK(iterator_ != tile_set_->tiles_[current_bin_].end()); in operator ++()
129 ++iterator_; in operator ++()
130 if (iterator_ == tile_set_->tiles_[current_bin_].end()) in operator ++()
136 DCHECK(iterator_ != tile_set_->tiles_[current_bin_].end()); in operator *()
137 return *iterator_; in operator *()
141 DCHECK(iterator_ == tile_set_->tiles_[current_bin_].end()); in AdvanceList()
149 iterator_ = tile_set_->tiles_[current_bin_].begin(); in AdvanceList()
150 if (iterator_ != tile_set_->tiles_[current_bin_].end()) in AdvanceList()
Dprioritized_tile_set.h37 return iterator_ != tile_set_->tiles_[current_bin_].end();
45 std::vector<Tile*>::iterator iterator_; variable
/external/chromium_org/chrome/renderer/spellchecker/
Dspellcheck_worditerator.cc308 iterator_() { in SpellcheckWordIterator()
336 iterator_ = iterator.Pass(); in Initialize()
346 return !!iterator_; in IsInitialized()
350 DCHECK(!!iterator_); in SetText()
353 if (!iterator_->SetText(text, length)) { in SetText()
380 while (iterator_->Advance()) { in GetNextWord()
381 const size_t start = iterator_->prev(); in GetNextWord()
382 const size_t length = iterator_->pos() - start; in GetNextWord()
383 if (iterator_->IsWord()) { in GetNextWord()
397 iterator_.reset(); in Reset()
/external/chromium_org/net/http/
Dtransport_security_state.h149 bool HasNext() const { return iterator_ != end_; } in NON_EXPORTED_BASE()
150 void Advance() { ++iterator_; } in NON_EXPORTED_BASE()
151 const std::string& hostname() const { return iterator_->first; } in NON_EXPORTED_BASE()
152 const DomainState& domain_state() const { return iterator_->second; } in NON_EXPORTED_BASE()
155 std::map<std::string, DomainState>::const_iterator iterator_; in NON_EXPORTED_BASE()
/external/chromium_org/v8/src/
Dframes-inl.h103 : iterator_(iterator), isolate_(iterator_->isolate()) { in StackFrame()
108 return iterator_->handler(); in top_handler()
302 : iterator_(isolate) { in JavaScriptFrameIterator()
309 : iterator_(isolate, top) { in JavaScriptFrameIterator()
319 StackFrame* frame = iterator_.frame(); in frame()
Dframes.h217 this->iterator_ = NULL; in StackFrame()
339 const StackFrameIteratorBase* iterator_;
866 bool done() const { return iterator_.done(); } in done()
875 StackFrameIterator iterator_;
924 explicit StackFrameLocator(Isolate* isolate) : iterator_(isolate) {} in StackFrameLocator()
931 StackFrameIterator iterator_;
Dframes.cc142 : iterator_(isolate) { in JavaScriptFrameIterator()
152 iterator_.Advance(); in Advance()
153 } while (!iterator_.done() && !iterator_.frame()->is_java_script()); in Advance()
159 iterator_.Advance(); in AdvanceToArgumentsFrame()
160 DCHECK(iterator_.frame()->is_arguments_adaptor()); in AdvanceToArgumentsFrame()
441 return iterator_->can_access_heap_objects_; in can_access_heap_objects()
448 return ComputeType(iterator_, state); in GetCallerState()
1425 while (!iterator_.frame()->is_java_script()) iterator_.Advance(); in FindJavaScriptFrame()
1426 if (i == n) return JavaScriptFrame::cast(iterator_.frame()); in FindJavaScriptFrame()
1427 iterator_.Advance(); in FindJavaScriptFrame()
/external/chromium_org/third_party/mesa/src/src/gtest/include/gtest/internal/
Dgtest-param-util.h289 : base_(base), iterator_(iterator) {} in Iterator()
296 ++iterator_; in Advance()
311 value_.reset(new T(*iterator_)); in Current()
320 return iterator_ == in Equals()
321 CheckedDowncastToActualType<const Iterator>(&other)->iterator_; in Equals()
330 iterator_(other.iterator_) {} in Iterator()
333 typename ContainerType::const_iterator iterator_; variable
/external/mesa3d/src/gtest/include/gtest/internal/
Dgtest-param-util.h289 : base_(base), iterator_(iterator) {} in Iterator()
296 ++iterator_; in Advance()
311 value_.reset(new T(*iterator_)); in Current()
320 return iterator_ == in Equals()
321 CheckedDowncastToActualType<const Iterator>(&other)->iterator_; in Equals()
330 iterator_(other.iterator_) {} in Iterator()
333 typename ContainerType::const_iterator iterator_; variable
/external/protobuf/gtest/include/gtest/internal/
Dgtest-param-util.h307 : base_(base), iterator_(iterator) {} in Iterator()
314 ++iterator_; in Advance()
329 value_.reset(new T(*iterator_)); in Current()
338 return iterator_ == in Equals()
339 CheckedDowncastToActualType<const Iterator>(&other)->iterator_; in Equals()
348 iterator_(other.iterator_) {} in Iterator()
351 typename ContainerType::const_iterator iterator_; variable
/external/chromium_org/testing/gtest/include/gtest/internal/
Dgtest-param-util.h289 : base_(base), iterator_(iterator) {} in Iterator()
296 ++iterator_; in Advance()
311 value_.reset(new T(*iterator_)); in Current()
320 return iterator_ == in Equals()
321 CheckedDowncastToActualType<const Iterator>(&other)->iterator_; in Equals()
330 iterator_(other.iterator_) {} in Iterator()
333 typename ContainerType::const_iterator iterator_; variable
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-param-util.h289 : base_(base), iterator_(iterator) {} in Iterator()
296 ++iterator_; in Advance()
311 value_.reset(new T(*iterator_)); in Current()
320 return iterator_ == in Equals()
321 CheckedDowncastToActualType<const Iterator>(&other)->iterator_; in Equals()
330 iterator_(other.iterator_) {} in Iterator()
333 typename ContainerType::const_iterator iterator_; variable
/external/gtest/include/gtest/internal/
Dgtest-param-util.h289 : base_(base), iterator_(iterator) {} in Iterator()
296 ++iterator_; in Advance()
311 value_.reset(new T(*iterator_)); in Current()
320 return iterator_ == in Equals()
321 CheckedDowncastToActualType<const Iterator>(&other)->iterator_; in Equals()
330 iterator_(other.iterator_) {} in Iterator()
333 typename ContainerType::const_iterator iterator_; variable
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
Dchatroommoduleimpl.cc145 XmppChatroomModuleImpl::JidMemberMap::iterator iterator_; member in buzz::XmppChatroomMemberEnumeratorImpl
689 iterator_ = map->begin(); in XmppChatroomMemberEnumeratorImpl()
700 return iterator_->second; in current()
710 } else if (iterator_ == map_->begin()) { in Prev()
714 iterator_--; in Prev()
725 iterator_ = map_->begin(); in Next()
730 iterator_++; in Next()
747 return (iterator_ == map_->end()); in IsAfterEnd()
/external/chromium_org/content/browser/renderer_host/
Drender_widget_resize_helper.cc43 WrappedTaskQueue::iterator iterator_; member in content::__anonf814a4090111::WrappedTask
171 iterator_ = pumpable_task_runner_->task_queue_.insert( in AddToTaskRunnerQueue()
182 pumpable_task_runner_->task_queue_.erase(iterator_); in RemoveFromTaskRunnerQueue()
183 iterator_ = pumpable_task_runner_->task_queue_.end(); in RemoveFromTaskRunnerQueue()
/external/chromium_org/content/browser/indexed_db/
Dindexed_db_backing_store.cc3046 if (other->iterator_) { in Cursor()
3047 iterator_ = transaction_->transaction()->CreateIterator(); in Cursor()
3049 if (other->iterator_->IsValid()) { in Cursor()
3050 leveldb::Status s = iterator_->Seek(other->iterator_->Key()); in Cursor()
3052 DCHECK(iterator_->IsValid()); in Cursor()
3070 iterator_ = transaction_->transaction()->CreateIterator(); in FirstSeek()
3072 *s = iterator_->Seek(cursor_options_.low_key); in FirstSeek()
3074 *s = iterator_->Seek(cursor_options_.high_key); in FirstSeek()
3121 *s = iterator_->Seek(leveldb_key); in Continue()
3123 *s = iterator_->Next(); in Continue()
[all …]

12