Lines Matching defs:pX
10482 #define OP_Column 47 /* synopsis: r[P3]=PX */
16521 struct tm *pX;
16526 pX = localtime(t);
16528 if( sqlite3GlobalConfig.bLocaltimeFault ) pX = 0;
16530 if( pX ) *pTm = *pX;
16532 rc = pX==0;
20133 static int debugMutexHeld(sqlite3_mutex *pX){
20134 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX;
20137 static int debugMutexNotheld(sqlite3_mutex *pX){
20138 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX;
20184 static void debugMutexFree(sqlite3_mutex *pX){
20185 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX;
20207 static void debugMutexEnter(sqlite3_mutex *pX){
20208 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX;
20209 assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) );
20212 static int debugMutexTry(sqlite3_mutex *pX){
20213 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX;
20214 assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) );
20225 static void debugMutexLeave(sqlite3_mutex *pX){
20226 sqlite3_debug_mutex *p = (sqlite3_debug_mutex*)pX;
20227 assert( debugMutexHeld(pX) );
20229 assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) );
22402 unsigned px = 0;
22404 px = px*10 + c - '0';
22407 testcase( px>0x7fffffff );
22408 precision = px & 0x7fffffff;
23543 Expr *pX = pExpr->pLeft;
23547 sqlite3TreeViewExpr(pView, pX, 1);
26304 /* 47 */ "Column" OpHelp("r[P3]=PX"),
31195 unixShm *pX; /* For looping over all siblings */
31219 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
31220 if( pX==p ) continue;
31221 assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 );
31222 allMask |= pX->sharedMask;
31244 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
31245 if( (pX->exclMask & mask)!=0 ){
31249 allShared |= pX->sharedMask;
31269 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
31270 if( (pX->exclMask & mask)!=0 || (pX->sharedMask & mask)!=0 ){
38154 winShm *pX; /* For looping over all siblings */
38174 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
38175 if( pX==p ) continue;
38176 assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 );
38177 allMask |= pX->sharedMask;
38199 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
38200 if( (pX->exclMask & mask)!=0 ){
38204 allShared |= pX->sharedMask;
38224 for(pX=pShmNode->pFirst; pX; pX=pX->pNext){
38225 if( (pX->exclMask & mask)!=0 || (pX->sharedMask & mask)!=0 ){
41426 PgHdr1 *pX = (PgHdr1*)&zBulk[pCache->szPage];
41427 pX->page.pBuf = zBulk;
41428 pX->page.pExtra = &pX[1];
41429 pX->isBulkLocal = 1;
41430 pX->isAnchor = 0;
41431 pX->pNext = pCache->pFree;
41432 pCache->pFree = pX;
58576 BtCursor *pX; /* Looping over other all cursors */
58615 for(pX=pBt->pCursor; pX; pX=pX->pNext){
58616 if( pX->pgnoRoot==(Pgno)iTable ){
58617 pX->curFlags |= BTCF_Multiple;
65740 Mem *pX;
65741 for(i=1, pX=&pVdbe->aMem[1]; i<=pVdbe->nMem; i++, pX++){
65742 if( pX->pScopyFrom==pMem ){
65743 pX->flags |= MEM_Undefined;
65744 pX->pScopyFrom = 0;
67719 ** "PX" -> "r[X]"
67720 ** "PX@PY" -> "r[X..X+Y-1]" or "r[x]" if y is 0 or 1
67721 ** "PX@PY+1" -> "r[X..X+Y]" or "r[x]" if y is 0
75226 ** Synopsis: r[P3]=PX
76217 Btree *pX;
76251 pX = pDb->pBt;
76252 assert( pX!=0 );
76295 rc = sqlite3BtreeCursor(pX, p2, wrFlag, pKeyInfo, pCur->pCursor);
79364 Mem *pX;
79381 pX = &aMem[pOp->p3];
79383 assert( memIsValid(pX) );
79384 memAboutToChange(p, pX);
79385 apArg[i] = pX;
79386 pX++;
86627 ** The pX parameter is the expression on the RHS of the IN operator, which
86635 ** and pX->iTable is set to the index of that cursor.
86647 ** An existing b-tree might be used if the RHS expression pX is a simple
86654 ** pX->iTable made to point to the ephemeral table instead of an
86696 SQLITE_PRIVATE int sqlite3FindInIndex(Parse *pParse, Expr *pX, u32 inFlags, int *prRhsHasNull){
86703 assert( pX->op==TK_IN );
86710 p = (ExprHasProperty(pX, EP_xIsSelect) ? pX->x.pSelect : 0);
86750 CollSeq *pReq = sqlite3BinaryCompareCollSeq(pParse, pX->pLeft, pExpr);
86756 int affinity_ok = sqlite3IndexAffinityOk(pX, pTab->aCol[iCol].affinity);
86789 && !ExprHasProperty(pX, EP_xIsSelect)
86790 && (!sqlite3InRhsIsConstant(pX) || pX->x.pList->nExpr<=2)
86805 if( pX->pLeft->iColumn<0 && !ExprHasProperty(pX, EP_xIsSelect) ){
86811 sqlite3CodeSubselect(pParse, pX, rMayHaveNull, eType==IN_INDEX_ROWID);
86814 pX->iTable = iTab;
88121 Expr *pX; /* The X expression */
88131 if( (pX = pExpr->pLeft)!=0 ){
88132 tempX = *pX;
88133 testcase( pX->op==TK_COLUMN );
88134 exprToRegister(&tempX, sqlite3ExprCodeTemp(pParse, pX, ®Free1));
88147 if( pX ){
112571 Select *pX;
112580 for(pX=p; pX && (pX->op==TK_ALL || pX->op==TK_SELECT); pX=pX->pPrior){}
112581 if( pX==0 ) return WRC_Continue;
113067 struct ExprList_item *pX = &pNew->a[pNew->nExpr-1];
113069 pX->zSpan = sqlite3DbStrDup(db, pSub->pEList->a[j].zSpan);
113070 testcase( pX->zSpan==0 );
113072 pX
113074 testcase( pX->zSpan==0 );
113076 pX->bSpanIsTab = 1;
118892 Expr *pX = pTerm->pExpr;
118897 if( pX->op==TK_EQ || pX->op==TK_IS ){
118898 iReg = sqlite3ExprCodeTarget(pParse, pX->pRight, iTarget);
118899 }else if( pX->op==TK_ISNULL ){
118917 assert( pX->op==TK_IN );
118919 eType = sqlite3FindInIndex(pParse, pX, IN_INDEX_LOOP, 0);
118924 iTab = pX->iTable;
119294 Expr *pX; /* The expression that defines the start bound */
119312 pX = pStart->pExpr;
119313 assert( pX!=0 );
119315 r1 = sqlite3ExprCodeTemp(pParse, pX->pRight, &rTemp);
119316 sqlite3VdbeAddOp3(v, aMoveOp[pX->op-TK_GT], iCur, addrBrk, r1);
119318 VdbeCoverageIf(v, pX->op==TK_GT);
119319 VdbeCoverageIf(v, pX->op==TK_LE);
119320 VdbeCoverageIf(v, pX->op==TK_LT);
119321 VdbeCoverageIf(v, pX->op==TK_GE);
119331 Expr *pX;
119332 pX = pEnd->pExpr;
119333 assert( pX!=0 );
119338 sqlite3ExprCode(pParse, pX->pRight, memEndValue);
119339 if( pX->op==TK_LT || pX->op==TK_GT ){
121576 Expr *pX; /* An expression being tested */
121595 && (pX = sqlite3ExprSkipCollate(pTerm->pExpr->pRight))->op==TK_COLUMN
121599 if( pScan->aiCur[j]==pX->iTable
121600 && pScan->aiColumn[j]==pX->iColumn ){
121605 pScan->aiCur[j] = pX->iTable;
121606 pScan->aiColumn[j] = pX->iColumn;
121615 pX = pTerm->pExpr;
121616 if( !sqlite3IndexAffinityOk(pX, pScan->idxaff) ){
121619 assert(pX->pLeft);
121621 pX->pLeft, pX->pRight);
121628 && (pX = pTerm->pExpr->pRight)->op==TK_COLUMN
121629 && pX->iTable==pScan->aiCur[0]
121630 && pX->iColumn==pScan->aiColumn[0]
122109 Expr *pX = pTerm->pExpr;
122112 pColl = sqlite3BinaryCompareCollSeq(pParse, pX->pLeft, pX->pRight);
123203 const WhereLoop *pX
123207 if( pX->nLTerm-pX->nSkip >= pY->nLTerm-pY->nSkip ){
123210 if( pY->nSkip > pX->nSkip ) return 0;
123211 if( pX->rRun >= pY->rRun ){
123212 if( pX->rRun > pY->rRun ) return 0; /* X costs more than Y */
123213 if( pX->nOut > pY->nOut ) return 0; /* X costs more than Y */
123215 for(i=pX->nLTerm-1; i>=0; i--){
123216 if( pX->aLTerm[i]==0 ) continue;
123218 if( pY->aLTerm[j]==pX->aLTerm[i] ) break;
123269 ** If pX is a WhereLoop that pTemplate can supplant, then return the
123270 ** link that points to pX.
123493 WhereTerm *pTerm, *pX;
123504 pX = pLoop->aLTerm[j];
123505 if( pX==0 ) continue;
123506 if( pX==pTerm ) break;
123507 if( pX->iParent>=0 && (&pWC->a[pX->iParent])==pTerm ) break;
124891 WhereLoop **pX; /* Used to divy up the pSpace memory */
124925 pX = (WhereLoop**)(aFrom+mxChoice);
124926 for(ii=mxChoice*2, pFrom=aTo; ii>0; ii--, pFrom++, pX += nLoop){
124927 pFrom->aLoop = pX;
124936 aSortCost = (LogEst*)pX;
124940 assert( aSortCost!=0 || &pSpace[nSpace]==(char*)pX );