Lines Matching refs:length

131         u32 length = flags & 0x7fU;  in UncompressRL()  local
134 length++; in UncompressRL()
135 if ( length > destCount ) in UncompressRL()
138 length = destCount; in UncompressRL()
141 destCount -= length; in UncompressRL()
145 } while ( --length > 0 ); in UncompressRL()
151 length += 3; in UncompressRL()
152 if ( length > destCount ) in UncompressRL()
155 length = destCount; in UncompressRL()
158 destCount -= length; in UncompressRL()
163 } while ( --length > 0 ); in UncompressRL()
224 u32 length = (*pSrc >> 4); in UncompressLZ() local
229 length += 3; in UncompressLZ()
234 if ( length == 1 ) in UncompressLZ()
236 length = (*pSrc++ & 0x0F) << 12; in UncompressLZ()
237 length |= (*pSrc++) << 4; in UncompressLZ()
238 length |= (*pSrc >> 4); in UncompressLZ()
239 length += 0xFF + 0xF + 3; in UncompressLZ()
241 else if ( length == 0 ) in UncompressLZ()
243 length = (*pSrc++ & 0x0F) << 4; in UncompressLZ()
244 length |= (*pSrc >> 4); in UncompressLZ()
245 length += 0xF + 2; in UncompressLZ()
249 length += 1; in UncompressLZ()
255 length = nn::math::Min(length, destCount); in UncompressLZ()
256 destCount -= length; in UncompressLZ()
258 for (int j = 0; j < length; j++) in UncompressLZ()
558 u16 length = (u16)( (val & 0xFF) + 3 ); in UncompressLH() local
593 if ( dstCnt + length > dstSize ) in UncompressLH()
595 length = (u16)( dstSize - dstCnt ); in UncompressLH()
598 while ( length-- > 0 ) in UncompressLH()
886 u16 length = (u16)( (val & 0xFF) + 3 ); in UncompressLRC() local
891 if ( dstCnt + length > dstSize ) in UncompressLRC()
900 while ( length-- > 0 ) in UncompressLRC()
1037 u32 length = *--pInBtm; in UncompressBLZ() local
1038 u32 offset = (((length & 0xf) << 8) | (*--pInBtm)) + 3; in UncompressBLZ()
1039 length = (length >> 4) + 3; in UncompressBLZ()
1043 for (int j = 0; j < length; ++j) in UncompressBLZ()