Lines Matching refs:pSrc
99 const u8 *pSrc = static_cast<const u8*>(srcp); in SecureUncompressRL() local
101 u8 compType = *pSrc; in SecureUncompressRL()
102 u32 destCount = internal::Read32Le(pSrc) >> 8; in SecureUncompressRL()
118 pSrc += 4; in SecureUncompressRL()
127 destCount = internal::Read32Le(pSrc); in SecureUncompressRL()
128 pSrc += 4; in SecureUncompressRL()
134 u8 flags = *pSrc++; in SecureUncompressRL()
158 *pDst++ = *pSrc++; in SecureUncompressRL()
173 srcTmp = *pSrc++; in SecureUncompressRL()
226 const u8* pSrc = static_cast<const u8*>(srcp); in SecureUncompressLZ() local
228 u8 compType = *pSrc; in SecureUncompressLZ()
229 u32 destCount = internal::Read32Le(pSrc) >> 8; in SecureUncompressLZ()
231 bool exFormat = (*pSrc & 0x0F)? true : false; in SecureUncompressLZ()
246 pSrc += 4; in SecureUncompressLZ()
256 destCount = internal::Read32Le(pSrc); in SecureUncompressLZ()
257 pSrc += 4; in SecureUncompressLZ()
264 u32 flags = *pSrc++; in SecureUncompressLZ()
274 *pDst++ = *pSrc++; in SecureUncompressLZ()
283 u32 length = (*pSrc >> 4); in SecureUncompressLZ()
295 length = (*pSrc++ & 0x0F) << 12; in SecureUncompressLZ()
296 length |= (*pSrc++) << 4; in SecureUncompressLZ()
297 length |= (*pSrc >> 4); in SecureUncompressLZ()
303 length = (*pSrc++ & 0x0F) << 4; in SecureUncompressLZ()
304 length |= (*pSrc >> 4); in SecureUncompressLZ()
313 offset = (*pSrc++ & 0x0f) << 8; in SecureUncompressLZ()
314 offset = (offset | *pSrc++) + 1; in SecureUncompressLZ()
486 const u32 *pSrc = static_cast<const u32*>(srcp); in SecureUncompressHuffman() local
488 u8 compType = (u8)( internal::ConvertEndian( *pSrc ) & 0xFF ); in SecureUncompressHuffman()
489 s32 destCount = (s32)( internal::ConvertEndian( *pSrc ) >> 8 ); in SecureUncompressHuffman()
490 u8 *treep = (destCount != 0)? ((u8*)pSrc + 4) : ((u8*)pSrc + 8); in SecureUncompressHuffman()
492 u32 dataBit = *(u8*)pSrc & 0x0FU; in SecureUncompressHuffman()
514 destCount = (s32)( internal::ConvertEndian( *(pSrc + 1) ) ); in SecureUncompressHuffman()
526 pSrc = (u32*)( treep + treeSize ); in SecureUncompressHuffman()
527 srcCount -= ( (u32)pSrc - (u32)srcp ); in SecureUncompressHuffman()
539 u32 srcTmp = internal::ConvertEndian( *pSrc++ ); // Endian strategy in SecureUncompressHuffman()
680 const u8* pSrc = static_cast<const u8*>(srcp); in SecureUnfilterDiff() local
682 u32 bitSize = *pSrc & 0xFU; in SecureUnfilterDiff()
683 u8 compType = *pSrc; in SecureUnfilterDiff()
684 s32 destCount = (s32)( internal::Read32Le(pSrc) >> 8 ); in SecureUnfilterDiff()
701 pSrc += 4; in SecureUnfilterDiff()
709 u8 tmp = *(pSrc++); in SecureUnfilterDiff()
727 u16 tmp = internal::ConvertEndian16( *(u16*)pSrc ); in SecureUnfilterDiff()
728 pSrc += 2; in SecureUnfilterDiff()
909 const u8 *pSrc = srcp; in SecureUncompressLH() local
930 dstSize = internal::Read32Le(pSrc) >> 8; in SecureUncompressLH()
931 pSrc += 4; in SecureUncompressLH()
934 dstSize = internal::Read32Le(pSrc); in SecureUncompressLH()
935 pSrc += 4; in SecureUncompressLH()
943 pSrc += HuffImportTree( huffTable9, pSrc, LENGTH_BITS, srcSize - ((u32)pSrc - (u32)srcp) ); in SecureUncompressLH()
944 if ( pSrc > srcp + srcSize ) in SecureUncompressLH()
952 pSrc += HuffImportTree( huffTable12, pSrc, OFFSET_BITS, srcSize - ((u32)pSrc - (u32)srcp) ); in SecureUncompressLH()
953 if ( pSrc > srcp + srcSize ) in SecureUncompressLH()
962 BitReader_Init( &stream, pSrc, srcSize - ((u32)pSrc - (u32)srcp) ); in SecureUncompressLH()
1308 const u8* pSrc = srcp; in SecureUncompressLRC() local
1326 dstSize = internal::Read32Le(pSrc) >> 8; in SecureUncompressLRC()
1327 pSrc += 4; in SecureUncompressLRC()
1330 dstSize = internal::Read32Le(pSrc); in SecureUncompressLRC()
1331 pSrc += 4; in SecureUncompressLRC()
1339 if ( srcSize - ((u32)pSrc - (u32)srcp) < 4 ) in SecureUncompressLRC()
1343 rcState.code = (u32)( (*pSrc << 24) | in SecureUncompressLRC()
1344 (*(pSrc + 1) << 16) | in SecureUncompressLRC()
1345 (*(pSrc + 2) << 8) | in SecureUncompressLRC()
1346 (*(pSrc + 3) ) ); in SecureUncompressLRC()
1347 pSrc += 4; in SecureUncompressLRC()
1353 u16 val = (u16)( RCGetData_( pSrc, &infoVal, &rcState, &cnt ) ); in SecureUncompressLRC()
1354 pSrc += cnt; in SecureUncompressLRC()
1365 val = (u16)( RCGetData_( pSrc, &infoOfs, &rcState, &cnt ) + 1 ); in SecureUncompressLRC()
1366 pSrc += cnt; in SecureUncompressLRC()
1377 if ( ((u32)pSrc - (u32)srcp) > srcSize ) in SecureUncompressLRC()