Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/angle/tests/perf_tests/
DSimpleBenchmarks.cpp29 for (size_t platIt = 0; platIt < ArraySize(platforms); platIt++) in main()
31 for (size_t typeIt = 0; typeIt < ArraySize(vertexTypes); typeIt++) in main()
33 for (size_t compIt = 0; compIt < ArraySize(componentCounts); compIt++) in main()
35 for (size_t normIt = 0; normIt < ArraySize(vertexNorms); normIt++) in main()
43 for (size_t updateIt = 0; updateIt < ArraySize(updateSizes); updateIt++) in main()
45 for (size_t bufszIt = 0; bufszIt < ArraySize(bufferSizes); bufszIt++) in main()
47 for (size_t itIt = 0; itIt < ArraySize(iterationCounts); itIt++) in main()
49 … for (size_t nfrIt = 0; nfrIt < ArraySize(updatesEveryNFrames); nfrIt++) in main()
88 for (size_t platIt = 0; platIt < ArraySize(platforms); platIt++) in main()
/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/chromium_org/third_party/sqlite/src/src/
Dstatus.c48 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusValue()
58 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusAdd()
70 assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); in sqlite3StatusSet()
86 if( op<0 || op>=ArraySize(wsdStat.nowValue) ){ in sqlite3_status()
Dmutex_w32.c116 for(i=0; i<ArraySize(winMutex_staticMutexes); i++){ in winMutexInit()
135 for(i=0; i<ArraySize(winMutex_staticMutexes); i++){ in winMutexEnd()
204 assert( iType-2 < ArraySize(winMutex_staticMutexes) ); in winMutexAlloc()
Dctime.c375 for(i=0; i<ArraySize(azCompileOpt); i++){ in sqlite3_compileoption_used()
387 if( N>=0 && N<ArraySize(azCompileOpt) ){ in sqlite3_compileoption_get()
Dpragma.c41 for(i=0; i<ArraySize(iLength); i++){ in getSafetyLevel()
205 for(i=0, p=aPragma; i<ArraySize(aPragma); i++, p++){ in flagPragma()
280 assert( eMode>=0 && eMode<=ArraySize(azModeName) ); in sqlite3JournalModename()
282 if( eMode==ArraySize(azModeName) ) return 0; in sqlite3JournalModename()
382 addr = sqlite3VdbeAddOpList(v, ArraySize(getCacheSize), getCacheSize); in sqlite3Pragma()
640 iAddr = sqlite3VdbeAddOpList(v, ArraySize(setMeta6), setMeta6); in sqlite3Pragma()
1178 addr = sqlite3VdbeAddOpList(v, ArraySize(idxErr), idxErr); in sqlite3Pragma()
1203 addr = sqlite3VdbeAddOpList(v, ArraySize(cntIdx), cntIdx); in sqlite3Pragma()
1215 addr = sqlite3VdbeAddOpList(v, ArraySize(endCode), endCode); in sqlite3Pragma()
1346 int addr = sqlite3VdbeAddOpList(v, ArraySize(setCookie), setCookie); in sqlite3Pragma()
[all …]
Dnotify.c256 assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn ); in sqlite3ConnectionUnlocked()
257 if( (!aDyn && nArg==(int)ArraySize(aStatic)) in sqlite3ConnectionUnlocked()
Dshell.c452 #define ArraySize(X) (int)(sizeof(X)/sizeof(X[0])) macro
676 if( i<ArraySize(p->colWidth) ){ in shell_callback()
687 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
697 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
711 if( i<ArraySize(p->actualWidth) ){ in shell_callback()
1464 while( zLine[i] && nArg<ArraySize(azArg) ){ in do_meta_command()
1626 memset(p->colWidth,0,ArraySize(p->colWidth)); in do_meta_command()
1917 "%.*s", (int)ArraySize(p->nullvalue)-1, azArg[1]); in do_meta_command()
1941 strncpy(mainPrompt,azArg[1],(int)ArraySize(mainPrompt)-1); in do_meta_command()
1944 strncpy(continuePrompt,azArg[2],(int)ArraySize(continuePrompt)-1); in do_meta_command()
[all …]
/external/chromium_org/third_party/angle/tests/compiler_tests/
DVariablePacker_test.cpp73 for (size_t tt = 0; tt < ArraySize(types); ++tt) { in TEST()
122 for (size_t tt = 0; tt < ArraySize(types); ++tt) { in TEST()
146 for (size_t mt = 0; mt < ArraySize(nonSqMatTypes); ++mt) { in TEST()
/external/chromium_org/net/disk_cache/blockfile/
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
/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/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
DTextureStorage11.cpp273 if (mipLevel >= 0 && static_cast<unsigned int>(mipLevel) < ArraySize(mSwizzleCache)) in invalidateSwizzleCacheLevel()
283 for (unsigned int mipLevel = 0; mipLevel < ArraySize(mSwizzleCache); mipLevel++) in invalidateSwizzleCache()
475 desc.ArraySize = 1; in TextureStorage11_2D()
740 desc.ArraySize = 1; in getSwizzleTexture()
835 desc.ArraySize = 6; in TextureStorage11_Cube()
1006 srvDesc.Texture2DArray.ArraySize = 1; in getRenderTarget()
1024 rtvDesc.Texture2DArray.ArraySize = 1; in getRenderTarget()
1050 dsvDesc.Texture2DArray.ArraySize = 1; in getRenderTarget()
1095 srvDesc.Texture2DArray.ArraySize = 6; in createSRV()
1149 desc.ArraySize = 6; in getSwizzleTexture()
[all …]
DBlit11.cpp87 stagingDesc.ArraySize = 1; in CreateStagingTexture()
285 …result = device->CreateInputLayout(quad2DLayout, ArraySize(quad2DLayout), g_VS_Passthrough2D, Arra… in Blit11()
289 …result = device->CreateVertexShader(g_VS_Passthrough2D, ArraySize(g_VS_Passthrough2D), NULL, &mQua… in Blit11()
293 …result = device->CreatePixelShader(g_PS_PassthroughDepth2D, ArraySize(g_PS_PassthroughDepth2D), NU… in Blit11()
304 …result = device->CreateInputLayout(quad3DLayout, ArraySize(quad3DLayout), g_VS_Passthrough3D, Arra… in Blit11()
308 …result = device->CreateVertexShader(g_VS_Passthrough3D, ArraySize(g_VS_Passthrough3D), NULL, &mQua… in Blit11()
312 …result = device->CreateGeometryShader(g_GS_Passthrough3D, ArraySize(g_GS_Passthrough3D), NULL, &mQ… in Blit11()
/external/clang/lib/Sema/
DSemaType.cpp1467 static bool isArraySizeVLA(Sema &S, Expr *ArraySize, llvm::APSInt &SizeVal) { in isArraySizeVLA() argument
1482 return S.VerifyIntegerConstantExpression(ArraySize, &SizeVal, Diagnoser, in isArraySizeVLA()
1503 Expr *ArraySize, unsigned Quals, in BuildArrayType() argument
1566 if (ArraySize && ArraySize->hasPlaceholderType()) { in BuildArrayType()
1567 ExprResult Result = CheckPlaceholderExpr(ArraySize); in BuildArrayType()
1569 ArraySize = Result.get(); in BuildArrayType()
1573 if (ArraySize && !ArraySize->isRValue()) { in BuildArrayType()
1574 ExprResult Result = DefaultLvalueConversion(ArraySize); in BuildArrayType()
1578 ArraySize = Result.get(); in BuildArrayType()
1584 ArraySize && !ArraySize->isTypeDependent() && in BuildArrayType()
[all …]
DSemaExprCXX.cpp1058 Expr *ArraySize = nullptr; in ActOnCXXNew() local
1073 ArraySize = static_cast<Expr*>(Chunk.Arr.NumElts); in ActOnCXXNew()
1078 if (ArraySize) { in ActOnCXXNew()
1126 ArraySize, in ActOnCXXNew()
1159 Expr *ArraySize, in BuildCXXNew() argument
1224 if (!ArraySize) { in BuildCXXNew()
1227 ArraySize = IntegerLiteral::Create(Context, Array->getSize(), in BuildCXXNew()
1254 if (ArraySize && ArraySize->getType()->isNonOverloadPlaceholderType()) { in BuildCXXNew()
1255 ExprResult result = CheckPlaceholderExpr(ArraySize); in BuildCXXNew()
1257 ArraySize = result.get(); in BuildCXXNew()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DVLASizeChecker.cpp149 DefinedOrUnknownSVal ArraySize = ArraySizeVal.castAs<DefinedOrUnknownSVal>(); in checkPreStmt() local
151 svalBuilder.evalEQ(state, Extent, ArraySize); in checkPreStmt()
/external/chromium_org/third_party/angle/util/
Dshared_utils.h19 inline size_t ArraySize(T(&)[N]) in ArraySize() function
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp242 Value *ArraySize = computeArraySize(CI, DL, TLI); in isArrayMalloc() local
244 if (ConstantInt *ConstSize = dyn_cast_or_null<ConstantInt>(ArraySize)) in isArrayMalloc()
452 Value *ArraySize = I.getArraySize(); in visitAllocaInst() local
453 if (const ConstantInt *C = dyn_cast<ConstantInt>(ArraySize)) { in visitAllocaInst()
684 Value *ArraySize = I.getArraySize(); in visitAllocaInst() local
685 Value *Size = ConstantInt::get(ArraySize->getType(), in visitAllocaInst()
687 Size = Builder.CreateMul(Size, ArraySize); in visitAllocaInst()
/external/llvm/lib/IR/
DInstructions.cpp374 Value *ArraySize, Function *MallocF, in createMalloc() argument
383 if (!ArraySize) in createMalloc()
384 ArraySize = ConstantInt::get(IntPtrTy, 1); in createMalloc()
385 else if (ArraySize->getType() != IntPtrTy) { in createMalloc()
387 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
390 ArraySize = CastInst::CreateIntegerCast(ArraySize, IntPtrTy, false, in createMalloc()
394 if (!IsConstantOne(ArraySize)) { in createMalloc()
396 AllocSize = ArraySize; // Operand * 1 = Operand in createMalloc()
397 } else if (Constant *CO = dyn_cast<Constant>(ArraySize)) { in createMalloc()
405 AllocSize = BinaryOperator::CreateMul(ArraySize, AllocSize, in createMalloc()
[all …]
/external/chromium_org/third_party/angle/tests/angle_tests/
DTransformFeedbackTest.cpp76 …glTransformFeedbackVaryings(mProgram, ArraySize(transformFeedbackVaryings), transformFeedbackVaryi… in TEST_F()
/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 …]
/external/chromium_org/third_party/mesa/src/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 …]

1234