Home
last modified time | relevance | path

Searched refs:VarType (Results 1 – 25 of 165) sorted by relevance

1234567

/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutTests.cpp47 const VarType& type, in BlockBasicTypeCase()
57 VarType tempType = type; in BlockBasicTypeCase()
73 …eGroup& group, tcu::TestContext& testCtx, const std::string& name, const VarType& type, deUint32 l… in createBlockBasicTypeCases()
96 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), FIELD_UNASSIGNED); // First memb… in BlockSingleStructCase()
97 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_VEC3, PRECISION_HIGH), 2)); in BlockSingleStructCase()
98 typeS.addMember("c", VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM)); in BlockSingleStructCase()
101 block.addInterfaceMember(InterfaceBlockMember("s", VarType(&typeS), 0)); in BlockSingleStructCase()
125 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), FIELD_UNASSIGNED); in BlockSingleStructArrayCase()
126 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2, PRECISION_MEDIUM), 2)); in BlockSingleStructArrayCase()
127 typeS.addMember("c", VarType(glu::TYPE_FLOAT, PRECISION_HIGH)); in BlockSingleStructArrayCase()
[all …]
DvktTransformFeedbackFuzzLayoutCase.hpp73 class VarType class
76 VarType (void);
77 VarType (const VarType& other);
78 VarType (glu::DataType basicType, deUint32 flags);
79 VarType (const VarType& elementType, int arraySize);
80 explicit VarType (const StructType* structPtr, deUint32 flags = 0u);
81 ~VarType (void);
90 const VarType& getElementType (void) const { return *m_data.array.elementType; } in getElementType()
95 VarType& operator= (const VarType& other);
114 VarType* elementType;
[all …]
DvktTransformFeedbackRandomLayoutCase.cpp183 VarType type = generateType(rnd, 0, true); in generateBlockMember()
204 VarType RandomInterfaceBlockCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk) in generateType()
214 std::vector<VarType> memberTypes; in generateType()
236 return VarType(&structType, m_explicitXfbOffsets ? static_cast<deUint32>(LAYOUT_XFBOFFSET) : 0u); in generateType()
242 VarType elementType = generateType(rnd, typeDepth, arraysOfArraysOk); in generateType()
244 return VarType(elementType, arrayLength); in generateType()
258 return VarType(type, flags); in generateType()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutTests.cpp42 using glu::VarType;
78 …glu::VarType generateType (de::Random& rnd, int structDepth, int arrayDepth, bool arrayOk, bo…
163 const glu::VarType& lastType = lastVar.getType(); in generateBlock()
164 …const bool isUnsizedArr = lastType.isArrayType() && (lastType.getArraySize() == glu::VarType::UN… in generateBlock()
202 …const glu::VarType type = generateType(rnd, 0, 0, true, isLastMember && (m_features & FEATURE_U… in generateBufferVar()
213 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int structDepth, int arrayDepth, … in generateType()
225 …const glu::VarType elementType = generateType(rnd, structDepth, arrayDepth+1, childArrayOk, false… in generateType()
226 return glu::VarType(elementType, glu::VarType::UNSIZED_ARRAY); in generateType()
232 vector<glu::VarType> memberTypes; in generateType()
248 return glu::VarType(&structType); in generateType()
[all …]
Des31fUniformBlockTests.cpp62 …BlockBasicTypeCase (Context& context, const char* name, const char* description, const VarType& ty… in BlockBasicTypeCase()
77 …es (tcu::TestCaseGroup* group, Context& context, const char* name, const VarType& type, deUint32 l… in createBlockBasicTypeCases()
99 typeS.addMember("a", VarType(glu::TYPE_UINT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in init()
100 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2, PRECISION_MEDIUM), 4)); in init()
101 typeS.addMember("c", VarType(glu::TYPE_UINT, PRECISION_LOW)); in init()
104 block.addUniform(Uniform("u", VarType(glu::TYPE_INT, PRECISION_MEDIUM))); in init()
105 block.addUniform(Uniform("s", VarType(VarType(VarType(&typeS), 3), 2))); in init()
106 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_MEDIUM))); in init()
210 …const VarType childType (VarType(type, glu::isDataTypeBoolOrBVec(type) ? 0 : PRECISION_HIGH), chi… in init()
211 const VarType parentType (childType, parentSize); in init()
[all …]
Des31fShaderIntegerFunctionTests.cpp71 const glu::VarType& type;
74 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue()
333 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UaddCarryCase()
334 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UaddCarryCase()
335 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); in UaddCarryCase()
336 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase()
429 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UsubBorrowCase()
430 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UsubBorrowCase()
431 m_spec.outputs.push_back(Symbol("diff", glu::VarType(baseType, precision))); in UsubBorrowCase()
432 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UsubBorrowCase()
[all …]
/external/deqp/framework/opengl/
DgluVarType.hpp47 class VarType class
50 VarType (void);
51 VarType (const VarType& other);
53 VarType (DataType basicType, Precision precision); //!< Basic type constructor.
54 VarType (const VarType& elementType, int arraySize); //!< Array type constructor.
55 explicit VarType (const StructType* structPtr); //!< Struct type constructor.
56 ~VarType (void);
65 …const VarType& getElementType (void) const { DE_ASSERT(isArrayType()); return *m_data.array.eleme… in getElementType()
72 VarType& operator= (const VarType& other);
74 bool operator== (const VarType& other) const;
[all …]
DgluVarTypeUtil.hpp100 bool isValidTypePath (const VarType& type, Iterator begin, Iterator end);
103 VarType getVarType (const VarType& type, Iterator begin, Iterator end);
105 inline bool isValidTypePath (const VarType& type, const TypeComponentVector& path) { return isVal… in isValidTypePath()
106 inline VarType getVarType (const VarType& type, const TypeComponentVector& path) { return getVarT… in getVarType()
109 void parseTypePath (const char* nameWithPath, const VarType& type, TypeComponentVector& path);
115 …TypeAccessFormat (const VarType& type_, const TypeComponentVector& path_) : type(type_), path(path… in TypeAccessFormat()
117 const VarType& type;
128 SubTypeAccess (const VarType& type);
143 VarType getType (void) const { return getVarType(m_type, m_path); } in getType()
152 VarType m_type;
[all …]
DgluVarType.cpp31 VarType::VarType (void) in VarType() function in glu::VarType
36 VarType::VarType (const VarType& other) in VarType() function in glu::VarType
42 VarType::VarType (DataType basicType, Precision precision) in VarType() function in glu::VarType
49 VarType::VarType (const VarType& elementType, int arraySize) in VarType() function in glu::VarType
54 m_data.array.elementType = new VarType(elementType); in VarType()
57 VarType::VarType (const StructType* structPtr) in VarType() function in glu::VarType
63 VarType::~VarType (void) in ~VarType()
69 VarType& VarType::operator= (const VarType& other) in operator =()
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 =()
[all …]
/external/deqp/modules/gles3/functional/
Des3fUniformBlockTests.cpp60 …BlockBasicTypeCase (Context& context, const char* name, const char* description, const VarType& ty… in BlockBasicTypeCase()
75 …es (tcu::TestCaseGroup* group, Context& context, const char* name, const VarType& type, deUint32 l… in createBlockBasicTypeCases()
97 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is… in init()
98 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init()
99 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in init()
102 block.addUniform(Uniform("s", VarType(&typeS), 0)); in init()
130 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in init()
131 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init()
132 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in init()
135 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); in init()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.hpp66 class VarType class
69 VarType(void);
70 VarType(const VarType& other);
71 VarType(glu::DataType basicType, deUint32 flags);
72 VarType(const VarType& elementType, int arraySize);
73 explicit VarType(const StructType* structPtr);
74 ~VarType(void);
98 const VarType& getElementType(void) const in getElementType()
112 VarType& operator=(const VarType& other);
130 VarType* elementType;
[all …]
DglcUniformBlockTests.cpp73 VarType generateType(de::Random& rnd, int typeDepth, bool arrayOk);
194 VarType type = generateType(rnd, 0, true); in generateUniform()
204 VarType RandomUniformBlockCase::generateType(de::Random& rnd, int typeDepth, bool arrayOk) in generateType()
214 vector<VarType> memberTypes; in generateType()
235 return VarType(&structType); in generateType()
240 VarType elementType = generateType(rnd, typeDepth, false /* nested arrays are not allowed */); in generateType()
241 return VarType(elementType, arrayLength); in generateType()
291 return VarType(type, flags); in generateType()
299 const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase()
343 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is… in init()
[all …]
/external/deqp/modules/glshared/
DglsUniformBlockCase.hpp71 class VarType class
74 VarType (void);
75 VarType (const VarType& other);
76 VarType (glu::DataType basicType, deUint32 flags);
77 VarType (const VarType& elementType, int arraySize);
78 explicit VarType (const StructType* structPtr, deUint32 flags = 0u);
79 ~VarType (void);
88 const VarType& getElementType (void) const { return *m_data.array.elementType; } in getElementType()
93 VarType& operator= (const VarType& other);
112 VarType* elementType;
[all …]
DglsRandomUniformBlockCase.cpp146 VarType type = generateType(rnd, 0, true); in generateUniform()
156 VarType RandomUniformBlockCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk) in generateType()
166 vector<VarType> memberTypes; in generateType()
187 return VarType(&structType); in generateType()
193 VarType elementType = generateType(rnd, typeDepth, arraysOfArraysOk); in generateType()
194 return VarType(elementType, arrayLength); in generateType()
243 return VarType(type, flags); in generateType()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockTests.cpp45 … testCtx, const std::string& name, const std::string& description, const VarType& type, deUint32 l… in BlockBasicTypeCase()
48 VarType tempType = type; in BlockBasicTypeCase()
69 …block.addUniform(Uniform("padding", VarType(getDataTypeScalarType(tempType.getBasicType()), 0), 0)… in BlockBasicTypeCase()
83 …eGroup& group, tcu::TestContext& testCtx, const std::string& name, const VarType& type, deUint32 l… in createBlockBasicTypeCases()
104 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is… in BlockSingleStructCase()
105 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in BlockSingleStructCase()
106 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in BlockSingleStructCase()
109 block.addUniform(Uniform("s", VarType(&typeS), 0)); in BlockSingleStructCase()
127 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in BlockSingleStructArrayCase()
128 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in BlockSingleStructArrayCase()
[all …]
DvktUniformBlockCase.hpp80 class VarType class
83 VarType (void);
84 VarType (const VarType& other);
85 VarType (glu::DataType basicType, deUint32 flags);
86 VarType (const VarType& elementType, int arraySize);
87 explicit VarType (const StructType* structPtr, deUint32 flags = 0u);
88 ~VarType (void);
97 const VarType& getElementType (void) const { return *m_data.array.elementType; } in getElementType()
103 VarType& operator= (const VarType& other);
122 VarType* elementType;
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp60 using glu::VarType;
95 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk);
195 const glu::VarType& lastType = lastVar.getType(); in generateBlock()
196 …const bool isUnsizedArr = lastType.isArrayType() && (lastType.getArraySize() == glu::VarType::UN… in generateBlock()
234 …const glu::VarType type = generateType(rnd, 0, true, isLastMember && (m_features & FEATURE_UNSI… in generateBufferVar()
245 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool… in generateType()
256 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false); in generateType()
257 return glu::VarType(elementType, glu::VarType::UNSIZED_ARRAY); in generateType()
261 vector<glu::VarType> memberTypes; in generateType()
277 return glu::VarType(&structType); in generateType()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
DVarType.java46 public class VarType extends Type { class
49 public VarType() { in VarType() method in VarType
57 public VarType(TokenRange tokenRange) { in VarType() method in VarType
63 public VarType setAnnotations(NodeList<AnnotationExpr> annotations) { in setAnnotations()
64 return (VarType) super.setAnnotations(annotations); in setAnnotations()
82 public VarType clone() { in clone()
83 return (VarType) accept(new CloneVisitor(), null); in clone()
125 public VarType asVarType() { in asVarType()
131 public Optional<VarType> toVarType() { in toVarType()
136 public void ifVarType(Consumer<VarType> action) { in ifVarType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/
DVarTypeTest.java7 import com.github.javaparser.ast.type.VarType;
31 VarType varType = ast.findFirst(VarType.class).get(); in resolveAPrimitive()
41 VarType varType = ast.findFirst(VarType.class).get(); in resolveAReferenceType()
52 VarType varType = ast.findFirst(VarType.class).get(); in failResolveNoInitializer()
62 VarType varType = ast.findFirst(VarType.class).get(); in failResolveWrongLocation()
/external/rust/crates/bindgen/src/ir/
Dvar.rs22 pub enum VarType { enum
45 val: Option<VarType>,
56 val: Option<VarType>, in new() argument
75 pub fn val(&self) -> Option<&VarType> { in val() argument
253 (TypeKind::Float(FloatKind::Double), VarType::Float(f)) in parse()
267 (TypeKind::Int(IntKind::U8), VarType::Char(c)) in parse()
278 (TypeKind::Pointer(char_ty), VarType::String(val)) in parse()
288 (TypeKind::Int(kind), VarType::Int(value)) in parse()
357 VarType::Bool(val != 0) in parse()
359 VarType::Int(val) in parse()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp73 const glu::VarType& type;
76 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue()
527 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UaddCarryCase()
528 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UaddCarryCase()
529 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); in UaddCarryCase()
530 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase()
635 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UsubBorrowCase()
636 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UsubBorrowCase()
637 m_spec.outputs.push_back(Symbol("diff", glu::VarType(baseType, precision))); in UsubBorrowCase()
638 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UsubBorrowCase()
[all …]
/external/llvm/tools/llvm-pdbdump/
DVariableDumper.cpp41 auto VarType = Var.getType(); in start() local
51 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
54 if (isa<PDBSymbolTypeEnum>(*VarType)) in start()
59 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
68 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
75 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
/external/llvm-project/llvm/tools/llvm-pdbutil/
DPrettyVariableDumper.cpp43 auto VarType = Var.getType(); in start() local
45 uint64_t Length = VarType->getRawSymbol().getLength(); in start()
55 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
58 if (isa<PDBSymbolTypeEnum>(*VarType)) in start()
62 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
72 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
80 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/version/
DJava10PostProcessorTest.java7 import com.github.javaparser.ast.type.VarType;
24 List<VarType> allVarTypes = result.getResult().get().findAll(VarType.class); in varIsAType()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/chunks/
DVarValidator.java13 import com.github.javaparser.ast.type.VarType;
19 public class VarValidator implements TypedValidator<VarType> {
27 public void accept(VarType node, ProblemReporter reporter) { in accept()
93 private void reportIllegalPosition(VarType n, ProblemReporter reporter) { in reportIllegalPosition()

1234567