Lines Matching refs:nLen

711         sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 );  in ReadLine()  local
712 if ( !nLen ) in ReadLine()
725 for( j = n = 0; j < nLen ; ++j ) in ReadLine()
760 sal_Size nLen = Read((char*)&cTemp , sizeof(cTemp) ); in ReadLine() local
761 if ( nLen ) { in ReadLine()
785 sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 ); in ReadLine() local
786 if ( !nLen ) in ReadLine()
799 for( j = n = 0; j < nLen ; ++j ) in ReadLine()
834 sal_Size nLen = Read((char*)&cTemp , sizeof(cTemp) ); in ReadLine() local
835 if ( nLen ) { in ReadLine()
861 sal_uInt16 nLen = (sal_uInt16)Read( (char*)buf, sizeof(buf)-sizeof(sal_Unicode) ); in ReadUniStringLine() local
862 nLen /= sizeof(sal_Unicode); in ReadUniStringLine()
863 if ( !nLen ) in ReadUniStringLine()
876 for( j = n = 0; j < nLen ; ++j ) in ReadUniStringLine()
950 sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 ); in ReadCString() local
951 sal_uInt16 nReallyRead = nLen; in ReadCString()
952 if( !nLen ) in ReadCString()
956 while( *pPtr && nLen ) in ReadCString()
957 ++pPtr, --nLen; in ReadCString()
960 || ( ( nLen > 0 ) // OR it is inside the block we read in ReadCString()
994 xub_StrLen nLen = rStr.Len(); in WriteUnicodeText() local
996 sal_Unicode* const pTmp = ( nLen > 384 ? new sal_Unicode[nLen] : aBuf); in WriteUnicodeText()
997 memcpy( pTmp, rStr.GetBuffer(), nLen * sizeof(sal_Unicode) ); in WriteUnicodeText()
999 const sal_Unicode* const pStop = pTmp + nLen; in WriteUnicodeText()
1005 Write( (char*)pTmp, nLen * sizeof(sal_Unicode) ); in WriteUnicodeText()
1641 sal_uInt32 nLen; in ReadByteString() local
1642 operator>> (nLen); in ReadByteString()
1643 if (nLen) in ReadByteString()
1645 if (nLen > STRING_MAXLEN) { in ReadByteString()
1650 static_cast< xub_StrLen >(nLen)); in ReadByteString()
1652 Read( pStr, nLen << 1 ); in ReadByteString()
1655 for (sal_Unicode *pEnd = pStr + nLen; pStr < pEnd; pStr++) in ReadByteString()
1674 sal_uInt16 nLen = 0; in ReadByteString() local
1675 operator>>( nLen ); in ReadByteString()
1676 if( nLen ) in ReadByteString()
1678 char* pTmp = rStr.AllocBuffer( nLen ); in ReadByteString()
1679 nLen = (sal_uInt16)Read( pTmp, nLen ); in ReadByteString()
1693 sal_uInt32 nLen = rStr.Len(); in WriteByteString() local
1694 operator<< (nLen); in WriteByteString()
1695 if (nLen) in WriteByteString()
1700 const sal_Unicode *pEnd = pStr + nLen; in WriteByteString()
1710 Write( rStr.GetBuffer(), nLen << 1 ); in WriteByteString()
1723 sal_uInt16 nLen = rStr.Len(); in WriteByteString() local
1724 operator<< ( nLen ); in WriteByteString()
1725 if( nLen != 0 ) in WriteByteString()
1726 Write( rStr.GetBuffer(), nLen ); in WriteByteString()
2271 int nLen; in WriteNumber() local
2275 nLen = sprintf( buffer, aFStr.GetBuffer(), nLong ); in WriteNumber()
2278 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, nLong ); in WriteNumber()
2281 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision,nLong); in WriteNumber()
2284 nLen=sprintf(buffer, aFStr.GetBuffer(),nWidth,nPrecision,nLong); in WriteNumber()
2286 Write( buffer, (long)nLen ); in WriteNumber()
2300 int nLen; in WriteNumber() local
2304 nLen = sprintf( buffer, aFStr.GetBuffer(), nUInt32 ); in WriteNumber()
2307 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, nUInt32 ); in WriteNumber()
2310 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision, nUInt32 ); in WriteNumber()
2313 nLen=sprintf(buffer,aFStr.GetBuffer(),nWidth,nPrecision,nUInt32 ); in WriteNumber()
2315 Write( buffer, (long)nLen ); in WriteNumber()
2325 int nLen; in WriteNumber() local
2329 nLen = sprintf( buffer, aFStr.GetBuffer(), rDouble ); in WriteNumber()
2332 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, rDouble ); in WriteNumber()
2335 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision, rDouble); in WriteNumber()
2338 nLen=sprintf(buffer, aFStr.GetBuffer(),nWidth,nPrecision,rDouble); in WriteNumber()
2340 Write( buffer, (long)nLen ); in WriteNumber()
2356 sal_Size SvStream::CryptAndWriteBuffer( const void* pStart, sal_Size nLen) in CryptAndWriteBuffer() argument
2365 if( nLen >= CRYPT_BUFSIZE ) in CryptAndWriteBuffer()
2368 nBufCount = nLen; in CryptAndWriteBuffer()
2369 nLen -= nBufCount; in CryptAndWriteBuffer()
2383 while ( nLen ); in CryptAndWriteBuffer()
2397 sal_Bool SvStream::EncryptBuffer(void* pStart, sal_Size nLen) in EncryptBuffer() argument
2402 for ( sal_Size n=0; n < nLen; n++, pTemp++ ) in EncryptBuffer()
2422 unsigned char implGetCryptMask(const sal_Char* pStr, sal_Int32 nLen, long nVersion) in implGetCryptMask() argument
2426 if (!nLen) in implGetCryptMask()
2431 while( nLen ) in implGetCryptMask()
2435 nLen--; in implGetCryptMask()
2440 for( sal_uInt16 i = 0; i < nLen; i++ ) { in implGetCryptMask()