Lines Matching refs:length

68     context->length     = 0;  in InitUncompContextRL()
91 context->length = 0; in InitUncompContextLZ()
231 while ( context->length > 0 ) in ReadUncompRL()
234 context->length--; in ReadUncompRL()
244 else if ( context->length > 0 ) in ReadUncompRL()
249 while ( context->length > 0 ) in ReadUncompRL()
252 context->length--; in ReadUncompRL()
264 context->length = (u16)(context->flags & 0x7F); in ReadUncompRL()
267 context->length += 3; in ReadUncompRL()
271 context->length += 1; in ReadUncompRL()
274 if ( context->length > context->destCount ) in ReadUncompRL()
281 context->length = (u16)context->destCount; in ReadUncompRL()
371 context->length = *srcp++; in ReadUncompLZ()
372 context->length += (3 << 4); in ReadUncompLZ()
381 context->length = *srcp++; in ReadUncompLZ()
382 if ( (context->length >> 4) == 1 ) in ReadUncompLZ()
385 context->length = (context->length & 0x0F) << 16; in ReadUncompLZ()
386 context->length += ( (0xFF + 0xF + 3) << 4 ); in ReadUncompLZ()
388 else if ( (context->length >> 4) == 0 ) in ReadUncompLZ()
391 context->length = (context->length & 0x0F) << 8; in ReadUncompLZ()
392 context->length += ( (0xF + 2) << 4 ); in ReadUncompLZ()
397 context->length += (1 << 4); in ReadUncompLZ()
404 context->length += (*srcp++ << 8); in ReadUncompLZ()
409 context->length += *srcp++; in ReadUncompLZ()
420 offset = (context->length & 0xF) << 8; in ReadUncompLZ()
421 context->length = context->length >> 4; in ReadUncompLZ()
427 if ( context->length > context->destCount ) in ReadUncompLZ()
433 context->length = context->destCount; in ReadUncompLZ()
436 while ( context->length > 0 ) in ReadUncompLZ()
441 context->length--; in ReadUncompLZ()
718 context->length = 0; in InitUncompContextLH()
758 u16 length; in ReadUncompLH() local
906 length = context->length; in ReadUncompLH()
912 if ( length == 0 ) in ReadUncompLH()
921 context->length = length; in ReadUncompLH()
930 length = *(nodep + offset); in ReadUncompLH()
942 if ( length < 0x100 ) in ReadUncompLH()
945 *context->destp++ = (u8)length; in ReadUncompLH()
948 length = 0; in ReadUncompLH()
954 u16 lzLength = (u16)( (length & 0xFF) + 3 ); in ReadUncompLH()
968 context->length = length; in ReadUncompLH()
1002 context->length = length; in ReadUncompLH()
1030 length = 0; in ReadUncompLH()
1366 context->length = 0; in InitUncompContextLRC()
1452 if ( context->length == 0 ) in ReadUncompLRC()
1466 context->length = (u16)( (val & 0xFF) + 3 ); in ReadUncompLRC()
1480 if ( context->length > 0 ) in ReadUncompLRC()
1486 if ( context->length > context->destCount ) in ReadUncompLRC()
1492 context->length = (u16)( context->destCount ); in ReadUncompLRC()
1495 while ( context->length > 0 ) in ReadUncompLRC()
1500 context->length--; in ReadUncompLRC()