Lines Matching refs:mask
3499 static void winModeBit(winFile *pFile, unsigned char mask, int *pArg){ argument
3501 *pArg = (pFile->ctrlFlags & mask)!=0;
3503 pFile->ctrlFlags &= ~mask;
3505 pFile->ctrlFlags |= mask;
4082 u16 mask; /* Mask of locks to take or release */ local
4096 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst));
4097 assert( n>1 || mask==(1<<ofst) );
4110 if( (mask & allMask)==0 ){
4118 p->exclMask &= ~mask;
4119 p->sharedMask &= ~mask;
4129 if( (pX->exclMask & mask)!=0 ){
4138 if( (allShared & mask)==0 ){
4147 p->sharedMask |= mask;
4154 if( (pX->exclMask & mask)!=0 || (pX->sharedMask & mask)!=0 ){
4166 assert( (p->sharedMask & mask)==0 );
4167 p->exclMask |= mask;