Home
last modified time | relevance | path

Searched refs:min_size (Results 1 – 25 of 128) sorted by relevance

123456

/external/chromium/chrome/browser/renderer_host/
Ddownload_throttling_resource_handler.cc99 int min_size) { in OnWillRead() argument
102 return download_handler_->OnWillRead(request_id, buf, buf_size, min_size); in OnWillRead()
110 if (min_size < 0) in OnWillRead()
111 min_size = 2 * net::kMaxBytesToSniff; in OnWillRead()
112 tmp_buffer_ = new net::IOBuffer(min_size); in OnWillRead()
114 *buf_size = min_size; in OnWillRead()
Dsave_file_resource_handler.cc70 int* buf_size, int min_size) { in OnWillRead() argument
73 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
Ddownload_resource_handler.cc132 int* buf_size, int min_size) { in OnWillRead() argument
135 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
/external/oprofile/libutil++/
Dgrowable_vector.h58 size_type min_size = min(container.size(), rhs.container.size()); variable
59 for (size_type i = 0 ; i < min_size; ++i)
74 size_type min_size = min(container.size(), rhs.container.size()); variable
75 for (size_type i = 0 ; i < min_size; ++i)
/external/chromium_org/ui/app_list/views/
Dprogress_bar_view.cc44 const gfx::Size min_size(background_painter_->GetMinimumSize()); in OnPaint() local
45 if (paint_size.width() < min_size.width() || in OnPaint()
46 paint_size.height() < min_size.height()) { in OnPaint()
/external/chromium_org/apps/
Dapp_window_contents.cc105 gfx::Size min_size = size_constraints.GetMinimumSize(); in NativeWindowChanged() local
107 if (min_size.width() != kUnboundedSize) in NativeWindowChanged()
108 dictionary->SetInteger("minWidth", min_size.width()); in NativeWindowChanged()
109 if (min_size.height() != kUnboundedSize) in NativeWindowChanged()
110 dictionary->SetInteger("minHeight", min_size.height()); in NativeWindowChanged()
/external/chromium_org/chrome/browser/extensions/api/app_current_window_internal/
Dapp_current_window_internal_api.cc157 gfx::Size min_size = window->size_constraints().GetMinimumSize(); in RunWithWindow() local
158 min_size.set_width(params->min_width.get() ? in RunWithWindow()
160 window->SetMinimumSize(min_size); in RunWithWindow()
173 gfx::Size min_size = window->size_constraints().GetMinimumSize(); in RunWithWindow() local
174 min_size.set_height(params->min_height.get() ? in RunWithWindow()
176 window->SetMinimumSize(min_size); in RunWithWindow()
/external/chromium/chrome/browser/chromeos/
Dnative_dialog_window.cc59 const gfx::Size& min_size);
110 const gfx::Size& min_size) in NativeDialogHost() argument
116 min_size_(min_size), in NativeDialogHost()
271 const gfx::Size& min_size) { in ShowNativeDialog() argument
273 new NativeDialogHost(native_dialog, flags, size, min_size); in ShowNativeDialog()
/external/chromium_org/content/browser/download/
Dsave_file_resource_handler.cc80 int min_size) { in OnWillRead() argument
83 *buf_size = min_size < 0 ? kReadBufSize : min_size; in OnWillRead()
/external/e2fsprogs/resize/
Dmain.c163 blk_t min_size = 0; in main() local
345 min_size = calculate_minimum_resize_size(fs); in main()
356 min_size); in main()
385 new_size = min_size; in main()
409 if (!force && new_size < min_size) { in main()
411 _("New size smaller than minimum (%u)\n"), min_size); in main()
/external/chromium_org/apps/ui/views/
Dshell_window_frame_view.cc327 gfx::Size min_size = frame_->client_view()->GetMinimumSize(); in GetMinimumSize() local
329 return min_size; in GetMinimumSize()
333 min_size.Enlarge(0, client_bounds.y()); in GetMinimumSize()
339 if (header_width > min_size.width()) in GetMinimumSize()
340 min_size.set_width(header_width); in GetMinimumSize()
341 return min_size; in GetMinimumSize()
/external/chromium_org/content/browser/loader/
Ddetachable_resource_handler.cc139 int min_size) { in OnWillRead() argument
141 DCHECK_EQ(-1, min_size); in OnWillRead()
149 return next_handler_->OnWillRead(request_id, buf, buf_size, min_size); in OnWillRead()
Dlayered_resource_handler.cc62 int min_size) { in OnWillRead() argument
64 return next_handler_->OnWillRead(request_id, buf, buf_size, min_size); in OnWillRead()
/external/chromium_org/chrome/browser/ui/gtk/extensions/
Dextension_view_gtk.cc59 gfx::Size min_size(ExtensionPopupGtk::kMinWidth, in RenderViewCreated() local
63 render_view_host()->EnableAutoResize(min_size, max_size); in RenderViewCreated()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-open-type-private.hh106 static const unsigned int min_size = (size)
113 static const unsigned int min_size = (size)
117 static const unsigned int min_size = (size)
122 static const unsigned int min_size = (size)
127 static const unsigned int min_size = (size)
153 ASSERT_STATIC (Type::min_size + 1 <= sizeof (_Null##Type))
249 return likely (this->check_range (obj, obj->min_size)); in check_struct()
427 return this->allocate_size<Type> (Type::min_size); in allocate_min()
450 unsigned int size = obj.min_size; in extend_min()
Dhb-ot-name-table.hh102 { return min_size + count * nameRecord[0].min_size; } in get_size()
/external/chromium_org/chrome/browser/extensions/api/app_window/
Dapp_window_api.cc109 gfx::Size min_size = size_constraints.GetMinimumSize(); in SetCreateResultFromShellWindow() local
111 if (min_size.width() != kUnboundedSize) in SetCreateResultFromShellWindow()
112 result->SetInteger("minWidth", min_size.width()); in SetCreateResultFromShellWindow()
113 if (min_size.height() != kUnboundedSize) in SetCreateResultFromShellWindow()
114 result->SetInteger("minHeight", min_size.height()); in SetCreateResultFromShellWindow()
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Dlow_level_alloc.cc196 size_t min_size; // smallest allocation block size member
273 arena->min_size = 2 * arena->roundup; in ArenaInit()
390 a->levels = LLA_SkiplistLevels(a->header.size, arena->min_size, true); in Coalesce()
404 f->levels = LLA_SkiplistLevels(f->header.size, arena->min_size, true); in AddToFreelist()
444 int i = LLA_SkiplistLevels(req_rnd, arena->min_size, false) - 1; in DoAllocWithArena()
480 if (req_rnd + arena->min_size <= s->header.size) { // big enough to split in DoAllocWithArena()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Dlow_level_alloc.cc196 size_t min_size; // smallest allocation block size member
273 arena->min_size = 2 * arena->roundup; in ArenaInit()
390 a->levels = LLA_SkiplistLevels(a->header.size, arena->min_size, true); in Coalesce()
404 f->levels = LLA_SkiplistLevels(f->header.size, arena->min_size, true); in AddToFreelist()
444 int i = LLA_SkiplistLevels(req_rnd, arena->min_size, false) - 1; in DoAllocWithArena()
480 if (req_rnd + arena->min_size <= s->header.size) { // big enough to split in DoAllocWithArena()
/external/harfbuzz_ng/src/
Dhb-open-type-private.hh106 static const unsigned int min_size = (size)
113 static const unsigned int min_size = (size)
117 static const unsigned int min_size = (size)
122 static const unsigned int min_size = (size)
127 static const unsigned int min_size = (size)
153 ASSERT_STATIC (Type::min_size + 1 <= sizeof (_Null##Type))
249 return likely (this->check_range (obj, obj->min_size)); in check_struct()
427 return this->allocate_size<Type> (Type::min_size); in allocate_min()
450 unsigned int size = obj.min_size; in extend_min()
/external/webp/src/demux/
Ddemux.c201 static ParseStatus StoreFrame(int frame_num, uint32_t min_size, in StoreFrame() argument
205 int done = (MemDataSize(mem) < min_size); in StoreFrame()
290 uint32_t min_size, uint32_t actual_size, in NewFrame() argument
292 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in NewFrame()
293 if (actual_size < min_size) return PARSE_ERROR; in NewFrame()
294 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in NewFrame()
399 const size_t min_size = RIFF_HEADER_SIZE + CHUNK_HEADER_SIZE; in ReadHeader() local
403 if (MemDataSize(mem) < min_size) return 0; in ReadHeader()
424 const size_t min_size = CHUNK_HEADER_SIZE; in ParseSingleImage() local
430 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in ParseSingleImage()
[all …]
/external/chromium_org/third_party/libwebp/demux/
Ddemux.c201 static ParseStatus StoreFrame(int frame_num, uint32_t min_size, in StoreFrame() argument
205 int done = (MemDataSize(mem) < min_size); in StoreFrame()
290 uint32_t min_size, uint32_t actual_size, in NewFrame() argument
292 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in NewFrame()
293 if (actual_size < min_size) return PARSE_ERROR; in NewFrame()
294 if (MemDataSize(mem) < min_size) return PARSE_NEED_MORE_DATA; in NewFrame()
399 const size_t min_size = RIFF_HEADER_SIZE + CHUNK_HEADER_SIZE; in ReadHeader() local
403 if (MemDataSize(mem) < min_size) return 0; in ReadHeader()
424 const size_t min_size = CHUNK_HEADER_SIZE; in ParseSingleImage() local
430 if (SizeIsInvalid(mem, min_size)) return PARSE_ERROR; in ParseSingleImage()
[all …]
/external/chromium_org/chrome/browser/ui/panels/
Dpanel_manager.cc246 gfx::Size min_size(panel::kPanelMinWidth, panel::kPanelMinHeight); in CreatePanel() local
248 if (width < min_size.width()) in CreatePanel()
249 width = min_size.width(); in CreatePanel()
253 if (height < min_size.height()) in CreatePanel()
254 height = min_size.height(); in CreatePanel()
259 Panel* panel = new Panel(profile, app_name, min_size, max_size); in CreatePanel()
/external/chromium_org/chrome/browser/ui/views/frame/
Dglass_browser_frame_view.cc168 gfx::Size min_size(browser_view()->GetMinimumSize()); in GetMinimumSize() local
172 min_size.Enlarge(insets.width(), insets.height()); in GetMinimumSize()
174 min_size.Enlarge(2 * kContentEdgeShadowThickness, 0); in GetMinimumSize()
183 min_size.set_width(std::max(min_tabstrip_area_width, min_size.width())); in GetMinimumSize()
186 return min_size; in GetMinimumSize()
Dopaque_browser_frame_view_layout.cc165 gfx::Size min_size = delegate_->GetBrowserViewMinimumSize(); in GetMinimumSize() local
167 min_size.Enlarge(2 * border_thickness, in GetMinimumSize()
171 min_size.set_width(std::max(min_size.width(), minimum_size_for_buttons_)); in GetMinimumSize()
180 min_size.Enlarge(min_tabstrip_width + caption_spacing, 0); in GetMinimumSize()
183 return min_size; in GetMinimumSize()

123456