/third_party/skia/third_party/externals/brotli/java/org/brotli/dec/ |
D | BrotliInputStream.java | 126 public int read(byte[] destBuffer, int destOffset, int destLen) throws IOException { in read() argument 127 if (destOffset < 0) { in read() 128 throw new IllegalArgumentException("Bad offset: " + destOffset); in read() 131 } else if (destOffset + destLen > destBuffer.length) { in read() 133 "Buffer overflow: " + (destOffset + destLen) + " > " + destBuffer.length); in read() 140 System.arraycopy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in read() 142 destOffset += copyLen; in read() 150 state.outputOffset = destOffset; in read()
|
/third_party/skia/third_party/externals/brotli/csharp/org/brotli/dec/ |
D | BrotliInputStream.cs | 141 public override int Read(byte[] destBuffer, int destOffset, int destLen) in Read() argument 143 if (destOffset < 0) in Read() 145 throw new System.ArgumentException("Bad offset: " + destOffset); in Read() 151 else if (destOffset + destLen > destBuffer.Length) in Read() 153 …throw new System.ArgumentException("Buffer overflow: " + (destOffset + destLen) + " > " + destBuff… in Read() 163 System.Array.Copy(buffer, bufferOffset, destBuffer, destOffset, copyLen); in Read() 165 destOffset += copyLen; in Read() 175 state.outputOffset = destOffset; in Read()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Blit9.cpp | 224 const gl::Offset &destOffset, in copy2D() argument 248 ANGLE_TRY(copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copy2D() 257 const gl::Offset &destOffset, in copyCube() argument 281 return copy(context9, source.Get(), nullptr, sourceRect, destFormat, destOffset, in copyCube() 290 const gl::Offset &destOffset, in copyTexture() argument 323 return copy(context9, sourceSurface.Get(), sourceTexture, sourceRect, destFormat, destOffset, in copyTexture() 332 const gl::Offset &destOffset, in copy() argument 352 RECT destRect = {destOffset.x, destOffset.y, in copy() 353 destOffset.x + (sourceRect.right - sourceRect.left), in copy() 354 destOffset.y + (sourceRect.bottom - sourceRect.top)}; in copy() [all …]
|
D | Blit9.h | 50 const gl::Offset &destOffset, 57 const gl::Offset &destOffset, 66 const gl::Offset &destOffset, 94 const gl::Offset &destOffset, 110 const gl::Offset &destOffset,
|
D | Image9.h | 43 const gl::Offset &destOffset, 83 const gl::Offset &destOffset, 98 const gl::Offset &destOffset,
|
D | Image9.cpp | 159 const gl::Offset &destOffset, in CopyImage() argument 203 destOffset.x * destD3DFormatInfo.pixelBytes + in CopyImage() 204 destOffset.y * destLocked.Pitch; in CopyImage() 556 const gl::Offset &destOffset, in copyFromRTInternal() argument 563 ASSERT(destOffset.z == 0); in copyFromRTInternal() 590 RECT destRect = {destOffset.x, destOffset.y, destOffset.x + width, destOffset.y + height}; in copyFromRTInternal() 781 const gl::Offset &destOffset, in copyFromFramebuffer() argument 791 return copyFromRTInternal(GetImplAs<Context9>(context), destOffset, sourceArea, renderTarget); in copyFromFramebuffer()
|
D | Renderer9.h | 181 const gl::Offset &destOffset, 188 const gl::Offset &destOffset, 196 const gl::Offset &destOffset, 203 const gl::Offset &destOffset, 214 const gl::Offset &destOffset, 274 const gl::Offset &destOffset,
|
D | Buffer9.cpp | 98 GLintptr destOffset, in copySubData() argument 105 memcpy(mMemory.data() + destOffset, sourceBuffer->mMemory.data() + sourceOffset, size); in copySubData()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Image11.cpp | 82 const gl::Offset &destOffset, in CopyImage() argument 110 uint8_t *destData = static_cast<uint8_t *>(destMapped.pData) + destOffset.x * destPixelBytes + in CopyImage() 111 destOffset.y * destMapped.RowPitch + destOffset.z * destMapped.DepthPitch; in CopyImage() 374 const gl::Offset &destOffset, in copyFromFramebuffer() argument 395 return copyWithoutConversion(context, destOffset, sourceBox, textureHelper, in copyFromFramebuffer() 406 GLsizei rowOffset = dxgiFormatInfo.pixelBytes * destOffset.x; in copyFromFramebuffer() 409 mappedImage.RowPitch * destOffset.y + rowOffset + in copyFromFramebuffer() 410 destOffset.z * mappedImage.DepthPitch; in copyFromFramebuffer() 452 const gl::Offset &destOffset, in copyWithoutConversion() argument 497 destOffset.x, destOffset.y, destOffset.z, in copyWithoutConversion() [all …]
|
D | Buffer11.cpp | 126 size_t destOffset, 170 size_t destOffset, 248 size_t destOffset, 282 size_t destOffset, 324 size_t destOffset, 477 GLintptr destOffset, in copySubData() argument 528 ANGLE_TRY(copyDest->copyFromStorage(context, copySource, sourceOffset, size, destOffset, in copySubData() 532 mSize = std::max<size_t>(mSize, destOffset + size); in copySubData() 1157 size_t destOffset, in copyFromStorage() argument 1160 size_t requiredSize = destOffset + size; in copyFromStorage() [all …]
|
D | Image11.h | 51 const gl::Offset &destOffset, 85 const gl::Offset &destOffset, 105 const gl::Offset &destOffset,
|
D | Renderer11.h | 139 const gl::Offset &destOffset, 146 const gl::Offset &destOffset, 154 const gl::Offset &destOffset, 161 const gl::Offset &destOffset, 172 const gl::Offset &destOffset, 232 const gl::Offset &destOffset, 530 const gl::Offset &destOffset,
|
D | Renderer11.cpp | 2473 const gl::Offset &destOffset, in copyImageInternal() argument 2497 gl::Box destArea(destOffset.x, destOffset.y, 0, sourceRect.width, sourceRect.height, 1); in copyImageInternal() 2543 const gl::Offset &destOffset, in copyImage2D() argument 2556 ANGLE_TRY(copyImageInternal(context, framebuffer, sourceRect, destFormat, destOffset, in copyImage2D() 2568 const gl::Offset &destOffset, in copyImageCube() argument 2582 ANGLE_TRY(copyImageInternal(context, framebuffer, sourceRect, destFormat, destOffset, in copyImageCube() 2594 const gl::Offset &destOffset, in copyImage3D() argument 2601 gl::ImageIndex index = gl::ImageIndex::Make3D(level, destOffset.z); in copyImage3D() 2607 ANGLE_TRY(copyImageInternal(context, framebuffer, sourceRect, destFormat, destOffset, in copyImage3D() 2619 const gl::Offset &destOffset, in copyImage2DArray() argument [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | TextureD3D.cpp | 1093 gl::Offset destOffset(clippedArea.x - sourceArea.x, clippedArea.y - sourceArea.y, 0); in copyImage() local 1100 ANGLE_TRY(mImageArray[index.getLevelIndex()]->copyFromFramebuffer(context, destOffset, in copyImage() 1113 destOffset, mTexStorage, index.getLevelIndex())); in copyImage() 1122 const gl::Offset &destOffset, in copySubImage() argument 1126 ASSERT(index.getTarget() == gl::TextureTarget::_2D && destOffset.z == 0); in copySubImage() 1134 const gl::Offset clippedOffset(destOffset.x + clippedArea.x - sourceArea.x, in copySubImage() 1135 destOffset.y + clippedArea.y - sourceArea.y, 0); in copySubImage() 1189 gl::Offset destOffset(0, 0, 0); in copyTexture() local 1199 internalFormatInfo.type, destOffset, mTexStorage, in copyTexture() 1213 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture() [all …]
|
D | RendererD3D.h | 209 const gl::Offset &destOffset, 216 const gl::Offset &destOffset, 224 const gl::Offset &destOffset, 231 const gl::Offset &destOffset, 242 const gl::Offset &destOffset, 303 const gl::Offset &destOffset,
|
D | TextureD3D.h | 273 const gl::Offset &destOffset, 288 const gl::Offset &destOffset, 405 const gl::Offset &destOffset, 420 const gl::Offset &destOffset, 538 const gl::Offset &destOffset, 553 const gl::Offset &destOffset, 668 const gl::Offset &destOffset, 683 const gl::Offset &destOffset, 796 const gl::Offset &destOffset,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | TextureMtl.h | 80 const gl::Offset &destOffset, 95 const gl::Offset &destOffset, 233 const gl::Offset &destOffset, 240 const gl::Offset &destOffset, 247 const gl::Offset &destOffset, 255 const gl::Offset &destOffset, 266 const gl::Offset &destOffset, 278 const gl::Offset &destOffset,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
D | BlitGL.h | 65 const gl::Offset &destOffset, 105 const gl::Offset &destOffset, 124 const gl::Offset &destOffset, 138 const gl::Offset &destOffset,
|
D | BlitGL.cpp | 302 const gl::Offset &destOffset, in copySubImageToLUMAWorkaroundTexture() argument 379 destOffset.x, destOffset.y, destOffset.z, 0, 0, in copySubImageToLUMAWorkaroundTexture() 386 ToGLenum(target), static_cast<GLint>(level), destOffset.x, in copySubImageToLUMAWorkaroundTexture() 387 destOffset.y, 0, 0, sourceArea.width, sourceArea.height)); in copySubImageToLUMAWorkaroundTexture() 569 const gl::Offset &destOffset, in copySubTexture() argument 628 context, gl::Rectangle(destOffset.x, destOffset.y, sourceArea.width, sourceArea.height))); in copySubTexture() 686 const gl::Offset &destOffset, in copySubTextureCPUReadback() argument 815 ToGLenum(destTarget), static_cast<GLint>(destLevel), destOffset.x, in copySubTextureCPUReadback() 816 destOffset.y, readPixelsArea.width, readPixelsArea.height, in copySubTextureCPUReadback() 829 const gl::Offset &destOffset, in copyTexSubImage() argument [all …]
|
D | BufferGL.cpp | 116 GLintptr destOffset, in copySubData() argument 131 sourceOffset, destOffset, size)); in copySubData() 136 memcpy(mShadowCopy.data() + destOffset, sourceGL->mShadowCopy.data() + sourceOffset, size); in copySubData()
|
D | TextureGL.cpp | 739 gl::Offset destOffset(clippedArea.x - sourceArea.x, clippedArea.y - sourceArea.y, 0); in copyImage() local 749 destOffset, clippedArea, source)); in copyImage() 769 gl::Rectangle(destOffset.x, destOffset.y, clippedArea.width, in copyImage() 776 ToGLenum(target), static_cast<GLint>(level), destOffset.x, in copyImage() 777 destOffset.y, clippedArea.x, clippedArea.y, in copyImage() 802 const gl::Offset &destOffset, in copySubImage() argument 822 gl::Offset clippedOffset(destOffset.x + clippedArea.x - sourceArea.x, in copySubImage() 823 destOffset.y + clippedArea.y - sourceArea.y, destOffset.z); in copySubImage() 910 const gl::Offset &destOffset, in copySubTexture() argument 921 return copySubTextureHelper(context, target, level, destOffset, sourceLevel, sourceBox.toRect(), in copySubTexture() [all …]
|
D | TextureGL.h | 110 const gl::Offset &destOffset, 125 const gl::Offset &destOffset, 135 const gl::Offset &destOffset,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/null/ |
D | BufferNULL.cpp | 85 GLintptr destOffset, in copySubData() argument 91 memcpy(mData.data() + destOffset, sourceNULL->mData.data() + sourceOffset, size); in copySubData()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/ |
D | TextureImpl.h | 89 const gl::Offset &destOffset, 104 const gl::Offset &destOffset, 155 const gl::Offset &destOffset,
|
D | TextureImpl.cpp | 35 const gl::Offset &destOffset, in copySubTexture() argument 107 const gl::Offset &destOffset, in copy3DSubTexture() argument
|