/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | TextureViewValidationTests.cpp | 34 wgpu::TextureDescriptor descriptor; in Create2DArrayTexture() local 35 descriptor.dimension = wgpu::TextureDimension::e2D; in Create2DArrayTexture() 36 descriptor.size.width = width; in Create2DArrayTexture() 37 descriptor.size.height = height; in Create2DArrayTexture() 38 descriptor.size.depthOrArrayLayers = arrayLayerCount; in Create2DArrayTexture() 39 descriptor.sampleCount = sampleCount; in Create2DArrayTexture() 40 descriptor.format = kDefaultTextureFormat; in Create2DArrayTexture() 41 descriptor.mipLevelCount = mipLevelCount; in Create2DArrayTexture() 42 descriptor.usage = wgpu::TextureUsage::TextureBinding; in Create2DArrayTexture() 43 return device.CreateTexture(&descriptor); in Create2DArrayTexture() [all …]
|
D | TextureValidationTests.cpp | 45 wgpu::TextureDescriptor descriptor; in CreateDefaultTextureDescriptor() local 46 descriptor.size.width = kWidth; in CreateDefaultTextureDescriptor() 47 descriptor.size.height = kHeight; in CreateDefaultTextureDescriptor() 48 descriptor.size.depthOrArrayLayers = kDefaultDepth; in CreateDefaultTextureDescriptor() 49 descriptor.mipLevelCount = kDefaultMipLevels; in CreateDefaultTextureDescriptor() 50 descriptor.sampleCount = kDefaultSampleCount; in CreateDefaultTextureDescriptor() 51 descriptor.dimension = wgpu::TextureDimension::e2D; in CreateDefaultTextureDescriptor() 52 descriptor.format = kDefaultTextureFormat; in CreateDefaultTextureDescriptor() 53 descriptor.usage = in CreateDefaultTextureDescriptor() 55 return descriptor; in CreateDefaultTextureDescriptor() [all …]
|
D | RenderPipelineValidationTests.cpp | 62 utils::ComboRenderPipelineDescriptor descriptor; in TEST_F() local 63 descriptor.vertex.module = vsModule; in TEST_F() 64 descriptor.cFragment.module = fsModule; in TEST_F() 66 device.CreateRenderPipeline(&descriptor); in TEST_F() 74 utils::ComboRenderPipelineDescriptor descriptor; in TEST_F() local 75 descriptor.vertex.module = vsModule; in TEST_F() 76 descriptor.cFragment.module = fsModule; in TEST_F() 77 descriptor.EnableDepthStencil(); in TEST_F() 78 device.CreateRenderPipeline(&descriptor); in TEST_F() 83 utils::ComboRenderPipelineDescriptor descriptor; in TEST_F() local [all …]
|
D | LabelTests.cpp | 28 wgpu::BindGroupDescriptor descriptor; in TEST_F() local 29 descriptor.layout = layout; in TEST_F() 30 descriptor.entryCount = 0; in TEST_F() 31 descriptor.entries = nullptr; in TEST_F() 35 wgpu::BindGroup bindGroup = device.CreateBindGroup(&descriptor); in TEST_F() 42 wgpu::BindGroup bindGroup = device.CreateBindGroup(&descriptor); in TEST_F() 50 descriptor.label = label.c_str(); in TEST_F() 51 wgpu::BindGroup bindGroup = device.CreateBindGroup(&descriptor); in TEST_F() 61 wgpu::BindGroupLayoutDescriptor descriptor = {}; in TEST_F() local 62 descriptor.entryCount = 0; in TEST_F() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | TextureValidationTests.cpp | 26 dawn::TextureDescriptor descriptor; in CreateDefaultTextureDescriptor() local 27 descriptor.size.width = kWidth; in CreateDefaultTextureDescriptor() 28 descriptor.size.height = kHeight; in CreateDefaultTextureDescriptor() 29 descriptor.size.depth = 1; in CreateDefaultTextureDescriptor() 30 descriptor.arrayLayerCount = kDefaultArraySize; in CreateDefaultTextureDescriptor() 31 descriptor.mipLevelCount = kDefaultMipLevels; in CreateDefaultTextureDescriptor() 32 descriptor.sampleCount = kDefaultSampleCount; in CreateDefaultTextureDescriptor() 33 descriptor.dimension = dawn::TextureDimension::e2D; in CreateDefaultTextureDescriptor() 34 descriptor.format = kDefaultTextureFormat; in CreateDefaultTextureDescriptor() 35 descriptor.usage = dawn::TextureUsageBit::OutputAttachment | dawn::TextureUsageBit::Sampled; in CreateDefaultTextureDescriptor() [all …]
|
D | TextureViewValidationTests.cpp | 34 dawn::TextureDescriptor descriptor; in Create2DArrayTexture() local 35 descriptor.dimension = dawn::TextureDimension::e2D; in Create2DArrayTexture() 36 descriptor.size.width = width; in Create2DArrayTexture() 37 descriptor.size.height = height; in Create2DArrayTexture() 38 descriptor.size.depth = 1; in Create2DArrayTexture() 39 descriptor.arrayLayerCount = arrayLayerCount; in Create2DArrayTexture() 40 descriptor.sampleCount = sampleCount; in Create2DArrayTexture() 41 descriptor.format = kDefaultTextureFormat; in Create2DArrayTexture() 42 descriptor.mipLevelCount = mipLevelCount; in Create2DArrayTexture() 43 descriptor.usage = dawn::TextureUsageBit::Sampled; in Create2DArrayTexture() [all …]
|
/third_party/protobuf/objectivec/Tests/ |
D | GPBDescriptorTests.m | 46 GPBDescriptor *testAllTypesDesc = [TestAllTypes descriptor]; 47 GPBDescriptor *nestedMessageDesc = [TestAllTypes_NestedMessage descriptor]; 54 GPBDescriptor *testAllTypesDesc = [TestAllTypes descriptor]; 56 GPBDescriptor *nestedMessageDesc = [TestAllTypes_NestedMessage descriptor]; 60 GPBDescriptor *descDesc = [GPBDescriptorProto descriptor]; 62 GPBDescriptor *descExtRngDesc = [GPBDescriptorProto_ExtensionRange descriptor]; 66 GPBDescriptor *pointDesc = [Point_Class descriptor]; 68 GPBDescriptor *pointRectDesc = [Point_Rect descriptor]; 73 GPBDescriptor *descriptor = [TestAllTypes descriptor]; 77 [descriptor fieldWithName:@"optionalNestedEnum"]; [all …]
|
/third_party/grpc/src/cpp/ext/filters/census/ |
D | views.cc | 59 auto descriptor = ViewDescriptor(); in MinuteDescriptor() local 61 &descriptor); in MinuteDescriptor() 62 return descriptor; in MinuteDescriptor() 66 auto descriptor = ViewDescriptor(); in HourDescriptor() local 68 &descriptor); in HourDescriptor() 69 return descriptor; in HourDescriptor() 91 const static ViewDescriptor descriptor = in ClientSentBytesPerRpcCumulative() local 97 return descriptor; in ClientSentBytesPerRpcCumulative() 101 const static ViewDescriptor descriptor = in ClientReceivedBytesPerRpcCumulative() local 107 return descriptor; in ClientReceivedBytesPerRpcCumulative() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Sampler.cpp | 25 MaybeError ValidateSamplerDescriptor(DeviceBase*, const SamplerDescriptor* descriptor) { in ValidateSamplerDescriptor() argument 26 DAWN_INVALID_IF(descriptor->nextInChain != nullptr, "nextInChain must be nullptr"); in ValidateSamplerDescriptor() 28 DAWN_INVALID_IF(std::isnan(descriptor->lodMinClamp) || std::isnan(descriptor->lodMaxClamp), in ValidateSamplerDescriptor() 29 "LOD clamp bounds [%f, %f] contain a NaN.", descriptor->lodMinClamp, in ValidateSamplerDescriptor() 30 descriptor->lodMaxClamp); in ValidateSamplerDescriptor() 32 DAWN_INVALID_IF(descriptor->lodMinClamp < 0 || descriptor->lodMaxClamp < 0, in ValidateSamplerDescriptor() 34 descriptor->lodMinClamp, descriptor->lodMaxClamp); in ValidateSamplerDescriptor() 36 DAWN_INVALID_IF(descriptor->lodMinClamp > descriptor->lodMaxClamp, in ValidateSamplerDescriptor() 38 descriptor->lodMinClamp, descriptor->lodMaxClamp); in ValidateSamplerDescriptor() 40 if (descriptor->maxAnisotropy > 1) { in ValidateSamplerDescriptor() [all …]
|
D | Texture.cpp | 35 const TextureViewDescriptor* descriptor) { in ValidateTextureViewFormatCompatibility() argument 36 if (texture->GetFormat().format != descriptor->format) { in ValidateTextureViewFormatCompatibility() 37 if (descriptor->aspect != wgpu::TextureAspect::All && in ValidateTextureViewFormatCompatibility() 38 texture->GetFormat().GetAspectInfo(descriptor->aspect).format == in ValidateTextureViewFormatCompatibility() 39 descriptor->format) { in ValidateTextureViewFormatCompatibility() 93 MaybeError ValidateSampleCount(const TextureDescriptor* descriptor, in ValidateSampleCount() argument 96 DAWN_INVALID_IF(!IsValidSampleCount(descriptor->sampleCount), in ValidateSampleCount() 98 descriptor->sampleCount); in ValidateSampleCount() 100 if (descriptor->sampleCount > 1) { in ValidateSampleCount() 101 DAWN_INVALID_IF(descriptor->mipLevelCount > 1, in ValidateSampleCount() [all …]
|
D | RenderPipeline.cpp | 197 const VertexState* descriptor, in ValidateVertexState() argument 199 DAWN_INVALID_IF(descriptor->nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateVertexState() 202 descriptor->bufferCount > kMaxVertexBuffers, in ValidateVertexState() 204 descriptor->bufferCount, kMaxVertexBuffers); in ValidateVertexState() 207 ValidateProgrammableStage(device, descriptor->module, descriptor->entryPoint, in ValidateVertexState() 208 descriptor->constantCount, descriptor->constants, layout, in ValidateVertexState() 210 "validating vertex stage (module: %s, entryPoint: %s).", descriptor->module, in ValidateVertexState() 211 descriptor->entryPoint); in ValidateVertexState() 213 descriptor->module->GetEntryPoint(descriptor->entryPoint); in ValidateVertexState() 217 for (uint32_t i = 0; i < descriptor->bufferCount; ++i) { in ValidateVertexState() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/java/ |
D | java_helpers.h | 68 const FieldDescriptor* descriptor, 96 std::string UniqueFileScopeIdentifier(const Descriptor* descriptor); 118 std::string ClassName(const Descriptor* descriptor); 119 std::string ClassName(const EnumDescriptor* descriptor); 120 std::string ClassName(const ServiceDescriptor* descriptor); 121 std::string ClassName(const FileDescriptor* descriptor); 125 std::string ExtraMessageInterfaces(const Descriptor* descriptor); 129 std::string ExtraMutableMessageInterfaces(const Descriptor* descriptor); 132 std::string ExtraBuilderInterfaces(const Descriptor* descriptor); 136 std::string ExtraMessageOrBuilderInterfaces(const Descriptor* descriptor); [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/ |
D | Texture.cpp | 29 const TextureViewDescriptor* descriptor) { in ValidateTextureViewFormatCompatibility() argument 30 if (texture->GetFormat().format != descriptor->format) { in ValidateTextureViewFormatCompatibility() 90 MaybeError ValidateSampleCount(const TextureDescriptor* descriptor, const Format* format) { in ValidateSampleCount() argument 91 if (!IsValidSampleCount(descriptor->sampleCount)) { in ValidateSampleCount() 95 if (descriptor->sampleCount > 1) { in ValidateSampleCount() 96 if (descriptor->mipLevelCount > 1) { in ValidateSampleCount() 103 if (descriptor->arrayLayerCount > 1) { in ValidateSampleCount() 118 const TextureViewDescriptor* descriptor) { in ValidateTextureViewDimensionCompatibility() argument 119 if (!IsArrayLayerValidForTextureViewDimension(descriptor->dimension, in ValidateTextureViewDimensionCompatibility() 120 descriptor->arrayLayerCount)) { in ValidateTextureViewDimensionCompatibility() [all …]
|
D | Device.h | 41 DeviceBase(AdapterBase* adapter, const DeviceDescriptor* descriptor); 72 const CommandBufferDescriptor* descriptor) = 0; 94 const BindGroupLayoutDescriptor* descriptor); 98 const ComputePipelineDescriptor* descriptor); 102 const PipelineLayoutDescriptor* descriptor); 106 const RenderPipelineDescriptor* descriptor); 109 ResultOrError<SamplerBase*> GetOrCreateSampler(const SamplerDescriptor* descriptor); 113 const ShaderModuleDescriptor* descriptor); 117 BindGroupBase* CreateBindGroup(const BindGroupDescriptor* descriptor); 118 BindGroupLayoutBase* CreateBindGroupLayout(const BindGroupLayoutDescriptor* descriptor); [all …]
|
D | Device.cpp | 60 DeviceBase::DeviceBase(AdapterBase* adapter, const DeviceDescriptor* descriptor) in DeviceBase() argument 127 const BindGroupLayoutDescriptor* descriptor) { in GetOrCreateBindGroupLayout() argument 128 BindGroupLayoutBase blueprint(this, descriptor, true); in GetOrCreateBindGroupLayout() 137 DAWN_TRY_ASSIGN(backendObj, CreateBindGroupLayoutImpl(descriptor)); in GetOrCreateBindGroupLayout() 148 const ComputePipelineDescriptor* descriptor) { in GetOrCreateComputePipeline() argument 149 ComputePipelineBase blueprint(this, descriptor, true); in GetOrCreateComputePipeline() 158 DAWN_TRY_ASSIGN(backendObj, CreateComputePipelineImpl(descriptor)); in GetOrCreateComputePipeline() 169 const PipelineLayoutDescriptor* descriptor) { in GetOrCreatePipelineLayout() argument 170 PipelineLayoutBase blueprint(this, descriptor, true); in GetOrCreatePipelineLayout() 179 DAWN_TRY_ASSIGN(backendObj, CreatePipelineLayoutImpl(descriptor)); in GetOrCreatePipelineLayout() [all …]
|
/third_party/protobuf/src/google/protobuf/compiler/csharp/ |
D | csharp_helpers.h | 78 std::string GetReflectionClassUnqualifiedName(const FileDescriptor* descriptor); 80 std::string GetExtensionClassUnqualifiedName(const FileDescriptor* descriptor); 82 std::string GetClassName(const EnumDescriptor* descriptor); 84 std::string GetFieldName(const FieldDescriptor* descriptor); 88 std::string GetPropertyName(const FieldDescriptor* descriptor); 110 std::string FileDescriptorToBase64(const FileDescriptor* descriptor); 112 FieldGeneratorBase* CreateFieldGenerator(const FieldDescriptor* descriptor, 116 std::string GetFullExtensionName(const FieldDescriptor* descriptor); 118 bool IsNullable(const FieldDescriptor* descriptor); 122 inline bool IsMapEntryMessage(const Descriptor* descriptor) { in IsMapEntryMessage() argument [all …]
|
D | csharp_helpers.cc | 114 std::string GetFileNamespace(const FileDescriptor* descriptor) { in GetFileNamespace() argument 115 if (descriptor->options().has_csharp_namespace()) { in GetFileNamespace() 116 return descriptor->options().csharp_namespace(); in GetFileNamespace() 118 return UnderscoresToCamelCase(descriptor->package(), true, true); in GetFileNamespace() 123 std::string GetFileNameBase(const FileDescriptor* descriptor) { in GetFileNameBase() argument 124 std::string proto_file = descriptor->name(); in GetFileNameBase() 130 std::string GetReflectionClassUnqualifiedName(const FileDescriptor* descriptor) { in GetReflectionClassUnqualifiedName() argument 133 return GetFileNameBase(descriptor) + "Reflection"; in GetReflectionClassUnqualifiedName() 136 std::string GetExtensionClassUnqualifiedName(const FileDescriptor* descriptor) { in GetExtensionClassUnqualifiedName() argument 139 return GetFileNameBase(descriptor) + "Extensions"; in GetExtensionClassUnqualifiedName() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | NonzeroTextureCreationTests.cpp | 31 dawn::TextureDescriptor descriptor; in TEST_P() local 32 descriptor.dimension = dawn::TextureDimension::e2D; in TEST_P() 33 descriptor.size.width = kSize; in TEST_P() 34 descriptor.size.height = kSize; in TEST_P() 35 descriptor.size.depth = 1; in TEST_P() 36 descriptor.arrayLayerCount = 1; in TEST_P() 37 descriptor.sampleCount = 1; in TEST_P() 38 descriptor.format = dawn::TextureFormat::RGBA8Unorm; in TEST_P() 39 descriptor.mipLevelCount = 1; in TEST_P() 40 descriptor.usage = dawn::TextureUsageBit::OutputAttachment | dawn::TextureUsageBit::CopySrc; in TEST_P() [all …]
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor_containers.h | 57 PyObject* NewMessageFieldsByName(const Descriptor* descriptor); 58 PyObject* NewMessageFieldsByCamelcaseName(const Descriptor* descriptor); 59 PyObject* NewMessageFieldsByNumber(const Descriptor* descriptor); 60 PyObject* NewMessageFieldsSeq(const Descriptor* descriptor); 62 PyObject* NewMessageNestedTypesSeq(const Descriptor* descriptor); 63 PyObject* NewMessageNestedTypesByName(const Descriptor* descriptor); 65 PyObject* NewMessageEnumsByName(const Descriptor* descriptor); 66 PyObject* NewMessageEnumsSeq(const Descriptor* descriptor); 67 PyObject* NewMessageEnumValuesByName(const Descriptor* descriptor); 69 PyObject* NewMessageExtensionsByName(const Descriptor* descriptor); [all …]
|
/third_party/e2fsprogs/tests/j_long_trans_mcsum_64bit/ |
D | expect | 22 Found expected sequence 1, type 1 (descriptor block) at block 1 23 Found expected sequence 1, type 1 (descriptor block) at block 64 24 Found expected sequence 1, type 1 (descriptor block) at block 127 25 Found expected sequence 1, type 1 (descriptor block) at block 190 26 Found expected sequence 1, type 1 (descriptor block) at block 253 27 Found expected sequence 1, type 1 (descriptor block) at block 316 28 Found expected sequence 1, type 1 (descriptor block) at block 379 29 Found expected sequence 1, type 1 (descriptor block) at block 442 30 Found expected sequence 1, type 1 (descriptor block) at block 505 31 Found expected sequence 1, type 1 (descriptor block) at block 568 [all …]
|
/third_party/e2fsprogs/tests/j_long_revoke_trans_mcsum_32bit/ |
D | expect | 23 Found expected sequence 1, type 1 (descriptor block) at block 1 24 Found expected sequence 1, type 1 (descriptor block) at block 64 25 Found expected sequence 1, type 1 (descriptor block) at block 127 26 Found expected sequence 1, type 1 (descriptor block) at block 190 27 Found expected sequence 1, type 1 (descriptor block) at block 253 28 Found expected sequence 1, type 1 (descriptor block) at block 316 29 Found expected sequence 1, type 1 (descriptor block) at block 379 30 Found expected sequence 1, type 1 (descriptor block) at block 442 31 Found expected sequence 1, type 1 (descriptor block) at block 505 32 Found expected sequence 1, type 1 (descriptor block) at block 568 [all …]
|
/third_party/e2fsprogs/tests/j_long_trans_mcsum_32bit/ |
D | expect | 23 Found expected sequence 1, type 1 (descriptor block) at block 1 24 Found expected sequence 1, type 1 (descriptor block) at block 64 25 Found expected sequence 1, type 1 (descriptor block) at block 127 26 Found expected sequence 1, type 1 (descriptor block) at block 190 27 Found expected sequence 1, type 1 (descriptor block) at block 253 28 Found expected sequence 1, type 1 (descriptor block) at block 316 29 Found expected sequence 1, type 1 (descriptor block) at block 379 30 Found expected sequence 1, type 1 (descriptor block) at block 442 31 Found expected sequence 1, type 1 (descriptor block) at block 505 32 Found expected sequence 1, type 1 (descriptor block) at block 568 [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | WindowSurfaceTests.cpp | 65 void AssertSurfaceCreation(const wgpu::SurfaceDescriptor* descriptor, bool succeeds) { in AssertSurfaceCreation() argument 66 ASSERT_EQ(mInstance.CreateSurface(descriptor).Get() != nullptr, succeeds); in AssertSurfaceCreation() 90 wgpu::SurfaceDescriptor descriptor; in TEST_F() local 91 descriptor.nextInChain = chainedDescriptor.get(); in TEST_F() 93 AssertSurfaceCreation(&descriptor, true); in TEST_F() 98 wgpu::SurfaceDescriptor descriptor; in TEST_F() local 99 descriptor.nextInChain = nullptr; // That's the default value but we set it for clarity. in TEST_F() 101 AssertSurfaceCreation(&descriptor, false); in TEST_F() 109 wgpu::SurfaceDescriptor descriptor; in TEST_F() local 110 descriptor.nextInChain = &chainedDescriptor; in TEST_F() [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | DeviceGL.cpp | 35 const DeviceDescriptor* descriptor, in Device() argument 37 : DeviceBase(adapter, descriptor), gl(functions) { in Device() 38 if (descriptor != nullptr) { in Device() 39 ApplyToggleOverrides(descriptor); in Device() 58 const BindGroupDescriptor* descriptor) { in CreateBindGroupImpl() argument 59 return new BindGroup(this, descriptor); in CreateBindGroupImpl() 62 const BindGroupLayoutDescriptor* descriptor) { in CreateBindGroupLayoutImpl() argument 63 return new BindGroupLayout(this, descriptor); in CreateBindGroupLayoutImpl() 65 ResultOrError<BufferBase*> Device::CreateBufferImpl(const BufferDescriptor* descriptor) { in CreateBufferImpl() argument 66 return new Buffer(this, descriptor); in CreateBufferImpl() [all …]
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | ExtensionSchemaFull.java | 96 int fieldNumber = extension.descriptor.getNumber(); in parseExtension() 98 if (extension.descriptor.isRepeated() && extension.descriptor.isPacked()) { in parseExtension() 100 switch (extension.descriptor.getLiteType()) { in parseExtension() 199 extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension() 213 "Type cannot be packed: " + extension.descriptor.getLiteType()); in parseExtension() 215 extensions.setField(extension.descriptor, value); in parseExtension() 219 if (extension.descriptor.getLiteType() == WireFormat.FieldType.ENUM) { in parseExtension() 221 Object enumValue = extension.descriptor.getEnumType().findValueByNumber(number); in parseExtension() 228 switch (extension.descriptor.getLiteType()) { in parseExtension() 287 if (extension.descriptor.isRepeated()) { in parseExtension() [all …]
|