Home
last modified time | relevance | path

Searched refs:pBuffer (Results 101 – 125 of 230) sorted by relevance

12345678910

/trunk/main/crashrep/source/win32/
H A Dsoreport.cpp554 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/qa/rtl/cipher/
H A Drtl_cipher.cxx413 sal_uInt8 *pBuffer = new sal_uInt8[ nLen ]; in test_encode() local
414 memset(pBuffer, 0, nLen); in test_encode()
416 /* rtlCipherError */ aError = rtl_cipher_encode(aCipher, pDataBuffer, nDataLen, pBuffer, nLen); in test_encode()
422 printf(" Buf: %s\n", createHex(pBuffer, nLen).getStr()); in test_encode()
424 delete [] pBuffer; in test_encode()
/trunk/main/store/inc/store/
H A Dstore.hxx135 void * pBuffer, in readAt() argument
142 return store_readStream (m_hImpl, nOffset, pBuffer, nBytes, &rnDone); in readAt()
150 void const * pBuffer, in writeAt() argument
157 return store_writeStream (m_hImpl, nOffset, pBuffer, nBytes, &rnDone); in writeAt()
/trunk/main/vcl/source/gdi/
H A Doctree.cxx330 cdp = (sal_uLong*) pBuffer; in InverseColorMap()
352 rtl_freeMemory( pBuffer ); in ~InverseColorMap()
366 pBuffer = (sal_uInt8*) rtl_allocateMemory( nSize ); in ImplCreateBuffers()
367 memset( pBuffer, 0xff, nSize ); in ImplCreateBuffers()
/trunk/main/sax/source/tools/
H A Dconverter.cxx1669 void ThreeByteToFourByte (const sal_Int8* pBuffer, const sal_Int32 nStart, const sal_Int32 nFullLen… in ThreeByteToFourByte() argument
1685 nBinaer = ((sal_uInt8)pBuffer[nStart + 0]) << 16; in ThreeByteToFourByte()
1690 nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) + in ThreeByteToFourByte()
1691 (((sal_uInt8)pBuffer[nStart + 1]) << 8); in ThreeByteToFourByte()
1696 nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) + in ThreeByteToFourByte()
1697 (((sal_uInt8)pBuffer[nStart + 1]) << 8) + in ThreeByteToFourByte()
1698 ((sal_uInt8)pBuffer[nStart + 2]); in ThreeByteToFourByte()
1726 const sal_Int8* pBuffer = aPass.getConstArray(); in encodeBase64() local
1730 ThreeByteToFourByte (pBuffer, i, nBufferLength, sBuffer); in encodeBase64()
/trunk/main/avmedia/source/win/
H A Dinterface.hxx58 char *pBuffer,
89 BYTE *pBuffer,
111 long *pBuffer) = 0;
/trunk/main/ucb/source/ucp/ftp/
H A Dftpdirp.cxx79 const sal_Char *pBuffer) in parseDOS() argument
107 for (const sal_Char *p = pBuffer; in parseDOS()
576 const sal_Char *pBuffer) in parseVMS() argument
583 const sal_Char *p = pBuffer; in parseVMS()
866 const sal_Char *pBuffer) in parseUNIX() argument
869 p1 = p2 = pBuffer; in parseUNIX()
H A Dftpdirp.hxx132 const sal_Char *pBuffer );
136 const sal_Char *pBuffer );
140 const sal_Char *pBuffer );
/trunk/main/xmlsecurity/source/dialogs/
H A Dresourcemanager.cxx362 char pBuffer[ 3 ] = " "; in GetHexString() local
371 pBuffer[ 1 ] = pHexDigs[ nNum & 0x0F ]; in GetHexString()
373 pBuffer[ 0 ] = pHexDigs[ nNum ]; in GetHexString()
374 aStr.AppendAscii( pBuffer ); in GetHexString()
/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() argument
263 const_cast<char*>(pBuffer), nBufSize ); in AddGlyph()
266 const_cast<char*>(pBuffer), nBufSize ); in AddGlyph()
/trunk/main/desktop/win32/source/officeloader/
H A Dofficeloader.cxx298 char *pBuffer = (char *)_alloca( sizeof(PIPE_TERMINATION_SEQUENCE) ); in WinMain() local
299 … fSuccess = ReadFile( hPipe, pBuffer, sizeof(PIPE_TERMINATION_SEQUENCE) - 1, &dwBytesRead, NULL ); in WinMain()
302 pBuffer[dwBytesRead] = 0; in WinMain()
303 if ( 0 != strcmp( PIPE_TERMINATION_SEQUENCE, pBuffer ) ) in WinMain()
/trunk/main/unotools/source/ucbhelper/
H A Ducblockbytes.cxx1428 ErrCode UcbLockBytes::ReadAt ( sal_uLong nPos, void *pBuffer, sal_uLong nCount, sal_uLong *pRead) c… in ReadAt() argument
1485 rtl_copyMemory (pBuffer, aData.getConstArray(), nSize); in ReadAt()
1493 ErrCode UcbLockBytes::WriteAt ( sal_uLong nPos, const void *pBuffer, sal_uLong nCount, sal_uLong *p… in WriteAt() argument
1515 sal_Int8* pData = (sal_Int8*) pBuffer; in WriteAt()
1573 sal_uInt8* pBuffer = new sal_uInt8[ nDiff ]; in SetSize() local
1574 memset(pBuffer, 0, nDiff); // initialize for enhanced security in SetSize()
1575 WriteAt( nSize, pBuffer, nDiff, &nCount ); in SetSize()
1576 delete[] pBuffer; in SetSize()
/trunk/main/sal/osl/os2/
H A Dfile_url.cxx465 sal_Char *pBuffer; in _osl_decodeURL() local
475 pBuffer = reinterpret_cast<sal_Char*>(rtl_allocateMemory(nSrcLen + 1)); in _osl_decodeURL()
477 pDest = pBuffer; in _osl_decodeURL()
515 …rtl_string2UString( pstrDecodedURL, pBuffer, rtl_str_getLength(pBuffer), RTL_TEXTENCODING_UTF8, OU… in _osl_decodeURL()
519 rtl_freeMemory( pBuffer ); in _osl_decodeURL()
/trunk/main/package/source/package/zippackage/
H A DZipPackage.cxx1042 ZipPackageBuffer *pBuffer = new ZipPackageBuffer( n_ConstBufferSize ); in WriteManifest() local
1043 xManOutStream = uno::Reference < XOutputStream > ( *pBuffer, UNO_QUERY ); in WriteManifest()
1061 sal_Int32 nBufferLength = static_cast < sal_Int32 > ( pBuffer->getPosition() ); in WriteManifest()
1062 pBuffer->realloc( nBufferLength ); in WriteManifest()
1066 aZipOut.write( pBuffer->getSequence(), 0, nBufferLength ); in WriteManifest()
1087 ZipPackageBuffer *pBuffer = new ZipPackageBuffer( n_ConstBufferSize ); in WriteContentTypes() local
1088 uno::Reference< io::XOutputStream > xConTypeOutStream( *pBuffer, UNO_QUERY ); in WriteContentTypes()
1124 sal_Int32 nBufferLength = static_cast < sal_Int32 > ( pBuffer->getPosition() ); in WriteContentTypes()
1125 pBuffer->realloc( nBufferLength ); in WriteContentTypes()
1129 aZipOut.write( pBuffer->getSequence(), 0, nBufferLength ); in WriteContentTypes()
/trunk/main/i18npool/source/paper/
H A Dpaper.cxx262 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/tools/source/inet/
H A Dinetstrm.cxx256 pBuffer = new sal_Char[nBufSiz]; in INetMessageIStream()
257 pRead = pWrite = pBuffer; in INetMessageIStream()
265 delete [] pBuffer; in ~INetMessageIStream()
294 pRead = pWrite = pBuffer; in GetData()
297 int nRead = GetMsgLine (pBuffer, nBufSiz); in GetData()
301 pRead = pBuffer + nRead; in GetData()
/trunk/main/sal/workben/
H A Dtestfile.cxx139 sal_Char *pBuffer; in Initialize() local
192 pBuffer=(sal_Char*) rtl_allocateMemory( (sal_uInt32) (uBytesRequested+1)*sizeof(sal_Char) ); in Initialize()
193 rtl_zeroMemory( pBuffer, (sal_uInt32)(uBytesRequested+1)*sizeof(sal_Char) ); in Initialize()
195 rc=pFile->read( pBuffer , uBytesRequested , uBytesRead ); in Initialize()
200 pBegin=pBuffer; in Initialize()
206 while ( (pCount-pBuffer < uBytesRead) && *pCount!='=') in Initialize()
212 …while ( (pCount-pBuffer < uBytesRead) && !testLineBreak(pCount,uBytesRead-(pCount-pBuffer), &cLine… in Initialize()
238 rtl_freeMemory( pBuffer ); in Initialize()
/trunk/main/avmedia/source/gstreamer/
H A Dgstframegrabber.cxx216 const guchar* pBuffer = gdk_pixbuf_get_pixels( mpLastPixbuf ); in grabFrame() local
218 if( pBuffer && ( nWidth > 0 ) && ( nHeight > 0 ) ) in grabFrame()
237 guchar* pCur = const_cast< guchar* >( pBuffer + nRow * nRowStride ); in grabFrame()
/trunk/main/sal/qa/rtl/process/
H A Drtl_Process.cxx173 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/sal/osl/w32/
H A Dprocess.cxx514 void* pBuffer, in ReadPipe() argument
518 *nBytes = osl_receivePipe(hPipe, pBuffer, BytesToRead); in ReadPipe()
525 void* pBuffer, in WritePipe() argument
529 *nBytes = osl_sendPipe(hPipe, pBuffer, BytesToSend); in WritePipe()
/trunk/main/xmloff/source/core/
H A Dxmluconv.cxx1518 void ThreeByteToFourByte (const sal_Int8* pBuffer, const sal_Int32 nStart, const sal_Int32 nFullLen… in ThreeByteToFourByte() argument
1534 nBinaer = ((sal_uInt8)pBuffer[nStart + 0]) << 16; in ThreeByteToFourByte()
1539 nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) + in ThreeByteToFourByte()
1540 (((sal_uInt8)pBuffer[nStart + 1]) << 8); in ThreeByteToFourByte()
1545 nBinaer = (((sal_uInt8)pBuffer[nStart + 0]) << 16) + in ThreeByteToFourByte()
1546 (((sal_uInt8)pBuffer[nStart + 1]) << 8) + in ThreeByteToFourByte()
1547 ((sal_uInt8)pBuffer[nStart + 2]); in ThreeByteToFourByte()
1575 const sal_Int8* pBuffer = aPass.getConstArray(); in encodeBase64() local
1579 ThreeByteToFourByte (pBuffer, i, nBufferLength, sBuffer); in encodeBase64()
/trunk/main/svtools/source/filter/igif/
H A Dgifread.cxx327 char* pBuffer = new char[ nCount ]; in ReadExtension() local
330 rIStm.Read( pBuffer, nCount ); in ReadExtension()
333 cSize = (sal_uInt8) pBuffer[ cSize ]; in ReadExtension()
339 delete[] pBuffer; in ReadExtension()
/trunk/main/sw/source/filter/basflt/
H A Diodetect.cxx198 void TerminateBuffer(sal_Char *pBuffer, sal_uLong nBytesRead, sal_uLong nBufferLen) in TerminateBuffer() argument
205 pBuffer[nBytesRead] = '\0'; in TerminateBuffer()
206 pBuffer[nBytesRead+1] = '\0'; in TerminateBuffer()
208 pBuffer[nBytesRead+2] = '\0'; in TerminateBuffer()
/trunk/main/vcl/unx/generic/app/
H A Di18n_status.cxx600 sal_Unicode* pBuffer = (sal_Unicode*)alloca( nChars*sizeof( sal_Unicode ) ); in setStatusText() local
605 pBuffer[i] = (pCopy[i] & 0xff) + 0x20; in setStatusText()
607 pBuffer[i] = pCopy[i]; in setStatusText()
609 String aText( pBuffer ); in setStatusText()
/trunk/main/framework/source/services/
H A Dlicense.cxx474 sal_Char *pBuffer = new sal_Char[nBytes]; in LicenseDialog() local
476 … while (aLicenseFile.read(pBuffer+nPosition, nBytes-nPosition, nBytesRead) == FileBase::E_None in LicenseDialog()
481 ::rtl::OUString aLicenseString(pBuffer, nBytes, RTL_TEXTENCODING_UTF8, in LicenseDialog()
483 delete[] pBuffer; in LicenseDialog()

Completed in 140 milliseconds

12345678910