Lines Matching refs:ver
267 bool SunVersion::operator > (const SunVersion& ver) const in operator >()
269 if( &ver == this) in operator >()
276 if(m_arVersionParts[i] > ver.m_arVersionParts[i]) in operator >()
280 else if (m_arVersionParts[i] < ver.m_arVersionParts[i]) in operator >()
286 if (m_nUpdateSpecial > ver.m_nUpdateSpecial) in operator >()
293 if ((m_preRelease == Rel_NONE && ver.m_preRelease == Rel_NONE) in operator >()
295 (m_preRelease != Rel_NONE && ver.m_preRelease == Rel_NONE)) in operator >()
297 else if (m_preRelease == Rel_NONE && ver.m_preRelease != Rel_NONE) in operator >()
299 else if (m_preRelease > ver.m_preRelease) in operator >()
305 bool SunVersion::operator < (const SunVersion& ver) const in operator <()
307 return (! operator > (ver)) && (! operator == (ver)); in operator <()
310 bool SunVersion::operator == (const SunVersion& ver) const in operator ==()
315 if( m_arVersionParts[i] != ver.m_arVersionParts[i]) in operator ==()
321 bRet = m_nUpdateSpecial == ver.m_nUpdateSpecial && bRet; in operator ==()
322 bRet = m_preRelease == ver.m_preRelease && bRet; in operator ==()
357 SunVersion ver(versions[i]); in SelfTest() local
358 if ( ! ver) in SelfTest()
368 SunVersion ver(badVersions[i]); in SelfTest() local
369 if (ver) in SelfTest()