• Home
  • Raw
  • Download

Lines Matching refs:const_iterator

140     class const_iterator;  variable
141 inline const_iterator begin() const;
142 inline const_iterator end() const;
348 class const_iterator; variable
349 inline const_iterator begin() const;
350 inline const_iterator end() const;
492 class Node::Inputs::const_iterator final {
500 const_iterator(const const_iterator& other) : input_ptr_(other.input_ptr_) {} in const_iterator() function
503 bool operator==(const const_iterator& other) const {
506 bool operator!=(const const_iterator& other) const {
509 const_iterator& operator++() {
513 const_iterator operator++(int);
514 const_iterator& operator+=(difference_type offset) {
518 const_iterator operator+(difference_type offset) const {
519 return const_iterator(input_ptr_ + offset);
521 difference_type operator-(const const_iterator& other) const {
528 explicit const_iterator(Node* const* input_ptr) : input_ptr_(input_ptr) {} in const_iterator() function
534 Node::Inputs::const_iterator Node::Inputs::begin() const { in begin()
535 return const_iterator(input_root_); in begin()
539 Node::Inputs::const_iterator Node::Inputs::end() const { in end()
540 return const_iterator(input_root_ + count_); in end()
588 class Node::Uses::const_iterator final {
596 const_iterator(const const_iterator& other) : current_(other.current_) {} in const_iterator() function
599 bool operator==(const const_iterator& other) const {
602 bool operator!=(const const_iterator& other) const {
605 const_iterator& operator++() {
610 const_iterator operator++(int);
615 const_iterator() : current_(nullptr) {} in const_iterator() function
616 explicit const_iterator(Node* node) : current_(node->first_use_) {} in const_iterator() function
622 Node::Uses::const_iterator Node::Uses::begin() const { in begin()
623 return const_iterator(this->node_); in begin()
627 Node::Uses::const_iterator Node::Uses::end() const { return const_iterator(); } in end()