Lines Matching refs:nMaxDepth
177418 ** as the only argument is more than nMaxDepth.
177420 static int fts3ExprCheckDepth(Fts3Expr *p, int nMaxDepth){
177423 if( nMaxDepth<0 ){
177426 rc = fts3ExprCheckDepth(p->pLeft, nMaxDepth-1);
177428 rc = fts3ExprCheckDepth(p->pRight, nMaxDepth-1);
177441 ** nMaxDepth is the maximum allowable depth of the balanced sub-tree.
177446 static int fts3ExprBalance(Fts3Expr **pp, int nMaxDepth){
177452 if( nMaxDepth==0 ){
177459 apLeaf = (Fts3Expr **)sqlite3_malloc64(sizeof(Fts3Expr *) * nMaxDepth);
177463 memset(apLeaf, 0, sizeof(Fts3Expr *) * nMaxDepth);
177488 rc = fts3ExprBalance(&p, nMaxDepth-1);
177491 for(iLvl=0; p && iLvl<nMaxDepth; iLvl++){
177538 for(i=0; i<nMaxDepth; i++){
177562 for(i=0; i<nMaxDepth; i++){
177583 rc = fts3ExprBalance(&pLeft, nMaxDepth-1);
177585 rc = fts3ExprBalance(&pRight, nMaxDepth-1);