Lines Matching refs:olen
147 uint32_t olen, off, len, idx, i, l; in MPPC_Compress() local
185 **dst = olen = i = 0; in MPPC_Compress()
203 putbits8(*dst, (uint32_t) (*src)[i], 8, &olen, &l); in MPPC_Compress()
206 &olen, &l); in MPPC_Compress()
227 putbits16(*dst, 0x3c0|off, 10, &olen, &l); in MPPC_Compress()
229 putbits16(*dst, 0xe00|(off-64), 12, &olen, &l); in MPPC_Compress()
231 putbits16(*dst, 0xc000|(off-320), 16, &olen, &l); in MPPC_Compress()
240 putbits8(*dst, 0, 1, &olen, &l); in MPPC_Compress()
242 putbits8(*dst, 0x08|(len&0x03), 4, &olen, &l); in MPPC_Compress()
244 putbits8(*dst, 0x30|(len&0x07), 6, &olen, &l); in MPPC_Compress()
246 putbits8(*dst, 0xe0|(len&0x0f), 8, &olen, &l); in MPPC_Compress()
248 putbits16(*dst, 0x3c0|(len&0x1f), 10, &olen, &l); in MPPC_Compress()
250 putbits16(*dst, 0xf80|(len&0x3f), 12, &olen, &l); in MPPC_Compress()
252 putbits16(*dst, 0x3f00|(len&0x7f), 14, &olen, &l); in MPPC_Compress()
254 putbits16(*dst, 0xfe00|(len&0xff), 16, &olen, &l); in MPPC_Compress()
256 putbits24(*dst, 0x3fc00|(len&0x1ff), 18, &olen, &l); in MPPC_Compress()
258 putbits24(*dst, 0xff800|(len&0x3ff), 20, &olen, &l); in MPPC_Compress()
260 putbits24(*dst, 0x3ff000|(len&0x7ff), 22, &olen, &l); in MPPC_Compress()
262 putbits24(*dst, 0xffe000|(len&0xfff), 24, &olen, &l); in MPPC_Compress()
272 putbits8(*dst, (uint32_t) (*src)[i++], 8, &olen, &l); in MPPC_Compress()
274 putbits16(*dst, (uint32_t) (0x100|((*src)[i++]&0x7f)), 9, &olen, in MPPC_Compress()
281 putbits8(*dst, 0, l, &olen, &l); in MPPC_Compress()
285 if ((*srcCnt < olen) || ((flags & MPPC_SAVE_HISTORY) == 0)) { in MPPC_Compress()
286 if (*srcCnt < olen) in MPPC_Compress()
294 *dst += olen; in MPPC_Compress()
295 *dstCnt -= olen; in MPPC_Compress()