Home | History | Annotate | Download | only in orig

Lines Matching defs:pRhs

105307   sqlite3_value *pRhs = 0;  /* VALUE on right-hand side of pTerm */
105316 rc = valueFromExpr(pParse, pExpr, aff, &pRhs);
105319 pRhs = sqlite3ValueNew(pParse->db);
105321 if( pRhs==0 ) return SQLITE_NOTFOUND;
105322 rc = whereKeyStats(pParse, p, pRhs, 0, a);
105328 sqlite3ValueFree(pRhs);
126703 static int fts3SegReaderCmp(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
126705 if( pLhs->aNode && pRhs->aNode ){
126706 int rc2 = pLhs->nTerm - pRhs->nTerm;
126708 rc = memcmp(pLhs->zTerm, pRhs->zTerm, pLhs->nTerm);
126710 rc = memcmp(pLhs->zTerm, pRhs->zTerm, pRhs->nTerm);
126716 rc = (pLhs->aNode==0) - (pRhs->aNode==0);
126719 rc = pRhs->iIdx - pLhs->iIdx;
126736 static int fts3SegReaderDoclistCmp(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
126737 int rc = (pLhs->pOffsetList==0)-(pRhs->pOffsetList==0);
126739 if( pLhs->iDocid==pRhs->iDocid ){
126740 rc = pRhs->iIdx - pLhs->iIdx;
126742 rc = (pLhs->iDocid > pRhs->iDocid) ? 1 : -1;
126745 assert( pLhs->aNode && pRhs->aNode );
126748 static int fts3SegReaderDoclistCmpRev(Fts3SegReader *pLhs, Fts3SegReader *pRhs){
126749 int rc = (pLhs->pOffsetList==0)-(pRhs->pOffsetList==0);
126751 if( pLhs->iDocid==pRhs->iDocid ){
126752 rc = pRhs->iIdx - pLhs->iIdx;
126754 rc = (pLhs->iDocid < pRhs->iDocid) ? 1 : -1;
126757 assert( pLhs->aNode && pRhs->aNode );