/trunk/main/framework/source/fwi/helper/ |
H A D | networkdomain.cxx | 173 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 D | olecomponent.cxx | 168 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 D | xdialogcreator.cxx | 260 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 D | graphconvert.cxx | 50 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 D | gcach_rbmp.cxx | 206 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 D | propread.cxx | 41 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 D | qproform.cxx | 87 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 D | XclExpChangeTrack.cxx | 386 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 D | stream.cxx | 451 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 D | atsfonts.cxx | 120 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 D | salgdi.cxx | 145 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 D | scdetect.cxx | 133 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 D | pdfiadaptor.cxx | 115 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 D | filterdet.cxx | 441 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 D | i18n_im.cxx | 306 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 D | xrender_peer.hxx | 76 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 D | soreport.cpp | 554 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 D | inetstrm.cxx | 1677 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 D | stgelem.cxx | 412 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 D | smdetect.cxx | 325 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 D | sax_expat.cxx | 714 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 D | ZipFile.cxx | 866 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 D | stream.hxx | 249 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 D | wrapper.cxx | 1112 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 D | process.c | 367 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()
|