Lines Matching defs:ArraySize
12057 #define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0])))
17865 /* Since ArraySize(azCompileOpt) is normally in single digits, a
17867 for(i=0; i<ArraySize(azCompileOpt); i++){
17882 if( N>=0 && N<ArraySize(azCompileOpt) ){
18518 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
18519 assert( op>=0 && op<ArraySize(statMutex) );
18538 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
18539 assert( op>=0 && op<ArraySize(statMutex) );
18550 assert( op>=0 && op<ArraySize(statMutex) );
18553 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
18566 assert( op>=0 && op<ArraySize(wsdStat.nowValue) );
18567 assert( op>=0 && op<ArraySize(statMutex) );
18590 if( op<0 || op>=ArraySize(wsdStat.nowValue) ){
19621 for(i=0; i<ArraySize(aXformType); i++){
20047 sqlite3InsertBuiltinFuncs(aDateTimeFuncs, ArraySize(aDateTimeFuncs));
23011 if( id-2<0 || id-2>=ArraySize(aStatic) ){
23301 if( iType-2<0 || iType-2>=ArraySize(staticMutexes) ){
23916 for(i=0; i<ArraySize(winMutex_staticMutexes); i++){
23940 for(i=0; i<ArraySize(winMutex_staticMutexes); i++){
24021 if( iType-2<0 || iType-2>=ArraySize(winMutex_staticMutexes) ){
25349 for(idx=0; idx<ArraySize(fmtinfo); idx++){
30430 for(i=0; i<ArraySize(aSyscall)-1; i++){
30434 for(i++; i<ArraySize(aSyscall); i++){
37439 assert( ArraySize(aSyscall)==28 );
38910 for(i=0; i<ArraySize(aSyscall)-1; i++){
38914 for(i++; i<ArraySize(aSyscall); i++){
43624 assert( ArraySize(aSyscall)==80 );
55897 assert( HASHTABLE_NPAGE==(1<<(ArraySize(aSub)-1)) );
55904 assert( iSub<ArraySize(aSub) );
55914 for(iSub++; iSub<ArraySize(aSub); iSub++){
55917 assert( iSub<ArraySize(aSub) );
65387 assert( pPage->nOverflow<=ArraySize(pPage->apOvfl) );
65388 assert( ArraySize(pPage->apOvfl)==ArraySize(pPage->aiOvfl) );
65405 /* Comparison against ArraySize-1 since we hold back one extra slot
65408 assert( j < ArraySize(pPage->apOvfl)-1 );
71063 sqlite3InsertBuiltinFuncs(aAnalyzeTableFuncs, ArraySize(aAnalyzeTableFuncs));
83245 assert( pOp->p5<ArraySize(p->aCounter) );
85622 aOp = sqlite3VdbeAddOpList(v, ArraySize(openBlob), openBlob, iLn);
93772 if( pParse->nTempReg<ArraySize(pParse->aTempReg) ){
94019 && pParse->nTempReg<ArraySize(pParse->aTempReg)
95804 if( iReg && pParse->nTempReg<ArraySize(pParse->aTempReg) ){
96120 sqlite3InsertBuiltinFuncs(aAlterTableFuncs, ArraySize(aAlterTableFuncs));
96889 int aRoot[ArraySize(aTable)];
96890 u8 aCreateTbl[ArraySize(aTable)];
96900 for(i=0; i<ArraySize(aTable); i++){
96936 assert( i<ArraySize(aTable) );
101035 assert( pCol->affinity-SQLITE_AFF_BLOB < ArraySize(azType) );
102909 int nCopy = MIN(ArraySize(aVal), pIdx->nKeyCol);
107144 sqlite3InsertBuiltinFuncs(aBuiltinFunc, ArraySize(aBuiltinFunc));
108860 aOp = sqlite3VdbeAddOpList(v, ArraySize(autoInc), autoInc, iLn);
108918 aOp = sqlite3VdbeAddOpList(v, ArraySize(autoIncEnd), autoIncEnd, iLn);
112040 for(ii=0; ii<ArraySize(azEndings) && handle==0; ii++){
113019 for(i=0; i<ArraySize(iLength); i++){
113235 assert( eMode>=0 && eMode<=ArraySize(azModeName) );
113237 if( eMode==ArraySize(azModeName) ) return 0;
113247 upr = ArraySize(aPragmaName)-1;
113433 sqlite3VdbeVerifyNoMallocRequired(v, ArraySize(getCacheSize));
113434 aOp = sqlite3VdbeAddOpList(v, ArraySize(getCacheSize), getCacheSize, iLn);
113681 sqlite3VdbeVerifyNoMallocRequired(v, ArraySize(setMeta6));
113682 aOp = sqlite3VdbeAddOpList(v, ArraySize(setMeta6), setMeta6, iLn);
114602 aOp = sqlite3VdbeAddOpList(v, ArraySize(endCode), endCode, iLn);
114727 sqlite3VdbeVerifyNoMallocRequired(v, ArraySize(setCookie));
114728 aOp = sqlite3VdbeAddOpList(v, ArraySize(setCookie), setCookie, 0);
114742 sqlite3VdbeVerifyNoMallocRequired(v, ArraySize(readCookie));
114743 aOp = sqlite3VdbeAddOpList(v, ArraySize(readCookie),readCookie,0);
115237 for(i=0; i<ArraySize(pCsr->azArg); i++){
115287 assert( j<ArraySize(pCsr->azArg) );
115608 for(i=0; i<ArraySize(meta); i++){
116476 for(j=0; j<ArraySize(aKeyword); j++){
116484 if( j>=ArraySize(aKeyword) ){
124474 for(i=0; i<ArraySize(aCopy); i+=2){
128707 for(i=0; i<ArraySize(aOp); i++){
129715 pWC->nSlot = ArraySize(pWC->aStatic);
130021 assert( pMaskSet->n < ArraySize(pMaskSet->ix) );
130054 && pScan->nEquiv<ArraySize(pScan->aiCur)
131611 p->nLSlot = ArraySize(p->aLTermSpace);
134077 || pIdx->nKeyCol>ArraySize(pLoop->aLTermSpace)
140723 for(i=0; i<ArraySize(aFlagOp); i++){
141343 if( ALWAYS(rc>=0) && rc<ArraySize(aMsg) && aMsg[rc]!=0 ){
141367 # define NDELAY ArraySize(delays)
144260 assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn );
144261 if( (!aDyn && nArg==(int)ArraySize(aStatic))
144991 ** similar macro called ArraySize(). Use a different name to avoid
173731 for(i=0; i<ArraySize(pCsr->aPage); i++){
181795 #ifndef ArraySize
181796 # define ArraySize(x) ((int)(sizeof(x) / sizeof(x[0])))
184539 for(i=0; rc==SQLITE_OK && i<ArraySize(aBuiltin); i++){
184903 hash = hash % ArraySize(p->apHash);
184934 for(i=0; i<ArraySize(p->apHash); i++){
186329 if( pPhrase->nTerm>ArraySize(aStatic) ){
186462 if( pNear->nPhrase>ArraySize(aStatic) ){
188372 for(i=0; rc==SQLITE_OK && i<ArraySize(aFunc); i++){
196187 for(j=0; j<ArraySize(aConstraint); j++){
196234 for(i=0; i<ArraySize(aConstraint); i++){
198448 assert( eStmt>=0 && eStmt<ArraySize(p->aStmt) );
198724 for(i=0; i<ArraySize(p->aStmt); i++){
200738 for(i=0; rc==SQLITE_OK && i<ArraySize(aBuiltin); i++){
201645 assert( eType>=0 && eType<ArraySize(azSchema) );