Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dplugin_element.h58 void ReplaceAll(std::string& str, const std::string& pattern, const std::string& newPattern);
H A Dplugin_element.cpp448 …ginElement::ReplaceAll(std::string& str, const std::string& pattern, const std::string& newPattern) in ReplaceAll() argument
450 const size_t nSize = newPattern.size(); in ReplaceAll()
453 str.replace(pos, pSize, newPattern); in ReplaceAll()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/plugin/
H A Dplugin_pattern.h50 void ReplaceAll(std::string& str, const std::string& pattern, const std::string& newPattern);
H A Dplugin_pattern.cpp256 …ginPattern::ReplaceAll(std::string& str, const std::string& pattern, const std::string& newPattern) in ReplaceAll() argument
258 const size_t nSize = newPattern.size(); in ReplaceAll()
261 str.replace(pos, pSize, newPattern); in ReplaceAll()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/
H A Dplugin_pattern_test_ng.cpp118 std::string newPattern = "sys"; variable
120 pattern->ReplaceAll(string, oldPattern, newPattern);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcanvas_rendering_context_2d_model_ng.cpp70 void CanvasRenderingContext2DModelNG::SetPattern(RefPtr<AceType> newPattern) in SetPattern() argument
72 auto canvasPattern = AceType::DynamicCast<CanvasPattern>(newPattern); in SetPattern()