Home
last modified time | relevance | path

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

12

/external/openfst/src/extensions/ngram/
Dbitmap-index.cc129 secondary_index_.reserve(ArraySize()); in BuildIndex()
135 for (uint32 block_begin = 0; block_begin < ArraySize(); in BuildIndex()
139 if (block_end > ArraySize()) block_end = ArraySize(); in BuildIndex()
142 if (j == ArraySize() - 1) { in BuildIndex()
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_screen.h884 …HRESULT hr = create_resource(PIPE_TEXTURE_1D, desc->Width, 1, 1, desc->MipLevels, desc->ArraySize,… in CreateTexture1D()
902 …e(PIPE_TEXTURE_2D, desc->Width, desc->Height, 1, desc->MipLevels, desc->ArraySize, desc->Format, &… in CreateTexture2D()
907 if(cdesc.MipLevels == 1 && cdesc.ArraySize == 1) in CreateTexture2D()
965 desc.ArraySize = 1; in OpenGalliumResource()
977 if(desc.MipLevels == 1 && desc.ArraySize == 1) in OpenGalliumResource()
1001 desc.ArraySize = count; in CreateSurface()
1066 def_desc.Texture1DArray.ArraySize = resource->array_size;
1076 def_desc.Texture2DArray.ArraySize = resource->array_size;
1119 …templat.u.tex.last_layer = desc->Texture1DArray.FirstArraySlice + desc->Texture1DArray.ArraySize -…
1198 def_desc.Texture1DArray.ArraySize = resource->array_size; in CreateRenderTargetView()
[all …]
/external/openfst/src/include/fst/extensions/ngram/
Dbitmap-index.h66 size_t ArraySize() const { in ArraySize() function
165 return (ArraySize() + kSecondaryBlockSize - 1) / kSecondaryBlockSize; in primary_index_size()
/external/clang/lib/Sema/
DSemaType.cpp1929 static bool isArraySizeVLA(Sema &S, Expr *ArraySize, llvm::APSInt &SizeVal) { in isArraySizeVLA() argument
1944 return S.VerifyIntegerConstantExpression(ArraySize, &SizeVal, Diagnoser, in isArraySizeVLA()
1965 Expr *ArraySize, unsigned Quals, in BuildArrayType() argument
2028 if (ArraySize && ArraySize->hasPlaceholderType()) { in BuildArrayType()
2029 ExprResult Result = CheckPlaceholderExpr(ArraySize); in BuildArrayType()
2031 ArraySize = Result.get(); in BuildArrayType()
2035 if (ArraySize && !ArraySize->isRValue()) { in BuildArrayType()
2036 ExprResult Result = DefaultLvalueConversion(ArraySize); in BuildArrayType()
2040 ArraySize = Result.get(); in BuildArrayType()
2046 ArraySize && !ArraySize->isTypeDependent() && in BuildArrayType()
[all …]
DSemaExprCXX.cpp1172 Expr *ArraySize = nullptr; in ActOnCXXNew() local
1187 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts); in ActOnCXXNew()
1192 if (ArraySize) { in ActOnCXXNew()
1240 ArraySize, in ActOnCXXNew()
1273 Expr *ArraySize, in BuildCXXNew() argument
1330 if (!ArraySize) { in BuildCXXNew()
1333 ArraySize = IntegerLiteral::Create(Context, Array->getSize(), in BuildCXXNew()
1360 if (ArraySize && ArraySize->getType()->isNonOverloadPlaceholderType()) { in BuildCXXNew()
1361 ExprResult result = CheckPlaceholderExpr(ArraySize); in BuildCXXNew()
1363 ArraySize = result.get(); in BuildCXXNew()
[all …]
DTreeTransform.h2518 Expr *ArraySize, in RebuildCXXNewExpr() argument
2528 ArraySize, in RebuildCXXNewExpr()
9125 ExprResult ArraySize = getDerived().TransformExpr(E->getArraySize()); in TransformCXXNewExpr() local
9126 if (ArraySize.isInvalid()) in TransformCXXNewExpr()
9166 ArraySize.get() == E->getArraySize() && in TransformCXXNewExpr()
9193 if (!ArraySize.get()) { in TransformCXXNewExpr()
9204 ArraySize = IntegerLiteral::Create(SemaRef.Context, ConsArrayT->getSize(), in TransformCXXNewExpr()
9211 ArraySize = DepArrayT->getSizeExpr(); in TransformCXXNewExpr()
9225 ArraySize.get(), in TransformCXXNewExpr()
11187 IntegerLiteral *ArraySize in RebuildArrayType() local
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp171 DefinedOrUnknownSVal ArraySize = ArraySizeVal.castAs<DefinedOrUnknownSVal>(); in checkPreStmt() local
173 svalBuilder.evalEQ(state, Extent, ArraySize); in checkPreStmt()
/external/llvm/lib/Transforms/Instrumentation/
DSafeStack.cpp606 Value *ArraySize = AI->getArraySize(); in moveDynamicAllocasToUnsafeStack() local
607 if (ArraySize->getType() != IntPtrTy) in moveDynamicAllocasToUnsafeStack()
608 ArraySize = IRB.CreateIntCast(ArraySize, IntPtrTy, false); in moveDynamicAllocasToUnsafeStack()
612 Value *Size = IRB.CreateMul(ArraySize, ConstantInt::get(IntPtrTy, TySize)); in moveDynamicAllocasToUnsafeStack()
/external/llvm/lib/IR/
DInstructions.cpp387 Value *ArraySize, Function *MallocF, in createMalloc() argument
396 if (!ArraySize) in createMalloc()
397 ArraySize = ConstantInt::get(IntPtrTy, 1); in createMalloc()
398 else if (ArraySize->getType() != IntPtrTy) { in createMalloc()
400 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
403 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
407 if (!IsConstantOne(ArraySize)) { in createMalloc()
409 AllocSize = ArraySize; // Operand * 1 = Operand in createMalloc()
410 } else if (Constant *CO = dyn_cast<Constant>(ArraySize)) { in createMalloc()
418 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3dapi/
Dd3d10.idl515 UINT ArraySize;
527 UINT ArraySize;
566 UINT ArraySize;
576 UINT ArraySize;
585 UINT ArraySize;
625 UINT ArraySize;
635 UINT ArraySize;
644 UINT ArraySize;
684 UINT ArraySize;
696 UINT ArraySize;
[all …]
Dd3d11.idl733 UINT ArraySize;
746 UINT ArraySize;
815 UINT ArraySize;
829 UINT ArraySize;
860 UINT ArraySize;
907 UINT ArraySize;
924 UINT ArraySize;
930 UINT ArraySize;
966 UINT ArraySize;
978 UINT ArraySize;
[all …]
/external/llvm/lib/Support/
DSmallPtrSet.cpp106 unsigned ArraySize = CurArraySize; in FindBucketFor() local
127 Bucket = (Bucket + ProbeAmt++) & (ArraySize-1); in FindBucketFor()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp451 Value *ArraySize = I.getArraySize(); in visitAllocaInst() local
452 if (const ConstantInt *C = dyn_cast<ConstantInt>(ArraySize)) { in visitAllocaInst()
679 Value *ArraySize = I.getArraySize(); in visitAllocaInst() local
680 Value *Size = ConstantInt::get(ArraySize->getType(), in visitAllocaInst()
682 Size = Builder.CreateMul(Size, ArraySize); in visitAllocaInst()
/external/sqlite/dist/orig/
Dshell.c607 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro
844 if( i<ArraySize(p->colWidth) ){ in shell_callback()
855 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
871 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
886 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
2057 for(i=0; i<ArraySize(aMult); i++){ in integerValue()
2585 for(i=0; i<ArraySize(aField); i++){ in shell_dbinfo_command()
2605 for(i=0; i<ArraySize(aQuery); i++){ in shell_dbinfo_command()
2647 while( zLine[h] && nArg<ArraySize(azArg) ){ in do_meta_command()
3252 for(i=0; i<ArraySize(aLimit); i++){ in do_meta_command()
[all …]
Dsqlite3.c9873 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0]))) macro
15204 for(i=0; i<ArraySize(azCompileOpt); i++){ in sqlite3_compileoption_used()
15219 if( N>=0 && N<ArraySize(azCompileOpt) ){ in sqlite3_compileoption_get()
15811 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusValue()
15812 assert( op>=0 && op<ArraySize(statMutex) ); in sqlite3StatusValue()
15831 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusUp()
15832 assert( op>=0 && op<ArraySize(statMutex) ); in sqlite3StatusUp()
15843 assert( op>=0 && op<ArraySize(statMutex) ); in sqlite3StatusDown()
15846 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusDown()
15856 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusSet()
[all …]
/external/sqlite/dist/
Dshell.c613 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro
850 if( i<ArraySize(p->colWidth) ){ in shell_callback()
861 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
877 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
892 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
2079 for(i=0; i<ArraySize(aMult); i++){ in integerValue()
2607 for(i=0; i<ArraySize(aField); i++){ in shell_dbinfo_command()
2627 for(i=0; i<ArraySize(aQuery); i++){ in shell_dbinfo_command()
2669 while( zLine[h] && nArg<ArraySize(azArg) ){ in do_meta_command()
3274 for(i=0; i<ArraySize(aLimit); i++){ in do_meta_command()
[all …]
Dsqlite3.c9873 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0]))) macro
15204 for(i=0; i<ArraySize(azCompileOpt); i++){ in sqlite3_compileoption_used()
15219 if( N>=0 && N<ArraySize(azCompileOpt) ){ in sqlite3_compileoption_get()
15811 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusValue()
15812 assert( op>=0 && op<ArraySize(statMutex) ); in sqlite3StatusValue()
15831 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusUp()
15832 assert( op>=0 && op<ArraySize(statMutex) ); in sqlite3StatusUp()
15843 assert( op>=0 && op<ArraySize(statMutex) ); in sqlite3StatusDown()
15846 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusDown()
15856 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusSet()
[all …]
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tex/
Dd3d11tex.cpp57 texd.ArraySize = 1; in init()
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11spikysphere/
Dd3d11spikysphere.cpp163 zsbufd.ArraySize = 1; in draw()
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp295 unsigned ArraySize = 16 / Size; in getMemSetPatternValue() local
296 ArrayType *AT = ArrayType::get(V->getType(), ArraySize); in getMemSetPatternValue()
297 return ConstantArray::get(AT, std::vector<Constant *>(ArraySize, C)); in getMemSetPatternValue()
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
Dd3d11gears.cpp321 zsbufd.ArraySize = 1; in init_for_dimensions()
367 offscreend.ArraySize = 1; in init_for_dimensions()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp945 llvm::Value *ArraySize; in getTypeSize() local
946 std::tie(ArraySize, Ty) = CGF.getVLASize(VAT); in getTypeSize()
947 Size = Size ? CGF.Builder.CreateNUWMul(Size, ArraySize) : ArraySize; in getTypeSize()
1606 llvm::APInt ArraySize(/*unsigned int numBits=*/32, CopyprivateVars.size()); in emitSingleRegion() local
1608 C.getConstantArrayType(C.VoidPtrTy, ArraySize, ArrayType::Normal, in emitSingleRegion()
2891 llvm::APInt ArraySize(/*unsigned int numBits=*/32, Size); in emitReduction() local
2893 C.getConstantArrayType(C.VoidPtrTy, ArraySize, ArrayType::Normal, in emitReduction()
/external/llvm/include/llvm/IR/
DInstructions.h86 explicit AllocaInst(Type *Ty, Value *ArraySize = nullptr,
89 AllocaInst(Type *Ty, Value *ArraySize,
95 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
97 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align,
1485 Value *AllocSize, Value *ArraySize = nullptr,
1490 Value *AllocSize, Value *ArraySize = nullptr,
DIRBuilder.h1026 AllocaInst *CreateAlloca(Type *Ty, Value *ArraySize = nullptr,
1028 return Insert(new AllocaInst(Ty, ArraySize), Name);
/external/clang/lib/AST/
DExprConstant.cpp117 uint64_t &ArraySize, QualType &Type, in findMostDerivedSubobject() argument
126 ArraySize = CAT->getSize().getZExtValue(); in findMostDerivedSubobject()
132 ArraySize = 2; in findMostDerivedSubobject()
137 ArraySize = 0; in findMostDerivedSubobject()
142 ArraySize = 0; in findMostDerivedSubobject()

12