Lines Matching refs:o
66 bool betterThan( const QueryHit* o ) in betterThan() argument
68 if( penalty_ != o->penalty_ ) in betterThan()
69 return penalty_ < o->penalty_; in betterThan()
70 else if( begin_ != o->begin_ ) in betterThan()
71 return begin_ < o->begin_; in betterThan()
72 else if( end_ != o->end_ ) in betterThan()
73 return end_ < o->end_; in betterThan()
78 bool worseThan( const QueryHit* o ) in worseThan() argument
80 if( penalty_ != o->penalty_ ) in worseThan()
81 return penalty_ > o->penalty_; in worseThan()
82 else if( begin_ != o->begin_ ) in worseThan()
83 return begin_ > o->begin_; in worseThan()
84 else if( end_ != o->end_ ) in worseThan()
85 return end_ > o->end_; in worseThan()
102 bool compareTo( const QueryHit* o ) const in compareTo()
104 if( penalty_ != o->penalty_ ) in compareTo()
105 return penalty_ < o->penalty_; in compareTo()
106 else if( begin_ != o->begin_ ) in compareTo()
107 return begin_ < o->begin_; in compareTo()
108 else if( end_ != o->end_ ) in compareTo()
109 return end_ < o->end_; in compareTo()