Searched refs:new_max_size (Results 1 – 5 of 5) sorted by relevance
91 void resize(int new_max_size) { in resize() argument92 if (size_ > new_max_size) in resize()93 size_ = new_max_size; in resize()94 if (new_max_size > max_size_) { in resize()95 int* a = new int[new_max_size]; in resize()99 for (int i = max_size_; i < new_max_size; i++) in resize()106 a = new int[new_max_size]; in resize()110 for (int i = size_; i < new_max_size; i++) in resize()117 max_size_ = new_max_size; in resize()
269 void SparseArray<Value>::resize(int new_max_size) { in resize() argument271 if (new_max_size > max_size_) { in resize()272 int* a = new int[new_max_size]; in resize()277 for (int i = max_size_; i < new_max_size; i++) in resize()284 dense_.resize(new_max_size); in resize()286 max_size_ = new_max_size; in resize()
652 gfx::Size new_max_size = max_size_; in IncreaseMaxSize() local653 if (new_max_size.width() < desired_panel_size.width()) in IncreaseMaxSize()654 new_max_size.set_width(desired_panel_size.width()); in IncreaseMaxSize()655 if (new_max_size.height() < desired_panel_size.height()) in IncreaseMaxSize()656 new_max_size.set_height(desired_panel_size.height()); in IncreaseMaxSize()658 SetSizeRange(min_size_, new_max_size); in IncreaseMaxSize()