Searched refs:m_end (Results 1 – 2 of 2) sorted by relevance
24 Range():m_start(0),m_end(0),m_size(0){}; in Range()25 Range(int start,int size):m_start(start),m_end(start+size),m_size(size){}; in Range()26 Range(const Range& r):m_start(r.m_start),m_end(r.m_end),m_size(r.m_size){}; in Range()27 void setRange(int start,int size){m_start = start; m_end = start+size; m_size = size;}; in setRange()29 inline int getEnd() const{return m_end;}; in getEnd()33 m_end = r.m_end;38 return m_start == r.m_start && m_size == r.m_size && m_end == r.m_end;46 int m_end; variable
20 if(m_start > r.getEnd() || r.getStart() > m_end) return false; in rangeIntersection()22 int min_end = (m_end < r.getEnd())?m_end:r.getEnd(); in rangeIntersection()32 if(m_start > r.getEnd() || r.getStart() > m_end) return false; in rangeUnion()34 int max_end = (m_end > r.getEnd())?m_end:r.getEnd(); in rangeUnion()