Lines Matching full:version
3 * Licensed under the Apache License, Version 2.0 (the "License");
43 static uint32_t ToVersionNumber(const VersionType &version) in ToVersionNumber() argument
45 return ReverseBytes(bit_cast<uint32_t>(version)); in ToVersionNumber()
66 static std::optional<VersionType> strToVersion(const std::string& version) in strToVersion() argument
68 std::vector<std::string> versionNumber = StringHelper::SplitString(version, "."); in strToVersion()
103 LOG_ECMA(DEBUG) << "Magic:" << ConvToStr(magic_) << ", version:" << InternalGetVersion(); in VerifyVersion()
117 void SetVersion(VersionType version) in SetVersion() argument
119 version_ = version; in SetVersion()
130 LOG_HOST_TOOL_ERROR << fileDesc << " version error, expected version should be " in VerifyVersion()
143 bool InternalSetVersion(const std::string &version) in InternalSetVersion() argument
145 std::vector<std::string> versionNumber = StringHelper::SplitString(version, "."); in InternalSetVersion()
147 LOG_ECMA(ERROR) << "version: " << version << " format error"; in InternalSetVersion()
153 LOG_ECMA(ERROR) << "version: " << version << " format error"; in InternalSetVersion()
209 void SetCompatibleAnVersion(VersionType version) in SetCompatibleAnVersion() argument
211 compatibleAnVersion_ = version; in SetCompatibleAnVersion()