Lines Matching refs:runLength
157 int32_t runLength = 1; in usArrayToRLEString() local
163 if (s == runValue && runLength < 0xFFFF){ in usArrayToRLEString()
164 ++runLength; in usArrayToRLEString()
166 buffer = encodeRunShort(buffer,bufLimit, (uint16_t)runValue, runLength,status); in usArrayToRLEString()
168 runLength = 1; in usArrayToRLEString()
171 buffer= encodeRunShort(buffer,bufLimit,(uint16_t)runValue, runLength,status); in usArrayToRLEString()
204 int runLength = 1; in byteArrayToRLEString() local
210 if (b == runValue && runLength < 0xFF){ in byteArrayToRLEString()
211 ++runLength; in byteArrayToRLEString()
214 buffer = encodeRunByte(buffer, bufLimit,runValue, runLength, state,status); in byteArrayToRLEString()
216 runLength = 1; in byteArrayToRLEString()
219 buffer = encodeRunByte(buffer,bufLimit, runValue, runLength, state, status); in byteArrayToRLEString()
273 int32_t runLength = (int32_t) c; in rleStringToUCharArray() local
276 for (; j<runLength; ++j) { in rleStringToUCharArray()
303 int32_t runLength = 0; in rleStringToByteArray() local
368 runLength = b; in rleStringToByteArray()
378 for (; j<runLength; ++j){ in rleStringToByteArray()