/external/clang/test/Analysis/ |
test-variably-modified-types.c | 4 unsigned getArraySize(int *x) { 11 int mytype[getArraySize(x)];
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXAllocaHoisting.cpp | 29 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) {
|
/frameworks/compile/slang/ |
slang_rs_export_var.h | 60 inline size_t getArraySize() const { return mArraySize; }
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
ValidateOutputs.cpp | 48 const int elementCount = type.isArray() ? type.getArraySize() : 1;
|
InitializeVariables.cpp | 87 for (int index = varInfo.type.getArraySize() - 1; index >= 0; --index)
|
VariableInfo.cpp | 141 for (int i = 0; i < type.getArraySize(); ++i) { 165 varInfo.size = type.getArraySize();
|
Types.cpp | 197 size_t arraySize = getArraySize();
|
OutputHLSL.cpp | 249 int arraySize = type.isArray() ? type.getArraySize() : 1; 674 (unsigned int)type.getArraySize(), type.getLayoutQualifier().location); 719 (unsigned int)variableType.getArraySize(), layoutQualifier.location); [all...] |
intermediate.h | 297 int getArraySize() const { return type.getArraySize(); }
|
/external/javassist/src/main/javassist/compiler/ast/ |
NewExpr.java | 62 public ASTList getArraySize() { return getArguments(); }
|
/external/deqp/modules/glshared/ |
glsUniformBlockCase.hpp | 89 int getArraySize (void) const { return m_data.array.size; } 190 int getArraySize (void) const { return m_arraySize; }
|
glsAttributeLocationTests.cpp | 123 << (iter->getArraySize() != Attribute::NOT_ARRAY ? "[" + de::toString(iter->getArraySize()) + "]" : "") << ";\n"; 148 const string variableName(attrib.getName() + (attrib.getArraySize() != Attribute::NOT_ARRAY ? "[" + de::toString(id) + "]" : "")); 185 if (iter->getArraySize() == Attribute::NOT_ARRAY) 189 for (int i = 0; i < iter->getArraySize(); i++) 197 if (iter->getArraySize() == Attribute::NOT_ARRAY) 201 for (int i = 0; i < iter->getArraySize(); i++) 211 if (iter->getArraySize() == Attribute::NOT_ARRAY) 215 for (int i = 0; i < iter->getArraySize(); i++) 547 if (attrib.getArraySize() == Attribute::NOT_ARRAY [all...] |
glsUniformBlockCase.cpp | 525 entry.size = type.getArraySize(); 529 curOffset += stride*type.getArraySize(); 549 entry.size = type.getArraySize(); 554 curOffset += numVecs*type.getArraySize()*stride; 562 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) 600 int numInstances = block.isArray() ? block.getArraySize() : 1; 868 arraySizes.push_back(curType->getArraySize()); 934 src << "[" << block.getArraySize() << "]"; 1014 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) 1032 for (int elementNdx = 0; elementNdx < type.getArraySize(); elementNdx++ [all...] |
/external/deqp/framework/opengl/ |
gluVarTypeUtil.hpp | 260 if (curComp.index+1 < parentType.getArraySize()) 330 if (!curType->isArrayType() || (curType->getArraySize() != VarType::UNSIZED_ARRAY && !de::inBounds(pathIter->index, 0, curType->getArraySize())))
|
gluVarTypeUtil.cpp | 137 TCU_CHECK(de::inBounds(ndx, 0, curType.getArraySize()));
|
gluVarType.hpp | 66 int getArraySize (void) const { DE_ASSERT(isArrayType()); return m_data.array.size; }
|
/external/deqp/modules/gles31/functional/ |
es31fSSBOLayoutCase.hpp | 92 int getArraySize (void) const { return m_arraySize; }
|
es31fProgramInterfaceDefinitionUtil.cpp | 108 for (int ndx = 0; ndx < type.getArraySize(); ++ndx) 279 if (varType.getArraySize() != glu::VarType::UNSIZED_ARRAY) 280 for (int ndx = 0; ndx < varType.getArraySize(); ++ndx) 345 if (varType.getArraySize() != glu::VarType::UNSIZED_ARRAY) 346 for (int ndx = 0; ndx < varType.getArraySize(); ++ndx) 594 const int arraySize = (complexType.getArraySize() == glu::VarType::UNSIZED_ARRAY) ? (1) : (complexType.getArraySize()); 617 const int arraySize = (complexType.getArraySize() == glu::VarType::UNSIZED_ARRAY) ? (1) : (complexType.getArraySize()); 769 const int arraySize = (type.getArraySize() == glu::VarType::UNSIZED_ARRAY) ? (1) : (type.getArraySize()) [all...] |
es31fSSBOLayoutCase.cpp | 532 entry.arraySize = type.getArraySize(); 538 curOffset += stride*type.getArraySize(); 556 entry.arraySize = type.getArraySize(); 563 curOffset += numVecs*vecStride*type.getArraySize(); 571 for (int elemNdx = 0; elemNdx < type.getArraySize(); elemNdx++) 597 const int topLevelArraySize = varType.getArraySize() == VarType::UNSIZED_ARRAY ? 0 : varType.getArraySize(); 707 int numInstances = block.isArray() ? block.getArraySize() : 1; 971 src << "[" << block.getArraySize() << "]"; [all...] |
es31fProgramInterfaceQueryTestCase.cpp | 105 if (type.getArraySize() == glu::VarType::UNSIZED_ARRAY) 108 return type.getArraySize() * getVarTypeSize(type.getElementType()); 416 const bool inUnsizedArray = isArray && (enclosingcomponent.getVariableType()->getArraySize() == glu::VarType::UNSIZED_ARRAY); 417 const int arraySize = (!isArray) ? (1) : (inUnsizedArray) ? (0) : (enclosingcomponent.getVariableType()->getArraySize()); 747 return type.getArraySize() * getVariableLocationLength(type.getElementType()); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 170 if (AI.getArraySize()->getType() != IntPtrTy) { 171 Value *V = Builder->CreateIntCast(AI.getArraySize(), 180 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) { 207 } else if (isa<UndefValue>(AI.getArraySize())) { 225 AI.setOperand(0, ConstantInt::get(AI.getArraySize()->getType(), 1)); [all...] |
/external/clang/lib/AST/ |
APValue.cpp | 160 MakeArray(RHS.getArrayInitializedElts(), RHS.getArraySize()); 304 if (I != getArraySize() - 1) OS << ", "; 307 OS << getArraySize() - getArrayInitializedElts() << " x ";
|
/external/clang/include/clang/AST/ |
APValue.h | 280 return getArrayInitializedElts() != getArraySize(); 294 unsigned getArraySize() const {
|
/external/llvm/lib/CodeGen/ |
SjLjEHPrepare.cpp | 245 isa<ConstantInt>(cast<AllocaInst>(AfterAllocaInsPt)->getArraySize())) 305 if (isa<ConstantInt>(AI->getArraySize()) && BB == F.begin())
|
/external/llvm/lib/Transforms/Utils/ |
CloneFunction.cpp | 58 if (isa<ConstantInt>(AI->getArraySize())) 347 if (isa<ConstantInt>(AI->getArraySize()))
|