Home
last modified time | relevance | path

Searched refs:curType (Results 1 – 14 of 14) sorted by relevance

/external/deqp/framework/opengl/
DgluVarTypeUtil.cpp107 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 …]
DgluVarTypeUtil.hpp286 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 …]
DgluVarType.cpp361 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/
DreverseContourPen.py93 for (curType, curPts), (_, nextPts) in pairwise(
95 yield curType, tuple(reversed(curPts[:-1])) + (nextPts[-1],)
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1245 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getAPIName() local
1246 const StructType* structPtr = curType.getStructPtr(); in getAPIName()
1286 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getShaderName() local
1287 const StructType* structPtr = curType.getStructPtr(); in getShaderName()
1319 const VarType curType = accessPath.getType(); in generateCompareSrc() local
1321 if (curType.isArrayType()) in generateCompareSrc()
1323 …const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArray… in generateCompareSrc()
1328 else if (curType.isStructType()) in generateCompareSrc()
1330 const int numMembers = curType.getStructPtr()->getNumMembers(); in generateCompareSrc()
1337 DE_ASSERT(curType.isBasicType()); in generateCompareSrc()
[all …]
/external/skia/tools/viewer/
DParticlesSlide.cpp98 const SkReflected::Type* curType = e ? e->getType() : nullptr; in visit() local
99 if (ImGui::BeginCombo("Type", curType ? curType->fName : "Null")) { in visit()
100 auto visitType = [baseType, curType, &e](const SkReflected::Type* t) { in visit()
102 ImGui::Selectable(t->fName, curType == t)) { in visit()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp1056 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getAPIName() local
1057 const StructType* structPtr = curType.getStructPtr(); in getAPIName()
1097 const VarType curType = glu::getVarType(var.getType(), accessPath.begin(), pathComp); in getShaderName() local
1098 const StructType* structPtr = curType.getStructPtr(); in getShaderName()
1129 const VarType curType = accessPath.getType(); in generateCompareSrc() local
1131 if (curType.isArrayType()) in generateCompareSrc()
1133 …const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArray… in generateCompareSrc()
1138 else if (curType.isStructType()) in generateCompareSrc()
1140 const int numMembers = curType.getStructPtr()->getNumMembers(); in generateCompareSrc()
1147 DE_ASSERT(curType.isBasicType()); in generateCompareSrc()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResTableTheme.java192 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/
DvktUniformBlockCase.cpp1045 const VarType* curType = &type; in generateDeclaration() local
1046 while (curType->isArrayType()) in generateDeclaration()
1048 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
1049 curType = &curType->getElementType(); in generateDeclaration()
1052 generateLayoutAndPrecisionDeclaration(src, curType->getFlags() & flagsMask, offset); in generateDeclaration()
1054 if (curType->isBasicType()) in generateDeclaration()
1055 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration()
1058 DE_ASSERT(curType->isStructType()); in generateDeclaration()
1059 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration()
1095 const VarType* curType = &uniform.getType(); in getBlockMemberOffset() local
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.cpp782 const VarType* curType = &type; in generateDeclaration() local
783 while (curType->isArrayType()) in generateDeclaration()
785 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
786 curType = &curType->getElementType(); in generateDeclaration()
789 if (curType->isBasicType()) in generateDeclaration()
791 if ((curType->getFlags() & PRECISION_MASK) != 0) in generateDeclaration()
792 src << PrecisionFlagsFmt(curType->getFlags() & PRECISION_MASK) << " "; in generateDeclaration()
793 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration()
797 DE_ASSERT(curType->isStructType()); in generateDeclaration()
798 generateLocalDeclaration(src, curType->getStruct(), indentLevel + 1); in generateDeclaration()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp865 const VarType* curType = &type; in generateDeclaration() local
866 while (curType->isArrayType()) in generateDeclaration()
868 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
869 curType = &curType->getElementType(); in generateDeclaration()
872 if (curType->isBasicType()) in generateDeclaration()
874 if ((curType->getFlags() & PRECISION_MASK) != 0) in generateDeclaration()
875 src << PrecisionFlagsFmt(curType->getFlags() & PRECISION_MASK) << " "; in generateDeclaration()
876 src << glu::getDataTypeName(curType->getBasicType()); in generateDeclaration()
880 DE_ASSERT(curType->isStructType()); in generateDeclaration()
881 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration()
/external/deqp/modules/gles2/functional/
Des2fShaderOperatorTests.cpp1414 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/
DvktShaderRenderOperatorTests.cpp2026 const DataType curType = s_selectionInfo[typeNdx].type; in init() local
2028 const bool isBoolCase = isDataTypeBoolOrBVec(curType); in init()
2029 const bool isFloatCase = isDataTypeFloatOrVec(curType); in init()
2030 const bool isIntCase = isDataTypeIntOrIVec(curType); in init()
2031 const bool isUintCase = isDataTypeUintOrUVec(curType); in init()
2032 const char* dataTypeStr = getDataTypeName(curType); in init()
2056 shaderSpec.output = curType; in init()
2066 shaderSpec.inputs[1] = ShaderValue(curType, rangeMin, rangeMax); in init()
2067 shaderSpec.inputs[2] = ShaderValue(curType, rangeMin, rangeMax); in init()
/external/deqp/modules/gles3/functional/
Des3fShaderOperatorTests.cpp2066 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()