Lines Matching full:version
3 * Licensed under the Apache License, Version 2.0 (the "License");
42 static uint32_t ToVersionNumber(const VersionType &version) in ToVersionNumber() argument
44 return ReverseBytes(bit_cast<uint32_t>(version)); in ToVersionNumber()
65 static std::optional<VersionType> strToVersion(const std::string& version) in strToVersion() argument
67 std::vector<std::string> versionNumber = StringHelper::SplitString(version, "."); in strToVersion()
102 LOG_ECMA(DEBUG) << "Magic:" << ConvToStr(magic_) << ", version:" << InternalGetVersion(); in VerifyVersion()
116 void SetVersion(VersionType version) in SetVersion() argument
118 version_ = version; in SetVersion()
129 LOG_HOST_TOOL_ERROR << fileDesc << " version error, expected version should be " in VerifyVersion()
142 bool InternalSetVersion(const std::string &version) in InternalSetVersion() argument
144 std::vector<std::string> versionNumber = StringHelper::SplitString(version, "."); in InternalSetVersion()
146 LOG_ECMA(ERROR) << "version: " << version << " format error"; in InternalSetVersion()
152 LOG_ECMA(ERROR) << "version: " << version << " format error"; in InternalSetVersion()
208 void SetCompatibleAnVersion(VersionType version) in SetCompatibleAnVersion() argument
210 compatibleAnVersion_ = version; in SetCompatibleAnVersion()