Home
last modified time | relevance | path

Searched refs:replacement (Results 1 - 7 of 7) sorted by relevance

/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_runtime_effect.cpp30 auto fixup = [&glsl](const char* input, const char* replacement) { in GlslToSksl()
31 glsl = std::regex_replace(glsl, std::regex(input), replacement); in GlslToSksl()
46 std::string replacement = childName + ".eval($1)"; in GlslToSksl() local
47 fixup(pattern.c_str(), replacement.c_str()); in GlslToSksl()
/foundation/ability/idl_tool/util/
H A Dstring.h97 String Replace(const char* target, const char* replacement) const;
99 String Replace(const String& target, const String& replacement) const;
H A Dstring.cpp526 String String::Replace(const char* target, const char* replacement) const in Replace()
528 if (target == nullptr || target[0] == '\0' || replacement == nullptr) { in Replace()
542 sb.Append(replacement); in Replace()
550 String String::Replace(const String& target, const String& replacement) const in Replace()
552 if (target.IsEmpty() || replacement.IsNull()) { in Replace()
566 sb.Append(replacement); in Replace()
/foundation/CastEngine/castengine_wifi_display/services/utils/
H A Dutils.cpp149 void Replace(std::string &target, std::string search, std::string replacement) in Replace() argument
151 if (search == replacement) { in Replace()
162 target.replace(i, search.length(), replacement); in Replace()
163 lastPos = i + replacement.length(); in Replace()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/include/util/
H A Dio_util.h118 void ReplaceInString(::string& string, const ::string& target, const ::string& replacement);
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/
H A Dringtone_dualfwk_restore.cpp415 std::string replacement = "media/local"; in DupToneFile() local
418 absSrcPath.replace(found, sub.size(), replacement); in DupToneFile()
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/
H A Dio_util.cpp484 void ReplaceInString(BASE_NS::string& string, const BASE_NS::string& target, const BASE_NS::string& replacement) in ReplaceInString() argument
488 pos += replacement.size(); in ReplaceInString()

Completed in 5 milliseconds