Lines Matching full:version
3 * Licensed under the Apache License, Version 2.0 (the "License");
27 bool CheckVersion(const std::string &version) in CheckVersion() argument
30 std::stringstream ss(version); in CheckVersion()
38 // 3: means the version format is x.x.x in CheckVersion()
40 LOG_ERROR("current version " + version + " is illegal!"); in CheckVersion()
44 bool majorVersionCheckFalse = result[MAJOR_VERSION_INDEX] > VERSION[MAJOR_VERSION_INDEX]; in CheckVersion()
45 bool minorVersionCheckFalse = result[MAJOR_VERSION_INDEX] == VERSION[MAJOR_VERSION_INDEX] && in CheckVersion()
46 result[MINOR_VERSION_INDEX] > VERSION[MINOR_VERSION_INDEX]; in CheckVersion()
47 bool buildVersionCheckFalse = result[MAJOR_VERSION_INDEX] == VERSION[MAJOR_VERSION_INDEX] && in CheckVersion()
48 result[MINOR_VERSION_INDEX] == VERSION[MINOR_VERSION_INDEX] && in CheckVersion()
49 result[BUILD_VERSION_INDEX] > VERSION[BUILD_VERSION_INDEX]; in CheckVersion()
52 oss << "The rawheap file's version " << version; in CheckVersion()
53 …oss << " is not matched the current rawheap translator, please use the newest version of the trans… in CheckVersion()