Lines Matching refs:newLength
76 return UnicodeString() + ei.oldLength() + u"->" + ei.newLength(); in printOneEdit()
78 return UnicodeString() + ei.oldLength() + u"=" + ei.newLength(); in printOneEdit()
96 int32_t prevDestIndex = destIndex - expected[i].newLength; in srcIndexFromDest()
123 int32_t prevDestIndex = destIndex - expected[i].newLength; in destIndexFromSrc()
185 test.assertEquals(msg + u":" + __LINE__, expect.newLength, ei1.newLength()); in checkEditsIter()
195 test.assertEquals(msg + u":" + __LINE__, expect.newLength, ei2.newLength()); in checkEditsIter()
207 if (expect.newLength > 0) { in checkEditsIter()
211 test.assertEquals(msg + u":" + __LINE__, expect.newLength, ei2.newLength()); in checkEditsIter()
224 expDestIndex += expect.newLength; in checkEditsIter()
226 expReplIndex += expect.newLength; in checkEditsIter()
233 test.assertEquals(msg + u":" + __LINE__, 0, ei1.newLength()); in checkEditsIter()
262 if (expected[i].newLength > 0) { in checkEditsIter()
264 if (expected[i].newLength > 1) { in checkEditsIter()
266 if (expected[i].newLength > 2) { in checkEditsIter()
267 destIndexes.push_back(destIndex + expected[i].newLength - 1); in checkEditsIter()
272 destIndex += expected[i].newLength; in checkEditsIter()