LibreOffice Module onlineupdate (master) 1
|
Go to the source code of this file.
Classes | |
struct | VersionPart |
Namespaces | |
namespace | mozilla |
Compares two VersionParts. | |
Functions | |
static char * | ParseVP (char *aPart, VersionPart &aResult) |
Parse a version part into a number and "extra text". More... | |
static int32_t | ns_strcmp (const char *aStr1, const char *aStr2) |
Parse a version part into a number and "extra text". More... | |
static int32_t | ns_strnncmp (const char *aStr1, uint32_t aLen1, const char *aStr2, uint32_t aLen2) |
static int32_t | ns_cmp (int32_t aNum1, int32_t aNum2) |
static int32_t | CompareVP (VersionPart &aVer1, VersionPart &aVer2) |
Compares two VersionParts. More... | |
int32_t | mozilla::CompareVersions (const char *aStrA, const char *aStrB) |
|
static |
Compares two VersionParts.
Definition at line 284 of file nsVersionComparator.cxx.
References VersionPart::extraD, ns_cmp(), ns_strcmp(), ns_strnncmp(), VersionPart::numA, VersionPart::numC, VersionPart::strB, and VersionPart::strBlen.
Referenced by mozilla::CompareVersions().
|
static |
Definition at line 271 of file nsVersionComparator.cxx.
Referenced by CompareVP().
|
static |
Parse a version part into a number and "extra text".
Definition at line 219 of file nsVersionComparator.cxx.
Referenced by CompareVP().
|
static |
Definition at line 236 of file nsVersionComparator.cxx.
Referenced by CompareVP().
|
static |
Parse a version part into a number and "extra text".
Definition at line 53 of file nsVersionComparator.cxx.
References VersionPart::extraD, VersionPart::numA, VersionPart::numC, VersionPart::strB, and VersionPart::strBlen.
Referenced by mozilla::CompareVersions().