Home
last modified time | relevance | path

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

12

/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/embeddedobj/source/msole/
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()
H A Dgraphconvert.cxx50 sal_uInt32 nBufSize, in ConvertBufferToFormat() argument
57 uno::Sequence < sal_Int8 > aData( (sal_Int8*)pBuf, nBufSize ); in ConvertBufferToFormat()
/trunk/main/vcl/source/glyphs/
H A Dgcach_rbmp.cxx206 unsigned int nBufSize = nNewHeight * nNewScanlineSize; in Rotate() local
207 unsigned char* pBuf = new unsigned char[ nBufSize ]; in Rotate()
211 memset( pBuf, 0, nBufSize ); in Rotate()
255 if( nBufSize < mnAllocated ) in Rotate()
257 memcpy( mpBits, pBuf, nBufSize ); in Rotate()
264 mnAllocated = nBufSize; in Rotate()
/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()
/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/tools/source/stream/
H A Dstream.cxx451 nBufSize = 0; in ImpInit()
612 if( nBufSize ) in SetBufferSize()
621 nBufSize = nBufferSize; in SetBufferSize()
622 if( nBufSize ) in SetBufferSize()
623 pRWBuf = new sal_uInt8[ nBufSize ]; in SetBufferSize()
1778 if( nCount > nBufSize ) in Read()
1886 if( nCount > nBufSize ) in Write()
1913 nBufFree = nBufSize - nBufActualPos; in Write()
2052 if( nBufSize == nBufActualLen ) in PutBack()
2055 memmove( pRWBuf+1, pRWBuf, nBufSize-1 ); in PutBack()
[all …]
/trunk/main/vcl/aqua/source/gdi/
H A Datsfonts.cxx120 ByteCount nBufSize = 0; in GetFontTable() local
121 OSStatus eStatus = ATSFontGetTable( rATSFont, pTagCode, 0, 0, NULL, &nBufSize ); in GetFontTable()
126 if( pResultBuf && (nBufSize > 0)) in GetFontTable()
129 eStatus = ATSFontGetTable( rATSFont, pTagCode, 0, nBufSize, (void*)pResultBuf, &nRawLength ); in GetFontTable()
132 DBG_ASSERT( (nBufSize==nRawLength), "AtsFontData::GetFontTable ByteCount mismatch!\n"); in GetFontTable()
135 return nBufSize; in GetFontTable()
H A Dsalgdi.cxx145 const int nBufSize = GetFontTable( "cmap", NULL ); in GetImplFontCharMap() local
146 DBG_ASSERT( (nBufSize > 0), "ImplMacFontData::GetImplFontCharMap : FontGetTable1 failed!\n"); in GetImplFontCharMap()
147 if( nBufSize <= 0 ) in GetImplFontCharMap()
151 ByteVector aBuffer( nBufSize ); in GetImplFontCharMap()
182 const int nBufSize = GetFontTable( "OS/2", NULL ); in ReadOs2Table() local
183 DBG_ASSERT( (nBufSize > 0), "ImplMacFontData::ReadOs2Table : FontGetTable1 failed!\n"); in ReadOs2Table()
184 if( nBufSize <= 0 ) in ReadOs2Table()
188 ByteVector aBuffer( nBufSize ); in ReadOs2Table()
217 const int nBufSize = GetFontTable( "cmap", NULL ); in ReadMacCmapEncoding() local
218 if( nBufSize <= 0 ) in ReadMacCmapEncoding()
[all …]
/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/sdext/source/pdfimport/
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()
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()
/trunk/main/vcl/unx/generic/app/
H A Di18n_im.cxx306 GetMethodName( XIMStyle nStyle, char *pBuf, int nBufSize) in GetMethodName() argument
328 if ( nBufSize > 0 ) in GetMethodName()
335 if ( (nStyle & pDescPtr->nStyle) && (nBufSize > nSize) ) in GetMethodName()
339 nBufSize -= nSize; in GetMethodName()
/trunk/main/vcl/unx/generic/gdi/
H A Dxrender_peer.hxx76 const char* pBuffer, int nBufSize ) const;
259 const XGlyphInfo& rGI, const char* pBuffer, int nBufSize ) const in AddGlyph()
263 const_cast<char*>(pBuffer), nBufSize ); in AddGlyph()
266 const_cast<char*>(pBuffer), nBufSize ); in AddGlyph()
/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/tools/source/inet/
H A Dinetstrm.cxx1677 sal_uIntPtr nBufSize = pMsgBuffer->Tell(); in PutMsgLine() local
1681 for( pOldPos = pChar = (const sal_Char *) pMsgBuffer->GetData(); nBufSize--; in PutMsgLine()
1696 if( nBufSize && in PutMsgLine()
1698 nBufSize--, pChar++; in PutMsgLine()
1717 if( nBufSize && in PutMsgLine()
1719 nBufSize--, pChar++; in PutMsgLine()
/trunk/main/sot/source/sdstor/
H A Dstgelem.cxx412 sal_Bool StgEntry::Load( const void* pFrom, sal_uInt32 nBufSize ) in Load() argument
414 if ( nBufSize < 128 ) in Load()
417 SvMemoryStream r( (sal_Char*) pFrom, nBufSize, STREAM_READ ); in Load()
/trunk/main/starmath/source/
H A Dsmdetect.cxx325 const size_t nBufSize=2048; in detect() local
326 sal_uInt16 aBuffer[nBufSize]; // will be casted to an Unicode-Array below in detect()
328 const sal_uLong nBytesRead(pStrm->Read( pByte, nBufSize * 2 ) ); in detect()
/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/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/tools/inc/tools/
H A Dstream.hxx249 sal_uInt16 nBufSize; // Allozierte Groesse des Puffers member in SvStream
570 void SetBufferSize( sal_uInt16 nBufSize );
571 sal_uInt16 GetBufferSize() const { return nBufSize; } in GetBufferSize()
/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()
/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()

Completed in 555 milliseconds

12