Searched refs:oldString (Results 1 – 2 of 2) sorted by relevance
/external/lzma/CPP/Common/ |
D | MyString.h | 507 int Replace(const CStringBase &oldString, const CStringBase &newString) in Replace() argument 509 if (oldString.IsEmpty()) in Replace() 511 if (oldString == newString) in Replace() 513 int oldStringLength = oldString.Length(); in Replace() 519 pos = Find(oldString, pos); in Replace()
|
/external/chromium-trace/trace-viewer/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 …]
|