Home
last modified time | relevance | path

Searched refs:ArraySize (Results 1 – 23 of 23) sorted by relevance

/external/llvm/runtime/libprofile/
DBasicBlockTracing.c53 unsigned ArraySize; in llvm_start_basic_block_tracing() local
58 ArraySize = BufferSize / sizeof (unsigned); in llvm_start_basic_block_tracing()
59 ArrayStart = malloc (ArraySize * sizeof (unsigned)); in llvm_start_basic_block_tracing()
60 ArrayEnd = ArrayStart + ArraySize; in llvm_start_basic_block_tracing()
/external/webkit/Source/JavaScriptCore/wtf/
DFastAllocBase.h216 union ArraySize { union
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/llvm/lib/Analysis/
DMemoryBuiltins.cpp121 Value *ArraySize = computeArraySize(CI, TD); in isArrayMalloc() local
123 if (ArraySize && in isArrayMalloc()
124 ArraySize != ConstantInt::get(CI->getArgOperand(0)->getType(), 1)) in isArrayMalloc()
/external/clang/lib/Sema/
DSemaType.cpp1155 static bool isArraySizeVLA(Expr *ArraySize, llvm::APSInt &SizeVal, Sema &S) { in isArraySizeVLA() argument
1157 if (ArraySize->isIntegerConstantExpr(SizeVal, S.Context)) in isArraySizeVLA()
1163 if (S.LangOpts.GNUMode && ArraySize->Evaluate(Result, S.Context)) { in isArraySizeVLA()
1166 S.Diag(ArraySize->getLocStart(), diag::ext_vla_folded_to_constant); in isArraySizeVLA()
1193 Expr *ArraySize, unsigned Quals, in BuildArrayType() argument
1250 if (ArraySize && !ArraySize->isRValue()) { in BuildArrayType()
1251 ExprResult Result = DefaultLvalueConversion(ArraySize); in BuildArrayType()
1255 ArraySize = Result.take(); in BuildArrayType()
1261 if (ArraySize && !ArraySize->isTypeDependent() && in BuildArrayType()
1262 !ArraySize->getType()->isIntegralOrUnscopedEnumerationType()) { in BuildArrayType()
[all …]
DSemaExprCXX.cpp848 Expr *ArraySize = 0; in ActOnCXXNew() local
863 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts); in ActOnCXXNew()
868 if (ArraySize) { in ActOnCXXNew()
897 ArraySize, in ActOnCXXNew()
912 Expr *ArraySize, in BuildCXXNew() argument
946 if (!ArraySize) { in BuildCXXNew()
949 ArraySize = IntegerLiteral::Create(Context, Array->getSize(), in BuildCXXNew()
971 if (ArraySize && !ArraySize->isTypeDependent()) { in BuildCXXNew()
973 QualType SizeType = ArraySize->getType(); in BuildCXXNew()
976 = ConvertToIntegralOrEnumerationType(StartLoc, ArraySize, in BuildCXXNew()
[all …]
DTreeTransform.h1909 Expr *ArraySize, in RebuildCXXNewExpr() argument
1920 ArraySize, in RebuildCXXNewExpr()
6844 ExprResult ArraySize = getDerived().TransformExpr(E->getArraySize()); in TransformCXXNewExpr() local
6845 if (ArraySize.isInvalid()) in TransformCXXNewExpr()
6892 ArraySize.get() == E->getArraySize() && in TransformCXXNewExpr()
6909 if (!ArraySize.get()) { in TransformCXXNewExpr()
6920 ArraySize in TransformCXXNewExpr()
6929 ArraySize = SemaRef.Owned(DepArrayT->getSizeExpr()); in TransformCXXNewExpr()
6943 ArraySize.get(), in TransformCXXNewExpr()
8084 IntegerLiteral ArraySize(SemaRef.Context, *Size, SizeType, in RebuildArrayType()
[all …]
DSemaDeclCXX.cpp6946 llvm::APInt ArraySize in DefineImplicitCopyAssignment() local
6948 Size *= ArraySize; in DefineImplicitCopyAssignment()
/external/chromium/net/disk_cache/
Dbitmap_unittest.cc11 EXPECT_EQ(1, map32.ArraySize()); in TEST()
14 EXPECT_EQ(2, map64.ArraySize()); in TEST()
21 EXPECT_EQ(0, map.ArraySize()); in TEST()
31 EXPECT_EQ(3, bitmap.ArraySize()); in TEST()
Dbitmap.h40 int ArraySize() const { return array_size_; } in ArraySize() function
Dsparse_control.cc546 int len = children_map_.ArraySize() * 4; in WriteSparseData()
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp123 DefinedOrUnknownSVal ArraySize = cast<DefinedOrUnknownSVal>(ArraySizeVal); in checkPreStmt() local
125 svalBuilder.evalEQ(state, Extent, ArraySize); in checkPreStmt()
/external/llvm/lib/Support/
DSmallPtrSet.cpp105 unsigned ArraySize = CurArraySize; in FindBucketFor() local
126 Bucket = (Bucket + ProbeAmt++) & (ArraySize-1); in FindBucketFor()
/external/llvm/lib/VMCore/
DInstructions.cpp274 Value *ArraySize, Function *MallocF, in createMalloc() argument
283 if (!ArraySize) in createMalloc()
284 ArraySize = ConstantInt::get(IntPtrTy, 1); in createMalloc()
285 else if (ArraySize->getType() != IntPtrTy) { in createMalloc()
287 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
290 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
294 if (!IsConstantOne(ArraySize)) { in createMalloc()
296 AllocSize = ArraySize; // Operand * 1 = Operand in createMalloc()
297 } else if (Constant *CO = dyn_cast<Constant>(ArraySize)) { in createMalloc()
305 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
[all …]
/external/sqlite/dist/
Dshell.c455 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro
679 if( i<ArraySize(p->colWidth) ){ in shell_callback()
690 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
700 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
714 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
1475 while( zLine[i] && nArg<ArraySize(azArg) ){ in do_meta_command()
1637 memset(p->colWidth,0,ArraySize(p->colWidth)); in do_meta_command()
1928 "%.*s", (int)ArraySize(p->nullvalue)-1, azArg[1]); in do_meta_command()
1952 strncpy(mainPrompt,azArg[1],(int)ArraySize(mainPrompt)-1); in do_meta_command()
1955 strncpy(continuePrompt,azArg[2],(int)ArraySize(continuePrompt)-1); in do_meta_command()
[all …]
Dshell.c.orig450 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0]))
674 if( i<ArraySize(p->colWidth) ){
685 if( i<ArraySize(p->actualWidth) ){
695 if( i<ArraySize(p->actualWidth) ){
709 if( i<ArraySize(p->actualWidth) ){
1456 while( zLine[i] && nArg<ArraySize(azArg) ){
1618 memset(p->colWidth,0,ArraySize(p->colWidth));
1909 "%.*s", (int)ArraySize(p->nullvalue)-1, azArg[1]);
1933 strncpy(mainPrompt,azArg[1],(int)ArraySize(mainPrompt)-1);
1936 strncpy(continuePrompt,azArg[2],(int)ArraySize(continuePrompt)-1);
[all …]
Dsqlite3.c7309 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0]))) macro
11932 for(i=0; i<ArraySize(azCompileOpt); i++){ in sqlite3_compileoption_used()
11944 if( N>=0 && N<ArraySize(azCompileOpt) ){ in sqlite3_compileoption_get()
12448 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusValue()
12458 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusAdd()
12470 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusSet()
12486 if( op<0 || op>=ArraySize(wsdStat.nowValue) ){ in sqlite3_status()
13121 for(n=0; n<ArraySize(zBuf)-1 && zMod[n]; n++){ in parseModifier()
13699 for(i=0; i<ArraySize(aDateTimeFuncs); i++){ in sqlite3RegisterDateTimeFunctions()
16948 assert( iType-2 < ArraySize(staticMutexes) ); in pthreadMutexAlloc()
[all …]
Dsqlite3.c.orig7302 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0])))
11923 /* Since ArraySize(azCompileOpt) is normally in single digits, a
11925 for(i=0; i<ArraySize(azCompileOpt); i++){
11937 if( N>=0 && N<ArraySize(azCompileOpt) ){
12441 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
12451 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
12463 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
12479 if( op<0 || op>=ArraySize(wsdStat.nowValue) ){
13114 for(n=0; n<ArraySize(zBuf)-1 && zMod[n]; n++){
13692 for(i=0; i<ArraySize(aDateTimeFuncs); i++){
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp431 unsigned ArraySize = 16/Size; in getMemSetPatternValue() local
432 ArrayType *AT = ArrayType::get(V->getType(), ArraySize); in getMemSetPatternValue()
433 return ConstantArray::get(AT, std::vector<Constant*>(ArraySize, C)); in getMemSetPatternValue()
/external/llvm/include/llvm/
DInstructions.h44 explicit AllocaInst(Type *Ty, Value *ArraySize = 0,
46 AllocaInst(Type *Ty, Value *ArraySize,
52 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
54 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
897 Value *AllocSize, Value *ArraySize = 0,
902 Value *AllocSize, Value *ArraySize = 0,
/external/llvm/include/llvm/Support/
DIRBuilder.h747 AllocaInst *CreateAlloca(Type *Ty, Value *ArraySize = 0,
749 return Insert(new AllocaInst(Ty, ArraySize), Name);
/external/clang/lib/CodeGen/
DTargetInfo.cpp1200 uint64_t ArraySize = AT->getSize().getZExtValue(); in classify() local
1208 for (uint64_t i=0, Offset=OffsetBase; i<ArraySize; ++i, Offset += EltSize) { in classify()
/external/clang/include/clang/AST/
DType.h2149 const llvm::APInt &ArraySize, ArraySizeModifier SizeMod,
2152 ID.AddInteger(ArraySize.getZExtValue());
/external/clang/include/clang/Sema/
DSema.h772 Expr *ArraySize, unsigned Quals,
774 QualType BuildExtVectorType(QualType T, Expr *ArraySize,
2926 Expr *ArraySize,