/external/deqp/framework/opengl/ |
D | gluVarTypeUtil.cpp | 107 VarType curType = getVarType(type, path); in parseTypePath() local 113 TCU_CHECK_MSG(curType.isStructType(), "Invalid field selector"); in parseTypePath() 118 for (; ndx < curType.getStructPtr()->getNumMembers(); ndx++) in parseTypePath() 120 if (memberName == curType.getStructPtr()->getMember(ndx).getName()) in parseTypePath() 123 TCU_CHECK_MSG(ndx < curType.getStructPtr()->getNumMembers(), "Member not found in type"); in parseTypePath() 135 if (curType.isArrayType()) in parseTypePath() 137 TCU_CHECK(de::inBounds(ndx, 0, curType.getArraySize())); in parseTypePath() 140 else if (curType.isBasicType() && isDataTypeMatrix(curType.getBasicType())) in parseTypePath() 142 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeMatrixNumColumns(curType.getBasicType()))); in parseTypePath() 145 else if (curType.isBasicType() && isDataTypeVector(curType.getBasicType())) in parseTypePath() [all …]
|
D | gluVarTypeUtil.hpp | 286 VarType curType = getVarType(*m_type, m_path); in findNext() local 288 if (IsExpanded()(curType)) in findNext() 292 if (curType.isBasicType()) in findNext() 294 DataType basicType = curType.getBasicType(); in findNext() 303 else if (curType.isArrayType()) in findNext() 305 else if (curType.isStructType()) in findNext() 315 const VarType* curType = &type; in isValidTypePath() local 323 …if (!curType->isStructType() || !de::inBounds(pathIter->index, 0, curType->getStructPtr()->getNumM… in isValidTypePath() 326 curType = &curType->getStructPtr()->getMember(pathIter->index).getType(); in isValidTypePath() 330 …if (!curType->isArrayType() || (curType->getArraySize() != VarType::UNSIZED_ARRAY && !de::inBounds… in isValidTypePath() [all …]
|
D | gluVarType.cpp | 361 const VarType* curType = &type; in operator <<() local 365 while (curType->isArrayType()) in operator <<() 367 arraySizes.push_back(curType->getArraySize()); in operator <<() 368 curType = &curType->getElementType(); in operator <<() 371 if (curType->isBasicType()) in operator <<() 373 …if (curType->getPrecision() != PRECISION_LAST && !glu::isDataTypeFloat16OrVec(curType->getBasicTyp… in operator <<() 374 str << glu::getPrecisionName(curType->getPrecision()) << " "; in operator <<() 375 str << glu::getDataTypeName(curType->getBasicType()); in operator <<() 377 else if (curType->isStructType()) in operator <<() 379 const StructType* structPtr = curType->getStructPtr(); in operator <<()
|
/external/fonttools/Lib/fontTools/pens/ |
D | reverseContourPen.py | 91 for (curType, curPts), (_, nextPts) in pairwise( 93 yield curType, tuple(reversed(curPts[:-1])) + (nextPts[-1],)
|
/external/skia/tools/viewer/ |
D | ParticlesSlide.cpp | 116 const SkReflected::Type* curType = e ? e->getType() : nullptr; in visit() local 117 if (ImGui::BeginCombo("Type", curType ? curType->fName : "Null")) { in visit() 118 auto visitType = [baseType, curType, &e, this](const SkReflected::Type* t) { in visit() 120 ImGui::Selectable(t->fName, curType == t)) { in visit()
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutCase.cpp | 1264 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getAPIName() local 1265 const StructType* structPtr = curType.getStructPtr(); in getAPIName() 1307 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getShaderName() local 1308 const StructType* structPtr = curType.getStructPtr(); in getShaderName() 1340 const VarType curType = accessPath.getType(); in generateCompareSrc() local 1342 if (curType.isArrayType()) in generateCompareSrc() 1344 …const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArray… in generateCompareSrc() 1349 else if (curType.isStructType()) in generateCompareSrc() 1351 const int numMembers = curType.getStructPtr()->getNumMembers(); in generateCompareSrc() 1358 DE_ASSERT(curType.isBasicType()); in generateCompareSrc() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutCase.cpp | 1051 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getAPIName() local 1052 const StructType* structPtr = curType.getStructPtr(); in getAPIName() 1092 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getShaderName() local 1093 const StructType* structPtr = curType.getStructPtr(); in getShaderName() 1124 const VarType curType = accessPath.getType(); in generateCompareSrc() local 1126 if (curType.isArrayType()) in generateCompareSrc() 1128 …const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArray… in generateCompareSrc() 1133 else if (curType.isStructType()) in generateCompareSrc() 1135 const int numMembers = curType.getStructPtr()->getNumMembers(); in generateCompareSrc() 1142 DE_ASSERT(curType.isBasicType()); in generateCompareSrc() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/ |
D | vktTransformFeedbackFuzzLayoutCase.cpp | 1035 const VarType* curType = &type; in generateDeclaration() local 1036 while (curType->isArrayType()) in generateDeclaration() 1038 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 1039 curType = &curType->getElementType(); in generateDeclaration() 1042 …generateLayoutAndPrecisionDeclaration(src, curType->getFlags() & flagsMask, buffer, stride, offset… in generateDeclaration() 1044 if (curType->isBasicType()) in generateDeclaration() 1045 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration() 1048 DE_ASSERT(curType->isStructType()); in generateDeclaration() 1049 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration() 1085 const VarType* curType = &member.getType(); in getBlockMemberOffset() local [all …]
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResTableTheme.java | 192 int curType = 0xffffffff; in applyStyle() local 219 curType = 0xffffffff; in applyStyle() 221 if (curType != t) { in applyStyle() 227 curType = t; in applyStyle()
|
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockCase.cpp | 1007 const VarType* curType = &type; in generateDeclaration() local 1008 while (curType->isArrayType()) in generateDeclaration() 1010 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 1011 curType = &curType->getElementType(); in generateDeclaration() 1014 generateLayoutAndPrecisionDeclaration(src, curType->getFlags() & flagsMask, offset); in generateDeclaration() 1016 if (curType->isBasicType()) in generateDeclaration() 1017 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration() 1020 DE_ASSERT(curType->isStructType()); in generateDeclaration() 1021 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration() 1057 const VarType* curType = &uniform.getType(); in getBlockMemberOffset() local [all …]
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 866 const VarType* curType = &type; in generateDeclaration() local 867 while (curType->isArrayType()) in generateDeclaration() 869 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 870 curType = &curType->getElementType(); in generateDeclaration() 873 if (curType->isBasicType()) in generateDeclaration() 875 if ((curType->getFlags() & LAYOUT_MASK) != 0) in generateDeclaration() 876 src << "layout(" << LayoutFlagsFmt(curType->getFlags() & LAYOUT_MASK) << ") "; in generateDeclaration() 877 if ((curType->getFlags() & PRECISION_MASK) != 0) in generateDeclaration() 878 src << PrecisionFlagsFmt(curType->getFlags() & PRECISION_MASK) << " "; in generateDeclaration() 879 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcUniformBlockCase.cpp | 777 const VarType* curType = &type; in generateDeclaration() local 778 while (curType->isArrayType()) in generateDeclaration() 780 arraySizes.push_back(curType->getArraySize()); in generateDeclaration() 781 curType = &curType->getElementType(); in generateDeclaration() 784 if (curType->isBasicType()) in generateDeclaration() 786 if ((curType->getFlags() & PRECISION_MASK) != 0) in generateDeclaration() 787 src << PrecisionFlagsFmt(curType->getFlags() & PRECISION_MASK) << " "; in generateDeclaration() 788 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration() 792 DE_ASSERT(curType->isStructType()); in generateDeclaration() 793 generateLocalDeclaration(src, curType->getStruct(), indentLevel + 1); in generateDeclaration()
|
/external/llvm-project/mlir/lib/IR/ |
D | BuiltinAttributes.cpp | 1065 ShapedType curType = getType(); in reshape() local 1066 if (curType == newType) in reshape() 1069 (void)curType; in reshape() 1070 assert(newType.getElementType() == curType.getElementType() && in reshape() 1072 assert(newType.getNumElements() == curType.getNumElements() && in reshape()
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderOperatorTests.cpp | 1414 DataType curType = s_selectionInfo[typeNdx].type; in init() local 1416 bool isBoolCase = isDataTypeBoolOrBVec(curType); in init() 1417 bool isFloatCase = isDataTypeFloatOrVec(curType); in init() 1418 bool isIntCase = isDataTypeIntOrIVec(curType); in init() 1419 const char* dataTypeStr = getDataTypeName(curType); in init() 1443 shaderSpec.output = curType; in init() 1451 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); in init() 1452 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax); in init()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderOperatorTests.cpp | 1879 const DataType curType = s_selectionInfo[typeNdx].type; in init() local 1881 const bool isBoolCase = isDataTypeBoolOrBVec(curType); in init() 1882 const bool isFloatCase = isDataTypeFloatOrVec(curType); in init() 1883 const bool isIntCase = isDataTypeIntOrIVec(curType); in init() 1884 const bool isUintCase = isDataTypeUintOrUVec(curType); in init() 1885 const char* dataTypeStr = getDataTypeName(curType); in init() 1909 shaderSpec.output = curType; in init() 1919 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); in init() 1920 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax); in init()
|
/external/deqp/modules/gles3/functional/ |
D | es3fShaderOperatorTests.cpp | 2066 DataType curType = s_selectionInfo[typeNdx].type; in init() local 2068 bool isBoolCase = isDataTypeBoolOrBVec(curType); in init() 2069 bool isFloatCase = isDataTypeFloatOrVec(curType); in init() 2070 bool isIntCase = isDataTypeIntOrIVec(curType); in init() 2071 bool isUintCase = isDataTypeUintOrUVec(curType); in init() 2072 const char* dataTypeStr = getDataTypeName(curType); in init() 2096 shaderSpec.output = curType; in init() 2106 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); in init() 2107 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax); in init()
|