Lines Matching defs:pA

21699 ** the other 64-bit signed integer at *pA and store the result in *pA.
21701 ** overflow, leave *pA unchanged and return 1.
21703 SQLITE_PRIVATE int sqlite3AddInt64(i64 *pA, i64 iB){
21704 i64 iA = *pA;
21711 *pA += iB;
21716 *pA += iB;
21720 SQLITE_PRIVATE int sqlite3SubInt64(i64 *pA, i64 iB){
21723 testcase( (*pA)==(-1) ); testcase( (*pA)==0 );
21724 if( (*pA)>=0 ) return 1;
21725 *pA -= iB;
21728 return sqlite3AddInt64(pA, -iB);
21733 SQLITE_PRIVATE int sqlite3MulInt64(i64 *pA, i64 iB){
21734 i64 iA = *pA;
21751 *pA = r;
35636 static PgHdr *pcacheMergeDirtyList(PgHdr *pA, PgHdr *pB){
35639 while( pA && pB ){
35640 if( pA->pgno<pB->pgno ){
35641 pTail->pDirty = pA;
35642 pTail = pA;
35643 pA = pA->pDirty;
35650 if( pA ){
35651 pTail->pDirty = pA;
37193 struct RowSetEntry *pA, /* First sorted list to be merged */
37200 while( pA && pB ){
37201 assert( pA->pRight==0 || pA->v<=pA->pRight->v );
37203 if( pA->v<pB->v ){
37204 pTail->pRight = pA;
37205 pA = pA->pRight;
37207 }else if( pB->v<pA->v ){
37212 pA = pA->pRight;
37215 if( pA ){
37216 assert( pA->pRight==0 || pA->v<=pA->pRight->v );
37217 pTail->pRight = pA;
58380 SQLITE_PRIVATE void sqlite3VdbeSwap(Vdbe *pA, Vdbe *pB){
58383 tmp = *pA;
58384 *pA = *pB;
58386 pTmp = pA->pNext;
58387 pA->pNext = pB->pNext;
58389 pTmp = pA->pPrev;
58390 pA->pPrev = pB->pPrev;
58392 zTmp = pA->zSql;
58393 pA->zSql = pB->zSql;
58395 pB->isPrepareV2 = pA->isPrepareV2;
76455 SQLITE_PRIVATE int sqlite3ExprCompare(Expr *pA, Expr *pB){
76456 if( pA==0||pB==0 ){
76457 return pB==pA ? 0 : 2;
76459 assert( !ExprHasAnyProperty(pA, EP_TokenOnly|EP_Reduced) );
76461 if( ExprHasProperty(pA, EP_xIsSelect) || ExprHasProperty(pB, EP_xIsSelect) ){
76464 if( (pA->flags & EP_Distinct)!=(pB->flags & EP_Distinct) ) return 2;
76465 if( pA->op!=pB->op ) return 2;
76466 if( sqlite3ExprCompare(pA->pLeft, pB->pLeft) ) return 2;
76467 if( sqlite3ExprCompare(pA->pRight, pB->pRight) ) return 2;
76468 if( sqlite3ExprListCompare(pA->x.pList, pB->x.pList) ) return 2;
76469 if( pA->iTable!=pB->iTable || pA->iColumn!=pB->iColumn ) return 2;
76470 if( ExprHasProperty(pA, EP_IntValue) ){
76471 if( !ExprHasProperty(pB, EP_IntValue) || pA->u.iValue!=pB->u.iValue ){
76474 }else if( pA->op!=TK_COLUMN && pA->u.zToken ){
76476 if( sqlite3StrICmp(pA->u.zToken,pB->u.zToken)!=0 ){
76480 if( (pA->flags & EP_ExpCollate)!=(pB->flags & EP_ExpCollate) ) return 1;
76481 if( (pA->flags & EP_ExpCollate)!=0 && pA->pColl!=pB->pColl ) return 2;
76497 SQLITE_PRIVATE int sqlite3ExprListCompare(ExprList *pA, ExprList *pB){
76499 if( pA==0 && pB==0 ) return 0;
76500 if( pA==0 || pB==0 ) return 1;
76501 if( pA->nExpr!=pB->nExpr ) return 1;
76502 for(i=0; i<pA->nExpr; i++){
76503 Expr *pExprA = pA->a[i].pExpr;
76505 if( pA->a[i].sortOrder!=pB->a[i].sortOrder ) return 1;
92472 SQLITE_PRIVATE int sqlite3JoinType(Parse *pParse, Token *pA, Token *pB, Token *pC){
92492 apAll[0] = pA;
92518 "%T %T%s%T", pA, pB, zSp, pC);
105650 static void binaryToUnaryIfNull(Parse *pParse, Expr *pY, Expr *pA, int op){
105653 pA->op = (u8)op;
105654 sqlite3ExprDelete(db, pA->pRight);
105655 pA->pRight = 0;