/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/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_write_image.cpp | 28 …ntext context, cl_command_queue queue, cl_image_format *format, ExplicitType inputType, MTdata d ); 29 …ntext context, cl_command_queue queue, cl_image_format *format, ExplicitType inputType, MTdata d ); 30 …ntext context, cl_command_queue queue, cl_image_format *format, ExplicitType inputType, MTdata d ); 31 …ntext context, cl_command_queue queue, cl_image_format *format, ExplicitType inputType, MTdata d ); 60 image_descriptor *imageInfo, ExplicitType inputType, MTdata d ) in test_write_image() argument 106 create_random_image_data( inputType, imageInfo, imageValues, d, gTestImage2DFromBuffer ); in test_write_image() 110 …if( inputType == kFloat && imageInfo->format->image_channel_data_type != CL_FLOAT && imageInfo->fo… in test_write_image() 194 else if( inputType == kUInt ) in test_write_image() 228 … create_random_image_data( inputType, imageInfo, maxImageUseHostPtrBackingStore, d ); in test_write_image() 337 …get_explicit_type_size( inputType ) * channel_scale * width_lod * height_lod, imagePtrOffset, &err… in test_write_image() [all …]
|
D | test_write_1D.cpp | 49 image_descriptor *imageInfo, ExplicitType inputType, MTdata d ) in test_write_image_1D() argument 91 create_random_image_data( inputType, imageInfo, imageValues, d ); in test_write_image_1D() 95 …if( inputType == kFloat && imageInfo->format->image_channel_data_type != CL_FLOAT && imageInfo->fo… in test_write_image_1D() 178 else if( inputType == kUInt ) in test_write_image_1D() 199 create_random_image_data( inputType, imageInfo, maxImageUseHostPtrBackingStore, d ); in test_write_image_1D() 275 … get_explicit_type_size( inputType ) * 4 * width_lod, imagePtrOffset, &error ); in test_write_image_1D() 316 if( inputType == kFloat ) in test_write_image_1D() 318 else if( inputType == kInt ) in test_write_image_1D() 388 if( inputType == kFloat ) in test_write_image_1D() 501 imagePtr += get_explicit_type_size( inputType ) * 4; in test_write_image_1D() [all …]
|
D | test_write_2D_array.cpp | 79 image_descriptor *imageInfo, ExplicitType inputType, MTdata d ) in test_write_image_2D_array() argument 124 create_random_image_data( inputType, imageInfo, imageValues, d ); in test_write_image_2D_array() 128 if( inputType == kFloat && imageInfo->format->image_channel_data_type != CL_FLOAT ) in test_write_image_2D_array() 217 else if( inputType == kUInt ) in test_write_image_2D_array() 235 create_random_image_data( inputType, imageInfo, maxImageUseHostPtrBackingStore, d ); in test_write_image_2D_array() 309 …get_explicit_type_size( inputType ) * 4 * width_lod * height_lod * imageInfo->arraySize, imagePtrO… in test_write_image_2D_array() 356 if( inputType == kFloat ) in test_write_image_2D_array() 358 else if( inputType == kInt ) in test_write_image_2D_array() 430 if( inputType == kFloat ) in test_write_image_2D_array() 543 …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 | 55 image_descriptor *imageInfo, ExplicitType inputType, MTdata d ) in test_write_image_1D_array() argument 100 create_random_image_data( inputType, imageInfo, imageValues, d ); in test_write_image_1D_array() 104 …if( inputType == kFloat && imageInfo->format->image_channel_data_type != CL_FLOAT && imageInfo->fo… in test_write_image_1D_array() 188 else if( inputType == kUInt ) in test_write_image_1D_array() 209 create_random_image_data( inputType, imageInfo, maxImageUseHostPtrBackingStore, d ); in test_write_image_1D_array() 289 …get_explicit_type_size( inputType ) * 4 * width_lod * imageInfo->arraySize, imagePtrOffset, &error… in test_write_image_1D_array() 335 if( inputType == kFloat ) in test_write_image_1D_array() 337 else if( inputType == kInt ) in test_write_image_1D_array() 407 if( inputType == kFloat ) in test_write_image_1D_array() 520 imagePtr += get_explicit_type_size( inputType ) * 4; in test_write_image_1D_array() [all …]
|
D | test_write_3D.cpp | 81 image_descriptor *imageInfo, ExplicitType inputType, MTdata d ) in test_write_image_3D() argument 127 create_random_image_data( inputType, imageInfo, imageValues, d ); in test_write_image_3D() 131 if( inputType == kFloat && imageInfo->format->image_channel_data_type != CL_FLOAT ) in test_write_image_3D() 221 else if( inputType == kUInt ) in test_write_image_3D() 239 create_random_image_data( inputType, imageInfo, maxImageUseHostPtrBackingStore, d ); in test_write_image_3D() 315 …get_explicit_type_size( inputType ) * 4 * width_lod * height_lod * depth_lod, imagePtrOffset, &err… in test_write_image_3D() 363 if( inputType == kFloat ) in test_write_image_3D() 365 else if( inputType == kInt ) in test_write_image_3D() 437 if( inputType == kFloat ) in test_write_image_3D() 550 imagePtr += get_explicit_type_size( inputType ) * 4; in test_write_image_3D() [all …]
|
/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 …]
|
D | glsDrawTest.hpp | 194 …static AttributeSpec createAttributeArray (InputType inputType, OutputType outputType, Storage sto… 195 …static AttributeSpec createDefaultAttribute (InputType inputType, OutputType outputType, int compo… 197 InputType inputType; member
|
D | glsVertexArrayTests.cpp | 532 void ContextArray::bind (int attribNdx, int offset, int size, InputType inputType, OutputType outTy… in bind() argument 537 m_inputType = inputType; in bind() 1919 : inputType (inputType_) in ArraySpec() 1947 << Array::inputTypeToString((Array::InputType)array.inputType); in getName() 1948 …if (array.inputType != Array::INPUTTYPE_UNSIGNED_INT_2_10_10_10 && array.inputType != Array::INPUT… in getName() 1991 << "input datatype " << Array::inputTypeToString((Array::InputType)array.inputType) << ", " in getDesc() 2048 if (arraySpec.inputType == Array::INPUTTYPE_UNSIGNED_INT_2_10_10_10) in iterate() 2055 else if (arraySpec.inputType == Array::INPUTTYPE_INT_2_10_10_10) in iterate() 2063 …coordScale = (arraySpec.normalize && !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(0.9… in iterate() 2076 …colorScale *= (arraySpec.normalize && !inputTypeIsFloatType(arraySpec.inputType) ? 1.0f : float(1.… in iterate() [all …]
|
/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/tensorflow/tensorflow/c/ |
D | c_api_experimental.cc | 349 static TFE_TensorHandle* createTFEQueue(TFE_Context* ctx, TF_DataType inputType, in createTFEQueue() argument 357 TFE_OpSetAttrTypeList(queueOp.get(), "component_types", &inputType, 1); in createTFEQueue() 379 static void createTFEEnqueue(TFE_Context* ctx, TF_DataType inputType, in createTFEEnqueue() argument 391 TFE_OpSetAttrTypeList(op, "Tcomponents", &inputType, 1); in createTFEEnqueue() 401 TF_DataType inputType, in createTFEDequeue() argument 412 TFE_OpSetAttrTypeList(op, "component_types", &inputType, 1); in createTFEDequeue() 423 TF_DataType inputType, in TFE_DequeueNamedTensor() argument 433 TFE_TensorHandle* queue = createTFEQueue(ctx, inputType, tensor_id, status); in TFE_DequeueNamedTensor() 438 auto* ret = createTFEDequeue(ctx, inputType, queue, status); in TFE_DequeueNamedTensor() 443 TF_DataType inputType, in TFE_DequeueNamedTensorFromCtx() argument [all …]
|
/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/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/deqp/modules/gles2/functional/ |
D | es2fShaderMatrixTests.cpp | 113 : inputType (inputType_) in ShaderInput() 119 InputType inputType; member 651 InputType in0Type = in0.inputType == INPUTTYPE_DYNAMIC ? INPUTTYPE_DYNAMIC : INPUTTYPE_CONST; in getEvalFunc() 652 InputType in1Type = in1.inputType == INPUTTYPE_DYNAMIC ? INPUTTYPE_DYNAMIC : INPUTTYPE_CONST; in getEvalFunc() 775 bool isInDynMat0 = isDataTypeMatrix(m_in0.dataType) && m_in0.inputType == INPUTTYPE_DYNAMIC; in init() 776 bool isInDynMat1 = isDataTypeMatrix(m_in1.dataType) && m_in1.inputType == INPUTTYPE_DYNAMIC; in init() 831 if (in.inputType == INPUTTYPE_DYNAMIC) in init() 862 else if (in.inputType == INPUTTYPE_UNIFORM) in init() 867 else if (in.inputType == INPUTTYPE_CONST) in init() 1055 if (in.inputType == INPUTTYPE_UNIFORM) in setupUniforms() [all …]
|
D | es2fDrawTests.cpp | 87 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 98 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 160 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 195 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 206 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 241 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 267 spec.attribs[1].inputType = iopairs[ioNdx].input; in init() 618 …attribSpec.inputType = random.chooseWeighted<gls::DrawTestSpec::InputType> (DE_ARRAY_BEGIN(input… in init() 633 …attribSpec.componentCount * gls::DrawTestSpec::inputTypeSize(attribSpec.inputType) > attribSpec.st… in init()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cSparseTexture2Tests.cpp | 839 s.inputType = prefix + inputBase + "2D"; in createShaderTokens() 851 s.inputType = prefix + inputBase + "1D"; in createShaderTokens() 858 s.inputType = prefix + inputBase + "1DArray"; in createShaderTokens() 865 s.inputType = prefix + inputBase + "2DArray"; in createShaderTokens() 872 s.inputType = prefix + inputBase + "3D"; in createShaderTokens() 879 s.inputType = prefix + inputBase + "Cube"; in createShaderTokens() 886 s.inputType = prefix + inputBase + "CubeArray"; in createShaderTokens() 892 s.inputType = prefix + inputBase + "2DRect"; in createShaderTokens() 896 s.inputType = prefix + inputBase + "2DMS"; in createShaderTokens() 902 s.inputType = prefix + inputBase + "2DMSArray"; in createShaderTokens() [all …]
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLVertexGeoBuilder.cpp | 66 void GrGLSLGeometryBuilder::configure(InputType inputType, OutputType outputType, int maxVertices, in configure() argument 70 this->addLayoutQualifier(input_type_name(inputType), kIn_InterfaceQualifier); in configure()
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLVertexGeoBuilder.cpp | 70 void GrGLSLGeometryBuilder::configure(InputType inputType, OutputType outputType, int maxVertices, in configure() argument 74 this->addLayoutQualifier(input_type_name(inputType), kIn_InterfaceQualifier); in configure()
|
/external/dagger2/java/dagger/internal/codegen/ |
D | OptionalFactories.java | 419 OptionalKind optionalKind, TypeName inputType, CodeBlock inputFuture) { 427 ClassName.get(Function.class), inputType, optionalKind.of(inputType))) 432 .returns(optionalKind.of(inputType)) 433 .addParameter(inputType, "input")
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderMatrixTests.cpp | 213 : inputType (inputType_) in ShaderInput() 219 InputType inputType; member 1473 if (in.inputType == INPUTTYPE_DYNAMIC && isDataTypeMatrix(in.dataType)) in ShaderMatrixInstance() 1581 if (in.inputType == INPUTTYPE_UNIFORM) in setupUniforms() 1644 new MatrixShaderEvaluator(getEvalFunc(in0, in1, op), in0.inputType, in1.inputType), in ShaderMatrixCase() 1669 bool isInDynMat0 = isDataTypeMatrix(m_in0.dataType) && m_in0.inputType == INPUTTYPE_DYNAMIC; in setupShader() 1670 bool isInDynMat1 = isDataTypeMatrix(m_in1.dataType) && m_in1.inputType == INPUTTYPE_DYNAMIC; in setupShader() 1758 if (in.inputType == INPUTTYPE_DYNAMIC) in setupShader() 1789 else if (in.inputType == INPUTTYPE_UNIFORM) in setupShader() 1794 else if (in.inputType == INPUTTYPE_CONST) in setupShader() [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrShaderProgram.cpp | 115 if (m_geometryDecl.inputType == rr::GEOMETRYSHADERINPUTTYPE_LAST || in valid() 121 if (m_geometryDecl.inputType != rr::GEOMETRYSHADERINPUTTYPE_LAST || in valid() 137 decl.m_geometryDecl.inputType, in ShaderProgram()
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawElementsBaseVertexTests.cpp | 145 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 156 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in genBasicSpec() 647 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 683 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 694 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 730 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 742 spec.attribs[1].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 755 spec.attribs[2].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 791 spec.attribs[0].inputType = gls::DrawTestSpec::INPUTTYPE_FLOAT; in init() 819 spec.attribs[1].inputType = iopairs[ioNdx].input; in init()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderMatrixTests.cpp | 218 : inputType (inputType_) in ShaderInput() 224 InputType inputType; member 1393 , m_matEvaluator (getEvalFunc(in0, in1, op), in0.inputType, in1.inputType) in ShaderMatrixCase() 1407 bool isInDynMat0 = isDataTypeMatrix(m_in0.dataType) && m_in0.inputType == INPUTTYPE_DYNAMIC; in init() 1408 bool isInDynMat1 = isDataTypeMatrix(m_in1.dataType) && m_in1.inputType == INPUTTYPE_DYNAMIC; in init() 1491 if (in.inputType == INPUTTYPE_DYNAMIC) in init() 1522 else if (in.inputType == INPUTTYPE_UNIFORM) in init() 1527 else if (in.inputType == INPUTTYPE_CONST) in init() 1739 if (in.inputType == INPUTTYPE_UNIFORM) in setupUniforms() 1858 const InputType inputType = inTypeList[inTypeNdx].type; in init() local [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryTestsUtil.cpp | 306 std::string inputTypeToGLString (const VkPrimitiveTopology& inputType) in inputTypeToGLString() argument 308 switch (inputType) in inputTypeToGLString() 349 size_t calcOutputVertices (const VkPrimitiveTopology& inputType) in calcOutputVertices() argument 351 switch (inputType) in calcOutputVertices()
|
/external/skia/gm/verifiers/ |
D | gmverifier.cpp | 44 GMVerifier::GMVerifier(InputType inputType) : fInputType(inputType) {} in GMVerifier() argument
|