Lines Matching refs:length

135         u32 length = flags & 0x7f;  in SecureUncompressRL()  local
143 length++; in SecureUncompressRL()
144 if ( length > destCount ) in SecureUncompressRL()
149 srcCount -= length; in SecureUncompressRL()
155 destCount -= length; in SecureUncompressRL()
159 } while ( --length > 0 ); in SecureUncompressRL()
165 length += 3; in SecureUncompressRL()
166 if ( length > destCount ) in SecureUncompressRL()
172 destCount -= length; in SecureUncompressRL()
181 } while ( --length > 0 ); in SecureUncompressRL()
283 u32 length = (*pSrc >> 4); in SecureUncompressLZ() local
288 length += 3; in SecureUncompressLZ()
293 if ( length == 1 ) in SecureUncompressLZ()
295 length = (*pSrc++ & 0x0F) << 12; in SecureUncompressLZ()
296 length |= (*pSrc++) << 4; in SecureUncompressLZ()
297 length |= (*pSrc >> 4); in SecureUncompressLZ()
298 length += 0xFF + 0xF + 3; in SecureUncompressLZ()
301 else if ( length == 0 ) in SecureUncompressLZ()
303 length = (*pSrc++ & 0x0F) << 4; in SecureUncompressLZ()
304 length |= (*pSrc >> 4); in SecureUncompressLZ()
305 length += 0xF + 2; in SecureUncompressLZ()
310 length += 1; in SecureUncompressLZ()
323 if ( length > destCount ) in SecureUncompressLZ()
332 destCount -= length; in SecureUncompressLZ()
336 } while ( --length > 0 ); in SecureUncompressLZ()
1000 u16 length = (u16)( (val & 0xFF) + 3 ); in SecureUncompressLH() local
1044 if ( dstCnt + length > dstSize ) in SecureUncompressLH()
1049 while ( length-- > 0 ) in SecureUncompressLH()
1364 u16 length = (u16)( (val & 0xFF) + 3 ); in SecureUncompressLRC() local
1369 if ( dstCnt + length > dstSize ) in SecureUncompressLRC()
1382 while ( length-- > 0 ) in SecureUncompressLRC()
1461 u32 length = *--pInBtm; in SecureUncompressBLZ() local
1462 u32 offset = (((length & 0xf) << 8) | (*--pInBtm)) + 3; in SecureUncompressBLZ()
1463 length = (length >> 4) + 3; in SecureUncompressBLZ()
1467 if (pOut - length < pInTop) in SecureUncompressBLZ()
1472 for (int j = 0; j < length; ++j) in SecureUncompressBLZ()