Lines Matching defs:pRhs

103066   sqlite3_value *pRhs = 0;  /* VALUE on right-hand side of pTerm */
103067 int iLower, iUpper; /* Range of histogram regions containing pRhs */
103075 rc = valueFromExpr(pParse, pExpr, aff, &pRhs);
103078 pRhs = sqlite3ValueNew(pParse->db);
103080 if( pRhs==0 ) return SQLITE_NOTFOUND;
103081 rc = whereRangeRegion(pParse, p, pRhs, 0, &iLower);
103083 rc = whereRangeRegion(pParse, p, pRhs, 1, &iUpper);
103095 sqlite3ValueFree(pRhs);
103124 int iLower, iUpper; /* Range of histogram regions containing pRhs */
123793 static int fts3SegReaderCmp(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
123795 if( pLhs->aNode && pRhs->aNode ){
123796 int rc2 = pLhs->nTerm - pRhs->nTerm;
123798 rc = memcmp(pLhs->zTerm, pRhs->zTerm, pLhs->nTerm);
123800 rc = memcmp(pLhs->zTerm, pRhs->zTerm, pRhs->nTerm);
123806 rc = (pLhs->aNode==0) - (pRhs->aNode==0);
123809 rc = pRhs->iIdx - pLhs->iIdx;
123826 static int fts3SegReaderDoclistCmp(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
123827 int rc = (pLhs->pOffsetList==0)-(pRhs->pOffsetList==0);
123829 if( pLhs->iDocid==pRhs->iDocid ){
123830 rc = pRhs->iIdx - pLhs->iIdx;
123832 rc = (pLhs->iDocid > pRhs->iDocid) ? 1 : -1;
123835 assert( pLhs->aNode && pRhs->aNode );
123838 static int fts3SegReaderDoclistCmpRev(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
123839 int rc = (pLhs->pOffsetList==0)-(pRhs->pOffsetList==0);
123841 if( pLhs->iDocid==pRhs->iDocid ){
123842 rc = pRhs->iIdx - pLhs->iIdx;
123844 rc = (pLhs->iDocid < pRhs->iDocid) ? 1 : -1;
123847 assert( pLhs->aNode && pRhs->aNode );