/aoo41x/main/store/inc/store/ |
H A D | store.hxx | 135 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()
|
/aoo41x/main/sal/osl/w32/ |
H A D | file_url.cxx | 580 sal_Char *pBuffer; in _osl_decodeURL() local 590 pBuffer = reinterpret_cast<sal_Char*>(rtl_allocateMemory(nSrcLen + 1)); in _osl_decodeURL() 592 pDest = pBuffer; in _osl_decodeURL() 631 …rtl_string2UString( pstrDecodedURL, pBuffer, rtl_str_getLength(pBuffer), RTL_TEXTENCODING_UTF8, OU… in _osl_decodeURL() 635 rtl_freeMemory( pBuffer ); in _osl_decodeURL()
|
H A D | process.cxx | 514 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()
|
/aoo41x/main/ucb/source/ucp/ftp/ |
H A D | ftpdirp.hxx | 132 const sal_Char *pBuffer ); 136 const sal_Char *pBuffer ); 140 const sal_Char *pBuffer );
|
H A D | ftpdirp.cxx | 79 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()
|
/aoo41x/main/sal/qa/rtl/cipher/ |
H A D | rtl_cipher.cxx | 464 sal_uInt8 *pBuffer = new sal_uInt8[ nLen ]; in test_encode() local 465 memset(pBuffer, 0, nLen); in test_encode() 467 … /* rtlCipherError */ aError = rtl_cipher_encode(aCipher, pDataBuffer, nDataLen, pBuffer, nLen); in test_encode() 473 t_print(T_VERBOSE, " Buf: %s\n", createHex(pBuffer, nLen).getStr()); in test_encode() 475 delete [] pBuffer; in test_encode()
|
/aoo41x/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 …]
|
/aoo41x/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() argument 263 const_cast<char*>(pBuffer), nBufSize ); in AddGlyph() 266 const_cast<char*>(pBuffer), nBufSize ); in AddGlyph()
|
/aoo41x/main/xmlsecurity/source/dialogs/ |
H A D | resourcemanager.cxx | 362 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()
|
/aoo41x/main/desktop/win32/source/officeloader/ |
H A D | officeloader.cxx | 298 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()
|
/aoo41x/main/sax/source/tools/ |
H A D | converter.cxx | 1669 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()
|
/aoo41x/main/unotools/source/ucbhelper/ |
H A D | ucblockbytes.cxx | 1428 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()
|
/aoo41x/main/sal/osl/os2/ |
H A D | file_url.cxx | 465 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()
|
/aoo41x/main/i18npool/source/paper/ |
H A D | paper.cxx | 260 char *pBuffer = fgets( aBuffer, sizeof(aBuffer), pPipe ); in getSystemDefaultPaper() local 263 if (pBuffer && *pBuffer != 0) in getSystemDefaultPaper() 265 rtl::OString aPaper(pBuffer); in getSystemDefaultPaper()
|
/aoo41x/main/avmedia/source/gstreamer/ |
H A D | gstframegrabber.cxx | 216 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()
|
/aoo41x/main/sal/qa/rtl/process/ |
H A D | rtl_Process.cxx | 187 void printUuidtoBuffer( sal_uInt8 *pNode, sal_Char * pBuffer ) in printUuidtoBuffer() argument 195 sprintf( (sal_Char *)(pBuffer + nPtr), "0"); in printUuidtoBuffer() 198 sprintf( (sal_Char *)(pBuffer + nPtr), "%02x", nValue ); in printUuidtoBuffer()
|
/aoo41x/main/package/source/zippackage/ |
H A D | ZipPackage.cxx | 1042 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()
|
/aoo41x/main/tools/source/inet/ |
H A D | inetstrm.cxx | 256 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()
|
/aoo41x/main/sal/workben/ |
H A D | testfile.cxx | 139 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()
|
/aoo41x/main/vcl/unx/generic/app/ |
H A D | i18n_status.cxx | 600 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()
|
/aoo41x/main/sw/source/filter/basflt/ |
H A D | iodetect.cxx | 198 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()
|
/aoo41x/main/svtools/source/filter/igif/ |
H A D | gifread.cxx | 327 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()
|
/aoo41x/main/xmloff/source/core/ |
H A D | xmluconv.cxx | 1518 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()
|
/aoo41x/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()
|
/aoo41x/main/framework/source/services/ |
H A D | license.cxx | 474 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()
|