Lines Matching refs:runEnd
64 const char *runEnd = in + 1; in rleCompress() local
69 while (runEnd < inEnd && in rleCompress()
70 *runStart == *runEnd && in rleCompress()
71 runEnd - runStart - 1 < MAX_RUN_LENGTH) in rleCompress()
73 ++runEnd; in rleCompress()
76 if (runEnd - runStart >= MIN_RUN_LENGTH) in rleCompress()
82 *outWrite++ = (runEnd - runStart) - 1; in rleCompress()
84 runStart = runEnd; in rleCompress()
92 while (runEnd < inEnd && in rleCompress()
93 ((runEnd + 1 >= inEnd || in rleCompress()
94 *runEnd != *(runEnd + 1)) || in rleCompress()
95 (runEnd + 2 >= inEnd || in rleCompress()
96 *(runEnd + 1) != *(runEnd + 2))) && in rleCompress()
97 runEnd - runStart < MAX_RUN_LENGTH) in rleCompress()
99 ++runEnd; in rleCompress()
102 *outWrite++ = runStart - runEnd; in rleCompress()
104 while (runStart < runEnd) in rleCompress()
110 ++runEnd; in rleCompress()