Lines Matching refs:mask
14605 SQLITE_PRIVATE int sqlite3BtreeCursorHasHint(BtCursor*, unsigned int mask);
16521 #define OptimizationDisabled(db, mask) (((db)->dbOptFlags&(mask))!=0) argument
16522 #define OptimizationEnabled(db, mask) (((db)->dbOptFlags&(mask))==0) argument
35485 long lk, mask;
35490 mask = (sizeof(long)==8) ? LARGEST_INT64 : 0x7fffffff;
35494 pInode->sharedByte = (lk & mask)%(SHARED_SIZE - 1);
36412 static void unixModeBit(unixFile *pFile, unsigned char mask, int *pArg){
36414 *pArg = (pFile->ctrlFlags & mask)!=0;
36416 pFile->ctrlFlags &= ~mask;
36418 pFile->ctrlFlags |= mask;
36821 { u16 mask;
36823 mask = ofst>31 ? 0xffff : (1<<(ofst+n)) - (1<<ofst);
36827 pShmNode->exclMask &= ~mask;
36828 pShmNode->sharedMask &= ~mask;
36831 pShmNode->exclMask &= ~mask;
36832 pShmNode->sharedMask |= mask;
36836 pShmNode->exclMask |= mask;
36837 pShmNode->sharedMask &= ~mask;
37297 u16 mask; /* Mask of locks to take or release */
37311 mask = (1<<(ofst+n)) - (1<<ofst);
37312 assert( n>1 || mask==(1<<ofst) );
37325 if( (mask & allMask)==0 ){
37333 p->exclMask &= ~mask;
37334 p->sharedMask &= ~mask;
37344 if( (pX->exclMask & mask)!=0 ){
37353 if( (allShared & mask)==0 ){
37362 p->sharedMask |= mask;
37369 if( (pX->exclMask & mask)!=0 || (pX->sharedMask & mask)!=0 ){
37381 assert( (p->sharedMask & mask)==0 );
37382 p->exclMask |= mask;
44075 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){
44077 *pArg = (pFile->ctrlFlags & mask)!=0;
44079 pFile->ctrlFlags &= ~mask;
44081 pFile->ctrlFlags |= mask;
44657 u16 mask; /* Mask of locks to take or release */
44667 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst));
44668 assert( n>1 || mask==(1<<ofst) );
44681 if( (mask & allMask)==0 ){
44689 p->exclMask &= ~mask;
44690 p->sharedMask &= ~mask;
44700 if( (pX->exclMask & mask)!=0 ){
44709 if( (allShared & mask)==0 ){
44718 p->sharedMask |= mask;
44725 if( (pX->exclMask & mask)!=0 || (pX->sharedMask & mask)!=0 ){
44737 assert( (p->sharedMask & mask)==0 );
44738 p->exclMask |= mask;
73582 SQLITE_PRIVATE int sqlite3BtreeCursorHasHint(BtCursor *pCsr, unsigned int mask){
73583 return (pCsr->hints & mask)!=0;
79521 SQLITE_PRIVATE void sqlite3VdbeDeleteAuxData(sqlite3 *db, AuxData **pp, int iOp, int mask){
79527 && (pAux->iAuxArg>31 || !(mask & MASKBIT32(pAux->iAuxArg))))
99404 i64 mask = (1<<nExpr)-1;
99406 iTab, 0, 0, (u8*)&mask, P4_INT64);
112743 u32 mask; /* Mask of OLD.* columns in use */
112749 mask = sqlite3TriggerColmask(
112752 mask |= sqlite3FkOldmask(pParse, pTab);
112760 testcase( mask!=0xffffffff && iCol==31 );
112761 testcase( mask!=0xffffffff && iCol==32 );
112762 if( mask==0xffffffff || (iCol<=31 && (mask & MASKBIT32(iCol))!=0) ){
113042 int mask; /* 0 for min() or 0xffffffff for max() */
113047 mask = sqlite3_user_data(context)==0 ? 0 : -1;
113050 assert( mask==-1 || mask==0 );
113055 if( (sqlite3MemCompare(argv[iBest], argv[i], pColl)^mask)>=0 ){
113056 testcase( mask==0 );
116088 u32 mask = 0;
116093 for(i=0; i<p->nCol; i++) mask |= COLUMN_MASK(p->aCol[i].iFrom);
116101 mask |= COLUMN_MASK(pIdx->aiColumn[i]);
116106 return mask;
122231 u64 mask = pPragma->iArg; /* Mask of bits to set or clear. */
122235 mask &= ~(SQLITE_ForeignKeys);
122240 mask &= ~(SQLITE_WriteSchema);
122245 db->flags |= mask;
122247 db->flags &= ~mask;
122248 if( mask==SQLITE_DeferFKs ) db->nDeferredImmCons = 0;
132141 int mask = 0;
132151 mask |= p->tr_tm;
132155 *pMask = mask;
132157 return (mask ? pList : 0);
132611 u32 mask = 0;
132622 mask |= pPrg->aColmask[isNew];
132627 return mask;
139352 Bitmask mask = 0;
139355 mask |= sqlite3WhereExprListUsage(pMaskSet, pS->pEList);
139356 mask |= sqlite3WhereExprListUsage(pMaskSet, pS->pGroupBy);
139357 mask |= sqlite3WhereExprListUsage(pMaskSet, pS->pOrderBy);
139358 mask |= sqlite3WhereExprUsage(pMaskSet, pS->pWhere);
139359 mask |= sqlite3WhereExprUsage(pMaskSet, pS->pHaving);
139363 mask |= exprSelectUsage(pMaskSet, pSrc->a[i].pSelect);
139364 mask |= sqlite3WhereExprUsage(pMaskSet, pSrc->a[i].pOn);
139366 mask |= sqlite3WhereExprListUsage(pMaskSet, pSrc->a[i].u1.pFuncArg);
139372 return mask;
139933 Bitmask mask;
139940 mask = (p->op==TK_IF_NULL_ROW) ? sqlite3WhereGetMask(pMaskSet, p->iTable) : 0;
139941 if( p->pLeft ) mask |= sqlite3WhereExprUsageNN(pMaskSet, p->pLeft);
139943 mask |= sqlite3WhereExprUsageNN(pMaskSet, p->pRight);
139947 mask |= exprSelectUsage(pMaskSet, p->x.pSelect);
139949 mask |= sqlite3WhereExprListUsage(pMaskSet, p->x.pList);
139953 mask |= sqlite3WhereExprListUsage(pMaskSet, p->y.pWin->pPartition);
139954 mask |= sqlite3WhereExprListUsage(pMaskSet, p->y.pWin->pOrderBy);
139957 return mask;
139964 Bitmask mask = 0;
139967 mask |= sqlite3WhereExprUsage(pMaskSet, pList->a[i].pExpr);
139970 return mask;
141577 u16 mask = WO_GT|WO_LE;
141578 if( sqlite3ExprVectorSize(pExpr)>n ) mask = (WO_LE|WO_LT);
141580 iNew = a[0] + ((pLower->eOperator & mask) ? a[1] : 0);
141594 u16 mask = WO_GT|WO_LE;
141595 if( sqlite3ExprVectorSize(pExpr)>n ) mask = (WO_LE|WO_LT);
141597 iNew = a[0] + ((pUpper->eOperator & mask) ? a[1] : 0);
148383 struct {int value; int mask;} yy355;
151483 { yymsp[-1].minor.yy494 = (yymsp[-1].minor.yy494 & ~yymsp[0].minor.yy355.mask) | yymsp[0].minor.yy3…
151486 { yymsp[-1].minor.yy355.value = 0; yymsp[-1].minor.yy355.mask = 0x000000; }
151489 { yymsp[-2].minor.yy355.value = 0; yymsp[-2].minor.yy355.mask = 0x000000; }
151492 { yymsp[-2].minor.yy355.value = yymsp[0].minor.yy494; yymsp[-2].minor.yy355.mask = 0x0000ff; }
151495 { yymsp[-2].minor.yy355.value = yymsp[0].minor.yy494<<8; yymsp[-2].minor.yy355.mask = 0x00ff00; }
155450 u32 mask; /* Mask of the bit in sqlite3.flags to set/clear */
155472 db->flags |= aFlagOp[i].mask;
155474 db->flags &= ~(u64)aFlagOp[i].mask;
155480 *pRes = (db->flags & aFlagOp[i].mask)!=0;
157477 int mask = 0;
157487 mask = SQLITE_OPEN_SHAREDCACHE|SQLITE_OPEN_PRIVATECACHE;
157489 limit = mask;
157501 mask = SQLITE_OPEN_READONLY | SQLITE_OPEN_READWRITE
157504 limit = mask & flags;
157529 flags = (flags & ~mask) | mode;
212469 u32 mask;
212481 mask = aUsed[i];
212482 for(iSegid=0; mask & ((u32)1 << iSegid); iSegid++);
220083 int mask = 0;
220088 mask = (mask << 1) + bCons;
220090 return ((mask & 0x0007)==0x0005);