/third_party/vk-gl-cts/framework/opengl/ |
D | gluShaderUtil.hpp | 261 const char* getDataTypeName (DataType dataType); 262 int getDataTypeScalarSize (DataType dataType); 263 DataType getDataTypeScalarType (DataType dataType); 264 DataType getDataTypeFloat16Scalars (DataType dataType); 265 DataType getDataTypeFloatScalars (DataType dataType); 266 DataType getDataTypeDoubleScalars (DataType dataType); 275 …ine bool isDataTypeFloat16OrVec (DataType dataType) { return (dataType >= TYPE_FLOAT16) && … in isDataTypeFloat16OrVec() argument 276 …nline bool isDataTypeFloatOrVec (DataType dataType) { return (dataType >= TYPE_FLOAT) && … in isDataTypeFloatOrVec() argument 277 …nline bool isDataTypeFloatType (DataType dataType) { return (dataType >= TYPE_FLOAT) && … in isDataTypeFloatType() argument 278 …nline bool isDataTypeDoubleType (DataType dataType) { return (dataType >= TYPE_DOUBLE) && … in isDataTypeDoubleType() argument [all …]
|
D | gluShaderUtil.cpp | 198 const char* getDataTypeName (DataType dataType) in getDataTypeName() argument 328 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_names))); in getDataTypeName() 329 return s_names[(int)dataType]; in getDataTypeName() 332 int getDataTypeScalarSize (DataType dataType) in getDataTypeScalarSize() argument 462 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_sizes))); in getDataTypeScalarSize() 463 return s_sizes[(int)dataType]; in getDataTypeScalarSize() 466 DataType getDataTypeScalarType (DataType dataType) in getDataTypeScalarType() argument 596 DE_ASSERT(deInBounds32((int)dataType, 0, DE_LENGTH_OF_ARRAY(s_scalarTypes))); in getDataTypeScalarType() 597 return s_scalarTypes[(int)dataType]; in getDataTypeScalarType() 600 DataType getDataTypeFloat16Scalars (DataType dataType) in getDataTypeFloat16Scalars() argument [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
D | vktRayTracingDataSpillTests.cpp | 137 VkDeviceSize getElementSize(DataType dataType, VectorType vectorType) in getElementSize() argument 142 switch (dataType) in getElementSize() 215 bool samplersNeeded (DataType dataType) in samplersNeeded() argument 219 switch (dataType) in samplersNeeded() 237 bool storageImageNeeded (DataType dataType) in storageImageNeeded() argument 239 return (dataType == DataType::PTR_TEXEL); in storageImageNeeded() 245 std::pair<std::string, std::string> getGLSLInputValDecl (DataType dataType, VectorType vectorType) in getGLSLInputValDecl() argument 251 const auto dataTypeIdx = static_cast<int>(dataType); in getGLSLInputValDecl() 315 const auto key = std::make_pair(dataType, vectorType); in getGLSLInputValDecl() 325 else if (dataType == DataType::STRUCT) in getGLSLInputValDecl() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
D | vktRayTracingDataSpillTests.cpp | 137 VkDeviceSize getElementSize(DataType dataType, VectorType vectorType) in getElementSize() argument 142 switch (dataType) in getElementSize() 215 bool samplersNeeded (DataType dataType) in samplersNeeded() argument 219 switch (dataType) in samplersNeeded() 237 bool storageImageNeeded (DataType dataType) in storageImageNeeded() argument 239 return (dataType == DataType::PTR_TEXEL); in storageImageNeeded() 245 std::pair<std::string, std::string> getGLSLInputValDecl (DataType dataType, VectorType vectorType) in getGLSLInputValDecl() argument 251 const auto dataTypeIdx = static_cast<int>(dataType); in getGLSLInputValDecl() 315 const auto key = std::make_pair(dataType, vectorType); in getGLSLInputValDecl() 325 else if (dataType == DataType::STRUCT) in getGLSLInputValDecl() [all …]
|
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/lib/dot/ |
D | coerce.def | 3 var $dataType = 'dataType' + $lvl 6 var {{=$dataType}} = typeof {{=$data}}; 10 if ({{=$dataType}} == 'object' && Array.isArray({{=$data}}) && {{=$data}}.length == 1) { 12 {{=$dataType}} = typeof {{=$data}}; 20 else if ({{=$dataType}} == 'number' || {{=$dataType}} == 'boolean') 24 else if ({{=$dataType}} == 'boolean' || {{=$data}} === null 25 || ({{=$dataType}} == 'string' && {{=$data}} && {{=$data}} == +{{=$data}} 37 …else if ({{=$dataType}} == 'string' || {{=$dataType}} == 'number' || {{=$dataType}} == 'boolean' |…
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcShaderLibraryCase.cpp | 126 int scalarSize = getDataTypeScalarSize(val.dataType); in setUniformValue() 136 switch (val.dataType) in setUniformValue() 380 DataType dataType = val.dataType; in execute() local 381 int scalarSize = getDataTypeScalarSize(val.dataType); in execute() 390 if (isDataTypeFloatOrVec(dataType) || isDataTypeMatrix(dataType)) in execute() 413 if ((m_caseType == CASETYPE_FRAGMENT_ONLY) || (getDataTypeScalarType(dataType) != TYPE_FLOAT)) in execute() 426 if (isDataTypeMatrix(dataType)) in execute() 428 int numCols = getDataTypeMatrixNumColumns(dataType); in execute() 429 int numRows = getDataTypeMatrixNumRows(dataType); in execute() 439 DE_ASSERT(isDataTypeFloatOrVec(dataType) || isDataTypeIntOrIVec(dataType) || in execute() [all …]
|
/third_party/vk-gl-cts/modules/gles3/scripts/ |
D | gen-swizzles.py | 107 for (inputType, dataType, precision) in combinations.iterate(): 108 scalarSize = getDataTypeScalarSize(dataType) 109 print(inputType, precision, dataType) 171 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): argument 174 self.dataType = dataType 255 for dataType in VECTOR_TYPES: 256 scalarSize = getDataTypeScalarSize(dataType) 262 caseName = "%s_%s_%s" % (precision, dataType, swizzle) 263 inputs = INPUTS[dataType] 266 …torSwizzleCases.append(SwizzleCase(caseName, precision, dataType, swizzle, [("%s in0" % dataType, …
|
D | gen-swizzle-math-operations.py | 164 for dataType in VECTOR_TYPES: 165 scalarSize = getDataTypeScalarSize(dataType) 174 operands1 = INPUTS[dataType] 175 operands2 = INPUTS[dataType] # these input values will be swizzled 179 caseName = "%s_%s_%s_%s" % (precision, dataType, swizzle1, swizzle2) 184 [("%s in0" % dataType, operands1)], 185 [("%s in1" % dataType, operands2)],
|
D | gen-large-constant-arrays.py | 76 def genArray(dataType, size): argument 79 if dataType == "float": 81 if dataType == "vec4": 100 for dataType in DATA_TYPES: 103 array = genArray(dataType, arraySize) 106 caseName = "%s_%s" % (dataType, arraySize)
|
/third_party/vk-gl-cts/modules/gles2/scripts/ |
D | gen-swizzles.py | 107 for (inputType, dataType, precision) in combinations.iterate(): 108 scalarSize = getDataTypeScalarSize(dataType) 109 print(inputType, precision, dataType) 167 def __init__(self, name, precision, dataType, swizzle, inputs, outputs): argument 170 self.dataType = dataType 251 for dataType in VECTOR_TYPES: 252 scalarSize = getDataTypeScalarSize(dataType) 258 caseName = "%s_%s_%s" % (precision, dataType, swizzle) 259 inputs = INPUTS[dataType] 262 …torSwizzleCases.append(SwizzleCase(caseName, precision, dataType, swizzle, [("%s in0" % dataType, …
|
/third_party/node/deps/npm/node_modules/har-validator/node_modules/ajv/lib/ |
D | keyword.js | 35 var dataType = definition.type; 36 if (Array.isArray(dataType)) { 37 for (var i=0; i<dataType.length; i++) 38 _addRule(keyword, dataType[i], definition); 40 _addRule(keyword, dataType, definition); 60 function _addRule(keyword, dataType, definition) { argument 64 if (rg.type == dataType) { 71 ruleGroup = { type: dataType, rules: [] };
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderDerivateTests.cpp | 340 glu::DataType dataType, in verifyConstantDerivate() argument 347 const int numComps = glu::getDataTypeFloatScalars(dataType); in verifyConstantDerivate() 348 const tcu::BVec4 mask = tcu::logicalNot(getDerivateMask(dataType)); in verifyConstantDerivate() 404 glu::DataType dataType, in reverifyConstantDerivateWithFlushRelaxations() argument 420 const int numComponents = glu::getDataTypeFloatScalars(dataType); in reverifyConstantDerivateWithFlushRelaxations() 529 dataType = glu::TYPE_LAST; in DerivateCaseDefinition() 539 glu::DataType dataType; member 755 DE_ASSERT(glu::isDataTypeFloatOrVec(definitions.dataType)); in setup() 757 …_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float),… in setup() 758 …_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float),… in setup() [all …]
|
D | vktShaderRenderMatrixTests.cpp | 214 , dataType (dataType_) in ShaderInput() 220 DataType dataType; member 1172 switch (PACK_EVAL_CASE(op, in0.dataType, in1.dataType)) in getEvalFunc() 1365 BaseAttributeType getAttributeType(const glu::DataType dataType) in getAttributeType() argument 1367 switch(dataType) in getAttributeType() 1400 void addMatrixUniform (deUint32 bindingLocation, DataType dataType, const float* dataPtr); 1472 if (in.inputType == INPUTTYPE_DYNAMIC && isDataTypeMatrix(in.dataType)) in ShaderMatrixInstance() 1474 useAttribute(4u + inNdx, getAttributeType(in.dataType)); in ShaderMatrixInstance() 1484 void ShaderMatrixInstance::addMatrixUniform(deUint32 bindingLocation, DataType dataType, const floa… in addMatrixUniform() argument 1489 switch(dataType) in addMatrixUniform() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
D | vktShaderRenderDerivateTests.cpp | 340 glu::DataType dataType, in verifyConstantDerivate() argument 347 const int numComps = glu::getDataTypeFloatScalars(dataType); in verifyConstantDerivate() 348 const tcu::BVec4 mask = tcu::logicalNot(getDerivateMask(dataType)); in verifyConstantDerivate() 404 glu::DataType dataType, in reverifyConstantDerivateWithFlushRelaxations() argument 420 const int numComponents = glu::getDataTypeFloatScalars(dataType); in reverifyConstantDerivateWithFlushRelaxations() 529 dataType = glu::TYPE_LAST; in DerivateCaseDefinition() 539 glu::DataType dataType; member 755 DE_ASSERT(glu::isDataTypeFloatOrVec(definitions.dataType)); in setup() 757 …_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float),… in setup() 758 …_DESCRIPTOR_TYPE_UNIFORM_BUFFER, glu::getDataTypeScalarSize(definitions.dataType) * sizeof(float),… in setup() [all …]
|
D | vktShaderRenderMatrixTests.cpp | 214 , dataType (dataType_) in ShaderInput() 220 DataType dataType; member 1172 switch (PACK_EVAL_CASE(op, in0.dataType, in1.dataType)) in getEvalFunc() 1365 BaseAttributeType getAttributeType(const glu::DataType dataType) in getAttributeType() argument 1367 switch(dataType) in getAttributeType() 1400 void addMatrixUniform (deUint32 bindingLocation, DataType dataType, const float* dataPtr); 1472 if (in.inputType == INPUTTYPE_DYNAMIC && isDataTypeMatrix(in.dataType)) in ShaderMatrixInstance() 1474 useAttribute(4u + inNdx, getAttributeType(in.dataType)); in ShaderMatrixInstance() 1484 void ShaderMatrixInstance::addMatrixUniform(deUint32 bindingLocation, DataType dataType, const floa… in addMatrixUniform() argument 1489 switch(dataType) in addMatrixUniform() [all …]
|
/third_party/skia/platform_tools/debugging/lldb/ |
D | skia.py | 70 offset, self.dataType) 78 self.dataType = self.fItemArray.GetType().GetPointeeType() 79 self.dataSize = self.dataType.GetByteSize() 116 offset, self.dataType) 127 self.dataType = self.fValue.GetType().GetPointeeType() 128 self.dataSize = self.dataType.GetByteSize() 165 offset, self.dataType) 173 self.dataType = self.fPtr.GetType().GetPointeeType() 174 self.dataSize = self.dataType.GetByteSize()
|
/third_party/protobuf/objectivec/ |
D | GPBType.pbobjc.m | 136 .dataType = GPBDataTypeString, 145 .dataType = GPBDataTypeMessage, 154 .dataType = GPBDataTypeString, 163 .dataType = GPBDataTypeMessage, 172 .dataType = GPBDataTypeMessage, 181 .dataType = GPBDataTypeEnum, 255 .dataType = GPBDataTypeEnum, 264 .dataType = GPBDataTypeEnum, 273 .dataType = GPBDataTypeInt32, 282 .dataType = GPBDataTypeString, [all …]
|
D | GPBApi.pbobjc.m | 100 .dataType = GPBDataTypeString, 109 .dataType = GPBDataTypeMessage, 118 .dataType = GPBDataTypeMessage, 127 .dataType = GPBDataTypeString, 136 .dataType = GPBDataTypeMessage, 145 .dataType = GPBDataTypeMessage, 154 .dataType = GPBDataTypeEnum, 221 .dataType = GPBDataTypeString, 230 .dataType = GPBDataTypeString, 239 .dataType = GPBDataTypeBool, [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | excessPropertyCheckWithNestedArrayIntersection.types | 27 dataType: ValueAndKeyFields & ValueOnlyFields; 28 >dataType : ValueAndKeyFields & ValueOnlyFields 32 >{ dataType: { fields: [{ key: 'bla', // should be OK: Not excess value: null, }],… 34 dataType: { 35 >dataType : { fields: { key: string; value: null; }[]; }
|
D | excessPropertyCheckWithNestedArrayIntersection.symbols | 32 dataType: ValueAndKeyFields & ValueOnlyFields; 33 >dataType : Symbol(BugRepro.dataType, Decl(excessPropertyCheckWithNestedArrayIntersection.ts, 11, 2… 41 dataType: { 42 >dataType : Symbol(dataType, Decl(excessPropertyCheckWithNestedArrayIntersection.ts, 14, 25))
|
D | objectLiteralParameterResolution.types | 18 >s : { type: string; data: string; success: any; error: any; dataType: string; converters: { "text … 19 …dataType: "json" , converters: { "text json": "" }, traditional: true , timeout: 12, }… 23 …dataType: "json" , converters: { "text json": "" }, traditional: true , timeout: 12, }… 47 dataType: "json" , 48 >dataType : string
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationShaderInputOutputTests.cpp | 794 DataType dataType; member 808 const std::string dataType = typeStr[caseDef.dataType]; in initPrograms() local 840 src << "layout(location = 1) out mediump " << dataType << " in_te_data0[];\n" in initPrograms() 841 …<< "layout(location = " << varyingSize[caseDef.dataType] + 1 << ") out mediump " << dataType << " … in initPrograms() 843 …src << "layout(location = 1) patch out mediump " << dataType << " in_te_data0[" << OUTPUT_PATCH_SI… in initPrograms() 844 …ion = " << OUTPUT_PATCH_SIZE * varyingSize[caseDef.dataType] + 1 << ") patch out mediump " << data… in initPrograms() 849 << " " << dataType << " d = " << dataType << "(gl_InvocationID);\n" in initPrograms() 883 src << "layout(location = 1) in mediump " << dataType << " in_te_data0[];\n" in initPrograms() 884 …<< "layout(location = " << varyingSize[caseDef.dataType] + 1 << ") in mediump " << dataType << " i… in initPrograms() 886 …src << "layout(location = 1) patch in mediump " << dataType << " in_te_data0[" << OUTPUT_PATCH_SIZ… in initPrograms() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
D | vktTessellationShaderInputOutputTests.cpp | 794 DataType dataType; member 808 const std::string dataType = typeStr[caseDef.dataType]; in initPrograms() local 840 src << "layout(location = 1) out mediump " << dataType << " in_te_data0[];\n" in initPrograms() 841 …<< "layout(location = " << varyingSize[caseDef.dataType] + 1 << ") out mediump " << dataType << " … in initPrograms() 843 …src << "layout(location = 1) patch out mediump " << dataType << " in_te_data0[" << OUTPUT_PATCH_SI… in initPrograms() 844 …ion = " << OUTPUT_PATCH_SIZE * varyingSize[caseDef.dataType] + 1 << ") patch out mediump " << data… in initPrograms() 849 << " " << dataType << " d = " << dataType << "(gl_InvocationID);\n" in initPrograms() 883 src << "layout(location = 1) in mediump " << dataType << " in_te_data0[];\n" in initPrograms() 884 …<< "layout(location = " << varyingSize[caseDef.dataType] + 1 << ") in mediump " << dataType << " i… in initPrograms() 886 …src << "layout(location = 1) patch in mediump " << dataType << " in_te_data0[" << OUTPUT_PATCH_SIZ… in initPrograms() [all …]
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
D | es2pTextureFormatTests.cpp | 54 deUint32 dataType; in init() member 70 deUint32 dataType = texFormats[formatNdx].dataType; in init() local 77 …g descriptionBase = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType); in init() 79 …enderCase(m_context, nameBase.c_str(), descriptionBase.c_str(), format, dataType, wrapS, wrapT, mi… in init()
|
D | es2pTextureCountTests.cpp | 56 deUint32 dataType; in init() member 71 deUint32 dataType = texFormats[formatNdx].dataType; in init() local 78 …ring description = string(glu::getTextureFormatName(format)) + ", " + glu::getTypeName(dataType); in init() 80 …addChild(new Texture2DRenderCase(m_context, name.c_str(), description.c_str(), format, dataType, w… in init()
|