Home
last modified time | relevance | path

Searched refs:for_macro (Results 1 – 4 of 4) sorted by relevance

/test/vts/drivers/hal/common/utils/
DInterfaceSpecUtil.cpp85 string GetVersionString(float version, bool for_macro) { in GetVersionString() argument
87 if (for_macro) { in GetVersionString()
92 if (!for_macro) { in GetVersionString()
109 string GetVersionString(int version_major, int version_minor, bool for_macro) { in GetVersionString() argument
112 if (for_macro) out << "V"; in GetVersionString()
115 out << (for_macro ? "_" : "."); 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()
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()
/test/vts/drivers/hal/common/include/utils/
DInterfaceSpecUtil.h51 bool for_macro = false);
63 string GetVersionString(float version, bool for_macro=false);
104 int GetVersionMajor(const string& version, bool for_macro = false);
110 int GetVersionMinor(const string& version, bool for_macro = false);
/test/vts/compilation_tools/vtsc/
DVtsCompilerUtils.h80 bool for_macro = false);
DVtsCompilerUtils.cpp588 bool for_macro) { in GetVersion() argument
590 message.component_type_version_minor(), for_macro); in GetVersion()