Lines Matching defs:other

12 // in the documentation and/or other materials provided with the
118 // Determines whether the given iterator and other point to the same
121 virtual bool Equals(const ParamIteratorInterface& other) const = 0;
135 ParamIterator(const ParamIterator& other) : impl_(other.impl_->Clone()) {}
136 ParamIterator& operator=(const ParamIterator& other) {
137 if (this != &other) impl_.reset(other.impl_->Clone());
154 bool operator==(const ParamIterator& other) const {
155 return impl_.get() == other.impl_.get() || impl_->Equals(*other.impl_);
157 bool operator!=(const ParamIterator& other) const {
158 return !(*this == other);
168 // defined in other translation units.
192 ParamGenerator(const ParamGenerator& other) : impl_(other.impl_) {}
194 ParamGenerator& operator=(const ParamGenerator& other) {
195 impl_ = other.impl_;
246 bool Equals(const ParamIteratorInterface<T>& other) const override {
247 // Having the same base generator guarantees that the other
249 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
253 CheckedDowncastToActualType<const Iterator>(&other)->index_;
258 Iterator(const Iterator& other)
260 base_(other.base_),
261 value_(other.value_),
262 index_(other.index_),
263 step_(other.step_) {}
266 void operator=(const Iterator& other);
282 void operator=(const RangeGenerator& other);
332 // can return a temporary object (and of type other then T), so just
336 // detect that fact. The client code, on the other hand, is
342 bool Equals(const ParamIteratorInterface<T>& other) const override {
343 // Having the same base generator guarantees that the other
345 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
349 CheckedDowncastToActualType<const Iterator>(&other)->iterator_;
353 Iterator(const Iterator& other)
357 base_(other.base_),
358 iterator_(other.iterator_) {}
371 void operator=(const ValuesInIteratorRangeGenerator& other);
876 bool Equals(const ParamIteratorInterface<ParamType>& other) const override {
877 // Having the same base generator guarantees that the other
879 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
883 CheckedDowncastToActualType<const IteratorImpl>(&other);
987 bool Equals(const ParamIteratorInterface<To>& other) const override {
988 // Having the same base generator guarantees that the other
990 GTEST_CHECK_(BaseGenerator() == other.BaseGenerator())
994 CheckedDowncastToActualType<const Iterator>(&other)->it_;
999 Iterator(const Iterator& other) = default;