Lines Matching full:version
4 * Licensed under the Apache License, Version 2.0 (the "License");
64 true) // set flag to true, use macro version, in GetFunctionNamePrefix()
75 true) // set flag to true, use macro version, in GetFunctionNamePrefix()
85 string GetVersionString(float version, bool for_macro) { in GetVersionString() argument
90 long version_long = version * DEFAULT_FACTOR; in GetVersionString()
149 int GetVersionMajor(const string& version, bool for_macro) { in GetVersionMajor() argument
150 if (for_macro) return std::stoi(version.substr(0, version.find("_"))); in GetVersionMajor()
151 return std::stoi(version.substr(0, version.find("."))); in GetVersionMajor()
154 int GetVersionMinor(const string& version, bool for_macro) { in GetVersionMinor() argument
155 if (for_macro) return std::stoi(version.substr(version.find("_") + 1)); in GetVersionMinor()
156 return std::stoi(version.substr(version.find(".") + 1)); in GetVersionMinor()