/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | ModifyStringLiterals.java | 32 private final String oldString; field in ModifyStringLiterals 36 public ModifyStringLiterals(String oldString, final String newString) { in ModifyStringLiterals() argument 37 this.oldString = oldString; in ModifyStringLiterals() 49 if (literalValue.contains(oldString)) { in process() 50 String newLiteralValue = literalValue.replace(oldString, newString); in process() 64 "oldString='" + oldString + '\'' + in toString()
|
/external/lzma/CPP/Common/ |
D | MyString.cpp | 655 void AString::Replace(const AString &oldString, const AString &newString) in Replace() argument 657 if (oldString.IsEmpty()) in Replace() 659 if (oldString == newString) in Replace() 661 unsigned oldLen = oldString.Len(); in Replace() 667 pos = Find(oldString, pos); in Replace() 1119 void UString::Replace(const UString &oldString, const UString &newString) in Replace() argument 1121 if (oldString.IsEmpty()) in Replace() 1123 if (oldString == newString) in Replace() 1125 unsigned oldLen = oldString.Len(); in Replace() 1131 pos = Find(oldString, pos); in Replace()
|
D | MyString.h | 278 void Replace(const AString &oldString, const AString &newString); 443 void Replace(const UString &oldString, const UString &newString);
|
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/node_modules/mocha/ |
D | mocha.js | 104 diff: function(oldString, newString) { argument 106 if (newString === oldString) { 110 return [{ value: oldString, removed: true }]; 112 if (!oldString) { 117 oldString = this.tokenize(oldString); 119 var newLen = newString.length, oldLen = oldString.length; 124 var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); 152 this.pushComponent(basePath.components, oldString[oldPos], undefined, true); 159 var oldPos = this.extractCommon(basePath, newString, oldString, diagonalPath); 181 extractCommon: function(basePath, newString, oldString, diagonalPath) { argument [all …]
|
/external/chromium-trace/catapult/tracing/third_party/mocha/ |
D | mocha.js | 103 diff: function(oldString, newString) { argument 105 if (newString === oldString) { 109 return [{ value: oldString, removed: true }]; 111 if (!oldString) { 116 oldString = this.tokenize(oldString); 118 var newLen = newString.length, oldLen = oldString.length; 123 var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); 151 this.pushComponent(basePath.components, oldString[oldPos], undefined, true); 158 var oldPos = this.extractCommon(basePath, newString, oldString, diagonalPath); 180 extractCommon: function(basePath, newString, oldString, diagonalPath) { argument [all …]
|
/external/chromium-trace/catapult/third_party/mocha/ |
D | mocha.js | 103 diff: function(oldString, newString) { argument 105 if (newString === oldString) { 109 return [{ value: oldString, removed: true }]; 111 if (!oldString) { 116 oldString = this.tokenize(oldString); 118 var newLen = newString.length, oldLen = oldString.length; 123 var oldPos = this.extractCommon(bestPath[0], newString, oldString, 0); 151 this.pushComponent(basePath.components, oldString[oldPos], undefined, true); 158 var oldPos = this.extractCommon(basePath, newString, oldString, diagonalPath); 180 extractCommon: function(basePath, newString, oldString, diagonalPath) { argument [all …]
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
D | Multibinder.java | 544 String oldString = oldValue.toString(); in newDuplicateValuesException() local 546 if (Objects.equal(oldString, newString)) { in newDuplicateValuesException()
|