Home
last modified time | relevance | path

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

123456

/external/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.cpp503 … srcTexture.getNumLevels(), srcTexture.getArraySize(), destImage, destImageLayout); in uploadTestTextureInternal()
764 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getSize()
788 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getCompressedSize()
801 DE_ASSERT(layer >= 0 && layer < getArraySize()); in getCompressedLevel()
803 return *m_compressedLevels[level * getArraySize() + layer]; in getCompressedLevel()
809 DE_ASSERT(layer >= 0 && layer < getArraySize()); in getCompressedLevel()
811 return *m_compressedLevels[level * getArraySize() + layer]; in getCompressedLevel()
828 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions()
869 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in getBufferCopyRegions()
911 for (int layerNdx = 0; layerNdx < getArraySize(); layerNdx++) in write()
[all …]
DvktPipelineImageUtil.hpp139 virtual int getArraySize(void) const in getArraySize() function in vkt::pipeline::TestTexture
220 virtual int getArraySize(void) const;
276 virtual int getArraySize(void) const;
329 virtual int getArraySize(void) const;
357 virtual int getArraySize(void) const;
DvktPipelineImageViewTests.cpp74 static int getArraySize(VkImageViewType viewType);
108 const int arraySize = getArraySize(imageViewType); in getImageSamplingInstanceParams()
316 int ImageViewTest::getArraySize(VkImageViewType viewType) in getArraySize() function in vkt::pipeline::__anon11139df60111::ImageViewTest
362 const uint32_t arraySize = ImageViewTest::getArraySize(viewType); in createSubresourceRangeTests()
644 arraySize = ImageViewTest::getArraySize(viewType); in createComponentSwizzleTests()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp556 entry.arraySize = type.getArraySize(); in computeReferenceLayout()
562 curOffset += stride * type.getArraySize(); in computeReferenceLayout()
583 entry.arraySize = type.getArraySize(); in computeReferenceLayout()
590 curOffset += entry.arrayStride * type.getArraySize(); in computeReferenceLayout()
598 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout()
630 …const int topLevelArraySize = varType.getArraySize() == VarType::UNSIZED_ARRAY ? 0 : varType.getAr… in computeReferenceLayout()
762 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout()
1047 src << "[" << block.getArraySize() << "]"; in generateDeclaration()
1289 const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? in generateCompareSrc()
1291 curType.getArraySize(); 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.cpp511 entry.arraySize = type.getArraySize(); in computeReferenceLayout()
517 curOffset += stride * type.getArraySize(); in computeReferenceLayout()
535 entry.arraySize = type.getArraySize(); in computeReferenceLayout()
542 curOffset += numVecs * vecStride * type.getArraySize(); in computeReferenceLayout()
550 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeReferenceLayout()
581 …const int topLevelArraySize = varType.getArraySize() == VarType::UNSIZED_ARRAY ? 0 : varType.getAr… in computeReferenceLayout()
694 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout()
1007 src << "[" << block.getArraySize() << "]"; in generateDeclaration()
1178 const int arraySize = curType.getArraySize() == VarType::UNSIZED_ARRAY ? in generateCompareSrc()
1180 curType.getArraySize(); in generateCompareSrc()
[all …]
/external/deqp/modules/glshared/
DglsAttributeLocationTests.cpp121 …<< (iter->getArraySize() != Attribute::NOT_ARRAY ? "[" + de::toString(iter->getArraySize()) + "]" … in generateAttributeDefinitions()
148 … (attrib.getArraySize() != Attribute::NOT_ARRAY ? "[" + de::toString(id) + "]" : "")); in generateToVec4Expression()
184 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode()
188 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode()
196 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode()
200 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode()
210 if (iter->getArraySize() == Attribute::NOT_ARRAY) in generateOutputCode()
214 for (int i = 0; i < iter->getArraySize(); i++) in generateOutputCode()
537 if (attrib.getArraySize() == Attribute::NOT_ARRAY) in checkActiveAttribQuery()
548 if (size != attrib.getArraySize()) in checkActiveAttribQuery()
[all …]
DglsUniformBlockCase.hpp107 int getArraySize(void) const in getArraySize() function in deqp::gls::ub::VarType
264 int getArraySize(void) const in getArraySize() function in deqp::gls::ub::UniformBlock
DglsUniformBlockCase.cpp510 entry.size = type.getArraySize(); in computeStd140Layout()
514 curOffset += stride * type.getArraySize(); in computeStd140Layout()
536 entry.size = type.getArraySize(); in computeStd140Layout()
541 curOffset += numVecs * type.getArraySize() * stride; in computeStd140Layout()
549 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeStd140Layout()
596 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeStd140Layout()
917 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
987 src << "[" << block.getArraySize() << "]"; in generateDeclaration()
1076 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc()
1094 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.hpp102 int getArraySize(void) const in getArraySize() function in deqp::ub::VarType
259 int getArraySize(void) const in getArraySize() function in deqp::ub::UniformBlock
DglcUniformBlockCase.cpp500 entry.size = type.getArraySize(); in computeStd140Layout()
504 curOffset += stride * type.getArraySize(); in computeStd140Layout()
524 entry.size = type.getArraySize(); in computeStd140Layout()
529 curOffset += numVecs * type.getArraySize() * stride; in computeStd140Layout()
537 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in computeStd140Layout()
579 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeStd140Layout()
787 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
856 src << "[" << block.getArraySize() << "]"; in generateDeclaration()
945 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) in generateCompareSrc()
964 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++) in generateCompareSrc()
[all …]
/external/swiftshader/third_party/llvm-16.0/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/framework/opengl/
DgluVarTypeUtil.hpp403 if (curComp.index + 1 < parentType.getArraySize()) in removeTraversed()
473 if (!curType->isArrayType() || (curType->getArraySize() != VarType::UNSIZED_ARRAY && in isValidTypePath()
474 … !de::inBounds(pathIter->index, 0, curType->getArraySize()))) in isValidTypePath()
/external/angle/src/tests/gl_tests/
DUniformBufferTest.cpp2260 GLuint getArraySize() { return mArraySize1; } in getArraySize() function in __anondae317150111::UniformBlockWithOneLargeArrayMemberTest
2394 const GLuint arraySize = getArraySize(); in TEST_P()
2446 const GLuint arraySize = getArraySize(); in TEST_P()
2503 const GLuint arraySize = getArraySize(); in TEST_P()
2571 const GLuint arraySize = getArraySize(); in TEST_P()
2633 const GLuint arraySize = getArraySize(); in TEST_P()
2695 const GLuint arraySize = getArraySize(); in TEST_P()
2756 const GLuint arraySize = getArraySize(); in TEST_P()
2828 const GLuint arraySize1 = getArraySize(); in TEST_P()
2911 const GLuint arraySize1 = getArraySize(); in TEST_P()
[all …]
/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/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp619 const int fieldSize = stride * type.getArraySize(); in computeXfbLayout()
621 const int fieldSizeForLocation = strideForLocation * type.getArraySize(); in computeXfbLayout()
628 entry.arraySize = type.getArraySize(); in computeXfbLayout()
647 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()
722 … const int numInstances = interfaceBlock.isArray() ? interfaceBlock.getArraySize() : 1; in computeXfbLayout()
1066 arraySizes.push_back(curType->getArraySize()); in generateDeclaration()
1229 src << "[" << block.getArraySize() << "]"; in generateDeclaration()
[all …]
DvktTransformFeedbackFuzzLayoutCase.hpp109 int getArraySize(void) const in getArraySize() function in vkt::TransformFeedback::VarType
278 int getArraySize(void) const in getArraySize() function in vkt::TransformFeedback::InterfaceBlock
/external/angle/src/libANGLE/renderer/vulkan/
DCLMemoryVk.h158 size_t getArraySize() const { return getFrontendObject().getArraySize(); } in getArraySize() function
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.hpp117 int getArraySize(void) const in getArraySize() function in vkt::ubo::VarType
290 int getArraySize(void) const in getArraySize() function in vkt::ubo::UniformBlock
/external/angle/src/libANGLE/
DCLImage.h45 size_t getArraySize() const { return mDesc.arraySize; } in getArraySize() function
/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/deqp/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelSharedLayoutCase.cpp65 entries.push_back(SharedStructVarEntry(elemType.getBasicType(), type.getArraySize())); in computeReferenceLayout()
69 for (int i = 0; i < type.getArraySize(); i++) in computeReferenceLayout()
205 const int arraySize = curType.getArraySize(); in generateSharedMemoryWrites()

123456