Home
last modified time | relevance | path

Searched refs:destOffset (Results 1 – 25 of 118) sorted by relevance

12345

/external/brotli/java/org/brotli/dec/
DBrotliInputStream.java126 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()
/external/brotli/csharp/org/brotli/dec/
DBrotliInputStream.cs141 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()
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DBlit9.cpp224 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 …]
DBlit9.h50 const gl::Offset &destOffset,
57 const gl::Offset &destOffset,
66 const gl::Offset &destOffset,
94 const gl::Offset &destOffset,
110 const gl::Offset &destOffset,
DImage9.h43 const gl::Offset &destOffset,
83 const gl::Offset &destOffset,
98 const gl::Offset &destOffset,
DImage9.cpp159 const gl::Offset &destOffset, in CopyImage() argument
203 destOffset.x * destD3DFormatInfo.pixelBytes + in CopyImage()
204 destOffset.y * destLocked.Pitch; in CopyImage()
554 const gl::Offset &destOffset, in copyFromRTInternal() argument
561 ASSERT(destOffset.z == 0); in copyFromRTInternal()
588 RECT destRect = {destOffset.x, destOffset.y, destOffset.x + width, destOffset.y + height}; in copyFromRTInternal()
779 const gl::Offset &destOffset, in copyFromFramebuffer() argument
789 return copyFromRTInternal(GetImplAs<Context9>(context), destOffset, sourceArea, renderTarget); in copyFromFramebuffer()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DImage11.cpp82 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 …]
DImage11.h51 const gl::Offset &destOffset,
85 const gl::Offset &destOffset,
105 const gl::Offset &destOffset,
DBuffer11.cpp126 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()
1152 size_t destOffset, in copyFromStorage() argument
1155 size_t requiredSize = destOffset + size; in copyFromStorage()
[all …]
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpReadableBuffer.java56 public void readBytes(byte[] dest, int destOffset, int length) { in readBytes() argument
58 int bytesRead = buffer.read(dest, destOffset, length); in readBytes()
63 destOffset += bytesRead; in readBytes()
/external/opencensus-java/api/src/main/java/io/opencensus/trace/
DTraceOptions.java158 public void copyBytesTo(byte[] dest, int destOffset) { in copyBytesTo() argument
159 Utils.checkIndex(destOffset, dest.length); in copyBytesTo()
160 dest[destOffset] = options; in copyBytesTo()
DSpanId.java156 public void copyBytesTo(byte[] dest, int destOffset) { in copyBytesTo() argument
157 System.arraycopy(bytes, 0, dest, destOffset, SIZE); in copyBytesTo()
DTraceId.java157 public void copyBytesTo(byte[] dest, int destOffset) { in copyBytesTo() argument
158 System.arraycopy(bytes, 0, dest, destOffset, SIZE); in copyBytesTo()
/external/angle/src/libANGLE/renderer/d3d/
DTextureD3D.cpp1087 gl::Offset destOffset(clippedArea.x - sourceArea.x, clippedArea.y - sourceArea.y, 0); in copyImage() local
1094 ANGLE_TRY(mImageArray[index.getLevelIndex()]->copyFromFramebuffer(context, destOffset, in copyImage()
1107 destOffset, mTexStorage, index.getLevelIndex())); in copyImage()
1116 const gl::Offset &destOffset, in copySubImage() argument
1120 ASSERT(index.getTarget() == gl::TextureTarget::_2D && destOffset.z == 0); in copySubImage()
1128 const gl::Offset clippedOffset(destOffset.x + clippedArea.x - sourceArea.x, in copySubImage()
1129 destOffset.y + clippedArea.y - sourceArea.y, 0); in copySubImage()
1183 gl::Offset destOffset(0, 0, 0); in copyTexture() local
1193 internalFormatInfo.type, destOffset, mTexStorage, in copyTexture()
1207 ANGLE_TRY(mRenderer->copyImage(context, destImage, sourceImage, sourceBox, destOffset, in copyTexture()
[all …]
DRendererD3D.h209 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,
/external/angle/src/libANGLE/renderer/metal/
DTextureMtl.h80 const gl::Offset &destOffset,
95 const gl::Offset &destOffset,
232 const gl::Offset &destOffset,
239 const gl::Offset &destOffset,
246 const gl::Offset &destOffset,
254 const gl::Offset &destOffset,
265 const gl::Offset &destOffset,
277 const gl::Offset &destOffset,
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DAttributeResolution10.java132 int destOffset = 0; in ResolveAttrs() local
220 out_values[destOffset + STYLE_TYPE] = value.dataType; in ResolveAttrs()
221 out_values[destOffset + STYLE_DATA] = value.data; in ResolveAttrs()
222 out_values[destOffset + STYLE_ASSET_COOKIE] = ApkAssetsCookieToJavaCookie(cookie); in ResolveAttrs()
223 out_values[destOffset + STYLE_RESOURCE_ID] = resid; in ResolveAttrs()
224 out_values[destOffset + STYLE_CHANGING_CONFIGURATIONS] = type_set_flags; in ResolveAttrs()
225 out_values[destOffset + STYLE_DENSITY] = config.density; in ResolveAttrs()
232 destOffset += STYLE_NUM_ENTRIES; in ResolveAttrs()
DAttributeResolution9.java128 int destOffset = 0; in ResolveAttrs() local
216 out_values[destOffset + STYLE_TYPE] = value.dataType; in ResolveAttrs()
217 out_values[destOffset + STYLE_DATA] = value.data; in ResolveAttrs()
218 out_values[destOffset + STYLE_ASSET_COOKIE] = ApkAssetsCookieToJavaCookie(cookie); in ResolveAttrs()
219 out_values[destOffset + STYLE_RESOURCE_ID] = resid; in ResolveAttrs()
220 out_values[destOffset + STYLE_CHANGING_CONFIGURATIONS] = type_set_flags; in ResolveAttrs()
221 out_values[destOffset + STYLE_DENSITY] = config.density; in ResolveAttrs()
228 destOffset += STYLE_NUM_ENTRIES; in ResolveAttrs()
DAttributeResolution.java106 int destOffset = 0; in ResolveAttrs() local
202 outValues[destOffset + STYLE_TYPE] = value.dataType; in ResolveAttrs()
203 outValues[destOffset + STYLE_DATA] = value.data; in ResolveAttrs()
204 outValues[destOffset + STYLE_ASSET_COOKIE] = in ResolveAttrs()
206 outValues[destOffset + STYLE_RESOURCE_ID] = resid; in ResolveAttrs()
207 outValues[destOffset + STYLE_CHANGING_CONFIGURATIONS] = typeSetFlags; in ResolveAttrs()
208 outValues[destOffset + STYLE_DENSITY] = config.density; in ResolveAttrs()
215 destOffset += STYLE_NUM_ENTRIES; in ResolveAttrs()
/external/ms-tpm-20-ref/TPMCmd/Platform/src/
DNVMem.c347 unsigned int destOffset, // IN: destination offset in _plat__NvMemoryMove() argument
352 assert(destOffset + size <= NV_MEMORY_SIZE); in _plat__NvMemoryMove()
353 memmove(&s_NV[destOffset], &s_NV[sourceOffset], size); // Move data in RAM in _plat__NvMemoryMove()
/external/angle/src/libANGLE/renderer/gl/
DBlitGL.h65 const gl::Offset &destOffset,
105 const gl::Offset &destOffset,
124 const gl::Offset &destOffset,
138 const gl::Offset &destOffset,
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DReadableBuffers.java236 public void readBytes(byte[] dest, int destOffset, int length) { in readBytes() argument
238 bytes.get(dest, destOffset, length); in readBytes()
320 public int read(byte[] dest, int destOffset, int length) throws IOException { in read() argument
327 buffer.readBytes(dest, destOffset, length); in read()
DForwardingReadableBuffer.java65 public void readBytes(byte[] dest, int destOffset, int length) { in readBytes() argument
66 buf.readBytes(dest, destOffset, length); in readBytes()
/external/ms-tpm-20-ref/Samples/ARM32-FirmwareTPM/optee_ta/fTPM/platform/
DNVMem.c595 unsigned int destOffset, // IN: destination offset in _plat__NvMemoryMove() argument
600 pAssert(destOffset + size <= NV_CHIP_MEMORY_SIZE); in _plat__NvMemoryMove()
604 _plat__MarkDirtyBlocks(destOffset, size); in _plat__NvMemoryMove()
606 memmove(&s_NV[destOffset], &s_NV[sourceOffset], size); in _plat__NvMemoryMove()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscAssetManager.java744 int destOffset = 0; in resolveAttrs() local
898 int destOffset = 0; in retrieveArray() local
900 … while (destOffset < NV && destOffset < bagOff * STYLE_NUM_ENTRIES /*&& arrayEnt < endArrayEnt*/) { in retrieveArray()
901 bag_entry curArrayEnt = arrayEnt.get()[destOffset / STYLE_NUM_ENTRIES]; in retrieveArray()
932 dest[destOffset + STYLE_TYPE] = value.dataType; in retrieveArray()
933 dest[destOffset + STYLE_DATA] = value.data; in retrieveArray()
934 dest[destOffset + STYLE_ASSET_COOKIE] = res.getTableCookie(block); in retrieveArray()
935 dest[destOffset + STYLE_RESOURCE_ID] = resid.get(); in retrieveArray()
936 dest[destOffset + STYLE_CHANGING_CONFIGURATIONS] = typeSetFlags.get(); in retrieveArray()
937 dest[destOffset + STYLE_DENSITY] = config.get().density; in retrieveArray()
[all …]

12345