Lines Matching refs:pB
27542 struct ByteRangeLockPB2 pb;
27545 pb.unLockFlag = setLockFlag ? 0 : 1;
27546 pb.startEndFlag = 0;
27547 pb.offset = offset;
27548 pb.length = length;
27549 pb.fd = pFile->h;
27552 (setLockFlag?"ON":"OFF"), pFile->h, (pb.fd==-1?"[testval-1]":""),
27554 err = fsctl(path, afpfsByteRangeLock2FSCTL, &pb, 0);
36709 static PgHdr *pcacheMergeDirtyList(PgHdr *pA, PgHdr *pB){
36712 while( pA && pB ){
36713 if( pA->pgno<pB->pgno ){
36718 pTail->pDirty = pB;
36719 pTail = pB;
36720 pB = pB->pDirty;
36725 }else if( pB ){
36726 pTail->pDirty = pB;
38081 struct RowSetEntry *pB /* Second sorted list to be merged */
38087 while( pA && pB ){
38089 assert( pB->pRight==0 || pB->v<=pB->pRight->v );
38090 if( pA->v<pB->v ){
38094 }else if( pB->v<pA->v ){
38095 pTail->pRight = pB;
38096 pB = pB->pRight;
38106 assert( pB==0 || pB->pRight==0 || pB->v<=pB->pRight->v );
38107 pTail->pRight = pB;
59596 SQLITE_PRIVATE void sqlite3VdbeSwap(Vdbe *pA, Vdbe *pB){
59600 *pA = *pB;
59601 *pB = tmp;
59603 pA->pNext = pB->pNext;
59604 pB->pNext = pTmp;
59606 pA->pPrev = pB->pPrev;
59607 pB->pPrev = pTmp;
59609 pA->zSql = pB->zSql;
59610 pB->zSql = zTmp;
59611 pB->isPrepareV2 = pA->isPrepareV2;
78116 SQLITE_PRIVATE int sqlite3ExprCompare(Expr *pA, Expr *pB){
78117 if( pA==0||pB==0 ){
78118 return pB==pA ? 0 : 2;
78121 assert( !ExprHasAnyProperty(pB, EP_TokenOnly|EP_Reduced) );
78122 if( ExprHasProperty(pA, EP_xIsSelect) || ExprHasProperty(pB, EP_xIsSelect) ){
78125 if( (pA->flags & EP_Distinct)!=(pB->flags & EP_Distinct) ) return 2;
78126 if( pA->op!=pB->op ) return 2;
78127 if( sqlite3ExprCompare(pA->pLeft, pB->pLeft) ) return 2;
78128 if( sqlite3ExprCompare(pA->pRight, pB->pRight) ) return 2;
78129 if( sqlite3ExprListCompare(pA->x.pList, pB->x.pList) ) return 2;
78130 if( pA->iTable!=pB->iTable || pA->iColumn!=pB->iColumn ) return 2;
78132 if( !ExprHasProperty(pB, EP_IntValue) || pA->u.iValue!=pB->u.iValue ){
78136 if( ExprHasProperty(pB, EP_IntValue) || NEVER(pB->u.zToken==0) ) return 2;
78137 if( strcmp(pA->u.zToken,pB->u.zToken)!=0 ){
78141 if( (pA->flags & EP_ExpCollate)!=(pB->flags & EP_ExpCollate) ) return 1;
78142 if( (pA->flags & EP_ExpCollate)!=0 && pA->pColl!=pB->pColl ) return 2;
78158 SQLITE_PRIVATE int sqlite3ExprListCompare(ExprList *pA, ExprList *pB){
78160 if( pA==0 && pB==0 ) return 0;
78161 if( pA==0 || pB==0 ) return 1;
78162 if( pA->nExpr!=pB->nExpr ) return 1;
78165 Expr *pExprB = pB->a[i].pExpr;
78166 if( pA->a[i].sortOrder!=pB->a[i].sortOrder ) return 1;
94640 SQLITE_PRIVATE int sqlite3JoinType(Parse *pParse, Token *pA, Token *pB, Token *pC){
94661 apAll[1] = pB;
94683 assert( pB!=0 );
94686 "%T %T%s%T", pA, pB, zSp, pC);