Lines Matching refs:eStart

672     pWin->eStart = p->eStart;  in sqlite3WindowUpdate()
697 int eStart; in sqlite3WindowUpdate() member
716 pWin->eStart = aUp[i].eStart; in sqlite3WindowUpdate()
719 if( pWin->eStart==TK_FOLLOWING ){ in sqlite3WindowUpdate()
1179 int eStart, /* Start type: CURRENT, PRECEDING, FOLLOWING, UNBOUNDED */ in sqlite3WindowAlloc() argument
1190 assert( eStart==TK_CURRENT || eStart==TK_PRECEDING in sqlite3WindowAlloc()
1191 || eStart==TK_UNBOUNDED || eStart==TK_FOLLOWING ); in sqlite3WindowAlloc()
1194 assert( (eStart==TK_PRECEDING || eStart==TK_FOLLOWING)==(pStart!=0) ); in sqlite3WindowAlloc()
1216 if( (eStart==TK_CURRENT && eEnd==TK_PRECEDING) in sqlite3WindowAlloc()
1217 || (eStart==TK_FOLLOWING && (eEnd==TK_PRECEDING || eEnd==TK_CURRENT)) in sqlite3WindowAlloc()
1226 pWin->eStart = eStart; in sqlite3WindowAlloc()
1363 if( p1->eStart!=p2->eStart ) return 1; in sqlite3WindowCompare()
1423 if( (p->funcFlags & SQLITE_FUNC_MINMAX) && pWin->eStart!=TK_UNBOUNDED ){ in sqlite3WindowCodeInit()
1667 assert( bInverse==0 || pWin->eStart!=TK_UNBOUNDED ); in windowAggStep()
1684 && (pWin->eStart!=TK_UNBOUNDED) in windowAggStep()
1777 && (pWin->eStart!=TK_UNBOUNDED) in windowAggFinal()
2007 assert( pWin->eStart!=TK_UNBOUNDED ); in windowInitAccum()
2245 if( op==WINDOW_AGGINVERSE && pMWin->eStart==TK_UNBOUNDED ){ in windowCodeOp()
2255 if( pMWin->eStart==TK_FOLLOWING ){ in windowCodeOp()
2286 if( pMWin->eStart==pMWin->eEnd && regCountdown in windowCodeOp()
2303 assert( pMWin->eStart==TK_PRECEDING || pMWin->eStart==TK_FOLLOWING ); in windowCodeOp()
2388 pNew->eStart = p->eStart; in sqlite3WindowDup()
2805 assert( pMWin->eStart==TK_PRECEDING || pMWin->eStart==TK_CURRENT in sqlite3WindowCodeStep()
2806 || pMWin->eStart==TK_FOLLOWING || pMWin->eStart==TK_UNBOUNDED in sqlite3WindowCodeStep()
2836 switch( pMWin->eStart ){ in sqlite3WindowCodeStep()
2873 if( pMWin->eStart==TK_PRECEDING || pMWin->eStart==TK_FOLLOWING ){ in sqlite3WindowCodeStep()
2941 if( pMWin->eFrmType!=TK_RANGE && pMWin->eStart==pMWin->eEnd && regStart ){ in sqlite3WindowCodeStep()
2942 int op = ((pMWin->eStart==TK_FOLLOWING) ? OP_Ge : OP_Le); in sqlite3WindowCodeStep()
2954 if( pMWin->eStart==TK_FOLLOWING && pMWin->eFrmType!=TK_RANGE && regEnd ){ in sqlite3WindowCodeStep()
2959 if( pMWin->eStart!=TK_UNBOUNDED ){ in sqlite3WindowCodeStep()
2982 if( pMWin->eStart==TK_FOLLOWING ){ in sqlite3WindowCodeStep()
3000 int bRPS = (pMWin->eStart==TK_PRECEDING && pMWin->eFrmType==TK_RANGE); in sqlite3WindowCodeStep()
3048 int bRPS = (pMWin->eStart==TK_PRECEDING && pMWin->eFrmType==TK_RANGE); in sqlite3WindowCodeStep()
3052 }else if( pMWin->eStart==TK_FOLLOWING ){ in sqlite3WindowCodeStep()