Lines Matching refs:lastVersion
48 static bool VerifyVersion(const char *fileDesc, uint32_t currVersion, uint32_t lastVersion, bool strictMatch)
50 return VerifyVersion(fileDesc, ToVersion(currVersion), ToVersion(lastVersion), strictMatch);
83 static bool VerifyVersionWithoutFile(const VersionType& currVersion, const VersionType& lastVersion)
85 if (currVersion > lastVersion) {
91 bool VerifyVersion(const char *fileDesc, const VersionType &lastVersion, bool strictMatch) const
100 if (!VerifyVersion(fileDesc, version_, lastVersion, strictMatch)) {
123 explicit FileHeaderBase(const VersionType &lastVersion) : magic_(MAGIC), version_(lastVersion) {}
125 static bool VerifyVersion(const char *fileDesc, const VersionType &currVersion, const VersionType &lastVersion,
128 bool matched = strictMatch ? (currVersion == lastVersion) : (currVersion <= lastVersion);
131 << (strictMatch ? "equal to " : "less or equal than ") << ConvToStr(lastVersion)
215 explicit FileHeaderElastic(const VersionType &lastVersion) : FileHeaderBase(lastVersion) {}