Home
last modified time | relevance | path

Searched refs:oldString (Results 1 – 2 of 2) sorted by relevance

/external/lzma/CPP/Common/
DMyString.h507 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/
Dmocha.js103 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 …]