Searched refs:array_size_ (Results 1 - 8 of 8) sorted by relevance

/external/chromium/net/disk_cache/
H A Dbitmap.h16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {}
40 int ArraySize() const { return array_size_; }
44 memset(map_, (value ? 0xFF : 0x00), array_size_ * sizeof(*map_));
128 int array_size_; // The physical size (in uint32s) of the bitmap. member in class:disk_cache::Bitmap
H A Dbitmap.cc45 array_size_(RequiredArraySize(num_bits)),
47 map_ = new uint32[array_size_];
57 // If size is larger than necessary, trim because array_size_ is used
59 array_size_(std::min(RequiredArraySize(num_bits), num_words)),
71 const int old_array_size = array_size_;
72 array_size_ = RequiredArraySize(num_bits);
74 if (array_size_ != old_array_size) {
75 uint32* new_map = new uint32[array_size_];
77 new_map[array_size_ - 1] = 0;
79 sizeof(*map_) * std::min(array_size_, old_array_siz
[all...]
/external/chromium_org/net/disk_cache/
H A Dbitmap.h16 Bitmap() : map_(NULL), num_bits_(0), array_size_(0), alloc_(false) {}
40 int ArraySize() const { return array_size_; }
44 memset(map_, (value ? 0xFF : 0x00), array_size_ * sizeof(*map_));
128 int array_size_; // The physical size (in uint32s) of the bitmap. member in class:disk_cache::Bitmap
H A Dbitmap.cc45 array_size_(RequiredArraySize(num_bits)),
47 map_ = new uint32[array_size_];
57 // If size is larger than necessary, trim because array_size_ is used
59 array_size_(std::min(RequiredArraySize(num_bits), num_words)),
71 const int old_array_size = array_size_;
72 array_size_ = RequiredArraySize(num_bits);
74 if (array_size_ != old_array_size) {
75 uint32* new_map = new uint32[array_size_];
77 new_map[array_size_ - 1] = 0;
79 sizeof(*map_) * std::min(array_size_, old_array_siz
[all...]
/external/chromium_org/v8/src/
H A Dhydrogen-gvn.cc38 : array_size_(0),
80 uint32_t Bound(uint32_t value) const { return value & (array_size_ - 1); }
82 int array_size_; member in class:v8::internal::HValueMap
156 : array_size_(other->array_size_),
160 array_(zone->NewArray<HValueMapListElement>(other->array_size_)),
164 array_, other->array_, array_size_ * sizeof(HValueMapListElement));
174 for (int i = 0; i < array_size_; ++i) {
248 int old_size = array_size_;
253 array_size_
[all...]
/external/qemu/elff/
H A Ddwarf_defs.h721 array_size_(ELFF_ARRAY_SIZE(small_array_)),
763 if (num >= array_size_) {
785 array_size_ = new_size;
873 array_size_ = sizeof(small_array_) / sizeof(small_array_[0]);
887 Dwarf_AbbrNum array_size_; member in class:DwarfAbbrDieArray
/external/v8/src/
H A Dhydrogen.h1166 : array_size_(0),
1208 uint32_t Bound(uint32_t value) const { return value & (array_size_ - 1); }
1210 int array_size_; member in class:v8::internal::HValueMap
H A Dhydrogen.cc1156 : array_size_(other->array_size_),
1160 array_(zone->NewArray<HValueMapListElement>(other->array_size_)),
1163 memcpy(array_, other->array_, array_size_ * sizeof(HValueMapListElement));
1172 for (int i = 0; i < array_size_; ++i) {
1246 int old_size = array_size_;
1251 array_size_ = new_size;
1302 if (count_ >= array_size_ >> 1) Resize(array_size_ << 1);
1303 ASSERT(count_ < array_size_);
[all...]

Completed in 673 milliseconds