Lines Matching refs:eFrmType
665 if( pWin->zName && pWin->eFrmType==0 ){ in sqlite3WindowUpdate()
674 pWin->eFrmType = p->eFrmType; in sqlite3WindowUpdate()
679 if( (pWin->eFrmType==TK_RANGE) in sqlite3WindowUpdate()
696 int eFrmType; in sqlite3WindowUpdate() member
715 pWin->eFrmType = aUp[i].eFrmType; in sqlite3WindowUpdate()
1225 pWin->eFrmType = eType; in sqlite3WindowAlloc()
1316 if( (p->flags & EP_Distinct) && pWin->eFrmType!=TK_FILTER ){ in sqlite3WindowAttach()
1362 if( p1->eFrmType!=p2->eFrmType ) return 1; in sqlite3WindowCompare()
2238 int bPeer = (pMWin->eFrmType!=TK_ROWS); in windowCodeOp()
2251 if( pMWin->eFrmType==TK_RANGE ){ in windowCodeOp()
2287 && pMWin->eFrmType==TK_RANGE in windowCodeOp()
2386 pNew->eFrmType = p->eFrmType; in sqlite3WindowDup()
2838 if( pMWin->eFrmType!=TK_RANGE in sqlite3WindowCodeStep()
2847 if( pMWin->eFrmType!=TK_RANGE in sqlite3WindowCodeStep()
2883 if( pMWin->eFrmType!=TK_ROWS ){ in sqlite3WindowCodeStep()
2934 windowCheckValue(pParse, regStart, 0 + (pMWin->eFrmType==TK_RANGE?3:0)); in sqlite3WindowCodeStep()
2938 windowCheckValue(pParse, regEnd, 1 + (pMWin->eFrmType==TK_RANGE?3:0)); in sqlite3WindowCodeStep()
2941 if( pMWin->eFrmType!=TK_RANGE && pMWin->eStart==pMWin->eEnd && regStart ){ in sqlite3WindowCodeStep()
2954 if( pMWin->eStart==TK_FOLLOWING && pMWin->eFrmType!=TK_RANGE && regEnd ){ in sqlite3WindowCodeStep()
2985 if( pMWin->eFrmType==TK_RANGE ){ in sqlite3WindowCodeStep()
3000 int bRPS = (pMWin->eStart==TK_PRECEDING && pMWin->eFrmType==TK_RANGE); in sqlite3WindowCodeStep()
3009 if( pMWin->eFrmType==TK_RANGE ){ in sqlite3WindowCodeStep()
3048 int bRPS = (pMWin->eStart==TK_PRECEDING && pMWin->eFrmType==TK_RANGE); in sqlite3WindowCodeStep()
3058 if( pMWin->eFrmType==TK_RANGE ){ in sqlite3WindowCodeStep()