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