Home
last modified time | relevance | path

Searched refs:destination (Results 1 – 25 of 1153) sorted by relevance

12345678910>>...47

/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DFieldMaskTreeTest.cs162 …private void Merge(FieldMaskTree tree, IMessage source, IMessage destination, FieldMask.MergeOptio… in Merge() argument
170 newDestination.MergeFrom(destination.ToByteString()); in Merge()
175 foreach (var fieldDescriptor in destination.Descriptor.Fields.InFieldNumberOrder()) in Merge()
177 fieldDescriptor.Accessor.Clear(destination); in Merge()
179 destination.MergeFrom(newDestination.ToByteString()); in Merge()
183 tree.Merge(source, destination, options); in Merge()
219 NestedTestAllTypes destination = new NestedTestAllTypes(); in Merge()
221 source, destination, options, useDynamicMessage); in Merge()
229 Assert.AreEqual(expected, destination); in Merge()
231 destination = new NestedTestAllTypes(); in Merge()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DQueueWriteTextureValidationTests.cpp96 wgpu::Texture destination = Create2DTexture({16, 16, 4}, 5, wgpu::TextureFormat::RGBA8Unorm, in TEST_F() local
102 TestWriteTexture(dataSize, 0, 256, 4, destination, 0, {0, 0, 0}, {4, 4, 1}); in TEST_F()
104 TestWriteTexture(dataSize, 0, 256, 4, destination, 0, {12, 12, 0}, {4, 4, 1}); in TEST_F()
106 TestWriteTexture(dataSize, 0, 256, 4, destination, 2, {0, 0, 0}, {4, 4, 1}); in TEST_F()
108 TestWriteTexture(dataSize, dataSize - 4, 256, 1, destination, 0, {0, 0, 0}, {1, 1, 1}); in TEST_F()
109 TestWriteTexture(dataSize, dataSize - 4, 256, wgpu::kCopyStrideUndefined, destination, in TEST_F()
116 TestWriteTexture(dataSize, 0, 256, 4, destination, 0, {0, 0, 0}, {3, 4, 1}); in TEST_F()
118 TestWriteTexture(dataSize, 0, 256, 3, destination, 0, {5, 7, 0}, {2, 3, 1}); in TEST_F()
120 TestWriteTexture(dataSize, 31 * 4, 256, 3, destination, 0, {0, 0, 0}, {3, 3, 1}); in TEST_F()
126 TestWriteTexture(dataSize, 0, 0, 0, destination, 0, {0, 0, 0}, {0, 0, 1}); in TEST_F()
[all …]
DCopyCommandsValidationTests.cpp203 wgpu::Texture destination = in TEST_F() local
208 TestBothTBCopiesExactBufferSize(256, 2, destination, wgpu::TextureFormat::RGBA8Unorm, {0, 0, 0}, in TEST_F()
212 TestBothTBCopiesExactBufferSize(256, 2, destination, wgpu::TextureFormat::RGBA8Unorm, {0, 0, 4}, in TEST_F()
216 TestBothTBCopiesExactBufferSize(256, 2, destination, wgpu::TextureFormat::RGBA8Unorm, {0, 0, 1}, in TEST_F()
220 TestBothTBCopiesExactBufferSize(256, 3, destination, wgpu::TextureFormat::RGBA8Unorm, {0, 0, 0}, in TEST_F()
224 TestBothTBCopiesExactBufferSize(512, 2, destination, wgpu::TextureFormat::RGBA8Unorm, {0, 0, 1}, in TEST_F()
235 wgpu::Buffer destination = CreateBuffer(16, wgpu::BufferUsage::CopyDst); in TEST_F() local
240 encoder.CopyBufferToBuffer(source, 0, destination, 0, 16); in TEST_F()
241 encoder.CopyBufferToBuffer(source, 8, destination, 0, 8); in TEST_F()
242 encoder.CopyBufferToBuffer(source, 0, destination, 8, 8); in TEST_F()
[all …]
DCopyTextureForBrowserTests.cpp75 wgpu::Texture destination = in TEST_F() local
82 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
86 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
90 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {8, 8, 0}, destination, 0, in TEST_F()
94 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 2, in TEST_F()
98 TestCopyTextureForBrowser(utils::Expectation::Success, source, 2, {0, 0, 0}, destination, 0, in TEST_F()
102 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
109 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
113 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
117 TestCopyTextureForBrowser(utils::Expectation::Success, source, 0, {0, 0, 0}, destination, 0, in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DQueryTests.cpp152 wgpu::Buffer destination = CreateResolveBuffer(kQueryCount * sizeof(uint64_t)); in TestOcclusionQueryWithDepthStencilTest() local
155 queue.WriteBuffer(destination, 0, &kSentinelValue, sizeof(kSentinelValue)); in TestOcclusionQueryWithDepthStencilTest()
169 encoder.ResolveQuerySet(querySet, 0, kQueryCount, destination, 0); in TestOcclusionQueryWithDepthStencilTest()
173 EXPECT_BUFFER(destination, 0, sizeof(uint64_t), new OcclusionExpectation(expected)); in TestOcclusionQueryWithDepthStencilTest()
181 wgpu::Buffer destination = CreateResolveBuffer(kQueryCount * sizeof(uint64_t)); in TestOcclusionQueryWithScissorTest() local
184 queue.WriteBuffer(destination, 0, &kSentinelValue, sizeof(kSentinelValue)); in TestOcclusionQueryWithScissorTest()
198 encoder.ResolveQuerySet(querySet, 0, kQueryCount, destination, 0); in TestOcclusionQueryWithScissorTest()
202 EXPECT_BUFFER(destination, 0, sizeof(uint64_t), new OcclusionExpectation(expected)); in TestOcclusionQueryWithScissorTest()
270 wgpu::Buffer destination = CreateResolveBuffer(kQueryCount * sizeof(uint64_t)); in TEST_P() local
273 queue.WriteBuffer(destination, 0, &kSentinelValue, sizeof(kSentinelValue)); in TEST_P()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandEncoder.cpp380 const BufferBase* destination, in ValidateQuerySetResolve() argument
394 destination, destinationOffset); in ValidateQuerySetResolve()
396 uint64_t bufferSize = destination->GetSize(); in ValidateQuerySetResolve()
405 querySet, static_cast<uint64_t>(queryCount) * sizeof(uint64_t), destination, in ValidateQuerySetResolve()
415 BufferBase* destination, in EncodeTimestampsToNanosecondsConversion() argument
451 encoder, destination, availabilityBuffer.Get(), paramsBuffer.Get()); in EncodeTimestampsToNanosecondsConversion()
650 BufferBase* destination, in APICopyBufferToBuffer() argument
658 DAWN_TRY(GetDevice()->ValidateObject(destination)); in APICopyBufferToBuffer()
660 DAWN_INVALID_IF(source == destination, in APICopyBufferToBuffer()
666 ValidateCopySizeFitsInBuffer(destination, destinationOffset, size), in APICopyBufferToBuffer()
[all …]
DQueue.cpp295 void QueueBase::APIWriteTexture(const ImageCopyTexture* destination, in APIWriteTexture() argument
301 WriteTextureInternal(destination, data, dataSize, *dataLayout, writeSize)); in APIWriteTexture()
304 MaybeError QueueBase::WriteTextureInternal(const ImageCopyTexture* destination, in WriteTextureInternal() argument
309 DAWN_TRY(ValidateWriteTexture(destination, dataSize, dataLayout, writeSize)); in WriteTextureInternal()
316 destination->texture->GetFormat().GetAspectInfo(destination->aspect).block; in WriteTextureInternal()
319 return WriteTextureImpl(*destination, data, layout, *writeSize); in WriteTextureInternal()
322 MaybeError QueueBase::WriteTextureImpl(const ImageCopyTexture& destination, in WriteTextureImpl() argument
326 const Format& format = destination.texture->GetFormat(); in WriteTextureImpl()
327 const TexelBlockInfo& blockInfo = format.GetAspectInfo(destination.aspect).block; in WriteTextureImpl()
354 textureCopy.texture = destination.texture; in WriteTextureImpl()
[all …]
DCopyTextureForBrowserHelper.cpp240 const ImageCopyTexture* destination, in ValidateCopyTextureForBrowser() argument
244 DAWN_TRY(device->ValidateObject(destination->texture)); in ValidateCopyTextureForBrowser()
248 DAWN_TRY_CONTEXT(ValidateImageCopyTexture(device, *destination, *copySize), in ValidateCopyTextureForBrowser()
253 DAWN_TRY_CONTEXT(ValidateTextureCopyRange(device, *destination, *copySize), in ValidateCopyTextureForBrowser()
256 DAWN_TRY(ValidateTextureToTextureCopyCommonRestrictions(*source, *destination, *copySize)); in ValidateCopyTextureForBrowser()
264 source->texture->GetSampleCount() > 1 || destination->texture->GetSampleCount() > 1, in ValidateCopyTextureForBrowser()
267 source->texture->GetSampleCount(), destination->texture->GetSampleCount()); in ValidateCopyTextureForBrowser()
272 DAWN_TRY(ValidateCanUseAs(destination->texture, wgpu::TextureUsage::CopyDst)); in ValidateCopyTextureForBrowser()
273 DAWN_TRY(ValidateCanUseAs(destination->texture, wgpu::TextureUsage::RenderAttachment)); in ValidateCopyTextureForBrowser()
276 destination->texture->GetFormat().format)); in ValidateCopyTextureForBrowser()
[all …]
DCommandEncoder.h47 BufferBase* destination,
51 const ImageCopyTexture* destination,
54 const ImageCopyBuffer* destination,
57 const ImageCopyTexture* destination,
60 const ImageCopyTexture* destination,
62 void APIClearBuffer(BufferBase* destination, uint64_t destinationOffset, uint64_t size);
72 BufferBase* destination,
92 const ImageCopyTexture* destination,
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DObjectBaseTests.cpp97 Object destination(source); in TEST() local
100 ASSERT_EQ(destination.Get(), &refcount); in TEST()
103 destination = Object(); in TEST()
112 Object destination; in TEST() local
113 destination = source; in TEST()
116 ASSERT_EQ(destination.Get(), &refcount); in TEST()
119 destination = Object(); in TEST()
128 Object destination; in TEST() local
130 destination = source; in TEST()
134 ASSERT_EQ(destination.Get(), &refcount); in TEST()
[all …]
DRefCountedTests.cpp140 Ref<RCTest> destination(source); in TEST() local
147 EXPECT_EQ(destination.Get(), original); in TEST()
153 destination = nullptr; in TEST()
165 Ref<RCTest> destination; in TEST() local
166 destination = source; in TEST()
169 EXPECT_EQ(destination.Get(), original); in TEST()
175 destination = nullptr; in TEST()
187 Ref<RCTest> destination(std::move(source)); in TEST() local
194 EXPECT_EQ(destination.Get(), original); in TEST()
197 destination = nullptr; in TEST()
[all …]
/third_party/node/deps/v8/src/compiler/backend/
Dgap-resolver.cc29 const LocationOperand& dst_loc = LocationOperand::cast(move->destination()); in Split()
106 destination_kinds.Add(GetKind(move->destination())); in Resolve()
108 move->destination().IsFPRegister()) { in Resolve()
110 LocationOperand::cast(move->destination()).representation()); in Resolve()
118 assembler_->AssembleMove(&move->source(), &move->destination()); in Resolve()
131 if (!move->IsEliminated() && move->destination().IsFloatRegister()) in Resolve()
139 if (!move->IsEliminated() && move->destination().IsDoubleRegister()) in Resolve()
166 InstructionOperand destination = move->destination(); in PerformMove() local
171 destination.IsFPLocationOperand(); in PerformMove()
180 if (other->source().InterferesWith(destination)) { in PerformMove()
[all …]
Dmove-optimizer.cc17 InstructionOperand destination; member
23 return a.destination.CompareCanonicalized(b.destination); in operator ()()
192 if (outputs.ContainsOpOrAlias(move->destination()) && in RemoveClobberedDestinations()
193 !inputs.ContainsOpOrAlias(move->destination())) { in RemoveClobberedDestinations()
202 if (!inputs.ContainsOpOrAlias(move->destination())) { in RemoveClobberedDestinations()
241 src_cant_be.InsertOp(move->destination()); in MigrateMoves()
249 if (!dst_cant_be.ContainsOpOrAlias(move->destination())) { in MigrateMoves()
250 MoveKey key = {move->source(), move->destination()}; in MigrateMoves()
265 src_cant_be.InsertOp(current->destination); in MigrateMoves()
275 MoveKey key = {move->source(), move->destination()}; in MigrateMoves()
[all …]
/third_party/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc339 RepeatedField<int> source, destination; in TEST() local
342 destination.Add(1); in TEST()
343 destination.Add(2); in TEST()
344 destination.Add(3); in TEST()
346 destination.MergeFrom(source); in TEST()
348 ASSERT_EQ(5, destination.size()); in TEST()
349 EXPECT_EQ(1, destination.Get(0)); in TEST()
350 EXPECT_EQ(2, destination.Get(1)); in TEST()
351 EXPECT_EQ(3, destination.Get(2)); in TEST()
352 EXPECT_EQ(4, destination.Get(3)); in TEST()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DQueueGL.cpp55 MaybeError Queue::WriteTextureImpl(const ImageCopyTexture& destination, in WriteTextureImpl() argument
59 DAWN_INVALID_IF(destination.aspect == wgpu::TextureAspect::StencilOnly, in WriteTextureImpl()
63 textureCopy.texture = destination.texture; in WriteTextureImpl()
64 textureCopy.mipLevel = destination.mipLevel; in WriteTextureImpl()
65 textureCopy.origin = destination.origin; in WriteTextureImpl()
67 SelectFormatAspects(destination.texture->GetFormat(), destination.aspect); in WriteTextureImpl()
70 if (IsCompleteSubresourceCopiedTo(destination.texture, writeSizePixel, in WriteTextureImpl()
71 destination.mipLevel)) { in WriteTextureImpl()
72 destination.texture->SetIsSubresourceContentInitialized(true, range); in WriteTextureImpl()
74 ToBackend(destination.texture)->EnsureSubresourceContentInitialized(range); in WriteTextureImpl()
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.1/mapped_types/
Dmapped_types_1.ts30 destination: string; property
37 destination: "earth",
44 Assert.equal(pt2.destination, undefined);
48 Assert.equal(pt2.destination, undefined);
52 Assert.equal(pt2.destination, undefined);
53 pt2 = { destination: "earth" };
56 Assert.equal(pt2.destination, "earth");
60 Assert.equal(pt2.destination, undefined);
61 pt2 = { name: "lwx", age: 27, destination: "nanj" };
64 Assert.equal(pt2.destination, "nanj");
/third_party/protobuf/csharp/src/Google.Protobuf/
DFieldMaskTree.cs231 public void Merge(IMessage source, IMessage destination, FieldMask.MergeOptions options) in Merge() argument
233 if (source.Descriptor != destination.Descriptor) in Merge()
243 Merge(root, "", source, destination, options); in Merge()
253 IMessage destination, in Merge() argument
256 if (source.Descriptor != destination.Descriptor) in Merge()
281 var destinationField = field.Accessor.GetValue(destination); in Merge()
294 field.Accessor.SetValue(destination, destinationField); in Merge()
306 field.Accessor.Clear(destination); in Merge()
310 var destinationField = (IList)field.Accessor.GetValue(destination); in Merge()
325 field.Accessor.Clear(destination); in Merge()
[all …]
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/
Dmove-file.js13 const moveFile = async (source, destination, options = {}, root = true, symlinks = []) => { argument
14 if (!source || !destination) {
23 if (!options.overwrite && await pathExists(destination)) {
24 throw new Error(`The destination file exists: ${destination}`)
27 await fs.mkdir(dirname(destination), { recursive: true })
30 await fs.rename(source, destination)
37 moveFile(join(source, file), join(destination, file), options, false, symlinks)
40 symlinks.push({ source, destination }) field
42 await fs.copyFile(source, destination)
50 await Promise.all(symlinks.map(async ({ source: symSource, destination: symDestination }) => { property
/third_party/skia/third_party/externals/oboe/src/fifo/
DFifoBuffer.cpp79 uint8_t *destination = reinterpret_cast<uint8_t *>(buffer); in read() local
88 memcpy(destination, source, static_cast<size_t>(numBytes)); in read()
89 destination += numBytes; in read()
97 memcpy(destination, source, static_cast<size_t>(numBytes)); in read()
104 memcpy(destination, source, static_cast<size_t>(numBytes)); in read()
123 uint8_t *destination = &mStorage[byteIndex]; in write() local
131 memcpy(destination, source, static_cast<size_t>(numBytes)); in write()
134 destination = &mStorage[0]; in write()
140 memcpy(destination, source, static_cast<size_t>(numBytes)); in write()
147 memcpy(destination, source, static_cast<size_t>(numBytes)); in write()
[all …]
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java240 void merge(Message source, Message.Builder destination, FieldMaskUtil.MergeOptions options) { in merge() argument
241 if (source.getDescriptorForType() != destination.getDescriptorForType()) { in merge()
247 merge(root, "", source, destination, options); in merge()
257 Message.Builder destination, in merge() argument
259 if (source.getDescriptorForType() != destination.getDescriptorForType()) { in merge()
263 source.getDescriptorForType(), destination.getDescriptorForType())); in merge()
286 if (!source.hasField(field) && !destination.hasField(field)) { in merge()
292 Message.Builder childBuilder = ((Message) destination.getField(field)).toBuilder(); in merge()
294 destination.setField(field, childBuilder.buildPartial()); in merge()
299 destination.setField(field, source.getField(field)); in merge()
[all …]
/third_party/protobuf/csharp/src/Google.Protobuf.Test/Compatibility/
DStreamExtensionsTest.cs55 Stream destination = new MemoryStream((int)source.Length); in CopyToTest()
56 source.CopyTo(destination); in CopyToTest()
57 destination.Seek(0, SeekOrigin.Begin); in CopyToTest()
59 Assert.AreEqual(0x31, destination.ReadByte()); in CopyToTest()
60 Assert.AreEqual(0x08, destination.ReadByte()); in CopyToTest()
61 Assert.AreEqual(0xFF, destination.ReadByte()); in CopyToTest()
62 Assert.AreEqual(0x00, destination.ReadByte()); in CopyToTest()
63 Assert.AreEqual(-1, destination.ReadByte()); in CopyToTest()
/third_party/node/deps/v8/src/torque/
Dcfg.cc129 void CfgAssembler::Poke(StackRange destination, StackRange origin, in Poke() argument
131 DCHECK_EQ(destination.Size(), origin.Size()); in Poke()
132 DCHECK_LE(destination.end(), origin.begin()); in Poke()
141 destination.begin() + i, in Poke()
191 Block* destination = instruction.Cast<GotoInstruction>().destination; in OptimizeCfg() local
192 if (destination == block) break; in OptimizeCfg()
193 if (cfg_.end() && *cfg_.end() == destination) break; in OptimizeCfg()
194 DCHECK_GT(predecessor_count[destination->id()], 0); in OptimizeCfg()
195 if (predecessor_count[destination->id()] != 1) break; in OptimizeCfg()
197 DCHECK_GT(destination->instructions().size(), 0); in OptimizeCfg()
[all …]
/third_party/node/deps/v8/src/codegen/
Dturbo-assembler.cc42 void TurboAssemblerBase::IndirectLoadConstant(Register destination, in IndirectLoadConstant() argument
53 LoadRoot(destination, root_index); in IndirectLoadConstant()
56 LoadRootRelative(destination, RootRegisterOffsetForBuiltin(builtin)); in IndirectLoadConstant()
61 LoadRootRelative(destination, RootRegisterOffsetForBuiltin(maybe_builtin_)); in IndirectLoadConstant()
71 LoadFromConstantsTable(destination, index); in IndirectLoadConstant()
76 Register destination, ExternalReference reference) { in IndirectLoadExternalReference() argument
84 LoadRootRegisterOffset(destination, offset); in IndirectLoadExternalReference()
88 destination, in IndirectLoadExternalReference()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUCommandEncoder.cpp62 interop::Interface<interop::GPUBuffer> destination, in copyBufferToBuffer() argument
70 !conv(dst, destination)) { in copyBufferToBuffer()
79 interop::GPUImageCopyTexture destination, in copyBufferToTexture() argument
87 !conv(dst, destination) || // in copyBufferToTexture()
97 interop::GPUImageCopyBuffer destination, in copyTextureToBuffer() argument
105 !conv(dst, destination) || // in copyTextureToBuffer()
115 interop::GPUImageCopyTexture destination, in copyTextureToTexture() argument
123 !conv(dst, destination) || // in copyTextureToTexture()
160 interop::Interface<interop::GPUBuffer> destination, in resolveQuerySet() argument
173 !conv(b, destination) || // in resolveQuerySet()
/third_party/skia/third_party/externals/sfntly/cpp/tools/
Dgenerate_font_data_xml.py65 if args.destination is not None:
67 os.stat(args.destination)
69 os.mkdir(args.destination)
70 args.destination = FixPath(args.destination)
83 args.destination)

12345678910>>...47