Home
last modified time | relevance | path

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

/external/deqp-deps/SPIRV-Tools/test/opt/
Dpass_utils.cpp58 bool FindAndReplace(std::string* process_str, const std::string find_str, in FindAndReplace() argument
60 if (process_str->empty() || find_str.empty()) { in FindAndReplace()
66 for (size_t pos = process_str->find(find_str, 0); pos != std::string::npos; in FindAndReplace()
67 pos = process_str->find(find_str, pos)) { in FindAndReplace()
68 process_str->replace(pos, find_str.length(), replace_str); in FindAndReplace()
Dpass_utils.h49 bool FindAndReplace(std::string* process_str, const std::string find_str,
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dpass_utils.cpp58 bool FindAndReplace(std::string* process_str, const std::string find_str, in FindAndReplace() argument
60 if (process_str->empty() || find_str.empty()) { in FindAndReplace()
66 for (size_t pos = process_str->find(find_str, 0); pos != std::string::npos; in FindAndReplace()
67 pos = process_str->find(find_str, pos)) { in FindAndReplace()
68 process_str->replace(pos, find_str.length(), replace_str); in FindAndReplace()
Dpass_utils.h49 bool FindAndReplace(std::string* process_str, const std::string find_str,
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_utils.cpp58 bool FindAndReplace(std::string* process_str, const std::string find_str, in FindAndReplace() argument
60 if (process_str->empty() || find_str.empty()) { in FindAndReplace()
66 for (size_t pos = process_str->find(find_str, 0); pos != std::string::npos; in FindAndReplace()
67 pos = process_str->find(find_str, pos)) { in FindAndReplace()
68 process_str->replace(pos, find_str.length(), replace_str); in FindAndReplace()
Dpass_utils.h49 bool FindAndReplace(std::string* process_str, const std::string find_str,
/external/cronet/buildtools/third_party/libc++/trunk/utils/gdb/libcxx/
Dprinters.py122 for find_str, subst_str in _common_substitutions:
123 result = re.sub(find_str, subst_str, result)