Home
last modified time | relevance | path

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

1234567

/external/clang/test/Analysis/
Dtest-variably-modified-types.c4 unsigned getArraySize(int *x) { in getArraySize() function
11 int mytype[getArraySize(x)]; in testVariablyModifiedTypes()
/external/llvm-project/clang/test/Analysis/
Dtest-variably-modified-types.c4 unsigned getArraySize(int *x) { in getArraySize() function
11 int mytype[getArraySize(x)]; in testVariablyModifiedTypes()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageUtil.cpp470 …gions, DE_NULL, imageAspectFlags, srcTexture.getNumLevels(), srcTexture.getArraySize(), destImage); in uploadTestTextureInternal()
747 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getSize()
771 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getCompressedSize()
784 DE_ASSERT(layer >= 0 && layer < getArraySize()); in getCompressedLevel()
786 return *m_compressedLevels[level * getArraySize() + layer]; in getCompressedLevel()
792 DE_ASSERT(layer >= 0 && layer < getArraySize()); in getCompressedLevel()
794 return *m_compressedLevels[level * getArraySize() + layer]; in getCompressedLevel()
811 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions()
859 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions()
909 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in write()
[all …]
DvktPipelineImageUtil.hpp170 virtual int getArraySize (void) const { return 1; } in getArraySize() function in vkt::pipeline::TestTexture
236 virtual int getArraySize (void) const;
280 virtual int getArraySize (void) const;
321 virtual int getArraySize (void) const;
343 virtual int getArraySize (void) const;
DvktPipelineImageViewTests.cpp78 static int getArraySize (VkImageViewType viewType);
116 const int arraySize = getArraySize(imageViewType); in getImageSamplingInstanceParams()
319 int ImageViewTest::getArraySize (VkImageViewType viewType) in getArraySize() function in vkt::pipeline::__anonc6b05bc00111::ImageViewTest
363 const deUint32 arraySize = ImageViewTest::getArraySize(viewType); in createSubresourceRangeTests()
640 arraySize = ImageViewTest::getArraySize(viewType); in createComponentSwizzleTests()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp543 entry.arraySize = type.getArraySize(); in computeReferenceLayout()
549 curOffset += stride*type.getArraySize(); in computeReferenceLayout()
570 entry.arraySize = type.getArraySize(); in computeReferenceLayout()
577 curOffset += entry.arrayStride*type.getArraySize(); in computeReferenceLayout()
585 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout()
612 …const int topLevelArraySize = varType.getArraySize() == VarType::UNSIZED_ARRAY ? 0 : varType.getA… in computeReferenceLayout()
740 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout()
1123 src << "[" << block.getArraySize() << "]"; in generateDeclaration()
1344 …t arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(ins… in generateCompareSrc()
1405 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc()
[all …]
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayStencilAttachments.cpp74 m_data_array = new glw::GLubyte[getArraySize()]; in init()
76 memset(m_data_array, initial_value, getArraySize() * sizeof(glw::GLubyte)); in init()
104 glw::GLuint CubeMapArrayDataStorage::getArraySize() const in getArraySize() function in glcts::CubeMapArrayDataStorage
217 m_cube_map_array_data[test_index].getArraySize() / m_cube_map_array_data[test_index].getDepth(); in iterate()
606 memset(data, 0, m_cube_map_array_data[test_index].getArraySize() * sizeof(glw::GLubyte)); in fillStencilData()
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp527 entry.arraySize = type.getArraySize(); in computeReferenceLayout()
533 curOffset += stride*type.getArraySize(); in computeReferenceLayout()
551 entry.arraySize = type.getArraySize(); in computeReferenceLayout()
558 curOffset += numVecs*vecStride*type.getArraySize(); in computeReferenceLayout()
566 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout()
592 …const int topLevelArraySize = varType.getArraySize() == VarType::UNSIZED_ARRAY ? 0 : varType.getA… in computeReferenceLayout()
702 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout()
966 src << "[" << block.getArraySize() << "]"; in generateDeclaration()
1128 …t arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(ins… in generateCompareSrc()
1174 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc()
[all …]
Des31fProgramInterfaceDefinitionUtil.cpp203 for (int ndx = 0; ndx < type.getArraySize(); ++ndx) in generateVariableTypeResourceNames()
460 if (varType.getArraySize() != glu::VarType::UNSIZED_ARRAY) in writeVariableReadAccumulateExpression()
462 for (int ndx = 0; ndx < varType.getArraySize(); ++ndx) in writeVariableReadAccumulateExpression()
619 if (varType.getArraySize() != glu::VarType::UNSIZED_ARRAY) in writeVariableWriteExpression()
621 for (int ndx = 0; ndx < varType.getArraySize(); ++ndx) in writeVariableWriteExpression()
912 …const int arraySize = (complexType.getArraySize() == glu::VarType::UNSIZED_ARRAY) ? (1) : (complex… in accumulateComplexType()
1120 …const int arraySize = (type.getArraySize() == glu::VarType::UNSIZED_ARRAY) ? (1) : (type.getArrayS… in getBufferVariableSize()
1271 ? (shader->getDefaultBlock().variables[ndx].varType.getArraySize()) in getFragmentOutputMaxLocation()
/external/deqp/modules/glshared/
DglsAttributeLocationTests.cpp123 …<< (iter->getArraySize() != Attribute::NOT_ARRAY ? "[" + de::toString(iter->getArraySize()) + "]"… in generateAttributeDefinitions()
148 …const string variableName(attrib.getName() + (attrib.getArraySize() != Attribute::NOT_ARRAY ? "["… in generateToVec4Expression()
185 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode()
189 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode()
197 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode()
201 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode()
211 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode()
215 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode()
547 if (attrib.getArraySize() == Attribute::NOT_ARRAY) in checkActiveAttribQuery()
557 if (size != attrib.getArraySize()) in checkActiveAttribQuery()
[all …]
DglsUniformBlockCase.hpp89 int getArraySize (void) const { return m_data.array.size; } in getArraySize() function in deqp::gls::ub::VarType
190 int getArraySize (void) const { return m_arraySize; } in getArraySize() function in deqp::gls::ub::UniformBlock
DglsUniformBlockCase.cpp521 entry.size = type.getArraySize(); in computeStd140Layout()
525 curOffset += stride*type.getArraySize(); in computeStd140Layout()
545 entry.size = type.getArraySize(); in computeStd140Layout()
550 curOffset += numVecs*type.getArraySize()*stride; in computeStd140Layout()
558 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeStd140Layout()
601 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeStd140Layout()
869 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
937 src << "[" << block.getArraySize() << "]"; in generateDeclaration()
1017 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc()
1035 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc()
[all …]
/external/angle/src/tests/gl_tests/
DUniformBufferTest.cpp1896 GLuint getArraySize() { return mArraySize1; } in getArraySize() function in __anond86de61f0111::UniformBlockWithOneLargeArrayMemberTest
2030 const GLuint arraySize = getArraySize(); in TEST_P()
2082 const GLuint arraySize = getArraySize(); in TEST_P()
2139 const GLuint arraySize = getArraySize(); in TEST_P()
2207 const GLuint arraySize = getArraySize(); in TEST_P()
2269 const GLuint arraySize = getArraySize(); in TEST_P()
2331 const GLuint arraySize = getArraySize(); in TEST_P()
2394 const GLuint arraySize = getArraySize(); in TEST_P()
2466 const GLuint arraySize1 = getArraySize(); in TEST_P()
2549 const GLuint arraySize1 = getArraySize(); in TEST_P()
[all …]
/external/deqp/framework/opengl/
DgluVarTypeUtil.hpp260 if (curComp.index+1 < parentType.getArraySize()) in removeTraversed()
330 …isArrayType() || (curType->getArraySize() != VarType::UNSIZED_ARRAY && !de::inBounds(pathIter->ind… in isValidTypePath()
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.hpp102 int getArraySize(void) const in getArraySize() function in deqp::ub::VarType
258 int getArraySize(void) const in getArraySize() function in deqp::ub::UniformBlock
DglcUniformBlockCase.cpp493 entry.size = type.getArraySize(); in computeStd140Layout()
497 curOffset += stride * type.getArraySize(); in computeStd140Layout()
517 entry.size = type.getArraySize(); in computeStd140Layout()
522 curOffset += numVecs * type.getArraySize() * stride; in computeStd140Layout()
530 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeStd140Layout()
572 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeStd140Layout()
780 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
849 src << "[" << block.getArraySize() << "]"; in generateDeclaration()
938 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc()
957 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc()
[all …]
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXAllocaHoisting.cpp48 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAllocaHoisting.cpp48 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
/external/llvm/lib/Target/NVPTX/
DNVPTXAllocaHoisting.cpp51 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { in runOnFunction()
/external/deqp/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp620 const int fieldSize = stride * type.getArraySize(); in computeXfbLayout()
622 const int fieldSizeForLocation = strideForLocation * type.getArraySize(); in computeXfbLayout()
629 entry.arraySize = type.getArraySize(); in computeXfbLayout()
648 const int fieldSize = numVecs * type.getArraySize() * stride; in computeXfbLayout()
650 const int fieldSizeForLocation = numVecs * type.getArraySize() * strideForLocation; in computeXfbLayout()
657 entry.arraySize = type.getArraySize(); in computeXfbLayout()
672 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeXfbLayout()
717 const int numInstances = interfaceBlock.isArray() ? interfaceBlock.getArraySize() : 1; in computeXfbLayout()
1038 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
1197 src << "[" << block.getArraySize() << "]"; in generateDeclaration()
[all …]
DvktTransformFeedbackFuzzLayoutCase.hpp91 int getArraySize (void) const { return m_data.array.size; } in getArraySize() function in vkt::TransformFeedback::VarType
201 int getArraySize (void) const { return m_arraySize; } in getArraySize() function in vkt::TransformFeedback::InterfaceBlock
/external/javassist/src/main/javassist/compiler/ast/
DNewExpr.java65 public ASTList getArraySize() { return getArguments(); } in getArraySize() method in NewExpr
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.hpp98 int getArraySize (void) const { return m_data.array.size; } in getArraySize() function in vkt::ubo::VarType
206 int getArraySize (void) const { return m_arraySize; } in getArraySize() function in vkt::ubo::UniformBlock
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp174 if (AI.getArraySize()->getType()->isIntegerTy(32)) in simplifyAllocaArraySize()
184 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { in simplifyAllocaArraySize()
211 if (isa<UndefValue>(AI.getArraySize())) in simplifyAllocaArraySize()
217 if (AI.getArraySize()->getType() != IntPtrTy) { in simplifyAllocaArraySize()
218 Value *V = IC.Builder->CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize()
243 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst()
657 ConstantInt *CS = dyn_cast<ConstantInt>(AI->getArraySize()); in isObjectSizeLessThanOrEq()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp175 if (AI.getArraySize()->getType()->isIntegerTy(32)) in simplifyAllocaArraySize()
183 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { in simplifyAllocaArraySize()
212 if (isa<UndefValue>(AI.getArraySize())) in simplifyAllocaArraySize()
218 if (AI.getArraySize()->getType() != IntPtrTy) { in simplifyAllocaArraySize()
219 Value *V = IC.Builder.CreateIntCast(AI.getArraySize(), IntPtrTy, false); in simplifyAllocaArraySize()
372 ConstantInt::get(AI.getArraySize()->getType(), 1)); in visitAllocaInst()
769 ConstantInt *CS = dyn_cast<ConstantInt>(AI->getArraySize()); in isObjectSizeLessThanOrEq()

1234567