Lines Matching defs:nLevel
118082 ** WhereInfo.a[WhereInfo.nLevel-1] being the inner loop.
118440 u8 nLevel; /* Number of nested loop */
119717 if( pWInfo->nLevel>1 ){
119720 nNotReady = pWInfo->nLevel - iLevel - 1;
119931 if( pWInfo->nLevel>1 ) sqlite3StackFree(db, pOrTab);
123169 for(i=0; i<pWInfo->nLevel; i++){
124476 struct SrcList_item *pEnd = &pTabList->a[pWInfo->nLevel];
124898 nLoop = pWInfo->nLevel;
125154 assert( pWInfo->nLevel==nLoop );
125457 pWInfo->nLevel = nTabList;
125606 for(ii=0; ii<pWInfo->nLevel; ii++){
125612 if( pWInfo->nLevel>=2
125620 while( pWInfo->nLevel>=2 ){
125622 pLoop = pWInfo->a[pWInfo->nLevel-1].pWLoop;
125640 pWInfo->nLevel--;
125652 assert( (wctrlFlags & WHERE_ONEPASS_DESIRED)==0 || pWInfo->nLevel==1 );
125838 for(i=pWInfo->nLevel-1; i>=0; i--){
125907 assert( pWInfo->nLevel<=pTabList->nSrc );
125908 for(i=0, pLevel=pWInfo->a; i<pWInfo->nLevel; i++, pLevel++){
172841 int nLevel; /* Number of levels in this index */
172842 Fts5StructureLevel aLevel[1]; /* Array of nLevel level objects */
173319 for(i=0; i<pStruct->nLevel; i++){
173351 int nLevel = 0;
173362 i += fts5GetVarint32(&pData[i], nLevel);
173366 sizeof(Fts5StructureLevel) * (nLevel-1) /* aLevel[] array */
173372 pRet->nLevel = nLevel;
173376 for(iLvl=0; rc==SQLITE_OK && iLvl<nLevel; iLvl++){
173412 int nLevel = pStruct->nLevel;
173415 sizeof(Fts5StructureLevel) * (nLevel+1) /* aLevel[] array */
173420 memset(&pStruct->aLevel[nLevel], 0, sizeof(Fts5StructureLevel));
173421 pStruct->nLevel++;
173505 for(iLvl=0; iLvl<pStruct->nLevel; iLvl++){
173534 fts5BufferAppendVarint(&p->rc, &buf, pStruct->nLevel);
173538 for(iLvl=0; iLvl<pStruct->nLevel; iLvl++){
173591 for(il=iPromote+1; il<pStruct->nLevel; il++){
175167 Fts5StructureLevel *pEnd = &pStruct->aLevel[pStruct->nLevel];
175366 for(iLvl=0; iLvl<pStruct->nLevel; iLvl++){
175965 assert( iLvl<pStruct->nLevel );
175984 if( iLvl==pStruct->nLevel-1 ){
176005 bOldest = (pLvlOut->nSeg==1 && pStruct->nLevel==iLvl+2);
176091 assert( pStruct->nLevel>0 );
176092 for(iLvl=0; iLvl<pStruct->nLevel; iLvl++){
176109 for(iLvl=0; nBest==0 && iLvl<pStruct->nLevel; iLvl++){
176150 nRem = (int)(p->nWorkUnit * nWork * pStruct->nLevel);
176164 assert( p->rc!=SQLITE_OK || pStruct->nLevel>0 );
176167 assert( p->rc!=SQLITE_OK || pStruct->nLevel>(iLvl+1) );
176338 if( pStruct->nLevel==0 ){
176385 nByte += (pStruct->nLevel+1) * sizeof(Fts5StructureLevel);
176392 pNew->nLevel = pStruct->nLevel+1;
176395 pLvl = &pNew->aLevel[pStruct->nLevel];
176400 for(iLvl=0; iLvl<pStruct->nLevel; iLvl++){
176414 int iLvl = pNew->nLevel-1;
176432 if( pStruct && pStruct->nLevel ){
177801 for(iLvl=0; iLvl<pStruct->nLevel; iLvl++){
177936 for(iLvl=0; iLvl<p->nLevel; iLvl++){