Lines Matching refs:set
29 /// storing the elements that have non-zero bits set. In order to make this
33 /// to make multiple in-order test/set constant time after the first one is
98 void set(unsigned Idx) {
105 set(Idx);
126 /// find_first - Returns the index of the first set bit.
134 /// find_last - Returns the index of the last set bit.
145 /// find_next - Returns the index of the next set bit starting from the
146 /// "Curr" bit. Returns -1 if the next set bit is not found.
193 // BecameZero is set to true if this element became all-zero bits.
215 // one changed. BecameZero is set to true if this element became all-zero
316 // Iterator to walk set bits in the bitmap. This iterator is a lot uglier
366 // If we ran out of set bits in this element, move to next element.
421 // Return the current set bit number.
507 void set(unsigned Idx) {
528 ElementIter->set(Idx % ElementSize);
534 set(Idx);
770 // Return true iff all bits set in this SparseBitVector are
771 // also set in RHS.
778 // Return the first set bit in the bitmap. Return -1 if no bits are set.
786 // Return the last set bit in the bitmap. Return -1 if no bits are set.