Lines Matching refs:srcIndex
90 int32_t srcIndex = srcLength; in srcIndexFromDest() local
95 int32_t prevSrcIndex = srcIndex - expected[i].oldLength; in srcIndexFromDest()
102 return srcIndex; in srcIndexFromDest()
108 srcIndex = prevSrcIndex; in srcIndexFromDest()
112 return srcIndex; in srcIndexFromDest()
117 int32_t srcIndex = srcLength; in destIndexFromSrc() local
120 while (index < srcIndex && i > 0) { in destIndexFromSrc()
122 int32_t prevSrcIndex = srcIndex - expected[i].oldLength; in destIndexFromSrc()
135 srcIndex = prevSrcIndex; in destIndexFromSrc()
250 int32_t srcIndex = 0; in checkEditsIter() local
254 srcIndexes.push_back(srcIndex); in checkEditsIter()
256 srcIndexes.push_back(srcIndex + 1); in checkEditsIter()
258 srcIndexes.push_back(srcIndex + expected[i].oldLength - 1); in checkEditsIter()
271 srcIndex += expected[i].oldLength; in checkEditsIter()