/dports/sysutils/boxbackup-devel/boxbackup-0.11_trunk_2979/lib/common/ |
H A D | StreamableMemBlock.cpp | 90 : mpBuffer(0), in StreamableMemBlock() 104 : mpBuffer(0), in StreamableMemBlock() 120 : mpBuffer(0), in StreamableMemBlock() 136 : mpBuffer(0), in StreamableMemBlock() 140 ::memcpy(mpBuffer, rToCopy.mpBuffer, mSize); in StreamableMemBlock() 203 mpBuffer = pblock; in Set() 246 if(mpBuffer != 0) in FreeBlock() 248 ::free(mpBuffer); in FreeBlock() 250 mpBuffer = 0; in FreeBlock() 406 return mpBuffer; in GetBuffer() [all …]
|
H A D | MemBlockStream.cpp | 90 : mpBuffer((char*)pBuffer), in MemBlockStream() 107 : mpBuffer((char*)rBlock.GetBuffer()), in MemBlockStream() 111 ASSERT(mpBuffer != 0); in MemBlockStream() 124 : mpBuffer((char*)rBuffer.GetBuffer()), in MemBlockStream() 128 ASSERT(mpBuffer != 0); in MemBlockStream() 142 : mpBuffer(rToCopy.mpBuffer), in MemBlockStream() 146 ASSERT(mpBuffer != 0); in MemBlockStream() 182 ::memcpy(pBuffer, mpBuffer + mReadPosition, NBytes); in Read()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/include/vcl/ |
H A D | BitmapInfoAccess.hxx | 46 tools::Long Width() const { return mpBuffer ? mpBuffer->mnWidth : 0L; } in Width() 48 tools::Long Height() const { return mpBuffer ? mpBuffer->mnHeight : 0L; } in Height() 54 return mpBuffer && (mpBuffer->mnFormat & ScanlineFormat::TopDown); in IsTopDown() 63 return mpBuffer ? RemoveScanline(mpBuffer->mnFormat) : ScanlineFormat::NONE; in GetScanlineFormat() 70 return mpBuffer ? mpBuffer->mnScanlineSize : 0; in GetScanlineSize() 77 return mpBuffer ? mpBuffer->mnBitCount : 0; in GetBitCount() 90 const BitmapBuffer* pBuffer = mpBuffer; in HasPalette() 99 const BitmapBuffer* pBuffer = mpBuffer; in GetPalette() 108 const BitmapBuffer* pBuffer = mpBuffer; in GetPaletteEntryCount() 117 const BitmapBuffer* pBuffer = mpBuffer; in GetPaletteColor() [all …]
|
H A D | BitmapReadAccess.hxx | 41 assert(mpBuffer && "Access is not valid!"); in GetBuffer() 43 return mpBuffer ? mpBuffer->mpBits : nullptr; in GetBuffer() 48 assert(mpBuffer && "Access is not valid!"); in GetScanline() 49 assert(nY < mpBuffer->mnHeight && "y-coordinate out of range!"); in GetScanline() 51 if (mpBuffer->mnFormat & ScanlineFormat::TopDown) in GetScanline() 53 return mpBuffer->mpBits + (nY * mpBuffer->mnScanlineSize); in GetScanline() 55 return mpBuffer->mpBits + ((mpBuffer->mnHeight - 1 - nY) * mpBuffer->mnScanlineSize); in GetScanline() 79 assert(mpBuffer && "Access is not valid!"); in GetPixel() 80 assert(nX < mpBuffer->mnWidth && "x-coordinate out of range!"); in GetPixel() 81 assert(nY < mpBuffer->mnHeight && "y-coordinate out of range!"); in GetPixel() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/include/vcl/ |
H A D | bitmapaccess.hxx | 48 return mpBuffer ? mpBuffer->mnWidth : 0L; in Width() 53 return mpBuffer ? mpBuffer->mnHeight : 0L; in Height() 60 return mpBuffer && (mpBuffer->mnFormat & ScanlineFormat::TopDown); in IsTopDown() 72 return mpBuffer ? RemoveScanline(mpBuffer->mnFormat) : ScanlineFormat::NONE; in GetScanlineFormat() 79 return mpBuffer ? mpBuffer->mnScanlineSize : 0; in GetScanlineSize() 86 return mpBuffer ? mpBuffer->mnBitCount : 0; in GetBitCount() 101 return mpBuffer && !!mpBuffer->maPalette; in HasPalette() 164 return mpBuffer ? mpBuffer->mpBits : nullptr; in GetBuffer() 174 return mpBuffer->mpBits + (nY * mpBuffer->mnScanlineSize); in GetScanline() 176 return mpBuffer->mpBits + ((mpBuffer->mnHeight - 1 - nY) * mpBuffer->mnScanlineSize); in GetScanline() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/package/source/zipapi/ |
H A D | MemoryByteGrabber.hxx | 28 const sal_Int8 *mpBuffer; member in MemoryByteGrabber 32 : mpBuffer ( rBuffer.getConstArray() ) in MemoryByteGrabber() 59 sal_Int16 nInt16 = mpBuffer[mnCurrent++] & 0xFF; in ReadInt16() 60 nInt16 |= ( mpBuffer[mnCurrent++] & 0xFF ) << 8; in ReadInt16() 68 sal_Int32 nInt32 = mpBuffer[mnCurrent++] & 0xFF; in ReadInt32() 69 nInt32 |= ( mpBuffer[mnCurrent++] & 0xFF ) << 8; in ReadInt32() 70 nInt32 |= ( mpBuffer[mnCurrent++] & 0xFF ) << 16; in ReadInt32() 71 nInt32 |= ( mpBuffer[mnCurrent++] & 0xFF ) << 24; in ReadInt32() 81 nInt32 |= ( mpBuffer [mnCurrent++] & 0xFF ) << 8; in ReadUInt32() 82 nInt32 |= ( mpBuffer [mnCurrent++] & 0xFF ) << 16; in ReadUInt32() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/package/source/zipapi/ |
H A D | MemoryByteGrabber.hxx | 28 const sal_Int8 *mpBuffer; member in MemoryByteGrabber 32 : mpBuffer ( rBuffer.getConstArray() ) in MemoryByteGrabber() 59 sal_Int16 nInt16 = mpBuffer[mnCurrent++] & 0xFF; in ReadInt16() 60 nInt16 |= ( mpBuffer[mnCurrent++] & 0xFF ) << 8; in ReadInt16() 68 sal_Int32 nInt32 = mpBuffer[mnCurrent++] & 0xFF; in ReadInt32() 69 nInt32 |= ( mpBuffer[mnCurrent++] & 0xFF ) << 8; in ReadInt32() 70 nInt32 |= ( mpBuffer[mnCurrent++] & 0xFF ) << 16; in ReadInt32() 71 nInt32 |= ( mpBuffer[mnCurrent++] & 0xFF ) << 24; in ReadInt32() 81 nInt32 |= ( mpBuffer [mnCurrent++] & 0xFF ) << 8; in ReadUInt32() 82 nInt32 |= ( mpBuffer [mnCurrent++] & 0xFF ) << 16; in ReadUInt32() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/gdi/ |
H A D | bmpacc.cxx | 33 mpBuffer ( nullptr ), in BitmapInfoAccess() 57 if( !mpBuffer ) in BitmapInfoAccess() 75 if (mpBuffer && xImpBmp) in ~BitmapInfoAccess() 91 if (!mpBuffer) in BitmapReadAccess() 98 maColorMask = mpBuffer->maColorMask; in BitmapReadAccess() 105 mpBuffer = nullptr; in BitmapReadAccess() 251 if(mpBuffer && fX >= 0.0 && fY >= 0.0) in GetInterpolatedColorWithFallback() 256 if(nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetInterpolatedColorWithFallback() 306 …(nDeltaX && nDeltaY && nIndX >=0 && nIndY >= 0 && nIndX < mpBuffer->mnWidth && nIndY < mpBuffer->m… in GetInterpolatedColorWithFallback() 340 if(mpBuffer && fX >= 0.0 && fY >= 0.0) in GetColorWithFallback() [all …]
|
/dports/sysutils/boxbackup-devel/boxbackup-0.11_trunk_2979/lib/server/ |
H A D | Protocol.cpp | 111 mpBuffer(0), in Protocol() 134 if(mpBuffer != 0) in ~Protocol() 136 free(mpBuffer); in ~Protocol() 137 mpBuffer = 0; in ~Protocol() 382 mrStream.Write(mpBuffer, writtenSize); in Send() 396 if(mpBuffer != 0 && mBufferSize >= Size) in EnsureBufferAllocated() 403 if(mpBuffer != 0) in EnsureBufferAllocated() 406 void *b = realloc(mpBuffer, Size); in EnsureBufferAllocated() 411 mpBuffer = (char*)b; in EnsureBufferAllocated() 417 mpBuffer = (char*)malloc(Size); in EnsureBufferAllocated() [all …]
|
/dports/sysutils/boxbackup-devel/boxbackup-0.11_trunk_2979/lib/compress/ |
H A D | CompressStream.cpp | 115 mpBuffer(0), in CompressStream() 155 if(mpBuffer != 0) in ~CompressStream() 157 ::free(mpBuffer); in ~CompressStream() 158 mpBuffer = 0; in ~CompressStream() 208 void *pbuf = (mDecompressRead && mCompressWrite)?(((uint8_t*)mpBuffer) + BUFFER_SIZE):mpBuffer; in Read() 328 s = pCompress->Output(mpBuffer, BUFFER_SIZE, SyncFlush); in WriteCompressedData() 331 mpStream->Write(mpBuffer, s); in WriteCompressedData() 464 if(mpBuffer != 0) in CheckBuffer() 478 mpBuffer = ::malloc(size); in CheckBuffer() 479 if(mpBuffer == 0) in CheckBuffer()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/inc/ |
H A D | bitmapwriteaccess.hxx | 39 assert(mpBuffer && "Access is not valid!"); in SetPalette() 41 mpBuffer->maPalette = rPalette; in SetPalette() 46 assert(mpBuffer && "Access is not valid!"); in SetPaletteEntryCount() 48 mpBuffer->maPalette.SetEntryCount(nCount); in SetPaletteEntryCount() 53 assert(mpBuffer && "Access is not valid!"); in SetPaletteColor() 56 mpBuffer->maPalette[nColor] = rBitmapColor; in SetPaletteColor() 61 assert(mpBuffer && "Access is not valid!"); in SetPixel() 62 assert(nX < mpBuffer->mnWidth && "x-coordinate out of range!"); in SetPixel() 63 assert(nY < mpBuffer->mnHeight && "y-coordinate out of range!"); in SetPixel()
|
/dports/x11-toolkits/mygui-opengl/mygui-MyGUI3.4.0/Platforms/DirectX/DirectXPlatform/src/ |
H A D | MyGUI_DirectXVertexBuffer.cpp | 22 mpBuffer(nullptr) in DirectXVertexBuffer() 47 HRESULT result = mpBuffer->Lock(0, 0, (void**)&lockPtr, 0); in lock() 57 HRESULT result = mpBuffer->Unlock(); in unlock() 66 if (SUCCEEDED(mpD3DDevice->SetStreamSource(stream, mpBuffer, 0, sizeof(MyGUI::Vertex)))) in setToStream() 74 …bool created = SUCCEEDED(mpD3DDevice->CreateVertexBuffer(length, 0, 0, D3DPOOL_MANAGED, &mpBuffer,… in create() 80 if (mpBuffer) in destroy() 82 mpBuffer->Release(); in destroy() 83 mpBuffer = nullptr; in destroy()
|
/dports/x11-toolkits/mygui-dummy/mygui-MyGUI3.4.0/Platforms/DirectX/DirectXPlatform/src/ |
H A D | MyGUI_DirectXVertexBuffer.cpp | 22 mpBuffer(nullptr) in DirectXVertexBuffer() 47 HRESULT result = mpBuffer->Lock(0, 0, (void**)&lockPtr, 0); in lock() 57 HRESULT result = mpBuffer->Unlock(); in unlock() 66 if (SUCCEEDED(mpD3DDevice->SetStreamSource(stream, mpBuffer, 0, sizeof(MyGUI::Vertex)))) in setToStream() 74 …bool created = SUCCEEDED(mpD3DDevice->CreateVertexBuffer(length, 0, 0, D3DPOOL_MANAGED, &mpBuffer,… in create() 80 if (mpBuffer) in destroy() 82 mpBuffer->Release(); in destroy() 83 mpBuffer = nullptr; in destroy()
|
/dports/x11-toolkits/mygui/mygui-MyGUI3.4.0/Platforms/DirectX/DirectXPlatform/src/ |
H A D | MyGUI_DirectXVertexBuffer.cpp | 22 mpBuffer(nullptr) in DirectXVertexBuffer() 47 HRESULT result = mpBuffer->Lock(0, 0, (void**)&lockPtr, 0); in lock() 57 HRESULT result = mpBuffer->Unlock(); in unlock() 66 if (SUCCEEDED(mpD3DDevice->SetStreamSource(stream, mpBuffer, 0, sizeof(MyGUI::Vertex)))) in setToStream() 74 …bool created = SUCCEEDED(mpD3DDevice->CreateVertexBuffer(length, 0, 0, D3DPOOL_MANAGED, &mpBuffer,… in create() 80 if (mpBuffer) in destroy() 82 mpBuffer->Release(); in destroy() 83 mpBuffer = nullptr; in destroy()
|
/dports/x11-toolkits/mygui-ogre/mygui-MyGUI3.4.0/Platforms/DirectX/DirectXPlatform/src/ |
H A D | MyGUI_DirectXVertexBuffer.cpp | 22 mpBuffer(nullptr) in DirectXVertexBuffer() 47 HRESULT result = mpBuffer->Lock(0, 0, (void**)&lockPtr, 0); in lock() 57 HRESULT result = mpBuffer->Unlock(); in unlock() 66 if (SUCCEEDED(mpD3DDevice->SetStreamSource(stream, mpBuffer, 0, sizeof(MyGUI::Vertex)))) in setToStream() 74 …bool created = SUCCEEDED(mpD3DDevice->CreateVertexBuffer(length, 0, 0, D3DPOOL_MANAGED, &mpBuffer,… in create() 80 if (mpBuffer) in destroy() 82 mpBuffer->Release(); in destroy() 83 mpBuffer = nullptr; in destroy()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/inc/bitmap/ |
H A D | BitmapWriteAccess.hxx | 37 assert(mpBuffer && "Access is not valid!"); in SetPalette() 39 mpBuffer->maPalette = rPalette; in SetPalette() 44 assert(mpBuffer && "Access is not valid!"); in SetPaletteEntryCount() 46 mpBuffer->maPalette.SetEntryCount(nCount); in SetPaletteEntryCount() 51 assert(mpBuffer && "Access is not valid!"); in SetPaletteColor() 54 mpBuffer->maPalette[nColor] = rBitmapColor; in SetPaletteColor() 59 assert(mpBuffer && "Access is not valid!"); in SetPixel() 60 assert(nX < mpBuffer->mnWidth && "x-coordinate out of range!"); in SetPixel() 61 assert(nY < mpBuffer->mnHeight && "y-coordinate out of range!"); in SetPixel()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/bitmap/ |
H A D | BitmapInfoAccess.cxx | 27 : mpBuffer(nullptr) in BitmapInfoAccess() 47 mpBuffer = xImpBmp->AcquireBuffer(mnAccessMode); in BitmapInfoAccess() 49 if (!mpBuffer) in BitmapInfoAccess() 56 mpBuffer = xImpBmp->AcquireBuffer(mnAccessMode); in BitmapInfoAccess() 67 if (mpBuffer && xImpBmp) in ~BitmapInfoAccess() 69 xImpBmp->ReleaseBuffer(mpBuffer, mnAccessMode); in ~BitmapInfoAccess() 75 const BitmapBuffer* pBuffer = mpBuffer; in GetBestPaletteIndex()
|
H A D | BitmapReadAccess.cxx | 32 if (!mpBuffer) in BitmapReadAccess() 39 maColorMask = mpBuffer->maColorMask; in BitmapReadAccess() 41 mFncGetPixel = GetPixelFunction(mpBuffer->mnFormat); in BitmapReadAccess() 42 mFncSetPixel = SetPixelFunction(mpBuffer->mnFormat); in BitmapReadAccess() 46 xImpBmp->ReleaseBuffer(mpBuffer, mnAccessMode); in BitmapReadAccess() 47 mpBuffer = nullptr; in BitmapReadAccess() 144 if (mpBuffer && fX >= 0.0 && fY >= 0.0) in GetInterpolatedColorWithFallback() 149 if (nX < mpBuffer->mnWidth && nY < mpBuffer->mnHeight) in GetInterpolatedColorWithFallback() 200 && nIndY < mpBuffer->mnHeight) in GetInterpolatedColorWithFallback() 235 if (mpBuffer && fX >= 0.0 && fY >= 0.0) in GetColorWithFallback() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/tools/source/misc/ |
H A D | json_writer.cxx | 25 , mpBuffer(static_cast<char*>(malloc(mSpaceAllocated))) in JsonWriter() 27 , mPos(mpBuffer) in JsonWriter() 38 assert(!mpBuffer && "forgot to extract data?"); in ~JsonWriter() 39 free(mpBuffer); in ~JsonWriter() 414 int currentUsed = mPos - mpBuffer; in reallocBuffer() 417 memcpy(pNew, mpBuffer, currentUsed); in reallocBuffer() 418 free(mpBuffer); in reallocBuffer() 419 mpBuffer = pNew; in reallocBuffer() 420 mPos = mpBuffer + currentUsed; in reallocBuffer() 429 assert(mpBuffer && "data already extracted"); in extractData() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/window/ |
H A D | paint.cxx | 52 if (!pFrameData->mpBuffer) in PaintBufferGuard() 59 mbBackground = pFrameData->mpBuffer->IsBackground(); in PaintBufferGuard() 74 maSettings = pFrameData->mpBuffer->GetSettings(); in PaintBufferGuard() 84 pFrameData->mpBuffer->Push(nFlags); in PaintBufferGuard() 88 pFrameData->mpBuffer->SetFont(pWindow->GetFont()); in PaintBufferGuard() 111 if (!mpFrameData->mpBuffer) in ~PaintBufferGuard() 143 mpFrameData->mpBuffer->Pop(); in ~PaintBufferGuard() 144 mpFrameData->mpBuffer->SetSettings(maSettings); in ~PaintBufferGuard() 148 mpFrameData->mpBuffer->SetBackground(); in ~PaintBufferGuard() 158 if (mpFrameData->mpBuffer) in GetRenderContext() [all …]
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/window/ |
H A D | paint.cxx | 52 if (!pFrameData->mpBuffer) in PaintBufferGuard() 59 mbBackground = pFrameData->mpBuffer->IsBackground(); in PaintBufferGuard() 74 maSettings = pFrameData->mpBuffer->GetSettings(); in PaintBufferGuard() 84 pFrameData->mpBuffer->Push(nFlags); in PaintBufferGuard() 87 pFrameData->mpBuffer->SetFont(pWindow->GetFont()); in PaintBufferGuard() 110 if (!mpFrameData->mpBuffer) in ~PaintBufferGuard() 142 mpFrameData->mpBuffer->Pop(); in ~PaintBufferGuard() 143 mpFrameData->mpBuffer->SetSettings(maSettings); in ~PaintBufferGuard() 147 mpFrameData->mpBuffer->SetBackground(); in ~PaintBufferGuard() 157 if (mpFrameData->mpBuffer) in GetRenderContext() [all …]
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/canvas/source/tools/ |
H A D | page.hxx | 75 mpBuffer(), in PageFragment() 84 mpBuffer(), in PageFragment() 93 … setColorBuffer( const std::shared_ptr<IColorBuffer>& pColorBuffer ) { mpBuffer=pColorBuffer; } in setColorBuffer() 136 *mpBuffer ); in refresh() 142 std::shared_ptr<IColorBuffer> mpBuffer; member in canvas::PageFragment
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/canvas/source/tools/ |
H A D | page.hxx | 76 mpBuffer(), in PageFragment() 85 mpBuffer(), in PageFragment() 94 … setColorBuffer( const std::shared_ptr<IColorBuffer>& pColorBuffer ) { mpBuffer=pColorBuffer; } in setColorBuffer() 137 *mpBuffer ); in refresh() 143 std::shared_ptr<IColorBuffer> mpBuffer; member in canvas::PageFragment
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/vcl/source/filter/jpeg/ |
H A D | JpegWriter.cxx | 118 mpBuffer ( nullptr ), in JPEGWriter() 149 else if( mpBuffer ) in GetScanline() 153 sal_uInt8* pTmp = mpBuffer; in GetScanline() 184 pScanline = mpBuffer; in GetScanline() 246 …mpBuffer = new sal_uInt8[ AlignedWidth4Bytes( mbGreys ? mpReadAccess->Width() * 8L : mpReadAccess-… in Write() 254 delete[] mpBuffer; in Write() 255 mpBuffer = nullptr; in Write()
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/vcl/source/filter/jpeg/ |
H A D | JpegWriter.cxx | 114 mpBuffer ( nullptr ), in JPEGWriter() 145 else if( mpBuffer ) in GetScanline() 149 sal_uInt8* pTmp = mpBuffer; in GetScanline() 180 pScanline = mpBuffer; in GetScanline() 236 …mpBuffer = new sal_uInt8[ AlignedWidth4Bytes( mbGreys ? mpReadAccess->Width() * 8L : mpReadAccess-… in Write() 244 delete[] mpBuffer; in Write() 245 mpBuffer = nullptr; in Write()
|