Lines Matching refs:Bitmap
14 class Bitmap {
16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {}
19 // false, the bitmap bits will not be initialized.
20 Bitmap(int num_bits, bool clear_bits);
22 // Constructs a Bitmap with the actual storage provided by the caller. |map|
24 // bits in the bitmap, and |num_words| is the size of |map| in 32-bit words.
25 Bitmap(uint32* map, int num_bits, int num_words);
27 ~Bitmap();
29 // Resizes the bitmap.
36 // Returns the number of bits in the bitmap.
39 // Returns the number of 32-bit words in the bitmap.
47 // Clears all bits in the bitmap
109 // Returns number of allocated words required for a bitmap of size |num_bits|.
126 uint32* map_; // The bitmap.
127 int num_bits_; // The upper bound of the bitmap.
128 int array_size_; // The physical size (in uint32s) of the bitmap.
131 DISALLOW_COPY_AND_ASSIGN(Bitmap);