/third_party/node/test/fixtures/wpt/encoding/ |
D | encodeInto.any.js | 84 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/ |
D | LiteralByteStringTest.java | 117 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/ |
D | CommandEncoder.cpp | 381 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 …]
|
D | CommandEncoder.h | 48 uint64_t destinationOffset, 62 void APIClearBuffer(BufferBase* destination, uint64_t destinationOffset, uint64_t size); 73 uint64_t destinationOffset);
|
D | Commands.h | 129 uint64_t destinationOffset; member 221 uint64_t destinationOffset; member
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
D | QueryInternalShaderTests.cpp | 122 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/ |
D | LiteralByteStringTest.java | 134 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()
|
D | NioByteStringTest.java | 121 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/ |
D | DeviceNull.cpp | 85 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()
|
D | DeviceNull.h | 108 uint64_t destinationOffset, 225 uint64_t destinationOffset,
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPUCommandEncoder.cpp | 63 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()
|
D | GPUCommandEncoder.h | 42 interop::GPUSize64 destinationOffset, 67 interop::GPUSize64 destinationOffset) override;
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | DeviceD3D12.h | 77 uint64_t destinationOffset, 93 uint64_t destinationOffset, 100 uint64_t destinationOffset,
|
D | DeviceD3D12.cpp | 461 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()
|
D | CommandBufferD3D12.cpp | 105 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/ |
D | MtlBlitCommandEncoder.h | 54 destinationOffset: bufferOffset in copyFromTexture()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | CommandBufferMTL.mm | 738 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
|
D | DeviceMTL.mm | 395 uint64_t destinationOffset, 402 ->EnsureDataInitializedAsDestination(GetPendingCommandContext(), destinationOffset, 410 destinationOffset:destinationOffset
|
D | DeviceMTL.h | 65 uint64_t destinationOffset,
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | CommandBufferVk.cpp | 393 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()
|
D | DeviceVk.h | 92 uint64_t destinationOffset,
|
D | DeviceVk.cpp | 647 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/ |
D | DeviceGL.h | 69 uint64_t destinationOffset,
|
D | DeviceGL.cpp | 280 uint64_t destinationOffset, in CopyFromStagingToBuffer() argument
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlBuffer.mm | 120 destinationOffset: 0
|