Lines Matching refs:nLen

696         sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 );  in ReadLine()  local
697 if ( !nLen ) in ReadLine()
710 for( j = n = 0; j < nLen ; ++j ) in ReadLine()
745 sal_Size nLen = Read((char*)&cTemp , sizeof(cTemp) ); in ReadLine() local
746 if ( nLen ) { in ReadLine()
770 sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 ); in ReadLine() local
771 if ( !nLen ) in ReadLine()
784 for( j = n = 0; j < nLen ; ++j ) in ReadLine()
819 sal_Size nLen = Read((char*)&cTemp , sizeof(cTemp) ); in ReadLine() local
820 if ( nLen ) { in ReadLine()
846 sal_uInt16 nLen = (sal_uInt16)Read( (char*)buf, sizeof(buf)-sizeof(sal_Unicode) ); in ReadUniStringLine() local
847 nLen /= sizeof(sal_Unicode); in ReadUniStringLine()
848 if ( !nLen ) in ReadUniStringLine()
861 for( j = n = 0; j < nLen ; ++j ) in ReadUniStringLine()
935 sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 ); in ReadCString() local
936 sal_uInt16 nReallyRead = nLen; in ReadCString()
937 if( !nLen ) in ReadCString()
941 while( *pPtr && nLen ) in ReadCString()
942 ++pPtr, --nLen; in ReadCString()
945 || ( ( nLen > 0 ) // OR it is inside the block we read in ReadCString()
979 xub_StrLen nLen = rStr.Len(); in WriteUnicodeText() local
981 sal_Unicode* const pTmp = ( nLen > 384 ? new sal_Unicode[nLen] : aBuf); in WriteUnicodeText()
982 memcpy( pTmp, rStr.GetBuffer(), nLen * sizeof(sal_Unicode) ); in WriteUnicodeText()
984 const sal_Unicode* const pStop = pTmp + nLen; in WriteUnicodeText()
990 Write( (char*)pTmp, nLen * sizeof(sal_Unicode) ); in WriteUnicodeText()
1626 sal_uInt32 nLen; in ReadByteString() local
1627 operator>> (nLen); in ReadByteString()
1628 if (nLen) in ReadByteString()
1630 if (nLen > STRING_MAXLEN) { in ReadByteString()
1635 static_cast< xub_StrLen >(nLen)); in ReadByteString()
1637 Read( pStr, nLen << 1 ); in ReadByteString()
1640 for (sal_Unicode *pEnd = pStr + nLen; pStr < pEnd; pStr++) in ReadByteString()
1659 sal_uInt16 nLen = 0; in ReadByteString() local
1660 operator>>( nLen ); in ReadByteString()
1661 if( nLen ) in ReadByteString()
1663 char* pTmp = rStr.AllocBuffer( nLen ); in ReadByteString()
1664 nLen = (sal_uInt16)Read( pTmp, nLen ); in ReadByteString()
1678 sal_uInt32 nLen = rStr.Len(); in WriteByteString() local
1679 operator<< (nLen); in WriteByteString()
1680 if (nLen) in WriteByteString()
1685 const sal_Unicode *pEnd = pStr + nLen; in WriteByteString()
1695 Write( rStr.GetBuffer(), nLen << 1 ); in WriteByteString()
1708 sal_uInt16 nLen = rStr.Len(); in WriteByteString() local
1709 operator<< ( nLen ); in WriteByteString()
1710 if( nLen != 0 ) in WriteByteString()
1711 Write( rStr.GetBuffer(), nLen ); in WriteByteString()
2256 int nLen; in WriteNumber() local
2260 nLen = sprintf( buffer, aFStr.GetBuffer(), nLong ); in WriteNumber()
2263 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, nLong ); in WriteNumber()
2266 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision,nLong); in WriteNumber()
2269 nLen=sprintf(buffer, aFStr.GetBuffer(),nWidth,nPrecision,nLong); in WriteNumber()
2271 Write( buffer, (long)nLen ); in WriteNumber()
2285 int nLen; in WriteNumber() local
2289 nLen = sprintf( buffer, aFStr.GetBuffer(), nUInt32 ); in WriteNumber()
2292 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, nUInt32 ); in WriteNumber()
2295 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision, nUInt32 ); in WriteNumber()
2298 nLen=sprintf(buffer,aFStr.GetBuffer(),nWidth,nPrecision,nUInt32 ); in WriteNumber()
2300 Write( buffer, (long)nLen ); in WriteNumber()
2310 int nLen; in WriteNumber() local
2314 nLen = sprintf( buffer, aFStr.GetBuffer(), rDouble ); in WriteNumber()
2317 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, rDouble ); in WriteNumber()
2320 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision, rDouble); in WriteNumber()
2323 nLen=sprintf(buffer, aFStr.GetBuffer(),nWidth,nPrecision,rDouble); in WriteNumber()
2325 Write( buffer, (long)nLen ); in WriteNumber()
2341 sal_Size SvStream::CryptAndWriteBuffer( const void* pStart, sal_Size nLen) in CryptAndWriteBuffer() argument
2350 if( nLen >= CRYPT_BUFSIZE ) in CryptAndWriteBuffer()
2353 nBufCount = nLen; in CryptAndWriteBuffer()
2354 nLen -= nBufCount; in CryptAndWriteBuffer()
2368 while ( nLen ); in CryptAndWriteBuffer()
2382 sal_Bool SvStream::EncryptBuffer(void* pStart, sal_Size nLen) in EncryptBuffer() argument
2387 for ( sal_Size n=0; n < nLen; n++, pTemp++ ) in EncryptBuffer()
2407 unsigned char implGetCryptMask(const sal_Char* pStr, sal_Int32 nLen, long nVersion) in implGetCryptMask() argument
2411 if (!nLen) in implGetCryptMask()
2416 while( nLen ) in implGetCryptMask()
2420 nLen--; in implGetCryptMask()
2425 for( sal_uInt16 i = 0; i < nLen; i++ ) { in implGetCryptMask()