/trunk/main/vcl/aqua/source/gdi/ |
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 …]
|
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()
|
/trunk/main/filter/source/msfilter/ |
H A D | svdfppt.cxx | 2181 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/vcl/source/gdi/ |
H A D | bitmap.cxx | 593 const sal_uLong nBufSize = pWriteAcc->GetScanlineSize() * pWriteAcc->Height(); in Erase() local 594 memset( pWriteAcc->GetBuffer(), cIndex, nBufSize ); in Erase()
|
/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/svtools/source/filter/ |
H A D | filter.cxx | 1780 const sal_uLong nBufSize = nStmEnd - nStmBegin; in ImportGraphic() local 1782 if( nBufSize ) in ImportGraphic() 1787 pBuf = new sal_uInt8[ nBufSize ]; in ImportGraphic() 1797 rIStream.Read( pBuf, nBufSize ); in ImportGraphic() 1798 rGraphic.SetLink( GfxLink( pBuf, nBufSize, eLinkType, sal_True ) ); in ImportGraphic()
|
/trunk/main/vcl/win/source/gdi/ |
H A D | winlayout.cxx | 1214 …DWORD nBufSize = ::GetFileVersionInfoSizeW( const_cast<LPWSTR>(reinterpret_cast<LPCWSTR>(pModuleFi… local 1215 char* pBuffer = (char*)alloca( nBufSize ); 1216 …nfoW( const_cast<LPWSTR>(reinterpret_cast<LPCWSTR>(pModuleFileCStr)), nHandle, nBufSize, pBuffer );
|
/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/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/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/vcl/inc/vcl/ |
H A D | gfxlink.hxx | 146 GfxLink( sal_uInt8* pBuf, sal_uInt32 nBufSize, GfxLinkType nType, sal_Bool bOwns );
|
/trunk/main/vcl/inc/unx/ |
H A D | i18n_im.hxx | 29 extern "C" char* GetMethodName( XIMStyle nStyle, char *pBuf, int nBufSize);
|
/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() 1695 if( nCount > nBufSize ) in Read() 1803 if( nCount > nBufSize ) in Write() 1830 nBufFree = nBufSize - nBufActualPos; in Write() 1969 if( nBufSize == nBufActualLen ) in PutBack() 1972 memmove( pRWBuf+1, pRWBuf, nBufSize-1 ); in PutBack() [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/tools/inc/tools/ |
H A D | stream.hxx | 247 sal_uInt16 nBufSize; // Allozierte Groesse des Puffers member in SvStream 566 void SetBufferSize( sal_uInt16 nBufSize ); 567 sal_uInt16 GetBufferSize() const { return nBufSize; } in GetBufferSize()
|
/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/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()
|
H A D | stgelem.hxx | 142 sal_Bool Load( const void* pBuffer, sal_uInt32 nBufSize );
|
/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/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/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()
|
H A D | propread.hxx | 146 void AddProperty( sal_uInt32 nId, const sal_uInt8* pBuf, sal_uInt32 nBufSize );
|
/trunk/main/sd/source/filter/eppt/ |
H A D | epptso.cxx | 3400 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/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()
|