Searched refs:num_bits_ (Results 1 – 2 of 2) sorted by relevance
/external/chromium/net/disk_cache/ |
D | bitmap.cc | 44 : num_bits_(num_bits), in Bitmap() 56 num_bits_(num_bits), in Bitmap() 70 const int old_maxsize = num_bits_; in Resize() 86 num_bits_ = num_bits; in Resize() 87 if (old_maxsize < num_bits_ && clear_bits) { in Resize() 88 SetRange(old_maxsize, num_bits_, false); in Resize() 93 DCHECK_LT(index, num_bits_); in Set() 104 DCHECK_LT(index, num_bits_); in Get() 112 DCHECK_LT(index, num_bits_); in Toggle() 161 DCHECK_LT(begin, num_bits_); in TestRange() [all …]
|
D | bitmap.h | 16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {} in Bitmap() 37 int Size() const { return num_bits_; } in Size() 99 return FindNextSetBitBeforeLimit(index, num_bits_); in FindNextSetBit() 127 int num_bits_; // The upper bound of the bitmap. variable
|