/trunk/main/sot/source/sdstor/ |
H A D | stgdir.hxx | 69 StgDirEntry( const void* pBuffer, sal_uInt32 nBufferLen, sal_Bool * pbOk );
|
/trunk/main/sal/inc/osl/ |
H A D | file.hxx | 1171 inline RC read( void *pBuffer, sal_uInt64 uBytesRequested, sal_uInt64& rBytesRead ) in read() argument 1173 return (RC) osl_readFile( _pData, pBuffer, uBytesRequested, &rBytesRead ); in read() 1210 inline RC write(const void *pBuffer, sal_uInt64 uBytesToWrite, sal_uInt64& rBytesWritten) in write() argument 1212 return (RC) osl_writeFile( _pData, pBuffer, uBytesToWrite, &rBytesWritten ); in write()
|
/trunk/main/cui/source/dialogs/ |
H A D | about.cxx | 129 sal_Char *pBuffer = new sal_Char[nBytes]; in lcl_readTxtFile() local 131 while ( aFile.read( pBuffer + nPosition, in lcl_readTxtFile() 143 sText = rtl::OUString( pBuffer, in lcl_readTxtFile() 148 delete[] pBuffer; in lcl_readTxtFile()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8par.cxx | 2841 sal_Unicode* pBuffer = sPlainCharsBuf.AllocBuffer( nLen ); in ReadPlainChars() local 2842 sal_Unicode* pWork = pBuffer; in ReadPlainChars() 2918 nEndUsed = Custom8BitToUnicode(hConverter, p8Bits, nL2, pBuffer, nLen); in ReadPlainChars() 2920 for( xub_StrLen nI = 0; nI < nLen; ++nI, ++pBuffer ) in ReadPlainChars() 2922 *pBuffer = TranslateToHindiNumbers(*pBuffer); in ReadPlainChars() 4203 sal_uInt8 *pBuffer = new sal_uInt8[pWwFib->lcbCmds]; in StoreMacroCmds() local 4204 pTableStream->Read(pBuffer, pWwFib->lcbCmds); in StoreMacroCmds() 4205 pStream->Write(pBuffer, pWwFib->lcbCmds); in StoreMacroCmds() 4206 delete[] pBuffer; in StoreMacroCmds()
|
H A D | wrtw8esh.cxx | 284 sal_uInt8* pBuffer = new sal_uInt8[ nLen ]; in WriteHyperlinkWithinFly() local 285 tmpStrm.Read(pBuffer, nLen); in WriteHyperlinkWithinFly() 286 rStrm.Write( pBuffer, nLen ); in WriteHyperlinkWithinFly() 287 delete[] pBuffer; in WriteHyperlinkWithinFly()
|
H A D | docxattributeoutput.cxx | 1021 char pBuffer[] = "000000"; in impl_ConvertColor() local 1023 pBuffer[0] = pHexDigits[ ( rColor.GetRed() >> 4 ) & 0x0F ]; in impl_ConvertColor() 1024 pBuffer[1] = pHexDigits[ rColor.GetRed() & 0x0F ]; in impl_ConvertColor() 1025 pBuffer[2] = pHexDigits[ ( rColor.GetGreen() >> 4 ) & 0x0F ]; in impl_ConvertColor() 1026 pBuffer[3] = pHexDigits[ rColor.GetGreen() & 0x0F ]; in impl_ConvertColor() 1027 pBuffer[4] = pHexDigits[ ( rColor.GetBlue() >> 4 ) & 0x0F ]; in impl_ConvertColor() 1028 pBuffer[5] = pHexDigits[ rColor.GetBlue() & 0x0F ]; in impl_ConvertColor() 1030 color = OString( pBuffer ); in impl_ConvertColor()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdograf.cxx | 1662 sal_uInt8 * pBuffer = new sal_uInt8[ nSize ]; in getInputStream() local 1663 if( pBuffer ) in getInputStream() 1665 memcpy( pBuffer, pSourceData, nSize ); in getInputStream() 1667 SvMemoryStream* pStream = new SvMemoryStream( (void*)pBuffer, (sal_Size)nSize, STREAM_READ ); in getInputStream()
|
/trunk/main/vos/inc/vos/ |
H A D | socket.hxx | 640 void* pBuffer, 685 void* pBuffer, 870 virtual sal_Int32 SAL_CALL read(void* pBuffer, sal_uInt32 n) const; 879 virtual sal_Int32 SAL_CALL write(const void* pBuffer, sal_uInt32 n); 903 sal_Int32 SAL_CALL recv(void* pBuffer, 924 sal_Int32 SAL_CALL send(const void* pBuffer, 1090 sal_Int32 SAL_CALL recvFrom(void* pBuffer, 1117 const void* pBuffer,
|
/trunk/main/store/source/ |
H A D | storlckb.hxx | 74 void *pBuffer, 87 const void *pBuffer,
|
/trunk/main/vcl/source/fontsubset/ |
H A D | sft.cxx | 1714 int OpenTTFontBuffer(void* pBuffer, sal_uInt32 nLen, sal_uInt32 facenum, TrueTypeFont** ttf) in OpenTTFontBuffer() argument 1722 (*ttf)->ptr = (sal_uInt8*)pBuffer; in OpenTTFontBuffer()
|
/trunk/main/vcl/source/gdi/ |
H A D | bitmap.cxx | 688 sal_uInt8* pBuffer = new sal_uInt8[ nScanSize ]; in Mirror() local 695 memcpy( pBuffer, pAcc->GetScanline( nY ), nScanSize ); in Mirror() 697 memcpy( pAcc->GetScanline( nOther ), pBuffer, nScanSize ); in Mirror() 700 delete[] pBuffer; in Mirror()
|
H A D | dibtools.cxx | 289 void ImplDecodeRLE( sal_uInt8* pBuffer, DIBV5Header& rHeader, BitmapWriteAccess& rAcc, bool bRLE4 ) in ImplDecodeRLE() argument 291 Scanline pRLE = pBuffer; in ImplDecodeRLE() 450 sal_uInt8* pBuffer = (sal_uInt8*)rtl_allocateMemory(rHeader.nSizeImage); in ImplReadDIBBits() local 451 rIStm.Read((char*)pBuffer, rHeader.nSizeImage); in ImplReadDIBBits() 452 ImplDecodeRLE(pBuffer, rHeader, rAcc, RLE_4 == rHeader.nCompression); in ImplReadDIBBits() 453 rtl_freeMemory(pBuffer); in ImplReadDIBBits()
|
H A D | pdfwriter_impl.cxx | 2160 bool PDFWriterImpl::writeBuffer( const void* pBuffer, sal_uInt64 nBytes ) in writeBuffer() argument 2171 … m_aOutputStreams.front().m_pStream->Write( pBuffer, sal::static_int_cast<sal_Size>(nBytes) ); in writeBuffer() 2178 m_pCodec->Write( *m_pMemStream, static_cast<const sal_uInt8*>(pBuffer), (sal_uLong)nBytes ); in writeBuffer() 2189 (sal_uInt8*)pBuffer, static_cast<sal_Size>(nBytes), in writeBuffer() 2193 … const void* pWriteBuffer = ( m_bEncryptThisStream && buffOK ) ? m_pEncryptionBuffer : pBuffer; in writeBuffer() 4150 boost::shared_array<unsigned char> pBuffer( new unsigned char[ nLength1 ] ); in emitFonts() local 4153 …CHECK_RETURN( (osl_File_E_None == osl_readFile( aFontFile, pBuffer.get(), nLength1, &nBytesRead ) … in emitFonts() 4158 getPfbSegmentLengths( pBuffer.get(), (int)nBytesRead, aSegmentLengths ); in emitFonts() 4175 CHECK_RETURN( writeBuffer( &pBuffer[6], aSegmentLengths[0] ) ); in emitFonts() 4176 … CHECK_RETURN( writeBuffer( &pBuffer[12] + aSegmentLengths[0], aSegmentLengths[1] ) ); in emitFonts() [all …]
|
/trunk/main/sd/source/ui/app/ |
H A D | sdmod1.cxx | 967 ::boost::scoped_array<sal_Int8> pBuffer (new sal_Int8[nBufferSize]); in OutlineToImpressFinalizer() 978 reinterpret_cast<void*>(pBuffer.get()), in OutlineToImpressFinalizer() 1002 mpStream->Write(reinterpret_cast<void*>(pBuffer.get()), nReadByteCount); in OutlineToImpressFinalizer()
|
/trunk/main/sal/qa/rtl/process/ |
H A D | rtl_Process.cxx | 173 void printUuidtoBuffer( sal_uInt8 *pNode, sal_Char * pBuffer ) in printUuidtoBuffer() argument 181 sprintf( (sal_Char *)(pBuffer + nPtr), "0"); in printUuidtoBuffer() 184 sprintf( (sal_Char *)(pBuffer + nPtr), "%02x", nValue ); in printUuidtoBuffer()
|
/trunk/main/crashrep/source/win32/ |
H A D | soreport.cpp | 554 LPSTR pBuffer = (LPSTR)alloca( nBufSize ); in wstring2utf8() local 558 return string( pBuffer ); in wstring2utf8() 1516 static void repatch_soffice_exe( void *pBuffer, size_t nBufSize ) in repatch_soffice_exe() argument 1531 size_t distance = (char *)pFound - (char *)pBuffer; in repatch_soffice_exe() 1548 pBuffer = (void *)(((char *)pFound) + 1); in repatch_soffice_exe() 1626 sal_uInt8 *pBuffer = new sal_uInt8[nFileSize]; in calc_md5_checksum() local 1627 size_t nBytesRead = fread( pBuffer, 1, nFileSize, fp ); in calc_md5_checksum() 1632 repatch_soffice_exe( pBuffer, nBytesRead ); in calc_md5_checksum() 1634 normalize_pe_image( pBuffer, nBytesRead ); in calc_md5_checksum() 1637 pBuffer, nBytesRead, in calc_md5_checksum() [all …]
|
/trunk/main/sal/osl/unx/ |
H A D | file_misc.cxx | 1013 char pBuffer[0x8000]; in oslDoCopyFile() local 1024 nRead = read( SourceFileFD, pBuffer, nToRead ); in oslDoCopyFile() 1026 nWritten = write( DestFileFD, pBuffer, nRead ); in oslDoCopyFile()
|
H A D | file.cxx | 112 void * pBuffer, 118 void const * pBuffer, 124 void * pBuffer, 130 void const * pBuffer, 142 const void * pBuffer, 217 if (0 != pBuffer) in deallocate() 337 void * pBuffer, in readAt() argument 386 void const * pBuffer, in writeAt() argument 429 void * pBuffer, in readFileAt() argument 500 void const * pBuffer, in writeFileAt() argument [all …]
|
H A D | socket.c | 1448 pBuffer[nBufLen - 1] = '\0'; in osl_psz_getLocalHostname() 2268 void* pBuffer, in osl_receiveSocket() argument 2310 void* pBuffer, in osl_receiveFromSocket() argument 2333 (sal_Char*)pBuffer, in osl_receiveFromSocket() 2357 const void* pBuffer, in osl_sendSocket() argument 2399 const void* pBuffer, in osl_sendToSocket() argument 2695 void* pBuffer, in osl_getSocketOption() argument 2711 (sal_Char*)pBuffer, in osl_getSocketOption() 2727 void* pBuffer, in osl_setSocketOption() argument 2743 (sal_Char*)pBuffer, in osl_setSocketOption() [all …]
|
/trunk/main/vcl/win/source/gdi/ |
H A D | salprn.cxx | 597 BYTE *pBuffer = (BYTE*)_alloca( nSysJobSize ); in ImplTestSalJobSetup() local 603 (LPDEVMODEW)pBuffer, NULL, DM_OUT_BUFFER ); in ImplTestSalJobSetup() 609 (LPDEVMODEA)pBuffer, NULL, DM_OUT_BUFFER ); in ImplTestSalJobSetup() 620 …dmSpecVersion = aSalShlData.mbWPrinter ? ((DEVMODEW*)pBuffer)->dmSpecVersion : ((DEVMODEA*)pBuffer… in ImplTestSalJobSetup() 621 …DriverVersion = aSalShlData.mbWPrinter ? ((DEVMODEW*)pBuffer)->dmDriverVersion : ((DEVMODEA*)pBuff… in ImplTestSalJobSetup() 1675 sal_Unicode* pBuffer = new sal_Unicode[nBins*24]; in GetPaperBinName() local 1676 DWORD nRet = ImplDeviceCaps( this, DC_BINNAMES, (BYTE*)pBuffer, pSetupData ); in GetPaperBinName() 1678 aPaperBinName = pBuffer + (nPaperBin*24); in GetPaperBinName() 1679 delete [] pBuffer; in GetPaperBinName() 1683 char* pBuffer = new char[nBins*24]; in GetPaperBinName() local [all …]
|
/trunk/main/i18npool/source/paper/ |
H A D | paper.cxx | 262 char *pBuffer = fgets( aBuffer, sizeof(aBuffer), pPipe ); in getSystemDefaultPaper() local 265 if (pBuffer && *pBuffer != 0) in getSystemDefaultPaper() 267 rtl::OString aPaper(pBuffer); in getSystemDefaultPaper()
|
/trunk/main/automation/source/simplecm/ |
H A D | packethandler.cxx | 67 #define READ_SOCKET( pBuffer, nLength )\ argument 70 bWasError |= pReceiver->ReceiveBytes( pBuffer, nLength ) != C_ERROR_NONE;\ 73 #define READ_SOCKET_LEN( pBuffer, nLength, nTotal )\ argument 74 READ_SOCKET( pBuffer, nLength );\ 194 #define WRITE_SOCKET( pBuffer, nLength )\ argument 196 {bWasError |= pTransmitter->TransferBytes( pBuffer, nLength ) != C_ERROR_NONE;}
|
/trunk/main/desktop/win32/source/guistdio/ |
H A D | guistdio.inc | 63 BYTE * pBuffer = aBuffer; 64 while ( ReadFile( hReadPipe, pBuffer, dwToRead, &dwRead, NULL ) ) 87 pBuffer = aBuffer + 1; 95 pBuffer = aBuffer;
|
/trunk/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 315 pBuffer ( NULL ), in JPEGReader() 328 if( pBuffer ) in ~JPEGReader() 329 rtl_freeMemory( pBuffer ); in ~JPEGReader() 441 if( pBuffer && pAcc ) in FillBitmap() 599 if( pBuffer ) in Read() 603 pBuffer = NULL; in Read() 645 pBuffer ( NULL ), in JPEGWriter() 677 else if( pBuffer ) in GetScanline() 708 pScanline = pBuffer; in GetScanline() 771 delete[] pBuffer; in Write() [all …]
|
/trunk/main/sal/osl/os2/ |
H A D | socket.c | 1469 pBuffer[nBufLen - 1] = '\0'; in osl_psz_getLocalHostname() 2306 void* pBuffer, in osl_receiveSocket() argument 2348 void* pBuffer, in osl_receiveFromSocket() argument 2371 (sal_Char*)pBuffer, in osl_receiveFromSocket() 2395 const void* pBuffer, in osl_sendSocket() argument 2437 const void* pBuffer, in osl_sendToSocket() argument 2727 void* pBuffer, in osl_getSocketOption() argument 2741 (sal_Char*)pBuffer, in osl_getSocketOption() 2757 void* pBuffer, in osl_setSocketOption() argument 2773 (sal_Char*)pBuffer, in osl_setSocketOption() [all …]
|