Lines Matching refs:ver
266 bool SunVersion::operator > (const SunVersion& ver) const in operator >()
268 if( &ver == this) in operator >()
275 if(m_arVersionParts[i] > ver.m_arVersionParts[i]) in operator >()
279 else if (m_arVersionParts[i] < ver.m_arVersionParts[i]) in operator >()
285 if (m_nUpdateSpecial > ver.m_nUpdateSpecial) in operator >()
292 if ((m_preRelease == Rel_NONE && ver.m_preRelease == Rel_NONE) in operator >()
294 (m_preRelease != Rel_NONE && ver.m_preRelease == Rel_NONE)) in operator >()
296 else if (m_preRelease == Rel_NONE && ver.m_preRelease != Rel_NONE) in operator >()
298 else if (m_preRelease > ver.m_preRelease) in operator >()
304 bool SunVersion::operator < (const SunVersion& ver) const in operator <()
306 return (! operator > (ver)) && (! operator == (ver)); in operator <()
309 bool SunVersion::operator == (const SunVersion& ver) const in operator ==()
314 if( m_arVersionParts[i] != ver.m_arVersionParts[i]) in operator ==()
320 bRet = m_nUpdateSpecial == ver.m_nUpdateSpecial && bRet; in operator ==()
321 bRet = m_preRelease == ver.m_preRelease && bRet; in operator ==()
356 SunVersion ver(versions[i]); in SelfTest() local
357 if ( ! ver) in SelfTest()
367 SunVersion ver(badVersions[i]); in SelfTest() local
368 if (ver) in SelfTest()