Lines Matching refs:pX

15762   struct tm *pX;  in osLocaltime()  local
15767 pX = localtime(t); in osLocaltime()
15769 if( sqlite3GlobalConfig.bLocaltimeFault ) pX = 0; in osLocaltime()
15771 if( pX ) *pTm = *pX; in osLocaltime()
15773 rc = pX==0; in osLocaltime()
19350 static int debugMutexHeld(sqlite3_mutex *pX){ in debugMutexHeld() argument
19351 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexHeld()
19354 static int debugMutexNotheld(sqlite3_mutex *pX){ in debugMutexNotheld() argument
19355 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexNotheld()
19401 static void debugMutexFree(sqlite3_mutex *pX){ in debugMutexFree() argument
19402 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexFree()
19424 static void debugMutexEnter(sqlite3_mutex *pX){ in debugMutexEnter() argument
19425 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexEnter()
19426 assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); in debugMutexEnter()
19429 static int debugMutexTry(sqlite3_mutex *pX){ in debugMutexTry() argument
19430 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexTry()
19431 assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); in debugMutexTry()
19442 static void debugMutexLeave(sqlite3_mutex *pX){ in debugMutexLeave() argument
19443 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX; in debugMutexLeave()
19444 assert( debugMutexHeld(pX) ); in debugMutexLeave()
19446 assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); in debugMutexLeave()
30018 unixShm *pX; /* For looping over all siblings */
30042 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
30043 if( pX==p ) continue;
30044 assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 );
30045 allMask |= pX->sharedMask;
30067 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
30068 if( (pX->exclMask & mask)!=0 ){
30072 allShared |= pX->sharedMask;
30092 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
30093 if( (pX->exclMask & mask)!=0 || (pX->sharedMask & mask)!=0 ){
36968 winShm *pX; /* For looping over all siblings */
36988 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
36989 if( pX==p ) continue;
36990 assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 );
36991 allMask |= pX->sharedMask;
37013 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
37014 if( (pX->exclMask & mask)!=0 ){
37018 allShared |= pX->sharedMask;
37038 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
37039 if( (pX->exclMask & mask)!=0 || (pX->sharedMask & mask)!=0 ){
63866 Mem *pX;
63867 for(i=1, pX=&pVdbe->aMem[1]; i<=pVdbe->nMem; i++, pX++){
63868 if( pX->pScopyFrom==pMem ){
63869 pX->flags |= MEM_Undefined;
63870 pX->pScopyFrom = 0;
74125 Btree *pX;
74159 pX = pDb->pBt;
74160 assert( pX!=0 );
74203 rc = sqlite3BtreeCursor(pX, p2, wrFlag, pKeyInfo, pCur->pCursor);
77189 Mem *pX;
77206 pX = &aMem[pOp->p3];
77208 assert( memIsValid(pX) );
77209 memAboutToChange(p, pX);
77210 apArg[i] = pX;
77211 pX++;
82557 Expr *pX = pEList->a[i].pExpr;
82558 if( sqlite3ResolveExprNames(&sNC, pX) ){
84501 SQLITE_PRIVATE int sqlite3FindInIndex(Parse *pParse, Expr *pX, u32 inFlags, int *prRhsHasNull){
84508 assert( pX->op==TK_IN );
84515 p = (ExprHasProperty(pX, EP_xIsSelect) ? pX->x.pSelect : 0);
84555 CollSeq *pReq = sqlite3BinaryCompareCollSeq(pParse, pX->pLeft, pExpr);
84561 int affinity_ok = sqlite3IndexAffinityOk(pX, pTab->aCol[iCol].affinity);
84594 && !ExprHasProperty(pX, EP_xIsSelect)
84595 && (!sqlite3InRhsIsConstant(pX) || pX->x.pList->nExpr<=2)
84610 if( pX->pLeft->iColumn<0 && !ExprHasProperty(pX, EP_xIsSelect) ){
84616 sqlite3CodeSubselect(pParse, pX, rMayHaveNull, eType==IN_INDEX_ROWID);
84619 pX->iTable = iTab;
85922 Expr *pX; /* The X expression */
85932 if( (pX = pExpr->pLeft)!=0 ){
85933 tempX = *pX;
85934 testcase( pX->op==TK_COLUMN );
85935 exprToRegister(&tempX, sqlite3ExprCodeTemp(pParse, pX, &regFree1));
85948 if( pX ){
86307 Expr *pX = pExpr->pLeft;
86311 sqlite3TreeViewExpr(pView, pX, 1);
110337 Select *pX;
110346 for(pX=p; pX && (pX->op==TK_ALL || pX->op==TK_SELECT); pX=pX->pPrior){}
110347 if( pX==0 ) return WRC_Continue;
110841 struct ExprList_item *pX = &pNew->a[pNew->nExpr-1];
110843 pX->zSpan = sqlite3DbStrDup(db, pSub->pEList->a[j].zSpan);
110844 testcase( pX->zSpan==0 );
110846 pX->zSpan = sqlite3MPrintf(db, "%s.%s.%s",
110848 testcase( pX->zSpan==0 );
110850 pX->bSpanIsTab = 1;
116633 Expr *pX; /* An expression being tested */
116651 pX = sqlite3ExprSkipCollate(pTerm->pExpr->pRight);
116652 assert( pX->op==TK_COLUMN );
116654 if( pScan->aEquiv[j]==pX->iTable
116655 && pScan->aEquiv[j+1]==pX->iColumn ){
116660 pScan->aEquiv[j] = pX->iTable;
116661 pScan->aEquiv[j+1] = pX->iColumn;
116670 pX = pTerm->pExpr;
116671 if( !sqlite3IndexAffinityOk(pX, pScan->idxaff) ){
116674 assert(pX->pLeft);
116676 pX->pLeft, pX->pRight);
116683 && (pX = pTerm->pExpr->pRight)->op==TK_COLUMN
116684 && pX->iTable==pScan->aEquiv[0]
116685 && pX->iColumn==pScan->aEquiv[1]
117998 Expr *pX = pTerm->pExpr;
118001 pColl = sqlite3BinaryCompareCollSeq(pParse, pX->pLeft, pX->pRight);
118982 Expr *pX = pTerm->pExpr;
118987 if( pX->op==TK_EQ ){
118988 iReg = sqlite3ExprCodeTarget(pParse, pX->pRight, iTarget);
118989 }else if( pX->op==TK_ISNULL ){
119007 assert( pX->op==TK_IN );
119009 eType = sqlite3FindInIndex(pParse, pX, IN_INDEX_LOOP, 0);
119014 iTab = pX->iTable;
119595 Expr *pX; /* The expression that defines the start bound */
119613 pX = pStart->pExpr;
119614 assert( pX!=0 );
119616 r1 = sqlite3ExprCodeTemp(pParse, pX->pRight, &rTemp);
119617 sqlite3VdbeAddOp3(v, aMoveOp[pX->op-TK_GT], iCur, addrBrk, r1);
119619 VdbeCoverageIf(v, pX->op==TK_GT);
119620 VdbeCoverageIf(v, pX->op==TK_LE);
119621 VdbeCoverageIf(v, pX->op==TK_LT);
119622 VdbeCoverageIf(v, pX->op==TK_GE);
119632 Expr *pX;
119633 pX = pEnd->pExpr;
119634 assert( pX!=0 );
119639 sqlite3ExprCode(pParse, pX->pRight, memEndValue);
119640 if( pX->op==TK_LT || pX->op==TK_GT ){
120532 const WhereLoop *pX, /* First WhereLoop to compare */
120536 if( pX->nLTerm-pX->nSkip >= pY->nLTerm-pY->nSkip ){
120539 if( pY->nSkip > pX->nSkip ) return 0;
120540 if( pX->rRun >= pY->rRun ){
120541 if( pX->rRun > pY->rRun ) return 0; /* X costs more than Y */
120542 if( pX->nOut > pY->nOut ) return 0; /* X costs more than Y */
120544 for(i=pX->nLTerm-1; i>=0; i--){
120545 if( pX->aLTerm[i]==0 ) continue;
120547 if( pY->aLTerm[j]==pX->aLTerm[i] ) break;
120820 WhereTerm *pTerm, *pX;
120831 pX = pLoop->aLTerm[j];
120832 if( pX==0 ) continue;
120833 if( pX==pTerm ) break;
120834 if( pX->iParent>=0 && (&pWC->a[pX->iParent])==pTerm ) break;
122149 WhereLoop **pX; /* Used to divy up the pSpace memory */
122183 pX = (WhereLoop**)(aFrom+mxChoice);
122184 for(ii=mxChoice*2, pFrom=aTo; ii>0; ii--, pFrom++, pX += nLoop){
122185 pFrom->aLoop = pX;
122194 aSortCost = (LogEst*)pX;
122198 assert( aSortCost!=0 || &pSpace[nSpace]==(char*)pX );