Home
last modified time | relevance | path

Searched refs:map_iter (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/src/google/protobuf/
Dmap_field.h95 virtual void MapBegin(MapIterator* map_iter) const = 0;
96 virtual void MapEnd(MapIterator* map_iter) const = 0;
166 virtual void InitializeIterator(MapIterator* map_iter) const = 0;
170 virtual void DeleteIterator(MapIterator* map_iter) const = 0;
179 virtual void IncreaseIterator(MapIterator* map_iter) const = 0;
190 void MapBegin(MapIterator* map_iter) const;
191 void MapEnd(MapIterator* map_iter) const;
199 const MapIterator* map_iter) const;
202 void InitializeIterator(MapIterator* map_iter) const;
203 void DeleteIterator(MapIterator* map_iter) const;
[all …]
Dmap_field_inl.h106 const MapIterator* map_iter) const { in InternalGetIterator() argument
108 map_iter->iter_); in InternalGetIterator()
112 void TypeDefinedMapFieldBase<Key, T>::MapBegin(MapIterator* map_iter) const { in MapBegin() argument
113 InternalGetIterator(map_iter) = GetMap().begin(); in MapBegin()
114 SetMapIteratorValue(map_iter); in MapBegin()
118 void TypeDefinedMapFieldBase<Key, T>::MapEnd(MapIterator* map_iter) const { in MapEnd() argument
119 InternalGetIterator(map_iter) = GetMap().end(); in MapEnd()
130 void TypeDefinedMapFieldBase<Key, T>::IncreaseIterator(MapIterator* map_iter) in IncreaseIterator() argument
132 ++InternalGetIterator(map_iter); in IncreaseIterator()
133 SetMapIteratorValue(map_iter); in IncreaseIterator()
[all …]
Dmap_field_test.cc91 void MapBegin(MapIterator* map_iter) const {} in MapBegin()
92 void MapEnd(MapIterator* map_iter) const {} in MapEnd()
93 void InitializeIterator(MapIterator* map_iter) const {} in InitializeIterator()
94 void DeleteIterator(MapIterator* map_iter) const {} in DeleteIterator()
97 void IncreaseIterator(MapIterator* map_iter) const {} in IncreaseIterator()
Dmap_field.cc253 void DynamicMapField::SetMapIteratorValue(MapIterator* map_iter) const { in SetMapIteratorValue()
256 map_iter); in SetMapIteratorValue()
258 map_iter->key_.CopyFrom(iter->first); in SetMapIteratorValue()
259 map_iter->value_.CopyFrom(iter->second); in SetMapIteratorValue()
/external/clang/test/SemaCXX/
Dfor-range-examples.cpp82 class map_iter { class
86 map_iter(F f, I i) : f(f), i(i) {} in map_iter() function in map_range::map_iter
88 bool operator!=(const map_iter &o) const { return i != o.i; } in operator !=()
89 map_iter &operator++() { ++i; return *this; } in operator ++()
112 auto map(const F &f, T &t) -> iter_pair<map_iter<F, decltype(t.begin())>> { in map()
113 typedef map_iter<F, decltype(t.begin())> iter; in map()
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py1170 def assertMapIterEquals(self, map_iter, dict_value): argument
1174 for k, v in map_iter: