Home
last modified time | relevance | path

Searched refs:elementType (Results 1 – 25 of 128) sorted by relevance

123456

/third_party/vk-gl-cts/framework/opengl/
DgluVarType.cpp49 VarType::VarType (const VarType& elementType, int arraySize) in VarType() argument
54 m_data.array.elementType = new VarType(elementType); in VarType()
66 delete m_data.array.elementType; in ~VarType()
74 VarType *oldElementType = m_type == VARTYPE_ARRAY ? m_data.array.elementType : DE_NULL; in operator =()
81 m_data.array.elementType = new VarType(*other.m_data.array.elementType); in operator =()
97 case VARTYPE_ARRAY: return m_data.array.elementType->getScalarSize()*m_data.array.size; in getScalarSize()
125 return *m_data.array.elementType == *other.m_data.array.elementType && in operator ==()
DgluVarType.hpp54 VarType (const VarType& elementType, int arraySize); //!< Array type constructor.
65 …rType& getElementType (void) const { DE_ASSERT(isArrayType()); return *m_data.array.elementType; } in getElementType()
105 VarType* elementType; member
114 array.elementType = DE_NULL; in Data()
/third_party/vk-gl-cts/modules/glshared/
DglsLifetimeTests.hpp224 Type& elementType, Type& containerType) in Attacher() argument
226 , m_elementType (elementType) in Attacher()
285 Type& elementType, Type& containerType) in FboAttacher() argument
286 : Attacher (ctx, elementType, containerType) {} in FboAttacher()
310 TextureFboAttacher (const Context& ctx, Type& elementType, Type& containerType) in TextureFboAttacher() argument
311 : FboAttacher (ctx, elementType, containerType) {} in TextureFboAttacher()
322 RboFboAttacher (const Context& ctx, Type& elementType, Type& containerType) in RboFboAttacher() argument
323 : FboAttacher (ctx, elementType, containerType) {} in RboFboAttacher()
335 Type& elementType, Type& containerType) in ShaderProgramAttacher() argument
336 : Attacher (ctx, elementType, containerType) {} in ShaderProgramAttacher()
DglsUniformBlockCase.hpp77 VarType (const VarType& elementType, int arraySize);
88 const VarType& getElementType (void) const { return *m_data.array.elementType; } in getElementType()
112 VarType* elementType; member
119 array.elementType = DE_NULL; in Data()
/third_party/typescript_eslint/packages/eslint-plugin/src/rules/
Darray-type.ts157 (currentOption === 'array-simple' && isSimpleType(node.elementType))
172 type: getMessageType(node.elementType),
176 node.elementType.type === AST_NODE_TYPES.TSParenthesizedType
177 ? node.elementType.typeAnnotation
178 : node.elementType;
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.hpp72 VarType(const VarType& elementType, int arraySize);
100 return *m_data.array.elementType; in getElementType()
130 VarType* elementType; member
137 array.elementType = DE_NULL; in Data()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldType.java97 private final Class<?> elementType; field in FieldType
107 elementType = javaType.getBoxedType(); in FieldType()
110 elementType = javaType.getBoxedType(); in FieldType()
114 elementType = null; in FieldType()
199 return elementType.isAssignableFrom((Class<?>) listParameter); in isValidForList()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgVariableType.hpp133 VariableType (Type baseType, const VariableType& elementType, int numElements);
196 inline VariableType::VariableType (Type baseType, const VariableType& elementType, int numElements) in VariableType() argument
201 , m_elementType (new VariableType(elementType)) in VariableType()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp83 VarType::VarType (const VarType& elementType, int arraySize) in VarType() argument
88 m_data.array.elementType = new VarType(elementType); in VarType()
101 delete m_data.array.elementType; in ~VarType()
109 VarType *oldElementType = m_type == TYPE_ARRAY ? m_data.array.elementType : DE_NULL; in operator =()
117 m_data.array.elementType = new VarType(*other.m_data.array.elementType); in operator =()
1261 bool isMatrix (glu::DataType elementType) in isMatrix() argument
1263 return (elementType >= glu::TYPE_FLOAT_MAT2) && (elementType <= glu::TYPE_FLOAT_MAT4); in isMatrix()
1334 void generateTestSrcMatrixPerVec (glu::DataType elementType, in generateTestSrcMatrixPerVec() argument
1342 switch (elementType) in generateTestSrcMatrixPerVec()
1377 void generateTestSrcMatrixPerElement (glu::DataType elementType, in generateTestSrcMatrixPerElement() argument
[all …]
DvktUniformBlockCase.hpp86 VarType (const VarType& elementType, int arraySize);
97 const VarType& getElementType (void) const { return *m_data.array.elementType; } in getElementType()
122 VarType* elementType; member
129 array.elementType = DE_NULL; in Data()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.hpp79 VarType (const VarType& elementType, int arraySize);
90 const VarType& getElementType (void) const { return *m_data.array.elementType; } in getElementType()
114 VarType* elementType; member
121 array.elementType = DE_NULL; in Data()
DvktTransformFeedbackFuzzLayoutCase.cpp91 VarType::VarType (const VarType& elementType, int arraySize) in VarType() argument
96 m_data.array.elementType = new VarType(elementType); in VarType()
109 delete m_data.array.elementType; in ~VarType()
117 VarType *oldElementType = m_type == TYPE_ARRAY ? m_data.array.elementType : DE_NULL; in operator =()
125 m_data.array.elementType = new VarType(*other.m_data.array.elementType); in operator =()
1342 glu::DataType elementType, in generateTestSrcMatrixPerVec() argument
1347 switch (elementType) in generateTestSrcMatrixPerVec()
1361 glu::DataType elementType, in generateTestSrcMatrixPerElement() argument
1367 switch (elementType) in generateTestSrcMatrixPerElement()
1381 glu::DataType elementType, in generateSingleAssignment() argument
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.cpp1114 const TPublicType &elementType) in checkArrayElementIsNotArray() argument
1116 if (mShaderVersion < 310 && elementType.isArray()) in checkArrayElementIsNotArray()
1119 typeString << TType(elementType); in checkArrayElementIsNotArray()
1128 const TPublicType &elementType, in checkArrayOfArraysInOut() argument
1133 if (elementType.qualifier == EvqVertexOut) in checkArrayOfArraysInOut()
1136 TType(elementType).getQualifierString()); in checkArrayOfArraysInOut()
1139 if (elementType.qualifier == EvqFragmentIn) in checkArrayOfArraysInOut()
1142 TType(elementType).getQualifierString()); in checkArrayOfArraysInOut()
1145 if (elementType.qualifier == EvqFragmentOut || elementType.qualifier == EvqFragmentInOut) in checkArrayOfArraysInOut()
1148 TType(elementType).getQualifierString()); in checkArrayOfArraysInOut()
[all …]
DParseContext.h138 bool checkArrayElementIsNotArray(const TSourceLoc &line, const TPublicType &elementType);
140 const TPublicType &elementType,
241 TIntermDeclaration *parseSingleArrayDeclaration(TPublicType &elementType,
254 TIntermDeclaration *parseSingleArrayInitDeclaration(TPublicType &elementType,
272 void parseArrayDeclarator(TPublicType &elementType,
286 void parseArrayInitDeclarator(const TPublicType &elementType,
326 TPublicType *elementType);
539 const TPublicType &elementType);
DOutputHLSL.cpp506 TType elementType = type; in structInitializerString() local
507 elementType.toArrayElementType(); in structInitializerString()
508 init += structInitializerString(indent + 1, elementType, indexedString.str()); in structInitializerString()
3513 TType elementType(type); in addArrayEqualityFunction() local
3514 elementType.toArrayElementType(); in addArrayEqualityFunction()
3533 outputEqual(PreVisit, elementType, EOpNotEqual, fnOut); in addArrayEqualityFunction()
3535 outputEqual(InVisit, elementType, EOpNotEqual, fnOut); in addArrayEqualityFunction()
3537 outputEqual(PostVisit, elementType, EOpNotEqual, fnOut); in addArrayEqualityFunction()
3562 TType elementType(type); in addArrayAssignmentFunction() local
3563 elementType.toArrayElementType(); in addArrayAssignmentFunction()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DIndexDataManager.h106 ANGLE_INLINE bool IsOffsetAligned(gl::DrawElementsType elementType, unsigned int offset) in IsOffsetAligned() argument
108 return (offset % gl::GetDrawElementsTypeSize(elementType) == 0); in IsOffsetAligned()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DIndexDataManager.h106 ANGLE_INLINE bool IsOffsetAligned(gl::DrawElementsType elementType, unsigned int offset) in IsOffsetAligned() argument
108 return (offset % gl::GetDrawElementsTypeSize(elementType) == 0); in IsOffsetAligned()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DParseContext.h135 bool checkArrayElementIsNotArray(const TSourceLoc &line, const TPublicType &elementType);
229 TIntermDeclaration *parseSingleArrayDeclaration(TPublicType &elementType,
242 TIntermDeclaration *parseSingleArrayInitDeclaration(TPublicType &elementType,
260 void parseArrayDeclarator(TPublicType &elementType,
274 void parseArrayInitDeclarator(const TPublicType &elementType,
314 TPublicType *elementType);
500 const TPublicType &elementType);
DOutputHLSL.cpp472 TType elementType = type; in structInitializerString() local
473 elementType.toArrayElementType(); in structInitializerString()
474 init += structInitializerString(indent + 1, elementType, indexedString.str()); in structInitializerString()
3410 TType elementType(type); in addArrayEqualityFunction() local
3411 elementType.toArrayElementType(); in addArrayEqualityFunction()
3430 outputEqual(PreVisit, elementType, EOpNotEqual, fnOut); in addArrayEqualityFunction()
3432 outputEqual(InVisit, elementType, EOpNotEqual, fnOut); in addArrayEqualityFunction()
3434 outputEqual(PostVisit, elementType, EOpNotEqual, fnOut); in addArrayEqualityFunction()
3459 TType elementType(type); in addArrayAssignmentFunction() local
3460 elementType.toArrayElementType(); in addArrayAssignmentFunction()
[all …]
DParseContext.cpp1049 const TPublicType &elementType) in checkArrayElementIsNotArray() argument
1051 if (mShaderVersion < 310 && elementType.isArray()) in checkArrayElementIsNotArray()
1054 typeString << TType(elementType); in checkArrayElementIsNotArray()
1068 const TPublicType &elementType) in checkIsValidTypeAndQualifierForArray() argument
1070 if (!checkArrayElementIsNotArray(indexLocation, elementType)) in checkIsValidTypeAndQualifierForArray()
1081 if (mShaderVersion >= 300 && elementType.getBasicType() == EbtStruct && in checkIsValidTypeAndQualifierForArray()
1082 sh::IsVarying(elementType.qualifier) && in checkIsValidTypeAndQualifierForArray()
1083 !IsGeometryShaderInput(mShaderType, elementType.qualifier)) in checkIsValidTypeAndQualifierForArray()
1086 typeString << TType(elementType); in checkIsValidTypeAndQualifierForArray()
1091 return checkIsValidQualifierForArray(indexLocation, elementType); in checkIsValidTypeAndQualifierForArray()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DProvokingVertexHelper.mm143 gl::DrawElementsType elementType = (gl::DrawElementsType)pipelineDesc.elementType;
146 switch (elementType)
213 pipelineDesc.elementType = (uint8_t)elementsType;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.hpp116 , elementType (elementT) in IFDataType()
124 , elementType (that.elementType) in IFDataType()
136 bool elementIs32bit (void) const { return elementType < NUMBERTYPE_END32; } in elementIs32bit()
137 bool elementIs64bit (void) const { return elementType > NUMBERTYPE_END16; } in elementIs64bit()
142 NumberType elementType; member
DvktSpvAsmGraphicsShaderTestUtil.cpp65 if (elementType < NUMBERTYPE_END32) in getElementNumBytes()
68 if (elementType < NUMBERTYPE_END16) in getElementNumBytes()
78 switch (elementType) in getVkFormat()
92 switch (elementType) in getVkFormat()
106 switch (elementType) in getVkFormat()
120 switch (elementType) in getVkFormat()
142 switch (elementType) in getTextureFormat()
170 switch (elementType) in str()
1021 if (data_type.elementType == NUMBERTYPE_FLOAT64) in passthruInterface()
1026 else if (data_type.elementType == NUMBERTYPE_FLOAT16) in passthruInterface()
[all …]
/third_party/flatbuffers/kotlin/flatbuffers-kotlin/src/commonMain/kotlin/com/google/flatbuffers/kotlin/
DJSON.kt181 var elementType = T_INVALID in parseArray() variable
189 return if (!multiType && elementType.isScalar()) { in parseArray()
191 elementType.toElementTypedVector() in parseArray()
201 if (elementType == T_INVALID) { in parseArray()
202 elementType = newType in parseArray()
203 } else if (newType != elementType) { in parseArray()
/third_party/typescript_eslint/packages/typescript-estree/tests/snapshots/typescript/types/
Dtuple-named-rest.src.ts.shot45 "elementType": Object {
114 "elementType": Object {
115 "elementType": Object {

123456