Lines Matching refs:oldLength
142 void Edits::addReplace(int32_t oldLength, int32_t newLength) { in addReplace() argument
144 if(oldLength < 0 || newLength < 0) { in addReplace()
148 if (oldLength == 0 && newLength == 0) { in addReplace()
152 int32_t newDelta = newLength - oldLength; in addReplace()
163 if(0 < oldLength && oldLength <= MAX_SHORT_CHANGE_OLD_LENGTH && in addReplace()
166 int32_t u = (oldLength << 12) | (newLength << 9); in addReplace()
179 if (oldLength < LENGTH_IN_1TRAIL && newLength < LENGTH_IN_1TRAIL) { in addReplace()
180 head |= oldLength << 6; in addReplace()
185 if(oldLength < LENGTH_IN_1TRAIL) { in addReplace()
186 head |= oldLength << 6; in addReplace()
187 } else if(oldLength <= 0x7fff) { in addReplace()
189 array[limit++] = (uint16_t)(0x8000 | oldLength); in addReplace()
191 head |= (LENGTH_IN_2TRAIL + (oldLength >> 30)) << 6; in addReplace()
192 array[limit++] = (uint16_t)(0x8000 | (oldLength >> 15)); in addReplace()
193 array[limit++] = (uint16_t)(0x8000 | oldLength); in addReplace()
281 bc_bLength = bcIter.oldLength(); in mergeAndAppend()
298 aLength = abIter.oldLength(); in mergeAndAppend()
302 if (bc_bLength == bcIter.oldLength() || !bcIter.hasChange()) { in mergeAndAppend()