Lines Matching refs:runLength
221 runLength = 0
223 while pos < numPoints and runLength <= MAX_RUN_LENGTH:
240 runLength += 1
242 runHeader = bytechr(runLength - 1)
244 runHeader = bytechr((runLength - 1) | POINTS_ARE_WORDS)
343 runLength = 0
346 while pos < numDeltas and runLength < 64 and deltas[pos] == 0:
348 runLength += 1
349 assert runLength >= 1 and runLength <= 64
350 stream.write(bytechr(DELTAS_ARE_ZERO | (runLength - 1)))
355 runLength = 0
358 while pos < numDeltas and runLength < 64:
373 runLength += 1
374 assert runLength >= 1 and runLength <= 64
375 stream.write(bytechr(runLength - 1))
382 runLength = 0
385 while pos < numDeltas and runLength < 64:
407 runLength += 1
408 assert runLength >= 1 and runLength <= 64
409 stream.write(bytechr(DELTAS_ARE_WORDS | (runLength - 1)))