Home
last modified time | relevance | path

Searched refs:nBufSize (Results 1 – 25 of 41) sorted by path

12

/trunk/main/crashrep/source/win32/
H A Dsoreport.cpp554 LPSTR pBuffer = (LPSTR)alloca( nBufSize ); in wstring2utf8()
556 WideCharToMultiByte( CP_UTF8, 0, rString.c_str(), -1, pBuffer, nBufSize, NULL, FALSE ); in wstring2utf8()
1516 static void repatch_soffice_exe( void *pBuffer, size_t nBufSize ) in repatch_soffice_exe() argument
1527 void *pFound = memchr( pBuffer, ((char *)DescriptionBuffer)[0], nBufSize ); in repatch_soffice_exe()
1533 if ( nBufSize >= distance ) in repatch_soffice_exe()
1535 nBufSize -= distance; in repatch_soffice_exe()
1537 if ( nBufSize >= sizeof(DescriptionBuffer) && in repatch_soffice_exe()
1549 nBufSize--; in repatch_soffice_exe()
1553 nBufSize = 0; in repatch_soffice_exe()
1556 nBufSize = 0; in repatch_soffice_exe()
[all …]
/trunk/main/embeddedobj/source/msole/
H A Dgraphconvert.cxx50 sal_uInt32 nBufSize, in ConvertBufferToFormat() argument
57 uno::Sequence < sal_Int8 > aData( (sal_Int8*)pBuf, nBufSize ); in ConvertBufferToFormat()
H A Dolecomponent.cxx168 sal_uInt32 nBufSize,
294 sal_uInt32 nBufSize = 0; in ConvertDataForFlavor() local
303 nBufSize = GetMetaFileBitsEx( pMF->hMF, 0, NULL ) + 22; in ConvertDataForFlavor()
304 pBuf = new unsigned char[nBufSize]; in ConvertDataForFlavor()
316 if ( nBufSize && nBufSize == GetMetaFileBitsEx( pMF->hMF, nBufSize - 22, pBuf + 22 ) ) in ConvertDataForFlavor()
331 nBufSize = GetEnhMetaFileBits( aMedium.hEnhMetaFile, 0, NULL ); in ConvertDataForFlavor()
332 pBuf = new unsigned char[nBufSize]; in ConvertDataForFlavor()
333 if ( nBufSize && nBufSize == GetEnhMetaFileBits( aMedium.hEnhMetaFile, nBufSize, pBuf ) ) in ConvertDataForFlavor()
345 nBufSize = GetBitmapBits( aMedium.hBitmap, 0, NULL ); in ConvertDataForFlavor()
346 pBuf = new unsigned char[nBufSize]; in ConvertDataForFlavor()
[all …]
H A Dxdialogcreator.cxx260 sal_uInt32 nBufSize = GetMetaFileBitsEx( pMF->hMF, 0, NULL ); in createInstanceByDialog() local
261 uno::Sequence< sal_Int8 > aMetafile( nBufSize + 22 ); in createInstanceByDialog()
270 if ( nBufSize && nBufSize == GetMetaFileBitsEx( pMF->hMF, nBufSize, pBuf+22 ) ) in createInstanceByDialog()
/trunk/main/filter/source/msfilter/
H A Descherex.cxx5141 sal_uInt32 nSize, nType, nSource, nBufSize, nToCopy, nCurPos = mpOutStrm->Tell(); in InsertAtCurrentPos() local
5186 nBufSize = ( nToCopy >= 0x40000 ) ? 0x40000 : nToCopy; in InsertAtCurrentPos()
5187 nToCopy -= nBufSize; in InsertAtCurrentPos()
5188 nSource -= nBufSize; in InsertAtCurrentPos()
5190 mpOutStrm->Read( pBuf, nBufSize ); in InsertAtCurrentPos()
5192 mpOutStrm->Write( pBuf, nBufSize ); in InsertAtCurrentPos()
H A Dmsocximex.cxx360 sal_uInt32 nBufSize = lclGetBufferSize( nLenFld ); in lclReadCharArray() local
361 … DBG_ASSERT( nBufSize <= 0xFFFF, "lclReadCharArray - possible read error: char array is too big" ); in lclReadCharArray()
362 if( nBufSize && nBufSize <= 0xFFFF ) in lclReadCharArray()
364 rpcCharArr = new char[ nBufSize ]; in lclReadCharArray()
368 rStrm.Read( rpcCharArr, nBufSize ); in lclReadCharArray()
395 sal_uInt32 nBufSize = lclGetBufferSize( nLenFld ); in lclCreateOUString() local
399 sal_Int32 nStrLen = static_cast< sal_Int32 >( nBufSize ); in lclCreateOUString()
410 sal_Int32 nStrLen = static_cast< sal_Int32 >( nBufSize ) / 2; in lclCreateOUString()
H A Dsvdfppt.cxx2181 sal_uInt32 nSource, nToCopy, nBufSize; in SeekOle() local
2189 nBufSize = ( nToCopy >= 0x40000 ) ? 0x40000 : nToCopy; in SeekOle()
2190 rStCtrl.Read( pBuf, nBufSize ); in SeekOle()
2191 xOriginal->Write( pBuf, nBufSize ); in SeekOle()
2192 nToCopy -= nBufSize; in SeekOle()
/trunk/main/framework/source/fwi/helper/
H A Dnetworkdomain.cxx173 long nBufSize;
177 nBufSize = nCopied;
178 nCopied = sysinfo( SI_SRPC_DOMAIN, pBuffer, nBufSize );
183 if ( nCopied > nBufSize )
186 } while ( nCopied > nBufSize );
217 size_t nBufSize = 0;
221 nBufSize += 256; /* Increase buffer size by steps of 256 bytes */
222 pBuffer = (char *)alloca( nBufSize );
223 result = getdomainname( pBuffer, nBufSize );
/trunk/main/oox/source/dump/
H A Doledumper.cxx1249 sal_uInt32 nBufSize = extractValue< sal_uInt32 >( nSize, 0, 31 ); in dumpString() local
1251 dumpCharArray( rName, nBufSize, RTL_TEXTENCODING_ISO_8859_1 ) : in dumpString()
1252 dumpUnicodeArray( rName, bArray ? nBufSize : (nBufSize / 2) ); in dumpString()
/trunk/main/oox/source/ole/
H A Daxbinaryreader.cxx194 sal_uInt32 nBufSize = nSize & AX_STRING_SIZEMASK; in lclReadString() local
196 … sal_Int32 nChars = static_cast< sal_Int32 >( nBufSize / ((bCompressed || bArrayString) ? 1 : 2) ); in lclReadString()
/trunk/main/package/source/package/zipapi/
H A DZipFile.cxx866 sal_Int32 nBufSize = aBuffer.getLength(); in recover() local
871 while( nPos < nBufSize - 30 in recover()
872 || ( aBuffer.getLength() < nToRead && nPos < nBufSize - 16 ) ) in recover()
875 …if ( nPos < nBufSize - 30 && pBuffer[nPos] == 'P' && pBuffer[nPos+1] == 'K' && pBuffer[nPos+2] == … in recover()
914 if( nPos + 30 + aEntry.nPathLen <= nBufSize ) in recover()
/trunk/main/sal/osl/os2/
H A Dprocess.c367 ULONG nCurrentDisk, nDriveMap, nBufSize; in osl_psz_executeProcess() local
398 nBufSize = _MAX_PATH; in osl_psz_executeProcess()
399 if(DosQueryCurrentDir(0, (BYTE*)currentDir, &nBufSize)) in osl_psz_executeProcess()
/trunk/main/sax/source/expatwrap/
H A Dsax_expat.cxx714 const int nBufSize = 16*1024; in parse() local
716 int nRead = nBufSize; in parse()
717 Sequence< sal_Int8 > seqOut(nBufSize); in parse()
720 nRead = getEntity().converter.readAndConvert( seqOut , nBufSize ); in parse()
/trunk/main/sc/source/filter/inc/
H A DXclExpChangeTrack.hxx277 sal_uInt16 nBufSize; member in XclExpChTrTabIdBuffer
H A Dqproform.hxx69 static const size_t nBufSize = 256; member in QProToSc
/trunk/main/sc/source/filter/qpro/
H A Dqproform.cxx87 TokenId eParam[ nBufSize ]; in DoFunc()
109 if( nArgs < nBufSize ) in DoFunc()
197 sal_uInt8 nFmla[ nBufSize ], i, nArg, nArgArray[ nBufSize ]; in Convert()
199 …tCount = 0, nStringCount = 0, nFloatCount = 0, nDLLCount = 0, nIntArray[ nBufSize ], nArgCount = 0; in Convert()
200 String sStringArray[ nBufSize ]; in Convert()
201 sal_uInt16 nDummy, nDLLId, nDLLArray[ nBufSize ]; in Convert()
208 double nFloatArray[ nBufSize ], nFloat; in Convert()
215 if( nRef < nBufSize ) in Convert()
/trunk/main/sc/source/filter/xcl97/
H A DXclExpChangeTrack.cxx386 nBufSize( nCount ), in XclExpChTrTabIdBuffer()
389 pBuffer = new sal_uInt16[ nBufSize ]; in XclExpChTrTabIdBuffer()
390 memset( pBuffer, 0, sizeof(sal_uInt16) * nBufSize ); in XclExpChTrTabIdBuffer()
391 pLast = pBuffer + nBufSize - 1; in XclExpChTrTabIdBuffer()
395 nBufSize( rCopy.nBufSize ), in XclExpChTrTabIdBuffer()
398 pBuffer = new sal_uInt16[ nBufSize ]; in XclExpChTrTabIdBuffer()
399 memcpy( pBuffer, rCopy.pBuffer, sizeof(sal_uInt16) * nBufSize ); in XclExpChTrTabIdBuffer()
400 pLast = pBuffer + nBufSize - 1; in XclExpChTrTabIdBuffer()
431 nLastId = nBufSize; in InitFillup()
436 DBG_ASSERT( nIndex < nBufSize, "XclExpChTrTabIdBuffer::GetId - out of range" ); in GetId()
/trunk/main/sc/source/filter/xml/
H A Dxmlexprt.cxx1532 const sal_Int32 nBufSize = 16*1024; in lcl_CopyStreamElement() local
1533 uno::Sequence<sal_Int8> aSequence(nBufSize); in lcl_CopyStreamElement()
1540 sal_Int32 nRead = xInput->readBytes( aSequence, std::min( nRemaining, nBufSize ) ); in lcl_CopyStreamElement()
1559 if ( nRead == nBufSize ) in lcl_CopyStreamElement()
/trunk/main/sc/source/ui/unoobj/
H A Dscdetect.cxx133 const size_t nBufSize = 2048; in lcl_MayBeAscii() local
134 sal_uInt16 aBuffer[ nBufSize ]; in lcl_MayBeAscii()
136 sal_uLong nBytesRead = rStream.Read( pByte, nBufSize*2); in lcl_MayBeAscii()
164 const size_t nBufSize = 4000; in lcl_DetectExcelXML() local
165 sal_uInt8 aBuffer[ nBufSize ]; in lcl_DetectExcelXML()
166 sal_uLong nBytesRead = rStream.Read( aBuffer, nBufSize ); in lcl_DetectExcelXML()
/trunk/main/sd/source/filter/eppt/
H A Depptso.cxx3400 sal_uInt32 nBufSize = pRuleOut->Tell() - nRulePos; in ImplWriteTextStyleAtom() local
3401 pRuleOut->SeekRel( - ( (sal_Int32)nBufSize - 4 ) ); in ImplWriteTextStyleAtom()
3402 *pRuleOut << (sal_uInt32)( nBufSize - 8 ); in ImplWriteTextStyleAtom()
3403 pRuleOut->SeekRel( nBufSize - 8 ); in ImplWriteTextStyleAtom()
4678 sal_uInt16 i, nBufSize; in ImplWritePage() local
4679 nBufSize = ( aControlName.Len() + 1 ) << 1; in ImplWritePage()
4680 sal_uInt8* pBuf = new sal_uInt8[ nBufSize ]; in ImplWritePage()
4690 aPropOpt.AddOpt( ESCHER_Prop_wzName, sal_True, nBufSize, pBuf, nBufSize ); in ImplWritePage()
/trunk/main/sd/source/filter/ppt/
H A Dpropread.cxx41 PropEntry( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBufSize, sal_uInt16 nTextEnc );
48 PropEntry::PropEntry( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBufSize, sal_uInt16 nTextE… in PropEntry() argument
50 mnSize ( nBufSize ), in PropEntry()
52 mpBuf ( new sal_uInt8[ nBufSize ] ) in PropEntry()
54 memcpy( (void*)mpBuf, (void*)pBuf, nBufSize ); in PropEntry()
327 void Section::AddProperty( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBufSize ) in AddProperty() argument
341 delete (PropEntry*)Replace( new PropEntry( nId, pBuf, nBufSize, mnTextEnc ), i ); in AddProperty()
343 Insert( new PropEntry( nId, pBuf, nBufSize, mnTextEnc ), i ); in AddProperty()
348 Insert( new PropEntry( nId, pBuf, nBufSize, mnTextEnc ), LIST_APPEND ); in AddProperty()
H A Dpropread.hxx146 void AddProperty( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBufSize );
/trunk/main/sdext/source/pdfimport/
H A Dfilterdet.cxx441 const sal_uInt32 nBufSize = 4096; in detect() local
442 aBuf = uno::Sequence<sal_Int8>(nBufSize); in detect()
446 nBytes = xInput->readBytes( aBuf, nBufSize ); in detect()
456 } while( nBytes == nBufSize ); in detect()
H A Dpdfiadaptor.cxx115 const sal_Int32 nBufSize = 4096; in filter() local
116 uno::Sequence<sal_Int8> aBuf(nBufSize); in filter()
121 nBytes = xInput->readBytes( aBuf, nBufSize ); in filter()
131 } while( nBytes == nBufSize ); in filter()
/trunk/main/sdext/source/pdfimport/wrapper/
H A Dwrapper.cxx1112 const sal_uInt32 nBufSize = 4096; in xpdf_ImportFromStream() local
1113 uno::Sequence<sal_Int8> aBuf( nBufSize ); in xpdf_ImportFromStream()
1121 nBytes = xInput->readBytes( aBuf, nBufSize ); in xpdf_ImportFromStream()
1138 while( nBytes == nBufSize ); in xpdf_ImportFromStream()

Completed in 258 milliseconds

12