Lines Matching refs:runLength
224 runLength = 0
226 while pos < numPoints and runLength <= MAX_RUN_LENGTH:
243 runLength += 1
245 runHeader = bytechr(runLength - 1)
247 runHeader = bytechr((runLength - 1) | POINTS_ARE_WORDS)
346 runLength = 0
349 while pos < numDeltas and runLength < 64 and deltas[pos] == 0:
351 runLength += 1
352 assert runLength >= 1 and runLength <= 64
353 stream.write(bytechr(DELTAS_ARE_ZERO | (runLength - 1)))
358 runLength = 0
361 while pos < numDeltas and runLength < 64:
376 runLength += 1
377 assert runLength >= 1 and runLength <= 64
378 stream.write(bytechr(runLength - 1))
385 runLength = 0
388 while pos < numDeltas and runLength < 64:
410 runLength += 1
411 assert runLength >= 1 and runLength <= 64
412 stream.write(bytechr(DELTAS_ARE_WORDS | (runLength - 1)))