Lines Matching refs:nSize

201 								sal_Int32 nSize,  in StaticFillHeader()  argument
229 *(pHeader++) = static_cast< sal_Int8 >(( nSize >> 0 ) & 0xFF); in StaticFillHeader()
230 *(pHeader++) = static_cast< sal_Int8 >(( nSize >> 8 ) & 0xFF); in StaticFillHeader()
231 *(pHeader++) = static_cast< sal_Int8 >(( nSize >> 16 ) & 0xFF); in StaticFillHeader()
232 *(pHeader++) = static_cast< sal_Int8 >(( nSize >> 24 ) & 0xFF); in StaticFillHeader()
406 sal_Int32 nSize = sal::static_int_cast< sal_Int32 >( xSeek->getLength() ); in StaticGetDataFromRawStream() local
407 if ( nSize > n_ConstDigestLength + 32 ) in StaticGetDataFromRawStream()
408 nSize = n_ConstDigestLength + 32; in StaticGetDataFromRawStream()
415 Sequence < sal_Int8 > aReadBuffer ( nSize ); in StaticGetDataFromRawStream()
417 xStream->readBytes( aReadBuffer, nSize ); in StaticGetDataFromRawStream()
433 sal_Int32 nSize = *( pPointer + 1 );
435 sal_Int32 nUsedMemSize = ( nSize + 4 * sizeof( sal_Int32 ) );
436 …OSL_ENSURE( nSize == aSequence.getLength() && nUsedMemSize + 7 - ( nUsedMemSize - 1 ) % 8 == nMemS…
502 sal_Int32 nSize = rEntry.nMethod == DEFLATED ? rEntry.nCompressedSize : rEntry.nSize; in hasValidPassword() local
505 if ( nSize > n_ConstDigestDecrypt ) in hasValidPassword()
506 nSize = n_ConstDigestDecrypt; in hasValidPassword()
508 Sequence < sal_Int8 > aReadBuffer ( nSize ); in hasValidPassword()
510 xStream->readBytes( aReadBuffer, nSize ); in hasValidPassword()
646 sal_Int32 nTestSig, nTime, nCRC, nSize, nCompressedSize; in readLOC() local
661 aGrabber >> nSize; in readLOC()
803 aMemGrabber >> aEntry.nSize; in readCEN()
891 aMemGrabber >> aEntry.nSize; in recover()
903 if ( aEntry.nSize < 0 ) aEntry.nSize = 0x7FFFFFFF; in recover()
908 sal_Int32 nDataSize = ( aEntry.nMethod == DEFLATED ) ? aEntry.nCompressedSize : aEntry.nSize; in recover()
931 if ( ( aEntry.nSize || aEntry.nCompressedSize ) && !checkSizeAndCRC( aEntry ) ) in recover()
935 aEntry.nSize = 0; in recover()
948 sal_Int32 nCompressedSize, nSize, nCRC32; in recover() local
952 aMemGrabber >> nSize; in recover()
965 … sal_Bool bAcceptBlock = ( (*aIter).second.nMethod == STORED && nCompressedSize == nSize ); in recover()
971 bAcceptBlock = ( nRealSize == nSize && nRealCRC == nCRC32 ); in recover()
978 (*aIter).second.nSize = nSize; in recover()
988 (*aIter).second.nSize = nSize; in recover()
1024 sal_Int32 nSize = 0, nCRC = 0; in checkSizeAndCRC() local
1027 return ( getCRC( aEntry.nOffset, aEntry.nSize ) == aEntry.nCrc ); in checkSizeAndCRC()
1029 getSizeAndCRC( aEntry.nOffset, aEntry.nCompressedSize, &nSize, &nCRC ); in checkSizeAndCRC()
1030 return ( aEntry.nSize == nSize && aEntry.nCrc == nCRC ); in checkSizeAndCRC()
1033 sal_Int32 ZipFile::getCRC( sal_Int32 nOffset, sal_Int32 nSize ) in getCRC() argument
1039 sal_Int32 nBlockSize = ::std::min( nSize, static_cast< sal_Int32 >( 32000 ) ); in getCRC()
1043 aGrabber.readBytes( aBuffer, nBlockSize ) && ind * nBlockSize < nSize; in getCRC()
1046 aCRC.updateSegment( aBuffer, 0, ::std::min( nBlockSize, nSize - ind * nBlockSize ) ); in getCRC()
1052 void ZipFile::getSizeAndCRC( sal_Int32 nOffset, sal_Int32 nCompressedSize, sal_Int32 *nSize, sal_In… in getSizeAndCRC() argument
1082 *nSize = nRealSize; in getSizeAndCRC()