Searched refs:newPattern (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/plugin/ |
H A D | plugin_element.h | 58 void ReplaceAll(std::string& str, const std::string& pattern, const std::string& newPattern);
|
H A D | plugin_element.cpp | 448 …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 D | plugin_pattern.h | 50 void ReplaceAll(std::string& str, const std::string& pattern, const std::string& newPattern);
|
H A D | plugin_pattern.cpp | 256 …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 D | plugin_pattern_test_ng.cpp | 118 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 D | canvas_rendering_context_2d_model_ng.cpp | 70 void CanvasRenderingContext2DModelNG::SetPattern(RefPtr<AceType> newPattern) in SetPattern() argument 72 auto canvasPattern = AceType::DynamicCast<CanvasPattern>(newPattern); in SetPattern()
|