Lines Matching refs:len
193 s32 ReadUncompRL( UncompContextRL *context, const void* data, u32 len ) in ReadUncompRL() argument
216 …read_len = ReadHeader( &context->headerSize, &context->destCount, srcp, len, context->forceDestCou… in ReadUncompRL()
218 len -= read_len; in ReadUncompRL()
219 if ( len == 0 ) in ReadUncompRL()
236 len--; in ReadUncompRL()
238 if ( len == 0 ) in ReadUncompRL()
248 len--; in ReadUncompRL()
255 if ( len == 0 ) in ReadUncompRL()
263 len--; in ReadUncompRL()
283 if ( len == 0 ) in ReadUncompRL()
290 if ( (context->forceDestCount == 0) && (len > 32) ) in ReadUncompRL()
312 s32 ReadUncompLZ( UncompContextLZ *context, const void* data, u32 len ) in ReadUncompLZ() argument
338 …read_len = ReadHeader( &context->headerSize, &context->destCount, srcp, len, context->forceDestCou… in ReadUncompLZ()
340 len -= read_len; in ReadUncompLZ()
341 if ( len == 0 ) in ReadUncompLZ()
351 if ( len == 0 ) in ReadUncompLZ()
361 len--; in ReadUncompLZ()
414 if ( --len == 0 ) in ReadUncompLZ()
423 len--; in ReadUncompLZ()
453 if ( len == 0 ) in ReadUncompLZ()
460 len--; in ReadUncompLZ()
465 if ( (context->forceDestCount == 0) && (len > 32) ) in ReadUncompLZ()
496 s32 ReadUncompHuffman( UncompContextHuffman *context, const void* data, u32 len ) in ReadUncompHuffman() argument
524 …read_len = ReadHeader( &context->headerSize, &context->destCount, srcp, len, context->forceDestCou… in ReadUncompHuffman()
526 len -= read_len; in ReadUncompHuffman()
527 if ( len == 0 ) in ReadUncompHuffman()
539 len--; in ReadUncompHuffman()
545 if ( len == 0 ) in ReadUncompHuffman()
551 len--; in ReadUncompHuffman()
568 if ( len == 0 ) in ReadUncompHuffman()
573 len--; in ReadUncompHuffman()
621 if ( (context->forceDestCount == 0) && (len > 32) ) in ReadUncompHuffman()
738 ReadUncompLH( UncompContextLH *context, const void* data, u32 len ) in ReadUncompLH() argument
761 stream.cnt = len; in ReadUncompLH()
1397 ReadUncompLRC( UncompContextLRC *context, const void* data, u32 len ) in ReadUncompLRC() argument
1426 …read_len = ReadHeader( &context->headerSize, &context->destCount, srcp, len, context->forceDestCou… in ReadUncompLRC()
1428 len -= read_len; in ReadUncompLRC()
1429 if ( len == 0 ) in ReadUncompLRC()
1438 if ( len == 0 ) in ReadUncompLRC()
1445 --len; in ReadUncompLRC()
1455 u16 val = RCGetData_( srcp, &info9, &rcState, len, &cnt ); in ReadUncompLRC()
1476 len -= cnt; in ReadUncompLRC()
1483 u16 val = (u16)( RCGetData_( srcp, &info12, &rcState, len, &cnt ) + 1 ); in ReadUncompLRC()
1509 len -= cnt; in ReadUncompLRC()
1519 (len > 32) ) in ReadUncompLRC()