Lines Matching refs:nLen

687         sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 );  in ReadLine()  local
688 if ( !nLen ) in ReadLine()
701 for( j = n = 0; j < nLen ; ++j ) in ReadLine()
736 sal_Size nLen = Read((char*)&cTemp , sizeof(cTemp) ); in ReadLine() local
737 if ( nLen ) { in ReadLine()
763 sal_uInt16 nLen = (sal_uInt16)Read( (char*)buf, sizeof(buf)-sizeof(sal_Unicode) ); in ReadUniStringLine() local
764 nLen /= sizeof(sal_Unicode); in ReadUniStringLine()
765 if ( !nLen ) in ReadUniStringLine()
778 for( j = n = 0; j < nLen ; ++j ) in ReadUniStringLine()
852 sal_uInt16 nLen = (sal_uInt16)Read( buf, sizeof(buf)-1 ); in ReadCString() local
853 sal_uInt16 nReallyRead = nLen; in ReadCString()
854 if( !nLen ) in ReadCString()
858 while( *pPtr && nLen ) in ReadCString()
859 ++pPtr, --nLen; in ReadCString()
862 || ( ( nLen > 0 ) // OR it is inside the block we read in ReadCString()
896 xub_StrLen nLen = rStr.Len(); in WriteUnicodeText() local
898 sal_Unicode* const pTmp = ( nLen > 384 ? new sal_Unicode[nLen] : aBuf); in WriteUnicodeText()
899 memcpy( pTmp, rStr.GetBuffer(), nLen * sizeof(sal_Unicode) ); in WriteUnicodeText()
901 const sal_Unicode* const pStop = pTmp + nLen; in WriteUnicodeText()
907 Write( (char*)pTmp, nLen * sizeof(sal_Unicode) ); in WriteUnicodeText()
1520 sal_uInt32 nLen; in ReadByteString() local
1521 operator>> (nLen); in ReadByteString()
1522 if (nLen) in ReadByteString()
1524 if (nLen > STRING_MAXLEN) { in ReadByteString()
1529 static_cast< xub_StrLen >(nLen)); in ReadByteString()
1531 Read( pStr, nLen << 1 ); in ReadByteString()
1534 for (sal_Unicode *pEnd = pStr + nLen; pStr < pEnd; pStr++) in ReadByteString()
1553 sal_uInt16 nLen = 0; in ReadByteString() local
1554 operator>>( nLen ); in ReadByteString()
1555 if( nLen ) in ReadByteString()
1557 char* pTmp = rStr.AllocBuffer( nLen ); in ReadByteString()
1558 nLen = (sal_uInt16)Read( pTmp, nLen ); in ReadByteString()
1572 sal_uInt32 nLen = rStr.Len(); in WriteByteString() local
1573 operator<< (nLen); in WriteByteString()
1574 if (nLen) in WriteByteString()
1579 const sal_Unicode *pEnd = pStr + nLen; in WriteByteString()
1589 Write( rStr.GetBuffer(), nLen << 1 ); in WriteByteString()
1602 sal_uInt16 nLen = rStr.Len(); in WriteByteString() local
1603 operator<< ( nLen ); in WriteByteString()
1604 if( nLen != 0 ) in WriteByteString()
1605 Write( rStr.GetBuffer(), nLen ); in WriteByteString()
2150 int nLen; in WriteNumber() local
2154 nLen = sprintf( buffer, aFStr.GetBuffer(), nLong ); in WriteNumber()
2157 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, nLong ); in WriteNumber()
2160 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision,nLong); in WriteNumber()
2163 nLen=sprintf(buffer, aFStr.GetBuffer(),nWidth,nPrecision,nLong); in WriteNumber()
2165 Write( buffer, (long)nLen ); in WriteNumber()
2179 int nLen; in WriteNumber() local
2183 nLen = sprintf( buffer, aFStr.GetBuffer(), nUInt32 ); in WriteNumber()
2186 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, nUInt32 ); in WriteNumber()
2189 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision, nUInt32 ); in WriteNumber()
2192 nLen=sprintf(buffer,aFStr.GetBuffer(),nWidth,nPrecision,nUInt32 ); in WriteNumber()
2194 Write( buffer, (long)nLen ); in WriteNumber()
2204 int nLen; in WriteNumber() local
2208 nLen = sprintf( buffer, aFStr.GetBuffer(), rDouble ); in WriteNumber()
2211 nLen = sprintf( buffer, aFStr.GetBuffer(), nWidth, rDouble ); in WriteNumber()
2214 nLen = sprintf( buffer, aFStr.GetBuffer(), nPrecision, rDouble); in WriteNumber()
2217 nLen=sprintf(buffer, aFStr.GetBuffer(),nWidth,nPrecision,rDouble); in WriteNumber()
2219 Write( buffer, (long)nLen ); in WriteNumber()
2235 sal_Size SvStream::CryptAndWriteBuffer( const void* pStart, sal_Size nLen) in CryptAndWriteBuffer() argument
2244 if( nLen >= CRYPT_BUFSIZE ) in CryptAndWriteBuffer()
2247 nBufCount = nLen; in CryptAndWriteBuffer()
2248 nLen -= nBufCount; in CryptAndWriteBuffer()
2262 while ( nLen ); in CryptAndWriteBuffer()
2276 sal_Bool SvStream::EncryptBuffer(void* pStart, sal_Size nLen) in EncryptBuffer() argument
2281 for ( sal_Size n=0; n < nLen; n++, pTemp++ ) in EncryptBuffer()
2301 unsigned char implGetCryptMask(const sal_Char* pStr, sal_Int32 nLen, long nVersion) in implGetCryptMask() argument
2305 if (!nLen) in implGetCryptMask()
2310 while( nLen ) in implGetCryptMask()
2314 nLen--; in implGetCryptMask()
2319 for( sal_uInt16 i = 0; i < nLen; i++ ) { in implGetCryptMask()