Lines Matching refs:pB
12147 ** if( rc==SQLITE_OK ) rc = sqlite3changegroup_add(pGrp, nB, pB);
12161 int nB, /* Number of bytes in buffer pB */
12162 void *pB, /* Pointer to buffer containing changeset B */
54963 static PgHdr *pcacheMergeDirtyList(PgHdr *pA, PgHdr *pB){
54966 assert( pA!=0 && pB!=0 );
54968 if( pA->pgno<pB->pgno ){
54973 pTail->pDirty = pB;
54977 pTail->pDirty = pB;
54978 pTail = pB;
54979 pB = pB->pDirty;
54980 if( pB==0 ){
56682 struct RowSetEntry *pB /* Second sorted list to be merged */
56688 assert( pA!=0 && pB!=0 );
56691 assert( pB->pRight==0 || pB->v<=pB->pRight->v );
56692 if( pA->v<=pB->v ){
56693 if( pA->v<pB->v ) pTail = pTail->pRight = pA;
56696 pTail->pRight = pB;
56700 pTail = pTail->pRight = pB;
56701 pB = pB->pRight;
56702 if( pB==0 ){
84957 ** This happens after pB was previously run and returned
84959 ** This routine transfers the new bytecode in pA over to pB
84960 ** so that pB can be run again. The old pB byte code is
84964 SQLITE_PRIVATE void sqlite3VdbeSwap(Vdbe *pA, Vdbe *pB){
84967 assert( pA->db==pB->db );
84969 *pA = *pB;
84970 *pB = tmp;
84972 pA->pVNext = pB->pVNext;
84973 pB->pVNext = pTmp;
84975 pA->ppVPrev = pB->ppVPrev;
84976 pB->ppVPrev = ppTmp;
84978 pA->zSql = pB->zSql;
84979 pB->zSql = zTmp;
84982 pA->zNormSql = pB->zNormSql;
84983 pB->zNormSql = zTmp;
84985 pB->expmask = pA->expmask;
84986 pB->prepFlags = pA->prepFlags;
84987 memcpy(pB->aCounter, pA->aCounter, sizeof(pB->aCounter));
84988 pB->aCounter[SQLITE_STMTSTATUS_REPREPARE]++;
115030 ** If any subelement of pB has Expr.iTable==(-1) then it is allowed
115033 ** The pA side might be using TK_REGISTER. If that is the case and pB is
115047 ** pParse->pReprepare can be matched against literals in pB. The
115051 ** pB causes a return value of 2.
115056 const Expr *pB,
115060 if( pA==0 || pB==0 ){
115061 return pB==pA ? 0 : 2;
115063 if( pParse && pA->op==TK_VARIABLE && exprCompareVariable(pParse, pA, pB) ){
115066 combinedFlags = pA->flags | pB->flags;
115068 if( (pA->flags&pB->flags&EP_IntValue)!=0 && pA->u.iValue==pB->u.iValue ){
115073 if( pA->op!=pB->op || pA->op==TK_RAISE ){
115074 if( pA->op==TK_COLLATE && sqlite3ExprCompare(pParse, pA->pLeft,pB,iTab)<2 ){
115077 if( pB->op==TK_COLLATE && sqlite3ExprCompare(pParse, pA,pB->pLeft,iTab)<2 ){
115080 if( pA->op==TK_AGG_COLUMN && pB->op==TK_COLUMN
115081 && pB->iTable<0 && pA->iTable==iTab
115089 assert( !ExprHasProperty(pB, EP_IntValue) );
115092 if( sqlite3StrICmp(pA->u.zToken,pB->u.zToken)!=0 ) return 2;
115094 assert( pA->op==pB->op );
115095 if( ExprHasProperty(pA,EP_WinFunc)!=ExprHasProperty(pB,EP_WinFunc) ){
115099 if( sqlite3WindowCompare(pParse, pA->y.pWin, pB->y.pWin, 1)!=0 ){
115107 if( sqlite3_stricmp(pA->u.zToken,pB->u.zToken)!=0 ) return 2;
115109 if( pB->u.zToken!=0
115112 && strcmp(pA->u.zToken,pB->u.zToken)!=0
115118 != (pB->flags & (EP_Distinct|EP_Commuted)) ) return 2;
115122 && sqlite3ExprCompare(pParse, pA->pLeft, pB->pLeft, iTab) ) return 2;
115123 if( sqlite3ExprCompare(pParse, pA->pRight, pB->pRight, iTab) ) return 2;
115124 if( sqlite3ExprListCompare(pA->x.pList, pB->x.pList, iTab) ) return 2;
115129 if( pA->iColumn!=pB->iColumn ) return 2;
115130 if( pA->op2!=pB->op2 && pA->op==TK_TRUTH ) return 2;
115131 if( pA->op!=TK_IN && pA->iTable!=pB->iTable && pA->iTable!=iTab ){
115144 ** If any subelement of pB has Expr.iTable==(-1) then it is allowed
115155 SQLITE_PRIVATE int sqlite3ExprListCompare(const ExprList *pA, const ExprList *pB, int iTab){
115157 if( pA==0 && pB==0 ) return 0;
115158 if( pA==0 || pB==0 ) return 1;
115159 if( pA->nExpr!=pB->nExpr ) return 1;
115163 Expr *pExprB = pB->a[i].pExpr;
115164 if( pA->a[i].fg.sortFlags!=pB->a[i].fg.sortFlags ) return 1;
115174 SQLITE_PRIVATE int sqlite3ExprCompareSkip(Expr *pA,Expr *pB, int iTab){
115177 sqlite3ExprSkipCollate(pB),
143110 ** pA pB pC Return Value
143153 SQLITE_PRIVATE int sqlite3JoinType(Parse *pParse, Token *pA, Token *pB, Token *pC){
143174 apAll[1] = pB;
143198 if( pB==0 ){ zSp1++; }
143201 "%T%s%T%s%T", pA, zSp1, pB, zSp2, pC);
211725 const RtreeSearchPoint *pB
211727 if( pA->rScore<pB->rScore ) return -1;
211728 if( pA->rScore>pB->rScore ) return +1;
211729 if( pA->iLevel<pB->iLevel ) return -1;
211730 if( pA->iLevel>pB->iLevel ) return +1;