Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/tests/
DDawnTest.cpp197 std::string sanitizedName = std::regex_replace(paramName, std::regex("[^a-zA-Z0-9]+"), "_"); in SanitizeParamName() local
200 while (sanitizedName.back() == '_') { in SanitizeParamName()
201 sanitizedName.resize(sanitizedName.length() - 1); in SanitizeParamName()
207 std::string testFormat = prefix + sanitizedName; in SanitizeParamName()
212 size_t targetLength = sanitizedName.length(); in SanitizeParamName()
215 sanitizedName.resize(targetLength); in SanitizeParamName()
216 sanitizedName = sanitizedName + suffix; in SanitizeParamName()
218 return sanitizedName; in SanitizeParamName()