Lines Matching refs:iterator
38 class HashSetIterator : std::iterator<std::forward_iterator_tag, Elem> {
173 using iterator = HashSetIterator<T, HashSet>; variable
320 iterator begin() { in begin()
321 iterator ret(this, 0); in begin()
338 iterator end() { in end()
339 return iterator(this, NumBuckets()); in end()
366 iterator erase(iterator it) { in erase()
417 iterator find(const K& key) { in find()
427 iterator FindWithHash(const K& key, size_t hash) { in FindWithHash()
428 return iterator(this, FindIndex(key, hash)); in FindWithHash()
439 iterator insert(const_iterator hint ATTRIBUTE_UNUSED, const T& element) { in insert()
442 iterator insert(const_iterator hint ATTRIBUTE_UNUSED, T&& element) { in insert()
447 iterator insert(const T& element) { in insert()
450 iterator insert(T&& element) { in insert()
455 iterator InsertWithHash(U&& element, size_t hash) { in InsertWithHash()
464 return iterator(this, index); in InsertWithHash()