Lines Matching refs:pB
27531 struct ByteRangeLockPB2 pb;
27534 pb.unLockFlag = setLockFlag ? 0 : 1;
27535 pb.startEndFlag = 0;
27536 pb.offset = offset;
27537 pb.length = length;
27538 pb.fd = pFile->h;
27541 (setLockFlag?"ON":"OFF"), pFile->h, (pb.fd==-1?"[testval-1]":""),
27543 err = fsctl(path, afpfsByteRangeLock2FSCTL, &pb, 0);
36698 static PgHdr *pcacheMergeDirtyList(PgHdr *pA, PgHdr *pB){
36701 while( pA && pB ){
36702 if( pA->pgno<pB->pgno ){
36707 pTail->pDirty = pB;
36708 pTail = pB;
36709 pB = pB->pDirty;
36714 }else if( pB ){
36715 pTail->pDirty = pB;
38070 struct RowSetEntry *pB /* Second sorted list to be merged */
38076 while( pA && pB ){
38078 assert( pB->pRight==0 || pB->v<=pB->pRight->v );
38079 if( pA->v<pB->v ){
38083 }else if( pB->v<pA->v ){
38084 pTail->pRight = pB;
38085 pB = pB->pRight;
38095 assert( pB==0 || pB->pRight==0 || pB->v<=pB->pRight->v );
38096 pTail->pRight = pB;
59585 SQLITE_PRIVATE void sqlite3VdbeSwap(Vdbe *pA, Vdbe *pB){
59589 *pA = *pB;
59590 *pB = tmp;
59592 pA->pNext = pB->pNext;
59593 pB->pNext = pTmp;
59595 pA->pPrev = pB->pPrev;
59596 pB->pPrev = pTmp;
59598 pA->zSql = pB->zSql;
59599 pB->zSql = zTmp;
59600 pB->isPrepareV2 = pA->isPrepareV2;
78105 SQLITE_PRIVATE int sqlite3ExprCompare(Expr *pA, Expr *pB){
78106 if( pA==0||pB==0 ){
78107 return pB==pA ? 0 : 2;
78110 assert( !ExprHasAnyProperty(pB, EP_TokenOnly|EP_Reduced) );
78111 if( ExprHasProperty(pA, EP_xIsSelect) || ExprHasProperty(pB, EP_xIsSelect) ){
78114 if( (pA->flags & EP_Distinct)!=(pB->flags & EP_Distinct) ) return 2;
78115 if( pA->op!=pB->op ) return 2;
78116 if( sqlite3ExprCompare(pA->pLeft, pB->pLeft) ) return 2;
78117 if( sqlite3ExprCompare(pA->pRight, pB->pRight) ) return 2;
78118 if( sqlite3ExprListCompare(pA->x.pList, pB->x.pList) ) return 2;
78119 if( pA->iTable!=pB->iTable || pA->iColumn!=pB->iColumn ) return 2;
78121 if( !ExprHasProperty(pB, EP_IntValue) || pA->u.iValue!=pB->u.iValue ){
78125 if( ExprHasProperty(pB, EP_IntValue) || NEVER(pB->u.zToken==0) ) return 2;
78126 if( strcmp(pA->u.zToken,pB->u.zToken)!=0 ){
78130 if( (pA->flags & EP_ExpCollate)!=(pB->flags & EP_ExpCollate) ) return 1;
78131 if( (pA->flags & EP_ExpCollate)!=0 && pA->pColl!=pB->pColl ) return 2;
78147 SQLITE_PRIVATE int sqlite3ExprListCompare(ExprList *pA, ExprList *pB){
78149 if( pA==0 && pB==0 ) return 0;
78150 if( pA==0 || pB==0 ) return 1;
78151 if( pA->nExpr!=pB->nExpr ) return 1;
78154 Expr *pExprB = pB->a[i].pExpr;
78155 if( pA->a[i].sortOrder!=pB->a[i].sortOrder ) return 1;
94629 SQLITE_PRIVATE int sqlite3JoinType(Parse *pParse, Token *pA, Token *pB, Token *pC){
94650 apAll[1] = pB;
94672 assert( pB!=0 );
94675 "%T %T%s%T", pA, pB, zSp, pC);