Home
last modified time | relevance | path

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

/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/
DReplaceTextCommentScanner.java26 private final String oldText; field in ReplaceTextCommentScanner
29 public ReplaceTextCommentScanner(String oldText, String newText) { in ReplaceTextCommentScanner() argument
30 this.oldText = oldText; in ReplaceTextCommentScanner()
36 String newCommentText = commentText.replace(oldText, newText); in processComment()
46 "oldText='" + oldText + '\'' + in toString()
/external/icu/libicu/cts_headers/unicode/
Dunistr.h2492 inline UnicodeString& findAndReplace(const UnicodeString& oldText,
2508 const UnicodeString& oldText,
2530 const UnicodeString& oldText,
4441 UnicodeString::findAndReplace(const UnicodeString& oldText, in findAndReplace() argument
4443 { return findAndReplace(0, length(), oldText, 0, oldText.length(), in findAndReplace()
4449 const UnicodeString& oldText, in findAndReplace() argument
4451 { return findAndReplace(start, _length, oldText, 0, oldText.length(), in findAndReplace()
/external/icu/icu4c/source/common/unicode/
Dunistr.h2492 inline UnicodeString& findAndReplace(const UnicodeString& oldText,
2508 const UnicodeString& oldText,
2530 const UnicodeString& oldText,
4441 UnicodeString::findAndReplace(const UnicodeString& oldText, in findAndReplace() argument
4443 { return findAndReplace(0, length(), oldText, 0, oldText.length(), in findAndReplace()
4449 const UnicodeString& oldText, in findAndReplace() argument
4451 { return findAndReplace(start, _length, oldText, 0, oldText.length(), in findAndReplace()
/external/icu/icu4c/source/common/
Dunistr.cpp1163 const UnicodeString& oldText, in findAndReplace() argument
1170 if(isBogus() || oldText.isBogus() || newText.isBogus()) { in findAndReplace()
1175 oldText.pinIndices(oldStart, oldLength); in findAndReplace()
1183 int32_t pos = indexOf(oldText, oldStart, oldLength, start, length); in findAndReplace()