Lines Matching refs:runLength
155 int32_t runLength = 1; in usArrayToRLEString() local
161 if (s == runValue && runLength < 0xFFFF){ in usArrayToRLEString()
162 ++runLength; in usArrayToRLEString()
164 buffer = encodeRunShort(buffer,bufLimit, (uint16_t)runValue, runLength,status); in usArrayToRLEString()
166 runLength = 1; in usArrayToRLEString()
169 buffer= encodeRunShort(buffer,bufLimit,(uint16_t)runValue, runLength,status); in usArrayToRLEString()
202 int runLength = 1; in byteArrayToRLEString() local
208 if (b == runValue && runLength < 0xFF){ in byteArrayToRLEString()
209 ++runLength; in byteArrayToRLEString()
212 buffer = encodeRunByte(buffer, bufLimit,runValue, runLength, state,status); in byteArrayToRLEString()
214 runLength = 1; in byteArrayToRLEString()
217 buffer = encodeRunByte(buffer,bufLimit, runValue, runLength, state, status); in byteArrayToRLEString()
271 int32_t runLength = (int32_t) c; in rleStringToUCharArray() local
274 for (; j<runLength; ++j) { in rleStringToUCharArray()
301 int32_t runLength = 0; in rleStringToByteArray() local
366 runLength = b; in rleStringToByteArray()
376 for (; j<runLength; ++j){ in rleStringToByteArray()