Lines Matching full:iter
77 template <typename Iter>
78 StringWeight(const Iter &begin, const Iter &end) {
80 for (Iter iter = begin; iter != end; ++iter)
81 PushBack(*iter);
250 for (StringWeightIterator<L, S> iter(*this); !iter.Done(); iter.Next()) {
251 L label = iter.Value();
261 StringWeightIterator<L, S> iter(*this);
262 return iter.Value() != kStringBad;
269 for (StringWeightIterator<L, S> iter(*this); !iter.Done(); iter.Next())
270 rw.PushFront(iter.Value());
277 for (StringWeightIterator<L, S> iter(*this); !iter.Done(); iter.Next())
278 h ^= h<<1 ^ iter.Value();
289 // for (StringWeightIterator<L, S> iter(w); !iter.Done(); iter.Next())
290 // PushBack(iter.Value());
326 StringWeightIterator<L, S> iter(w);
327 if (iter.Done())
329 else if (iter.Value() == kStringInfinity)
331 else if (iter.Value() == kStringBad)
334 for (size_t i = 0; !iter.Done(); ++i, iter.Next()) {
337 strm << iter.Value();
442 for (StringWeightIterator<L, S> iter(w2); !iter.Done(); iter.Next())
443 prod.PushBack(iter.Value());
471 StringWeightIterator<L, S> iter(w1);
472 for (int i = 0; !iter.Done(); iter.Next(), ++i) {
474 div.PushBack(iter.Value());
501 StringWeightReverseIterator<L, STRING_RIGHT> iter(w1);
502 for (int i = 0; !iter.Done(); iter.Next(), ++i) {
504 div.PushFront(iter.Value());
531 StringWeightReverseIterator<L, STRING_RIGHT_RESTRICT> iter(w1);
532 for (int i = 0; !iter.Done(); iter.Next(), ++i) {
534 div.PushFront(iter.Value());