Home
last modified time | relevance | path

Searched refs:lastVersion (Results 1 – 3 of 3) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/base/
Dfile_header.h45 …static bool VerifyVersion(const char *fileDesc, uint32_t currVersion, uint32_t lastVersion, bool s… in VerifyVersion() argument
47 return VerifyVersion(fileDesc, ToVersion(currVersion), ToVersion(lastVersion), strictMatch); in VerifyVersion()
63 bool VerifyVersion(const char *fileDesc, const VersionType &lastVersion, bool strictMatch) const in VerifyVersion() argument
72 if (!VerifyVersion(fileDesc, version_, lastVersion, strictMatch)) { in VerifyVersion()
90 … explicit FileHeaderBase(const VersionType &lastVersion) : magic_(MAGIC), version_(lastVersion) {} in FileHeaderBase() argument
92 …VerifyVersion(const char *fileDesc, const VersionType &currVersion, const VersionType &lastVersion, in VerifyVersion() argument
95 bool matched = strictMatch ? (currVersion == lastVersion) : (currVersion <= lastVersion); in VerifyVersion()
98 … << (strictMatch ? "equal to " : "less or equal than ") << ConvToStr(lastVersion) in VerifyVersion()
172 explicit FileHeaderElastic(const VersionType &lastVersion) : FileHeaderBase(lastVersion) {} in FileHeaderElastic() argument
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot.h46 … explicit SnapShotHeader(const VersionType &lastVersion) : base::FileHeaderBase(lastVersion) {} in SnapShotHeader()
48 bool Verify(const VersionType &lastVersion) const in Verify()
50 return VerifyVersion("snapshot file", lastVersion, AOTFileVersion::AI_STRICT_MATCH); in Verify()
/arkcompiler/ets_runtime/ecmascript/snapshot/tests/
Dsnapshot_mock.h36 void SetLastVersion(base::FileHeaderBase::VersionType &lastVersion) in SetLastVersion() argument
38 lastVersion_ = lastVersion; in SetLastVersion()