Home
last modified time | relevance | path

Searched refs:destinationOffset (Results 1 – 25 of 30) sorted by relevance

12

/third_party/node/test/fixtures/wpt/encoding/
DencodeInto.any.js84 const destinationOffset = destinationData.destinationOffset; constant
89 const view = new Uint8Array(buffer, destinationOffset, destinationLength);
112 if (i < destinationOffset || i >= (destinationOffset + testData.written.length)) {
115 assert_equals(fullView[i], testData.written[i - destinationOffset]);
118 …ngth " + testData.destinationLength + ", offset " + destinationData.destinationOffset + ", filler …
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DLiteralByteStringTest.java117 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLength() local
119 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLength()
121 stringUnderTest.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength()
124 stillEqual = referenceBytes[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength()
130 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLengthErrors() local
132 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLengthErrors()
137 destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
146 stringUnderTest.copyTo(destination, -1, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandEncoder.cpp381 uint64_t destinationOffset) { in ValidateQuerySetResolve() argument
392 DAWN_INVALID_IF(destinationOffset % 256 != 0, in ValidateQuerySetResolve()
394 destination, destinationOffset); in ValidateQuerySetResolve()
399 bool fitsInBuffer = destinationOffset <= bufferSize && in ValidateQuerySetResolve()
401 (bufferSize - destinationOffset)); in ValidateQuerySetResolve()
406 bufferSize, destinationOffset); in ValidateQuerySetResolve()
416 uint64_t destinationOffset) { in EncodeTimestampsToNanosecondsConversion() argument
438 static_cast<uint32_t>(destinationOffset), in EncodeTimestampsToNanosecondsConversion()
651 uint64_t destinationOffset, in APICopyBufferToBuffer() argument
666 ValidateCopySizeFitsInBuffer(destination, destinationOffset, size), in APICopyBufferToBuffer()
[all …]
DCommandEncoder.h48 uint64_t destinationOffset,
62 void APIClearBuffer(BufferBase* destination, uint64_t destinationOffset, uint64_t size);
73 uint64_t destinationOffset);
DCommands.h129 uint64_t destinationOffset; member
221 uint64_t destinationOffset; member
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DQueryInternalShaderTests.cpp122 void RunTest(uint32_t firstQuery, uint32_t queryCount, uint32_t destinationOffset) { in RunTest() argument
123 ASSERT(destinationOffset % 256 == 0); in RunTest()
125 uint64_t size = queryCount * sizeof(uint64_t) + destinationOffset; in RunTest()
137 uint32_t start = destinationOffset / sizeof(uint64_t); in RunTest()
150 dawn_native::TimestampParams params = {firstQuery, queryCount, destinationOffset, kPeriod}; in RunTest()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DLiteralByteStringTest.java134 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLength() local
136 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLength()
138 stringUnderTest.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength()
141 stillEqual = referenceBytes[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength()
147 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLengthErrors() local
149 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLengthErrors()
154 destination, stringUnderTest.size() + 1 - length, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
162 stringUnderTest.copyTo(destination, -1, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
DNioByteStringTest.java121 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLength() local
123 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLength()
125 testString.copyTo(destination, sourceOffset, destinationOffset, length); in testCopyTo_ByteArrayOffsetLength()
128 stillEqual = BYTES[i + sourceOffset] == destination[i + destinationOffset]; in testCopyTo_ByteArrayOffsetLength()
134 int destinationOffset = 50; in testCopyTo_ByteArrayOffsetLengthErrors() local
136 byte[] destination = new byte[destinationOffset + length]; in testCopyTo_ByteArrayOffsetLengthErrors()
140 testString.copyTo(destination, testString.size() + 1 - length, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
148 testString.copyTo(destination, -1, destinationOffset, length); in testCopyTo_ByteArrayOffsetLengthErrors()
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp85 destination->CopyFromStaging(staging, sourceOffset, destinationOffset, size); in Execute()
91 uint64_t destinationOffset; member
200 uint64_t destinationOffset, in CopyFromStagingToBuffer() argument
210 operation->destinationOffset = destinationOffset; in CopyFromStagingToBuffer()
310 uint64_t destinationOffset, in CopyFromStaging() argument
313 memcpy(mBackingData.get() + destinationOffset, ptr + sourceOffset, size); in CopyFromStaging()
DDeviceNull.h108 uint64_t destinationOffset,
225 uint64_t destinationOffset,
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUCommandEncoder.cpp63 interop::GPUSize64 destinationOffset, in copyBufferToBuffer() argument
74 enc_.CopyBufferToBuffer(src, sourceOffset, dst, destinationOffset, size); in copyBufferToBuffer()
161 interop::GPUSize64 destinationOffset) { in resolveQuerySet() argument
174 !conv(o, destinationOffset)) { in resolveQuerySet()
DGPUCommandEncoder.h42 interop::GPUSize64 destinationOffset,
67 interop::GPUSize64 destinationOffset) override;
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DDeviceD3D12.h77 uint64_t destinationOffset,
93 uint64_t destinationOffset,
100 uint64_t destinationOffset,
DDeviceD3D12.cpp461 uint64_t destinationOffset, in CopyFromStagingToBuffer() argument
470 commandRecordingContext, destinationOffset, size)); in CopyFromStagingToBuffer()
474 destinationOffset, size); in CopyFromStagingToBuffer()
483 uint64_t destinationOffset, in CopyFromStagingToBufferImpl() argument
491 dstBuffer->GetD3D12Resource(), destinationOffset, srcBuffer->GetResource(), in CopyFromStagingToBufferImpl()
DCommandBufferD3D12.cpp105 uint64_t destinationOffset) { in RecordResolveQuerySetCmd() argument
127 destinationOffset + (resolveQueryIndex - firstQuery) * sizeof(uint64_t); in RecordResolveQuerySetCmd()
721 commandContext, copy->destinationOffset, copy->size)); in RecordCommands()
730 dstBuffer->GetD3D12Resource(), copy->destinationOffset, in RecordCommands()
949 uint64_t destinationOffset = cmd->destinationOffset; in RecordCommands() local
953 commandContext, destinationOffset, in RecordCommands()
966 destinationOffset, in RecordCommands()
974 destination, destinationOffset); in RecordCommands()
/third_party/skia/experimental/graphite/src/mtl/
DMtlBlitCommandEncoder.h54 destinationOffset: bufferOffset in copyFromTexture()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm738 copy->destinationOffset, copy->size);
744 destinationOffset:copy->destinationOffset
817 destinationOffset:bufferOffset
838 destinationOffset:bufferOffset
943 commandContext, cmd->destinationOffset, cmd->queryCount * sizeof(uint64_t));
950 destinationOffset:NSUInteger(cmd->destinationOffset)
958 destinationOffset:NSUInteger(cmd->destinationOffset)];
1034 destinationOffset:offset
DDeviceMTL.mm395 uint64_t destinationOffset,
402 ->EnsureDataInitializedAsDestination(GetPendingCommandContext(), destinationOffset,
410 destinationOffset:destinationOffset
DDeviceMTL.h65 uint64_t destinationOffset,
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp393 uint64_t destinationOffset) { in RecordResolveQuerySetCmd() argument
415 destinationOffset + (resolveQueryIndex - firstQuery) * sizeof(uint64_t); in RecordResolveQuerySetCmd()
535 recordingContext, copy->destinationOffset, copy->size); in RecordCommands()
542 region.dstOffset = copy->destinationOffset; in RecordCommands()
763 recordingContext, cmd->destinationOffset, in RecordCommands()
777 cmd->destinationOffset, in RecordCommands()
785 cmd->queryCount, destination, cmd->destinationOffset); in RecordCommands()
DDeviceVk.h92 uint64_t destinationOffset,
DDeviceVk.cpp647 uint64_t destinationOffset, in CopyFromStagingToBuffer() argument
656 ->EnsureDataInitializedAsDestination(recordingContext, destinationOffset, size); in CopyFromStagingToBuffer()
668 copy.dstOffset = destinationOffset; in CopyFromStagingToBuffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DDeviceGL.h69 uint64_t destinationOffset,
DDeviceGL.cpp280 uint64_t destinationOffset, in CopyFromStagingToBuffer() argument
/third_party/skia/src/gpu/mtl/
DGrMtlBuffer.mm120 destinationOffset: 0

12