• Home
  • Raw
  • Download

Lines Matching refs:aLevel

227393   Fts5StructureLevel aLevel[1];   /* Array of nLevel level objects */
227873 sqlite3_free(pStruct->aLevel[i].aSeg);
227914 for(i=0; i<p->nLevel; i++) pNew->aLevel[i].aSeg = 0;
227916 Fts5StructureLevel *pLvl = &pNew->aLevel[i];
227917 nByte = sizeof(Fts5StructureSegment) * pNew->aLevel[i].nSeg;
227921 sqlite3_free(pNew->aLevel[i].aSeg);
227926 memcpy(pLvl->aSeg, p->aLevel[i].aSeg, nByte);
227987 Fts5StructureLevel *pLvl = &pRet->aLevel[iLvl];
228051 memset(&pStruct->aLevel[nLevel], 0, sizeof(Fts5StructureLevel));
228072 Fts5StructureLevel *pLvl = &pStruct->aLevel[iLvl];
228165 assert_nc( p->pStruct->aLevel[i].nMerge==pTest->aLevel[i].nMerge );
228166 assert_nc( p->pStruct->aLevel[i].nSeg==pTest->aLevel[i].nSeg );
228167 for(j=0; j<pTest->aLevel[i].nSeg; j++){
228168 Fts5StructureSegment *p1 = &pTest->aLevel[i].aSeg[j];
228169 Fts5StructureSegment *p2 = &p->pStruct->aLevel[i].aSeg[j];
228204 nSegment += pStruct->aLevel[iLvl].nSeg;
228253 Fts5StructureLevel *pLvl = &pStruct->aLevel[iLvl];
228301 Fts5StructureLevel *pOut = &pStruct->aLevel[iPromote];
228305 Fts5StructureLevel *pLvl = &pStruct->aLevel[il];
228348 int nSeg = pStruct->aLevel[iLvl].nSeg;
228351 pSeg = &pStruct->aLevel[iLvl].aSeg[pStruct->aLevel[iLvl].nSeg-1];
228355 for(iTst=iLvl-1; iTst>=0 && pStruct->aLevel[iTst].nSeg==0; iTst--);
228359 Fts5StructureLevel *pTst = &pStruct->aLevel[iTst];
230526 nSeg = MIN(pStruct->aLevel[iLevel].nSeg, nSegment);
230544 Fts5StructureLevel *pEnd = &pStruct->aLevel[pStruct->nLevel];
230550 for(pLvl=&pStruct->aLevel[0]; pLvl<pEnd; pLvl++){
230562 pLvl = &pStruct->aLevel[iLevel];
230717 for(iSeg=0; iSeg<pStruct->aLevel[iLvl].nSeg; iSeg++){
230718 int iId = pStruct->aLevel[iLvl].aSeg[iSeg].iSegid;
230732 for(iSeg=0; iSeg<pStruct->aLevel[iLvl].nSeg; iSeg++){
230733 assert_nc( iSegid!=pStruct->aLevel[iLvl].aSeg[iSeg].iSegid );
231347 Fts5StructureLevel *pLvl = &pStruct->aLevel[iLvl];
231366 pLvlOut = &pStruct->aLevel[iLvl+1];
231385 pLvl = &pStruct->aLevel[iLvl];
231386 pLvlOut = &pStruct->aLevel[iLvl+1];
231507 Fts5StructureLevel *pLvl = &pStruct->aLevel[iLvl];
231524 assert( pStruct->aLevel[iLvl].nSeg==0 );
231528 if( nBest<nMin && pStruct->aLevel[iBestLvl].nMerge==0 ){
231533 if( p->rc==SQLITE_OK && pStruct->aLevel[iBestLvl].nMerge==0 ){
231579 while( p->rc==SQLITE_OK && pStruct->aLevel[iLvl].nSeg>=nCrisis ){
231762 pSeg = &pStruct->aLevel[0].aSeg[ pStruct->aLevel[0].nSeg++ ];
231810 int nThis = pStruct->aLevel[i].nSeg;
231811 if( nThis==nSeg || (nThis==nSeg-1 && pStruct->aLevel[i].nMerge==nThis) ){
231815 assert( pStruct->aLevel[i].nMerge<=nThis );
231827 pLvl = &pNew->aLevel[pStruct->nLevel];
231836 for(iSeg=0; iSeg<pStruct->aLevel[iLvl].nSeg; iSeg++){
231837 pLvl->aSeg[iSegOut] = pStruct->aLevel[iLvl].aSeg[iSeg];
231868 for(iLvl=0; pNew->aLevel[iLvl].nSeg==0; iLvl++){}
231869 while( p->rc==SQLITE_OK && pNew->aLevel[iLvl].nSeg>0 ){
233303 for(iSeg=0; iSeg<pStruct->aLevel[iLvl].nSeg; iSeg++){
233304 Fts5StructureSegment *pSeg = &pStruct->aLevel[iLvl].aSeg[iSeg];
233423 Fts5StructureLevel *pLvl = &p->aLevel[iLvl];