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()
223 context->length = (u16)(context->flags & 0x7F); in CXReadUncompRL()
226 context->length += 3; in CXReadUncompRL()
230 context->length += 1; in CXReadUncompRL()
233 if ( context->length > context->destCount ) in CXReadUncompRL()
240 context->length = (u16)context->destCount; in CXReadUncompRL()
327 context->length = *srcp++; in CXReadUncompLZ()
328 context->length += (3 << 4); in CXReadUncompLZ()
337 context->length = *srcp++; in CXReadUncompLZ()
338 if ( (context->length >> 4) == 1 ) in CXReadUncompLZ()
341 context->length = (context->length & 0x0F) << 16; in CXReadUncompLZ()
342 context->length += ( (0xFF + 0xF + 3) << 4 ); in CXReadUncompLZ()
344 else if ( (context->length >> 4) == 0 ) in CXReadUncompLZ()
347 context->length = (context->length & 0x0F) << 8; in CXReadUncompLZ()
348 context->length += ( (0xF + 2) << 4 ); in CXReadUncompLZ()
353 context->length += (1 << 4); in CXReadUncompLZ()
360 context->length += (*srcp++ << 8); in CXReadUncompLZ()
365 context->length += *srcp++; in CXReadUncompLZ()
376 offset = (context->length & 0xF) << 8; in CXReadUncompLZ()
377 context->length = context->length >> 4; in CXReadUncompLZ()
383 if ( context->length > context->destCount ) in CXReadUncompLZ()
389 context->length = context->destCount; in CXReadUncompLZ()
392 while ( context->length > 0 ) in CXReadUncompLZ()
397 context->length--; in CXReadUncompLZ()