Home
last modified time | relevance | path

Searched refs:nBufferSize (Results 1 – 25 of 35) sorted by relevance

12

/aoo41x/main/sal/qa/osl/socket/
H A Dosl_StreamSocket.cxx1149 sal_Int32 nBufferSize = strlen(pBuffer); in send_Acceptor() local
1150 ssStreamConnection.write( pBuffer, nBufferSize ); in send_Acceptor()
1189 sal_Int32 nBufferSize = strlen(pBuffer); in send_Connector() local
1190 ssStreamConnection.write( pBuffer, nBufferSize ); in send_Connector()
1270 sal_Int32 nBufferSize = strlen(pBuffer); in send_Connector_2_margritte() local
1271 sal_Int32 nWriteNumber = ssStreamConnection.write( pBuffer, nBufferSize ); in send_Connector_2_margritte()
1277 nBufferSize = strlen(pBuffer3); in send_Connector_2_margritte()
1278 nWriteNumber = ssStreamConnection.write( pBuffer3, nBufferSize ); in send_Connector_2_margritte()
1457 sal_Int32 nBufferSize = strlen(pBuffer); in getPage() local
1458 ssStreamConnection.write( pBuffer, nBufferSize ); in getPage()
/aoo41x/main/xml2cmp/source/xcd/
H A Dfilebuff.cxx48 unsigned long nBufferSize = (unsigned long) aXmlFile.tellg(); in LoadXmlFile() local
49 o_rBuffer.SetSize(nBufferSize + 1); in LoadXmlFile()
50 o_rBuffer.Data()[nBufferSize] = '\0'; in LoadXmlFile()
54 aXmlFile.read(o_rBuffer.Data(), (int) nBufferSize); in LoadXmlFile()
/aoo41x/main/oox/source/core/
H A Dbinarycodec.cxx60 sal_Int32 lclGetLen( const sal_uInt8* pnPassData, sal_Int32 nBufferSize ) in lclGetLen() argument
63 while( (nLen < nBufferSize) && pnPassData[ nLen ] ) ++nLen; in lclGetLen()
67 sal_uInt16 lclGetKey( const sal_uInt8* pnPassData, sal_Int32 nBufferSize ) in lclGetKey() argument
69 sal_Int32 nLen = lclGetLen( pnPassData, nBufferSize ); in lclGetKey()
92 sal_uInt16 lclGetHash( const sal_uInt8* pnPassData, sal_Int32 nBufferSize ) in lclGetHash() argument
94 sal_Int32 nLen = lclGetLen( pnPassData, nBufferSize ); in lclGetHash()
H A Dfilterdetect.cxx395 size_t nBufferSize = rEncrInfo.mnSaltSize + 2 * rPassword.getLength(); in lclGenerateEncryptionKey() local
396 sal_uInt8* pnBuffer = new sal_uInt8[ nBufferSize ]; in lclGenerateEncryptionKey()
405 rtlDigestError aError = rtl_digest_update( aDigest, pnBuffer, nBufferSize ); in lclGenerateEncryptionKey()
/aoo41x/main/tools/bootstrp/
H A Dmd5.cxx47 void normalize_pe_image(sal_uInt8* buffer, size_t nBufferSize) in normalize_pe_image() argument
59 if (PEHeaderOffset < nBufferSize-4) in normalize_pe_image()
67 if (PEHeaderOffset+OFFSET_COFF_TIMEDATESTAMP < nBufferSize-4) in normalize_pe_image()
78 if (PEHeaderOffset+COFFHEADER_SIZE+OFFSET_PE_OPTIONALHEADER_CHECKSUM < nBufferSize-4) in normalize_pe_image()
/aoo41x/main/filter/source/flash/
H A Dswfwriter.cxx120 sal_uInt32 nBufferSize = 64*1024; in ImplCopySvStreamToXOutputStream() local
126 Sequence< sal_Int8 > aBuffer( min( nBufferSize, nSize ) ); in ImplCopySvStreamToXOutputStream()
130 if( nSize < nBufferSize ) in ImplCopySvStreamToXOutputStream()
132 nBufferSize = nSize; in ImplCopySvStreamToXOutputStream()
136 sal_uInt32 nRead = rIn.Read( aBuffer.getArray(), nBufferSize ); in ImplCopySvStreamToXOutputStream()
137 DBG_ASSERT( nRead == nBufferSize, "ImplCopySvStreamToXOutputStream failed!" ); in ImplCopySvStreamToXOutputStream()
/aoo41x/main/xml2cmp/source/x2cclass/
H A Dxml_cdff.cxx63 INT32 nBufferSize = aXmlFile.Tell(); in LoadXmlFile() local
64 o_rBuffer.SetSize(nBufferSize + 1); in LoadXmlFile()
65 o_rBuffer[nBufferSize] = '\0'; in LoadXmlFile()
67 if (aXmlFile.Read(o_rBuffer.operator->(), nBufferSize) == 0) in LoadXmlFile()
/aoo41x/main/oox/source/helper/
H A Dbinaryinputstream.cxx132 …sal_Int32 nBufferSize = getLimitedValue< sal_Int32, sal_Int64 >( nBytes, 0, (INPUTSTREAM_BUFFERSIZ… in copyToStream() local
133 StreamDataSequence aBuffer( nBufferSize ); in copyToStream()
136 sal_Int32 nReadSize = getLimitedValue< sal_Int32, sal_Int64 >( nBytes, 0, nBufferSize ); in copyToStream()
200 …sal_Int32 nBufferSize = getLimitedValue< sal_Int32, sal_Int32 >( nBytes, 0, INPUTSTREAM_BUFFERSIZE… in readMemory() local
204 sal_Int32 nReadSize = getLimitedValue< sal_Int32, sal_Int32 >( nBytes, 0, nBufferSize ); in readMemory()
H A Dbinaryoutputstream.cxx95 …sal_Int32 nBufferSize = getLimitedValue< sal_Int32, sal_Int32 >( nBytes, 0, (OUTPUTSTREAM_BUFFERSI… in writeMemory() local
99 … sal_Int32 nWriteSize = getLimitedValue< sal_Int32, sal_Int32 >( nBytes, 0, nBufferSize ); in writeMemory()
/aoo41x/main/filter/source/msfilter/
H A Dmscodec.cxx70 sal_Size lclGetLen( const sal_uInt8* pnPassData, sal_Size nBufferSize ) in lclGetLen() argument
73 while( (nLen < nBufferSize) && pnPassData[ nLen ] ) ++nLen; in lclGetLen()
77 sal_uInt16 lclGetKey( const sal_uInt8* pnPassData, sal_Size nBufferSize ) in lclGetKey() argument
79 sal_Size nLen = lclGetLen( pnPassData, nBufferSize ); in lclGetKey()
102 sal_uInt16 lclGetHash( const sal_uInt8* pnPassData, sal_Size nBufferSize ) in lclGetHash() argument
104 sal_Size nLen = lclGetLen( pnPassData, nBufferSize ); in lclGetHash()
H A Ddffpropset.cxx1313 sal_uInt32 nBufferSize = GetPropertyValue( nId ); in GetPropertyString() local
1314 if( (nBufferSize > 0) && IsComplex( nId ) && SeekToContent( nId, rStrm ) ) in GetPropertyString()
1316 sal_Int32 nStrLen = static_cast< sal_Int32 >( nBufferSize / 2 ); in GetPropertyString()
/aoo41x/main/tools/source/inet/
H A Dinetmime.cxx2062 for (sal_Size nBufferSize = pEnd - pBegin;; in convertToUnicode() local
2063 nBufferSize += nBufferSize / 3 + 1) in convertToUnicode()
2065 pBuffer = new sal_Unicode[nBufferSize]; in convertToUnicode()
2069 nBufferSize, in convertToUnicode()
2104 for (sal_Size nBufferSize = pEnd - pBegin;; in convertFromUnicode() local
2105 nBufferSize += nBufferSize / 3 + 1) in convertFromUnicode()
2107 pBuffer = new sal_Char[nBufferSize]; in convertFromUnicode()
2111 nBufferSize, in convertFromUnicode()
4056 nBufferSize += nBufferSize / 3 + 1) in finish()
4058 pTargetBuffer = new sal_Char[nBufferSize]; in finish()
[all …]
H A Dinetstrm.cxx248 INetMessageIStream::INetMessageIStream (sal_uIntPtr nBufferSize) in INetMessageIStream() argument
251 nBufSiz (nBufferSize), in INetMessageIStream()
581 INetMessageIOStream::INetMessageIOStream (sal_uIntPtr nBufferSize) in INetMessageIOStream() argument
582 : INetMessageIStream (nBufferSize), in INetMessageIOStream()
1297 INetMIMEMessageStream::INetMIMEMessageStream (sal_uIntPtr nBufferSize) in INetMIMEMessageStream() argument
1298 : INetMessageIOStream (nBufferSize), in INetMIMEMessageStream()
/aoo41x/main/vcl/unx/generic/printergfx/
H A Dbitmap_gfx.cxx35 const sal_uInt32 nBufferSize = 16384; variable
70 sal_Char mpFileBuffer[nBufferSize + 16];
108 if (mnOffset >= nBufferSize) in WriteAscii()
141 sal_Char mpFileBuffer[nBufferSize + 16];
241 if (mnOffset >= nBufferSize) in WriteAscii()
H A Dpsputil.cxx233 sal_uChar *pBuffer, sal_Size nBufferSize, rtl_TextEncoding nEncoding) in Convert() argument
244 pText, nTextLen, (sal_Char*)pBuffer, nBufferSize, in Convert()
/aoo41x/main/tools/inc/tools/
H A Dinetstrm.hxx149 INetMessageIStream (sal_uIntPtr nBufferSize = 2048);
203 INetMessageIOStream (sal_uIntPtr nBufferSize = 2048);
246 INetMIMEMessageStream (sal_uIntPtr nBufferSize = 2048);
/aoo41x/main/svx/workben/msview/
H A Dmsview.cxx181 const int nBufferSize = 1024; in compareContent() local
182 boost::shared_ptr< char > buffer1( new char[nBufferSize] ); in compareContent()
183 boost::shared_ptr< char > buffer2( new char[nBufferSize] ); in compareContent()
189 sal_Size nRead = (nBufferSize < nLength) ? nBufferSize : nLength; in compareContent()
/aoo41x/main/filter/source/placeware/
H A Dexporter.cxx139 sal_Int32 nBufferSize = 3*1024; // !!! buffer size must be a factor of 3 for base64 to work in encodeFile() local
140 Sequence< sal_Int8 > aInBuffer( nBufferSize < nLen ? nBufferSize : nLen ); in encodeFile()
/aoo41x/main/vcl/unx/generic/app/
H A Di18n_cb.cxx205 sal_Size nBufferSize = nInsertTextLength * 2; in Preedit_InsertText() local
207 pInsertTextString = (sal_Unicode*)alloca(nBufferSize); in Preedit_InsertText()
214 pInsertTextString, nBufferSize, in Preedit_InsertText()
/aoo41x/main/connectivity/source/drivers/dbase/
H A DDNoException.cxx501 sal_uInt16 nBufferSize = rStream.GetBufferSize(); in operator <<() local
502 sal_uIntPtr nSize = nBufferSize - nTell; in operator <<()
503 if ( nSize <= nBufferSize ) in operator <<()
H A Ddindexnode.cxx923 sal_uInt16 nBufferSize = rStream.GetBufferSize(); in operator <<() local
924 sal_uIntPtr nRemainSize = nBufferSize - nTell; in operator <<()
925 if ( nRemainSize <= nBufferSize ) in operator <<()
/aoo41x/main/vcl/unx/generic/gdi/
H A Dsalcvt.cxx315 sal_Char *pBuffer, sal_Size nBufferSize, rtl_TextEncoding nEncoding ) in ConvertStringUTF16() argument
330 pText, nTextLen, pBuffer, nBufferSize, in ConvertStringUTF16()
/aoo41x/main/filter/source/xsltdialog/
H A Dxmlfiltersettingsdialog.cxx1738 sal_Int32 nBufferSize = 512; in copyStreams() local
1739 Sequence< sal_Int8 > aDataBuffer(nBufferSize); in copyStreams()
1744 nRead = xIS->readBytes( aDataBuffer, nBufferSize ); in copyStreams()
1748 if( nRead < nBufferSize ) in copyStreams()
1750 nBufferSize = nRead; in copyStreams()
/aoo41x/main/sd/source/ui/app/
H A Dsdmod1.cxx950 static const sal_Size nBufferSize = 4096; in OutlineToImpressFinalizer() local
951 ::boost::scoped_array<sal_Int8> pBuffer (new sal_Int8[nBufferSize]); in OutlineToImpressFinalizer()
963 nBufferSize, in OutlineToImpressFinalizer()
/aoo41x/main/sc/source/filter/excel/
H A Dxiescher.cxx3580 sal_uInt32 nBufferSize = GetPropertyValue( DFF_Prop_pihlShape ); in ReadHlinkProperty() local
3581 …if( (0 < nBufferSize) && (nBufferSize <= 0xFFFF) && SeekToContent( DFF_Prop_pihlShape, rDffStrm ) ) in ReadHlinkProperty()
3585 aMemStream << sal_uInt16( 0 ) << static_cast< sal_uInt16 >( nBufferSize ); in ReadHlinkProperty()
3588 ::std::vector< sal_uInt8 > aBuffer( nBufferSize ); in ReadHlinkProperty()
3590 if( rDffStrm.Read( pnData, nBufferSize ) == nBufferSize ) in ReadHlinkProperty()
3592 aMemStream.Write( pnData, nBufferSize ); in ReadHlinkProperty()

Completed in 176 milliseconds

12