Lines Matching refs:length

38     context->length     = 0;  in CXInitUncompContextRL()
60 context->length = 0; in CXInitUncompContextLZ()
190 while ( context->length > 0 ) in CXReadUncompRL()
193 context->length--; in CXReadUncompRL()
203 else if ( context->length > 0 ) in CXReadUncompRL()
208 while ( context->length > 0 ) in CXReadUncompRL()
211 context->length--; in CXReadUncompRL()
228 context->length = (u16)(context->flags & 0x7F); in CXReadUncompRL()
231 context->length += 3; in CXReadUncompRL()
235 context->length += 1; in CXReadUncompRL()
238 if ( context->length > context->destCount ) in CXReadUncompRL()
245 context->length = (u16)context->destCount; in CXReadUncompRL()
332 context->length = *srcp++; in CXReadUncompLZ()
333 context->length += (3 << 4); in CXReadUncompLZ()
342 context->length = *srcp++; in CXReadUncompLZ()
343 if ( (context->length >> 4) == 1 ) in CXReadUncompLZ()
346 context->length = (context->length & 0x0F) << 16; in CXReadUncompLZ()
347 context->length += ( (0xFF + 0xF + 3) << 4 ); in CXReadUncompLZ()
349 else if ( (context->length >> 4) == 0 ) in CXReadUncompLZ()
352 context->length = (context->length & 0x0F) << 8; in CXReadUncompLZ()
353 context->length += ( (0xF + 2) << 4 ); in CXReadUncompLZ()
358 context->length += (1 << 4); in CXReadUncompLZ()
365 context->length += (*srcp++ << 8); in CXReadUncompLZ()
370 context->length += *srcp++; in CXReadUncompLZ()
381 offset = (context->length & 0xF) << 8; in CXReadUncompLZ()
382 context->length = context->length >> 4; in CXReadUncompLZ()
388 if ( context->length > context->destCount ) in CXReadUncompLZ()
394 context->length = context->destCount; in CXReadUncompLZ()
397 while ( context->length > 0 ) in CXReadUncompLZ()
402 context->length--; in CXReadUncompLZ()
672 context->length = 0; in CXInitUncompContextLH()
711 u16 length; in CXReadUncompLH() local
845 length = context->length; in CXReadUncompLH()
851 if ( length == 0 ) in CXReadUncompLH()
860 context->length = length; in CXReadUncompLH()
869 length = *(nodep + offset); in CXReadUncompLH()
881 if ( length < 0x100 ) in CXReadUncompLH()
884 *context->destp++ = (u8)length; in CXReadUncompLH()
887 length = 0; in CXReadUncompLH()
893 u16 lzLength = (u16)( (length & 0xFF) + 3 ); in CXReadUncompLH()
907 context->length = length; in CXReadUncompLH()
941 context->length = length; in CXReadUncompLH()
969 length = 0; in CXReadUncompLH()
1301 context->length = 0; in CXInitUncompContextLRC()
1384 if ( context->length == 0 ) in CXReadUncompLRC()
1398 context->length = (u16)( (val & 0xFF) + 3 ); in CXReadUncompLRC()
1412 if ( context->length > 0 ) in CXReadUncompLRC()
1418 if ( context->length > context->destCount ) in CXReadUncompLRC()
1424 context->length = (u16)( context->destCount ); in CXReadUncompLRC()
1427 while ( context->length > 0 ) in CXReadUncompLRC()
1432 context->length--; in CXReadUncompLRC()