Searched refs:oldString (Results 1 - 4 of 4) sorted by relevance
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/notes/ |
H A D | ChatNotes.java | 114 * Replaces all instances of oldString with newString in string.
117 * @param oldString the String that should be replaced by newString
118 * @param newString the String that will replace all instances of oldString
119 * @return a String will all instances of oldString replaced by newString
121 public static final String replace(String string, String oldString, String newString) {
argument 131 // Make sure that oldString appears at least once before doing any processing.
132 if ((i = string.indexOf(oldString, i)) >= 0) {
136 int oLength = oldString.length();
141 // Replace all remaining instances of oldString with newString.
142 while ((i = string.indexOf(oldString, [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/util/ |
H A D | ModelUtil.java | 216 * @param oldString is the initial value of the String
218 * @return true If both oldString and newString are null or if they are
221 public static boolean hasStringChanged(String oldString, String newString) {
argument 222 if (oldString == null && newString == null) {
225 else if ((oldString == null && newString != null)
226 || (oldString != null && newString == null)) {
230 return !oldString.equals(newString);
|
/external/lzma/CPP/Common/ |
H A D | MyString.h | 507 int Replace(const CStringBase &oldString, const CStringBase &newString)
argument 509 if (oldString.IsEmpty())
511 if (oldString == newString)
513 int oldStringLength = oldString.Length();
519 pos = Find(oldString, pos);
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | UseCounter.cpp | 641 static String replacedBy(const char* oldString, const char* newString) argument 643 return String::format("'%s' is deprecated. Please use '%s' instead.", oldString, newString);
|
Completed in 1737 milliseconds