/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | CodedInputStreamTest.java | 191 for (InputType inputType : InputType.values()) { in assertReadVarint() 194 CodedInputStream input = inputType.newDecoder(data, blockSize); in assertReadVarint() 195 assertEquals(inputType.name(), (int) value, input.readRawVarint32()); in assertReadVarint() 196 assertDataConsumed(inputType.name(), data, input); in assertReadVarint() 198 input = inputType.newDecoder(data, blockSize); in assertReadVarint() 199 assertEquals(inputType.name(), value, input.readRawVarint64()); in assertReadVarint() 200 assertDataConsumed(inputType.name(), data, input); in assertReadVarint() 202 input = inputType.newDecoder(data, blockSize); in assertReadVarint() 203 assertEquals(inputType.name(), value, input.readRawVarint64SlowPath()); in assertReadVarint() 204 assertDataConsumed(inputType.name(), data, input); in assertReadVarint() [all …]
|
/external/llvm-project/mlir/lib/Dialect/Quant/Utils/ |
D | UniformSupport.cpp | 16 static bool isQuantizablePrimitiveType(Type inputType) { in isQuantizablePrimitiveType() argument 17 return inputType.isa<FloatType>(); in isQuantizablePrimitiveType() 21 ExpressedToQuantizedConverter::forInputType(Type inputType) { in forInputType() argument 22 if (inputType.isa<TensorType, VectorType>()) { in forInputType() 23 Type elementType = inputType.cast<ShapedType>().getElementType(); in forInputType() 25 return ExpressedToQuantizedConverter{inputType, nullptr}; in forInputType() 26 return ExpressedToQuantizedConverter{inputType, elementType}; in forInputType() 29 if (isQuantizablePrimitiveType(inputType)) in forInputType() 30 return ExpressedToQuantizedConverter{inputType, inputType}; in forInputType() 32 return ExpressedToQuantizedConverter{inputType, nullptr}; in forInputType() [all …]
|
/external/skia/modules/svg/src/ |
D | SkSVGFilterContext.cpp | 68 const SkSVGRenderContext& ctx, const SkSVGFeInputType& inputType) const { in getInput() 71 switch (inputType.type()) { in getInput() 102 const Result* res = findResultById(inputType.id()); in getInput() 115 SkDebugf("unhandled filter input type %d\n", inputType.type()); in getInput() 123 const SkSVGRenderContext& ctx, const SkSVGFeInputType& inputType) const { in resolveInputColorspace() 124 return std::get<1>(this->getInput(ctx, inputType)); in resolveInputColorspace() 128 const SkSVGFeInputType& inputType) const { in resolveInput() 129 return std::get<0>(this->getInput(ctx, inputType)); in resolveInput() 133 const SkSVGFeInputType& inputType, in resolveInput() argument 135 auto [result, inputCS] = this->getInput(ctx, inputType); in resolveInput()
|
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_write_image.cpp | 29 ExplicitType inputType, MTdata d); 33 ExplicitType inputType, MTdata d); 38 ExplicitType inputType, MTdata d); 43 ExplicitType inputType, MTdata d); 72 image_descriptor *imageInfo, ExplicitType inputType, MTdata d ) in test_write_image() argument 118 create_random_image_data( inputType, imageInfo, imageValues, d, gTestImage2DFromBuffer ); in test_write_image() 122 …if( inputType == kFloat && imageInfo->format->image_channel_data_type != CL_FLOAT && imageInfo->fo… in test_write_image() 206 else if( inputType == kUInt ) in test_write_image() 240 … create_random_image_data( inputType, imageInfo, maxImageUseHostPtrBackingStore, d ); in test_write_image() 350 get_explicit_type_size(inputType) * channel_scale in test_write_image() [all …]
|
D | test_write_1D.cpp | 45 image_descriptor *imageInfo, ExplicitType inputType, MTdata d ) in test_write_image_1D() argument 87 create_random_image_data( inputType, imageInfo, imageValues, d ); in test_write_image_1D() 91 …if( inputType == kFloat && imageInfo->format->image_channel_data_type != CL_FLOAT && imageInfo->fo… in test_write_image_1D() 174 else if( inputType == kUInt ) in test_write_image_1D() 195 create_random_image_data( inputType, imageInfo, maxImageUseHostPtrBackingStore, d ); in test_write_image_1D() 271 get_explicit_type_size(inputType) * 4 in test_write_image_1D() 314 if( inputType == kFloat ) in test_write_image_1D() 316 else if( inputType == kInt ) in test_write_image_1D() 386 if( inputType == kFloat ) in test_write_image_1D() 509 imagePtr += get_explicit_type_size( inputType ) * 4; in test_write_image_1D() [all …]
|
D | test_write_2D_array.cpp | 75 image_descriptor *imageInfo, ExplicitType inputType, MTdata d ) in test_write_image_2D_array() argument 120 create_random_image_data( inputType, imageInfo, imageValues, d ); in test_write_image_2D_array() 124 if( inputType == kFloat && imageInfo->format->image_channel_data_type != CL_FLOAT ) in test_write_image_2D_array() 213 else if( inputType == kUInt ) in test_write_image_2D_array() 231 create_random_image_data( inputType, imageInfo, maxImageUseHostPtrBackingStore, d ); in test_write_image_2D_array() 306 get_explicit_type_size(inputType) * 4 * width_lod in test_write_image_2D_array() 355 if( inputType == kFloat ) in test_write_image_2D_array() 357 else if( inputType == kInt ) in test_write_image_2D_array() 429 if( inputType == kFloat ) in test_write_image_2D_array() 554 …imagePtr += get_explicit_type_size( inputType ) * (( imageInfo->format->image_channel_order == CL_… in test_write_image_2D_array() [all …]
|
D | test_write_1D_array.cpp | 52 image_descriptor *imageInfo, ExplicitType inputType, MTdata d ) in test_write_image_1D_array() argument 97 create_random_image_data( inputType, imageInfo, imageValues, d ); in test_write_image_1D_array() 101 …if( inputType == kFloat && imageInfo->format->image_channel_data_type != CL_FLOAT && imageInfo->fo… in test_write_image_1D_array() 185 else if( inputType == kUInt ) in test_write_image_1D_array() 206 create_random_image_data( inputType, imageInfo, maxImageUseHostPtrBackingStore, d ); in test_write_image_1D_array() 286 get_explicit_type_size(inputType) * 4 in test_write_image_1D_array() 334 if( inputType == kFloat ) in test_write_image_1D_array() 336 else if( inputType == kInt ) in test_write_image_1D_array() 406 if( inputType == kFloat ) in test_write_image_1D_array() 529 imagePtr += get_explicit_type_size( inputType ) * 4; in test_write_image_1D_array() [all …]
|
D | test_write_3D.cpp | 77 image_descriptor *imageInfo, ExplicitType inputType, MTdata d ) in test_write_image_3D() argument 123 create_random_image_data( inputType, imageInfo, imageValues, d ); in test_write_image_3D() 127 if( inputType == kFloat && imageInfo->format->image_channel_data_type != CL_FLOAT ) in test_write_image_3D() 217 else if( inputType == kUInt ) in test_write_image_3D() 235 create_random_image_data( inputType, imageInfo, maxImageUseHostPtrBackingStore, d ); in test_write_image_3D() 312 get_explicit_type_size(inputType) * 4 * width_lod in test_write_image_3D() 362 if( inputType == kFloat ) in test_write_image_3D() 364 else if( inputType == kInt ) in test_write_image_3D() 436 if( inputType == kFloat ) in test_write_image_3D() 561 imagePtr += get_explicit_type_size( inputType ) * 4; in test_write_image_3D() [all …]
|
/external/llvm-project/mlir/lib/Dialect/Tosa/Utils/ |
D | QuantUtils.cpp | 105 auto inputType = input.getType().dyn_cast<RankedTensorType>(); in buildConvOpQuantizationAttr() local 108 if (!inputType || !weightType) in buildConvOpQuantizationAttr() 111 auto inputQType = GET_UQTYPE(inputType); in buildConvOpQuantizationAttr() 190 auto inputType = input.getType().dyn_cast<RankedTensorType>(); in buildUnaryOpQuantizationAttr() local 193 if (!inputType || !outputType) in buildUnaryOpQuantizationAttr() 196 auto inputQType = GET_UQTYPE(inputType); in buildUnaryOpQuantizationAttr() 223 auto inputType = input.getType().dyn_cast<RankedTensorType>(); in buildPadOpQuantizationAttr() local 225 if (!inputType) in buildPadOpQuantizationAttr() 228 auto inputQType = GET_UQTYPE(inputType); in buildPadOpQuantizationAttr() 248 auto inputType = input.getType().dyn_cast<RankedTensorType>(); in buildConvOpResultTypeInfo() local [all …]
|
/external/llvm-project/mlir/examples/toy/Ch3/mlir/ |
D | Dialect.cpp | 212 auto inputType = *op.operand_type_begin(); in verify() local 216 if (inputType == resultType || inputType.isa<mlir::UnrankedTensorType>() || in verify() 220 return op.emitError() << "type of return operand (" << inputType in verify() 235 auto inputType = op.getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local 237 if (!inputType || !resultType) in verify() 240 auto inputShape = inputType.getShape(); in verify()
|
/external/llvm-project/mlir/examples/toy/Ch2/mlir/ |
D | Dialect.cpp | 212 auto inputType = *op.operand_type_begin(); in verify() local 216 if (inputType == resultType || inputType.isa<mlir::UnrankedTensorType>() || in verify() 220 return op.emitError() << "type of return operand (" << inputType in verify() 235 auto inputType = op.getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local 237 if (!inputType || !resultType) in verify() 240 auto inputShape = inputType.getShape(); in verify()
|
/external/deqp/modules/glshared/ |
D | glsDrawTest.cpp | 996 …::setupArray (bool bound, int offset, int size, DrawTestSpec::InputType inputType, DrawTestSpec::O… in setupArray() argument 1000 m_inputType = inputType; in setupArray() 2041 DrawTestSpec::AttributeSpec DrawTestSpec::AttributeSpec::createAttributeArray (InputType inputType,… in createAttributeArray() argument 2045 spec.inputType = inputType; in createAttributeArray() 2060 …buteSpec DrawTestSpec::AttributeSpec::createDefaultAttribute (InputType inputType, OutputType outp… in createDefaultAttribute() argument 2062 …DE_ASSERT(inputType == INPUTTYPE_INT || inputType == INPUTTYPE_UNSIGNED_INT || inputType == INPUTT… in createDefaultAttribute() 2063 DE_ASSERT(inputType == INPUTTYPE_FLOAT || componentCount == 4); in createDefaultAttribute() 2067 spec.inputType = inputType; in createDefaultAttribute() 2084 inputType = DrawTestSpec::INPUTTYPE_LAST; in AttributeSpec() 2102 return 1 * int(inputType) + 7 * int(outputType) + 13 * componentCount; in hash() [all …]
|
/external/angle/src/compiler/translator/tree_ops/vulkan/ |
D | ReplaceForShaderFramebufferFetch.cpp | 263 TBasicType GetBasicTypeOfSubpassInput(const InputType &inputType) in GetBasicTypeOfSubpassInput() argument 265 switch (inputType) in GetBasicTypeOfSubpassInput() 285 TBasicType GetBasicTypeForSubpassInput(const TBasicType &inputType) in GetBasicTypeForSubpassInput() argument 287 switch (inputType) in GetBasicTypeForSubpassInput() 311 ImmutableString GetTypeNameOfSubpassInput(const InputType &inputType) in GetTypeNameOfSubpassInput() argument 313 switch (inputType) in GetTypeNameOfSubpassInput() 333 ImmutableString GetFunctionNameOfSubpassLoad(const InputType &inputType) in GetFunctionNameOfSubpassLoad() argument 335 switch (inputType) in GetFunctionNameOfSubpassLoad() 353 const InputType &inputType, in CreateSubpassLoadFuncCall() argument 356 TBasicType subpassInputType = GetBasicTypeOfSubpassInput(inputType); in CreateSubpassLoadFuncCall() [all …]
|
/external/llvm-project/mlir/test/lib/Dialect/Tosa/ |
D | TosaTestPasses.cpp | 44 auto inputType = in matchAndRewrite() local 47 if (!inputType) in matchAndRewrite() 114 auto inputType = in matchAndRewrite() local 118 if (!inputType) in matchAndRewrite() 135 inputType.getElementType().dyn_cast<mlir::quant::UniformQuantizedType>(); in matchAndRewrite()
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | MethodDescriptor.cs | 45 private MessageDescriptor inputType; field in Google.Protobuf.Reflection.MethodDescriptor 56 public MessageDescriptor InputType { get { return inputType; } } 121 inputType = (MessageDescriptor) lookup; in CrossLink()
|
/external/llvm-project/mlir/examples/toy/Ch6/mlir/ |
D | Dialect.cpp | 293 auto inputType = *op.operand_type_begin(); in verify() local 297 if (inputType == resultType || inputType.isa<mlir::UnrankedTensorType>() || in verify() 301 return op.emitError() << "type of return operand (" << inputType in verify() 322 auto inputType = op.getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local 324 if (!inputType || !resultType) in verify() 327 auto inputShape = inputType.getShape(); in verify()
|
/external/llvm-project/mlir/examples/toy/Ch5/mlir/ |
D | Dialect.cpp | 293 auto inputType = *op.operand_type_begin(); in verify() local 297 if (inputType == resultType || inputType.isa<mlir::UnrankedTensorType>() || in verify() 301 return op.emitError() << "type of return operand (" << inputType in verify() 322 auto inputType = op.getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local 324 if (!inputType || !resultType) in verify() 327 auto inputShape = inputType.getShape(); in verify()
|
/external/llvm-project/mlir/examples/toy/Ch4/mlir/ |
D | Dialect.cpp | 293 auto inputType = *op.operand_type_begin(); in verify() local 297 if (inputType == resultType || inputType.isa<mlir::UnrankedTensorType>() || in verify() 301 return op.emitError() << "type of return operand (" << inputType in verify() 322 auto inputType = op.getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local 324 if (!inputType || !resultType) in verify() 327 auto inputShape = inputType.getShape(); in verify()
|
/external/llvm-project/mlir/lib/Dialect/Tosa/IR/ |
D | TosaOps.cpp | 117 auto inputType = op.input().getType().template dyn_cast<RankedTensorType>(); in verifyConvOp() local 121 if (!inputType || !weightType) in verifyConvOp() 125 inputType.getElementType().template isa<mlir::quant::QuantizedType>(); in verifyConvOp() 221 auto inputType = a.getType().dyn_cast<RankedTensorType>(); in buildMatMulOpWithQuantInfo() local 222 assert(inputType && "Input must be a ranked tensor type!"); in buildMatMulOpWithQuantInfo() 224 auto inputQType = inputType.getElementType() in buildMatMulOpWithQuantInfo()
|
/external/deqp/external/vulkancts/modules/vulkan/compute/ |
D | vktComputeCooperativeMatrixTests.cpp | 98 VkComponentTypeNV inputType; member 176 …(m_data.inputType == VK_COMPONENT_TYPE_FLOAT16_NV || m_data.outputType == VK_COMPONENT_TYPE_FLOAT1… in checkSupport() 205 if (p->AType == m_data.inputType && in checkSupport() 206 p->BType == m_data.inputType && in checkSupport() 216 VkComponentTypeNV types[2] = { m_data.inputType, m_data.outputType }; in checkSupport() 337 const char *typeStrA = componentTypeInfo[m_data.inputType].typeName; in initPrograms() 338 const char *typeStrB = componentTypeInfo[m_data.inputType].typeName; in initPrograms() 371 …matAType << componentTypeInfo[m_data.inputType].coopmatTypeName << "<" << componentTypeInfo[m_dat… in initPrograms() 372 …matBType << componentTypeInfo[m_data.inputType].coopmatTypeName << "<" << componentTypeInfo[m_dat… in initPrograms() 698 if (p->AType == m_data.inputType && in iterate() [all …]
|
/external/llvm-project/mlir/lib/Dialect/Quant/IR/ |
D | QuantOps.cpp | 75 Type inputType = std::get<0>(input); in verifyRegionOp() local 77 if (!isValidQuantizationSpec(inputSpec, inputType)) { in verifyRegionOp() 79 << " and input type " << inputType; in verifyRegionOp()
|
/external/deqp/framework/referencerenderer/ |
D | rrShaders.cpp | 30 …e_t numVaryingInputs, size_t numVaryingOutputs, GeometryShaderInputType inputType, GeometryShaderO… in GeometryShader() argument 31 : m_inputType (inputType) in GeometryShader()
|
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/exc/ |
D | InputCoercionException.java | 34 JsonToken inputType, Class<?> targetType) { in InputCoercionException() argument 36 _inputType = inputType; in InputCoercionException()
|
/external/llvm-project/mlir/examples/toy/Ch2/ |
D | toyc.cpp | 42 static cl::opt<enum InputType> inputType( 76 if (inputType != InputType::MLIR && in dumpMLIR() 111 if (inputType == InputType::MLIR) { in dumpAST()
|
/external/llvm-project/mlir/examples/toy/Ch7/mlir/ |
D | Dialect.cpp | 345 auto inputType = *op.operand_type_begin(); in verify() local 349 if (inputType == resultType || inputType.isa<mlir::UnrankedTensorType>() || in verify() 353 return op.emitError() << "type of return operand (" << inputType in verify() 401 auto inputType = op.getOperand().getType().dyn_cast<RankedTensorType>(); in verify() local 403 if (!inputType || !resultType) in verify() 406 auto inputShape = inputType.getShape(); in verify()
|