Home
last modified time | relevance | path

Searched refs:it_ (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/content/browser/indexed_db/
Dlist_set.h75 explicit inline iterator(typename std::list<T>::iterator it) : it_(it) {} in iterator()
77 ++it_;
86 --it_;
94 inline value_type& operator*() { return *it_; }
95 inline value_type* operator->() { return &(*it_); }
96 inline bool operator==(const iterator& rhs) const { return it_ == rhs.it_; }
97 inline bool operator!=(const iterator& rhs) const { return it_ != rhs.it_; }
99 inline operator const_iterator() const { return const_iterator(it_); } in const_iterator()
102 typename std::list<T>::iterator it_;
115 : it_(it) {} in const_iterator()
[all …]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/
Dunicodetext.cc52 return CodepointDistance(first.it_, last.it_); in distance()
207 repr_.append(first.it_, last.it_ - first.it_); in UnicodeText()
213 return string(first.it_, last.it_ - first.it_); in UTF8Substring()
307 repr_.append(first.it_, last.it_ - first.it_); in append()
412 UnicodeText::const_iterator::const_iterator() : it_(0) {} in const_iterator()
415 : it_(other.it_) { in const_iterator()
421 it_ = other.it_; in operator =()
435 return lhs.it_ < rhs.it_; in operator <()
445 uint8 byte1 = static_cast<uint8>(it_[0]); in operator *()
449 uint8 byte2 = static_cast<uint8>(it_[1]); in operator *()
[all …]
Dunicodetext.h215 return lhs.it_ == rhs.it_; }
234 const char* utf8_data() const { return it_; } in utf8_data()
242 explicit const_iterator(const char* it) : it_(it) {} in const_iterator()
244 const char* it_; variable
/external/chromium_org/content/common/android/
Daddress_parser_internal.cc86 for (; it_ != end_ && !IsPreDelimiter(*it_); ++it_) {} in RestartOnNextDelimiter()
90 size_t offset = std::min(static_cast<size_t>(std::distance(it_, end_)), in AcceptChars()
92 it_ += offset; in AcceptChars()
97 it_ += std::min(static_cast<size_t>(std::distance(it_, end_)), num_chars); in SkipChars()
107 if (result_chars_ == 0 || SafePreviousChar(it_, begin_) == '-') in CheckFinished()
111 word->begin = it_ - result_chars_; in CheckFinished()
112 word->end = it_; in CheckFinished()
120 it_ = begin_ = begin; in Parse()
127 for (; it_ != end_ && iterations < max_iterations; ++iterations) { in Parse()
130 if (IsPostDelimiter(*it_)) { in Parse()
[all …]
Daddress_parser_internal.h52 base::string16::const_iterator it_; variable
/external/chromium_org/chrome/common/extensions/
Dextension_set.h39 ++it_;
44 ++it_;
48 return it_->second;
51 return &it_->second;
54 return it_ != other.it_;
57 return it_ == other.it_;
61 ExtensionMap::const_iterator it_;
Dextension_set.cc20 : it_(other.it_) { in const_iterator()
24 : it_(it) { in const_iterator()
/external/protobuf/src/google/protobuf/
Drepeated_field.h939 RepeatedPtrIterator() : it_(NULL) {} in RepeatedPtrIterator()
940 explicit RepeatedPtrIterator(void* const* it) : it_(it) {} in RepeatedPtrIterator()
946 : it_(other.it_) { in RepeatedPtrIterator()
954 reference operator*() const { return *reinterpret_cast<Element*>(*it_); }
958 iterator& operator++() { ++it_; return *this; }
959 iterator operator++(int) { return iterator(it_++); }
960 iterator& operator--() { --it_; return *this; }
961 iterator operator--(int) { return iterator(it_--); }
964 bool operator==(const iterator& x) const { return it_ == x.it_; }
965 bool operator!=(const iterator& x) const { return it_ != x.it_; }
[all …]
/external/chromium_org/chrome/browser/extensions/updater/
Drequest_queue.h124 T* operator*() { return it_->request.get(); }
125 T* operator->() { return it_->request.get(); }
127 ++it_;
131 return it_ != b.it_;
139 : it_(it) {} in iterator()
141 typename Container::iterator it_; variable
/external/chromium_org/third_party/protobuf/src/google/protobuf/
Drepeated_field.h1191 RepeatedPtrIterator() : it_(NULL) {}
1192 explicit RepeatedPtrIterator(void* const* it) : it_(it) {}
1198 : it_(other.it_) {
1206 reference operator*() const { return *reinterpret_cast<Element*>(*it_); }
1210 iterator& operator++() { ++it_; return *this; }
1211 iterator operator++(int) { return iterator(it_++); }
1212 iterator& operator--() { --it_; return *this; }
1213 iterator operator--(int) { return iterator(it_--); }
1216 bool operator==(const iterator& x) const { return it_ == x.it_; }
1217 bool operator!=(const iterator& x) const { return it_ != x.it_; }
[all …]
/external/chromium_org/extensions/common/permissions/
Dbase_set_operators.h36 const_iterator(const typename Map::const_iterator& it) : it_(it) {} in const_iterator()
37 const_iterator(const const_iterator& ids_it) : it_(ids_it.it_) {} in const_iterator()
40 ++it_;
45 const_iterator tmp(it_++);
50 return it_ == rhs.it_;
54 return it_ != rhs.it_;
58 return it_->second.get();
62 return it_->second.get();
66 typename Map::const_iterator it_;
/external/chromium_org/chrome/browser/chromeos/drive/
Dresource_metadata_storage.cc154 : it_(it.Pass()) { in Iterator()
156 DCHECK(it_); in Iterator()
161 it_->Seek(leveldb::Slice(GetHeaderDBKey())); in Iterator()
172 return !it_->Valid(); in IsAtEnd()
176 return it_->key().ToString(); in GetID()
191 std::string current_key = it_->key().ToString(); in GetCacheEntry()
193 it_->Seek(leveldb::Slice(cache_entry_key)); in GetCacheEntry()
195 bool success = it_->Valid() && in GetCacheEntry()
196 it_->key().compare(cache_entry_key) == 0 && in GetCacheEntry()
197 cache_entry->ParseFromArray(it_->value().data(), it_->value().size()); in GetCacheEntry()
[all …]
Dresource_metadata_storage.h69 scoped_ptr<leveldb::Iterator> it_; variable
101 scoped_ptr<leveldb::Iterator> it_; variable
/external/chromium_org/net/base/
Dexpiring_cache.h95 it_(cache_.entries_.begin()) { in Iterator()
99 bool HasNext() const { return it_ != cache_.entries_.end(); } in HasNext()
100 void Advance() { ++it_; } in Advance()
102 const KeyType& key() const { return it_->first; } in key()
103 const ValueType& value() const { return it_->second.first; } in value()
104 const ExpirationType& expiration() const { return it_->second.second; } in expiration()
112 typename EntryMap::const_iterator it_; variable
/external/chromium_org/cc/base/
Dregion.h70 return gfx::SkIRectToRect(it_.rect()); in rect()
74 it_.next(); in next()
78 return !it_.done(); in has_rect()
82 SkRegion::Iterator it_;
Dregion.cc127 : it_(region.skregion_) { in Iterator()
/external/chromium_org/v8/src/
Ddata-flow.h207 : it_(target->bits_ == NULL in Iterator()
210 bool Done() const { return it_.Done(); } in Done()
211 void Advance() { it_.Advance(); } in Advance()
212 int Current() const { return it_.Current(); } in Current()
214 BitVector::Iterator it_;
Ddebug.h979 JavaScriptFrameIterator it_; variable
/external/chromium_org/components/policy/core/common/
Dschema.cc417 it_(storage->property(node->begin)), in Iterator()
422 it_(iterator.it_), in Iterator()
429 it_ = iterator.it_; in operator =()
435 return it_ == end_; in IsAtEnd()
439 ++it_; in Advance()
443 return it_->key; in key()
447 return Schema(storage_, storage_->schema(it_->schema)); in schema()
Dschema.h87 const internal::PropertyNode* it_; variable
/external/chromium_org/gpu/command_buffer/service/
Dvertex_attrib_manager.h102 list_->erase(it_); in SetList()
105 it_ = new_list->insert(new_list->end(), this); in SetList()
161 VertexAttribList::iterator it_; variable
/external/oprofile/libpp/
Dprofile.h166 const_iterator(iterator_t it_, u64 start_offset_)
167 : it(it_), start_offset(start_offset_) {}
/external/chromium_org/base/
Dvalues.h353 bool IsAtEnd() const { return it_ == target_.dictionary_.end(); } in IsAtEnd()
354 void Advance() { ++it_; } in Advance()
356 const std::string& key() const { return it_->first; } in key()
357 const Value& value() const { return *it_->second; } in value()
361 ValueMap::const_iterator it_; variable
/external/v8/src/
Ddebug.h898 JavaScriptFrameIterator it_; variable
Ddebug.cc3212 it_(isolate_), in EnterDebugger()
3213 has_js_frames_(!it_.done()), in EnterDebugger()
3229 debug->NewBreak(it_.frame()->id()); in EnterDebugger()

12