Lines Matching refs:runLength
158 int32_t runLength = 1; in usArrayToRLEString() local
164 if (s == runValue && runLength < 0xFFFF){ in usArrayToRLEString()
165 ++runLength; in usArrayToRLEString()
167 buffer = encodeRunShort(buffer,bufLimit, (uint16_t)runValue, runLength,status); in usArrayToRLEString()
169 runLength = 1; in usArrayToRLEString()
172 buffer= encodeRunShort(buffer,bufLimit,(uint16_t)runValue, runLength,status); in usArrayToRLEString()
205 int runLength = 1; in byteArrayToRLEString() local
211 if (b == runValue && runLength < 0xFF){ in byteArrayToRLEString()
212 ++runLength; in byteArrayToRLEString()
215 buffer = encodeRunByte(buffer, bufLimit,runValue, runLength, state,status); in byteArrayToRLEString()
217 runLength = 1; in byteArrayToRLEString()
220 buffer = encodeRunByte(buffer,bufLimit, runValue, runLength, state, status); in byteArrayToRLEString()
274 int32_t runLength = (int32_t) c; in rleStringToUCharArray() local
277 for (; j<runLength; ++j) { in rleStringToUCharArray()
304 int32_t runLength = 0; in rleStringToByteArray() local
369 runLength = b; in rleStringToByteArray()
379 for (; j<runLength; ++j){ in rleStringToByteArray()