Searched refs:ArraySize (Results 1 - 24 of 24) sorted by relevance

/external/llvm/runtime/libprofile/
H A DBasicBlockTracing.c53 unsigned ArraySize; local
58 ArraySize = BufferSize / sizeof (unsigned);
59 ArrayStart = malloc (ArraySize * sizeof (unsigned));
60 ArrayEnd = ArrayStart + ArraySize;
/external/chromium/net/disk_cache/
H A Dbitmap.h40 int ArraySize() const { return array_size_; } function in class:disk_cache::Bitmap
56 // ArraySize();
60 // ArraySize()
H A Dbitmap_unittest.cc11 EXPECT_EQ(1, map32.ArraySize());
14 EXPECT_EQ(2, map64.ArraySize());
21 EXPECT_EQ(0, map.ArraySize());
31 EXPECT_EQ(3, bitmap.ArraySize());
H A Dsparse_control.cc546 int len = children_map_.ArraySize() * 4;
/external/webkit/Source/JavaScriptCore/wtf/
H A DFastAllocBase.h216 union ArraySize { union in namespace:WTF::Internal
260 ArraySize<T> a = { static_cast<AllocAlignmentInteger*>(p) };
280 ArraySize<T> a = { static_cast<AllocAlignmentInteger*>(p) };
346 ArraySize<T> a;
395 ArraySize<T> a;
/external/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp147 DefinedOrUnknownSVal ArraySize = cast<DefinedOrUnknownSVal>(ArraySizeVal); local
149 svalBuilder.evalEQ(state, Extent, ArraySize);
/external/clang/lib/Sema/
H A DSemaType.cpp1208 static bool isArraySizeVLA(Sema &S, Expr *ArraySize, llvm::APSInt &SizeVal) { argument
1223 return S.VerifyIntegerConstantExpression(ArraySize, &SizeVal, Diagnoser,
1234 /// \param ArraySize Expression describing the size of the array.
1244 Expr *ArraySize, unsigned Quals,
1306 if (ArraySize && ArraySize->hasPlaceholderType()) {
1307 ExprResult Result = CheckPlaceholderExpr(ArraySize);
1309 ArraySize = Result.take();
1313 if (ArraySize && !ArraySize
1243 BuildArrayType(QualType T, ArrayType::ArraySizeModifier ASM, Expr *ArraySize, unsigned Quals, SourceRange Brackets, DeclarationName Entity) argument
1426 BuildExtVectorType(QualType T, Expr *ArraySize, SourceLocation AttrLoc) argument
2247 Expr *ArraySize = static_cast<Expr*>(ATI.NumElts); local
[all...]
H A DSemaExprCXX.cpp962 Expr *ArraySize = 0; local
977 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts);
982 if (ArraySize) {
1017 ArraySize,
1050 Expr *ArraySize,
1124 if (!ArraySize) {
1127 ArraySize = IntegerLiteral::Create(Context, Array->getSize(),
1158 if (ArraySize && !ArraySize->isTypeDependent()) {
1160 Expr *ArraySize; member in class:SizeConvertDiagnoser
1043 BuildCXXNew(SourceLocation StartLoc, bool UseGlobal, SourceLocation PlacementLParen, MultiExprArg PlacementArgs, SourceLocation PlacementRParen, SourceRange TypeIdParens, QualType AllocType, TypeSourceInfo *AllocTypeInfo, Expr *ArraySize, SourceRange DirectInitRange, Expr *Initializer, bool TypeMayContainAuto) argument
1163 SizeConvertDiagnoser(Expr *ArraySize) argument
[all...]
H A DTreeTransform.h1982 Expr *ArraySize,
1992 ArraySize,
7193 ExprResult ArraySize = getDerived().TransformExpr(E->getArraySize());
7194 if (ArraySize.isInvalid())
7234 ArraySize.get() == E->getArraySize() &&
7261 if (!ArraySize.get()) {
7272 ArraySize
7281 ArraySize = SemaRef.Owned(DepArrayT->getSizeExpr());
7295 ArraySize.get(),
8910 IntegerLiteral *ArraySize local
1974 RebuildCXXNewExpr(SourceLocation StartLoc, bool UseGlobal, SourceLocation PlacementLParen, MultiExprArg PlacementArgs, SourceLocation PlacementRParen, SourceRange TypeIdParens, QualType AllocatedType, TypeSourceInfo *AllocatedTypeInfo, Expr *ArraySize, SourceRange DirectInitRange, Expr *Initializer) argument
[all...]
H A DSemaDeclCXX.cpp7837 llvm::APInt ArraySize local
7839 Size *= ArraySize;
8380 llvm::APInt ArraySize local
8382 Size *= ArraySize;
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp226 Value *ArraySize = computeArraySize(CI, TD, TLI); local
228 if (ArraySize &&
229 ArraySize != ConstantInt::get(CI->getArgOperand(0)->getType(), 1))
426 Value *ArraySize = I.getArraySize();
427 if (const ConstantInt *C = dyn_cast<ConstantInt>(ArraySize)) {
645 Value *ArraySize = I.getArraySize(); local
646 Value *Size = ConstantInt::get(ArraySize->getType(),
648 Size = Builder.CreateMul(Size, ArraySize);
/external/llvm/lib/Support/
H A DSmallPtrSet.cpp107 unsigned ArraySize = CurArraySize;
128 Bucket = (Bucket + ProbeAmt++) & (ArraySize-1);
/external/llvm/lib/VMCore/
H A DInstructions.cpp362 Value *ArraySize, Function *MallocF,
371 if (!ArraySize)
372 ArraySize = ConstantInt::get(IntPtrTy, 1);
373 else if (ArraySize->getType() != IntPtrTy) {
375 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
378 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false,
382 if (!IsConstantOne(ArraySize)) {
384 AllocSize = ArraySize; // Operan
359 createMalloc(Instruction *InsertBefore, BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) argument
444 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function * MallocF, const Twine &Name) argument
461 CreateMalloc(BasicBlock *InsertAtEnd, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function *MallocF, const Twine &Name) argument
812 AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name, Instruction *InsertBefore) argument
821 AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name, BasicBlock *InsertAtEnd) argument
848 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, const Twine &Name, Instruction *InsertBefore) argument
857 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, const Twine &Name, BasicBlock *InsertAtEnd) argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp433 unsigned ArraySize = 16/Size; local
434 ArrayType *AT = ArrayType::get(V->getType(), ArraySize);
435 return ConstantArray::get(AT, std::vector<Constant*>(ArraySize, C));
/external/sqlite/dist/orig/
H A Dshell.c470 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro
693 if( i<ArraySize(p->colWidth) ){
704 if( i<ArraySize(p->actualWidth) ){
714 if( i<ArraySize(p->actualWidth) ){
728 if( i<ArraySize(p->actualWidth) ){
1539 while( zLine[i] && nArg<ArraySize(azArg) ){
1697 memset(p->colWidth,0,ArraySize(p->colWidth));
1998 "%.*s", (int)ArraySize(p->nullvalue)-1, azArg[1]);
2022 strncpy(mainPrompt,azArg[1],(int)ArraySize(mainPrompt)-1);
2025 strncpy(continuePrompt,azArg[2],(int)ArraySize(continuePromp
[all...]
H A Dsqlite3.c8064 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0]))) macro
12787 /* Since ArraySize(azCompileOpt) is normally in single digits, a
12789 for(i=0; i<ArraySize(azCompileOpt); i++){
12801 if( N>=0 && N<ArraySize(azCompileOpt) ){
13335 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
13345 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
13357 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
13373 if( op<0 || op>=ArraySize(wsdStat.nowValue) ){
14088 for(n=0; n<ArraySize(zBuf)-1 && zMod[n]; n++){
14663 for(i=0; i<ArraySize(aDateTimeFunc
[all...]
/external/sqlite/dist/
H A Dshell.c475 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro
698 if( i<ArraySize(p->colWidth) ){
709 if( i<ArraySize(p->actualWidth) ){
719 if( i<ArraySize(p->actualWidth) ){
733 if( i<ArraySize(p->actualWidth) ){
1558 while( zLine[i] && nArg<ArraySize(azArg) ){
1716 memset(p->colWidth,0,ArraySize(p->colWidth));
2017 "%.*s", (int)ArraySize(p->nullvalue)-1, azArg[1]);
2041 strncpy(mainPrompt,azArg[1],(int)ArraySize(mainPrompt)-1);
2044 strncpy(continuePrompt,azArg[2],(int)ArraySize(continuePromp
[all...]
H A Dsqlite3.c8064 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0]))) macro
12787 /* Since ArraySize(azCompileOpt) is normally in single digits, a
12789 for(i=0; i<ArraySize(azCompileOpt); i++){
12801 if( N>=0 && N<ArraySize(azCompileOpt) ){
13335 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
13345 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
13357 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
13373 if( op<0 || op>=ArraySize(wsdStat.nowValue) ){
14088 for(n=0; n<ArraySize(zBuf)-1 && zMod[n]; n++){
14663 for(i=0; i<ArraySize(aDateTimeFunc
[all...]
/external/llvm/include/llvm/
H A DInstructions.h63 explicit AllocaInst(Type *Ty, Value *ArraySize = 0,
65 AllocaInst(Type *Ty, Value *ArraySize,
71 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
73 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
1214 Value *AllocSize, Value *ArraySize = 0,
1219 Value *AllocSize, Value *ArraySize = 0,
H A DIRBuilder.h795 AllocaInst *CreateAlloca(Type *Ty, Value *ArraySize = 0,
797 return Insert(new AllocaInst(Ty, ArraySize), Name);
/external/clang/lib/AST/
H A DExprConstant.cpp98 uint64_t &ArraySize, QualType &Type) {
106 ArraySize = CAT->getSize().getZExtValue();
111 ArraySize = 2;
115 ArraySize = 0;
119 ArraySize = 0;
96 findMostDerivedSubobject(ASTContext &Ctx, QualType Base, ArrayRef<APValue::LValuePathEntry> Path, uint64_t &ArraySize, QualType &Type) argument
/external/clang/include/clang/AST/
H A DType.h2205 const llvm::APInt &ArraySize, ArraySizeModifier SizeMod,
2208 ID.AddInteger(ArraySize.getZExtValue());
2204 Profile(llvm::FoldingSetNodeID &ID, QualType ET, const llvm::APInt &ArraySize, ArraySizeModifier SizeMod, unsigned TypeQuals) argument
/external/clang/lib/CodeGen/
H A DTargetInfo.cpp1452 uint64_t ArraySize = AT->getSize().getZExtValue();
1460 for (uint64_t i=0, Offset=OffsetBase; i<ArraySize; ++i, Offset += EltSize) {
/external/clang/include/clang/Sema/
H A DSema.h863 Expr *ArraySize, unsigned Quals,
865 QualType BuildExtVectorType(QualType T, Expr *ArraySize,
3706 Expr *ArraySize,

Completed in 740 milliseconds