Home
last modified time | relevance | path

Searched refs:new_max_size (Results 1 – 5 of 5) sorted by relevance

/external/regex-re2/util/
Dsparse_set.h91 void resize(int new_max_size) { in resize() argument
92 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()
Dsparse_array.h269 void SparseArray<Value>::resize(int new_max_size) { in resize() argument
271 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()
/external/chromium_org/third_party/re2/util/
Dsparse_set.h91 void resize(int new_max_size) { in resize() argument
92 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()
Dsparse_array.h269 void SparseArray<Value>::resize(int new_max_size) { in resize() argument
271 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()
/external/chromium_org/chrome/browser/ui/panels/
Dpanel.cc652 gfx::Size new_max_size = max_size_; in IncreaseMaxSize() local
653 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()