Lines Matching refs:bitVector
107 bitVector = CFBitVectorCreateMutable(kCFAllocatorDefault,0);
115 bitVector = CFBitVectorCreateMutable(kCFAllocatorDefault,0);
116 if ((CFIndex)type >= CFBitVectorGetCount(bitVector))
117 CFBitVectorSetCount(bitVector, type+1);
118 CFBitVectorSetBitAtIndex(bitVector, type, 1);
126 bitVector = CFBitVectorCreateMutable(kCFAllocatorDefault,0);
127 CFBitVectorSetCount( bitVector, nbits );
135 bitVector = theBitVector;
148 bitVector = CFBitVectorCreateMutable ( kCFAllocatorDefault, 0 );
149 CFBitVectorSetCount( bitVector, sizeof(unsigned long long)*8*longCount );
156 CFBitVectorSetBitAtIndex(bitVector, bitIdx+(longNo*(sizeof(unsigned long long)*8)), 1);
169 bitVector = CFBitVectorCreateMutable ( kCFAllocatorDefault, 0 );
175 //CFBitVectorSetBitAtIndex(bitVector, bit, 1);
188 CFRelease(bitVector);
205 CFIndex selfCnt = CFBitVectorGetCount(bitVector);
209 CFBitVectorSetCount(bitVector,maxBitCnt); // be sure to grow the CFBitVector manually!
213 …if (CFBitVectorGetBitAtIndex(bitVector, currIdx) | CFBitVectorGetBitAtIndex(otherBitVector, currId…
214 CFBitVectorSetBitAtIndex(bitVector, currIdx, 1);
222 if ((CFIndex)bit >= CFBitVectorGetCount(bitVector))
223 CFBitVectorSetCount(bitVector, bit+1);
224 CFBitVectorSetBitAtIndex(bitVector, bit, 1);
230 CFBitVectorSetBitAtIndex(bitVector, bit, 0);
235 for( NSInteger bit=0; bit < CFBitVectorGetCount(bitVector); bit++ ) {
236 CFBitVectorSetBitAtIndex(bitVector, bit, aState);
243 // return CFBitVectorGetCount(bitVector);
244 return CFBitVectorGetCountOfBit(bitVector, CFRangeMake(0, CFBitVectorGetCount(bitVector)), 1);
250 return CFBitVectorGetCount(bitVector);
255 CFBitVectorSetCount( bitVector, nBits );
268 return CFBitVectorGetBitAtIndex(bitVector,bitNumber) ? YES : NO;
274 …return ((CFBitVectorGetCountOfBit(bitVector, CFRangeMake(0,CFBitVectorGetCount(bitVector)), 1) == …
281 CFIndex length = CFBitVectorGetCount(bitVector);
286 if ( CFBitVectorGetBitAtIndex(bitVector, currBit) ) {
310 …WithZone:theZone] initWithBitVector:CFBitVectorCreateMutableCopy(kCFAllocatorDefault,0,bitVector)];
316 return bitVector;
319 @synthesize bitVector;