Lines Matching defs:other
139 // Only GCC compiler should be used in this block, so other compilers trying to
511 SourceLineInfo( SourceLineInfo const& other ) = default;
517 bool operator == ( SourceLineInfo const& other ) const noexcept;
518 bool operator < ( SourceLineInfo const& other ) const noexcept;
638 auto operator == ( StringRef const& other ) const noexcept -> bool;
639 auto operator != (StringRef const& other) const noexcept -> bool {
640 return !(*this == other);
2536 LazyExpression( LazyExpression const& other );
2611 bool operator == ( MessageInfo const& other ) const;
2612 bool operator < ( MessageInfo const& other ) const;
2831 Counts operator - ( Counts const& other ) const;
2832 Counts& operator += ( Counts const& other );
2845 Totals operator - ( Totals const& other ) const;
2846 Totals& operator += ( Totals const& other );
3081 bool equalityComparisonImpl(double other) const;
3283 MatchAllOf<T> operator && ( MatcherBase const& other ) const;
3284 MatchAnyOf<T> operator || ( MatcherBase const& other ) const;
3313 MatchAllOf<ArgT> operator && ( MatcherBase<ArgT> const& other ) {
3315 copy.m_matchers.push_back( &other );
3347 MatchAnyOf<ArgT> operator || ( MatcherBase<ArgT> const& other ) {
3349 copy.m_matchers.push_back( &other );
3372 MatchAllOf<T> MatcherBase<T>::operator && ( MatcherBase const& other ) const {
3373 return MatchAllOf<T>() && *this && other;
3376 MatchAnyOf<T> MatcherBase<T>::operator || ( MatcherBase const& other ) const {
3377 return MatchAnyOf<T>() || *this || other;
4819 bool operator == ( TestCase const& other ) const;
4820 bool operator < ( TestCase const& other ) const;
4949 StringHolder( StringHolder const& other ) : m_substr( [other.m_substr copy] ){}
5823 bool operator == (SectionNode const& other) const {
5824 return stats.sectionInfo.lineInfo == other.stats.sectionInfo.lineInfo;
5826 bool operator == (std::shared_ptr<SectionNode> const& other) const {
5827 return operator==(*other);
5840 BySectionInfo( SectionInfo const& other ) : m_other( other ) {}
5841 BySectionInfo( BySectionInfo const& other ) : m_other( other.m_other ) {}
6030 Colour( Colour&& other ) noexcept;
6031 Colour& operator=( Colour&& other ) noexcept;
6257 ScopedElement( ScopedElement&& other ) noexcept;
6258 ScopedElement& operator=( ScopedElement&& other ) noexcept;
7403 ObjectStorage(const ObjectStorage& other)
7405 new(&data) T(other.stored_object());
7408 ObjectStorage(ObjectStorage&& other)
7410 new(&data) T(std::move(other.stored_object()));
7902 bool Approx::equalityComparisonImpl(const double other) const {
7905 return marginComparison(m_value, other, m_margin)
7906 || marginComparison(m_value, other, m_epsilon * (m_scale + std::fabs(std::isinf(m_value)? 0 : m_value)));
8006 // Tries to be cooperative with other handlers, and not step over
8007 // other handlers. This means that unknown structured exceptions
8201 LazyExpression::LazyExpression( LazyExpression const& other ) : m_isNegated( other.m_isNegated ) {}
8610 auto operator ==(iterator const& other) const -> bool {
8612 m_pos == other.m_pos &&
8613 m_stringIndex == other.m_stringIndex &&
8614 &m_column == &other.m_column;
8616 auto operator !=(iterator const& other) const -> bool {
8617 return !operator==(other);
8654 auto operator + (Column const& other)->Columns;
8709 auto operator ==(iterator const& other) const -> bool {
8710 return m_iterators == other.m_iterators;
8712 auto operator !=(iterator const& other) const -> bool {
8713 return m_iterators != other.m_iterators;
8781 inline auto Column::operator + (Column const& other) -> Columns {
8784 cols += other;
8964 ResultValueBase( ResultValueBase const &other ) : ResultBase( other ) {
8966 new( &m_value ) T( other.m_value );
8973 auto operator=( ResultValueBase const &other ) -> ResultValueBase & {
8976 ResultBase::operator=(other);
8978 new( &m_value ) T( other.m_value );
9002 explicit BasicResult( BasicResult<U> const &other )
9003 : ResultValueBase<T>( other.type() ),
9004 m_errorMessage( other.errorMessage() )
9242 auto operator|( T const &other ) const -> Parser;
9245 auto operator+( T const &other ) const -> Parser;
9513 auto operator|=( Parser const &other ) -> Parser & {
9514 m_options.insert(m_options.end(), other.m_options.begin(), other.m_options.end());
9515 m_args.insert(m_args.end(), other.m_args.begin(), other.m_args.end());
9520 auto operator|( T const &other ) const -> Parser {
9521 return Parser( *this ) |= other;
9526 auto operator+=( T const &other ) -> Parser & { return operator|=( other ); }
9528 auto operator+( T const &other ) const -> Parser { return operator|( other ); }
9650 auto ComposableParserImpl<DerivedT>::operator|( T const &other ) const -> Parser {
9651 return Parser() | static_cast<DerivedT const &>( *this ) | other;
9923 bool SourceLineInfo::operator == ( SourceLineInfo const& other ) const noexcept {
9924 return line == other.line && (file == other.file || std::strcmp(file, other.file) == 0);
9926 bool SourceLineInfo::operator < ( SourceLineInfo const& other ) const noexcept {
9929 return line < other.line || ( line == other.line && file != other.file && (std::strcmp(file, other.file) < 0));
10264 Colour::Colour( Colour&& other ) noexcept {
10265 m_moved = other.m_moved;
10266 other.m_moved = true;
10268 Colour& Colour::operator=( Colour&& other ) noexcept {
10269 m_moved = other.m_moved;
10270 other.m_moved = true;
10391 // !TBD: Need a version for Mac/ XCode and other IDEs
10410 // For other compilers (Clang, GCC, ... ) we need to exclude them
10479 // We're traced if the PID is not 0 and no other PID starts
10594 // In other words, it returns the Blue part of Bikeshed::Colour::Blue
11658 sstr << "and " << m_target << " are within " << m_epsilon * 100. << "% of each other";
11830 bool MessageInfo::operator==( MessageInfo const& other ) const {
11831 return sequence == other.sequence;
11834 bool MessageInfo::operator<( MessageInfo const& other ) const {
11835 return sequence < other.sequence;
13777 m_streams[index]->copyfmt( m_referenceStream ); // Restore initial flags and other state
13935 auto StringRef::operator == ( StringRef const& other ) const noexcept -> bool {
13936 return m_size == other.m_size
13937 && (std::memcmp( m_start, other.m_start, m_size ) == 0);
14166 TestCase other( *this );
14167 other.name = _newName;
14168 return other;
14175 bool TestCase::operator == ( TestCase const& other ) const {
14176 return test.get() == other.test.get() &&
14177 name == other.name &&
14178 className == other.className;
14181 bool TestCase::operator < ( TestCase const& other ) const {
14182 return name < other.name;
15261 Counts Counts::operator - ( Counts const& other ) const {
15263 diff.passed = passed - other.passed;
15264 diff.failed = failed - other.failed;
15265 diff.failedButOk = failedButOk - other.failedButOk;
15269 Counts& Counts::operator += ( Counts const& other ) {
15270 passed += other.passed;
15271 failed += other.failed;
15272 failedButOk += other.failedButOk;
15286 Totals Totals::operator - ( Totals const& other ) const {
15288 diff.assertions = assertions - other.assertions;
15289 diff.testCases = testCases - other.testCases;
15293 Totals& Totals::operator += ( Totals const& other ) {
15294 assertions += other.assertions;
15295 testCases += other.testCases;
15616 XmlWriter::ScopedElement::ScopedElement( ScopedElement&& other ) noexcept
15617 : m_writer( other.m_writer ),
15618 m_fmt(other.m_fmt)
15620 other.m_writer = nullptr;
15621 other.m_fmt = XmlFormatting::None;
15623 XmlWriter::ScopedElement& XmlWriter::ScopedElement::operator=( ScopedElement&& other ) noexcept {
15627 m_writer = other.m_writer;
15628 other.m_writer = nullptr;
15629 m_fmt = other.m_fmt;
15630 other.m_fmt = XmlFormatting::None;