/external/chromium_org/android_webview/browser/net/ |
D | input_stream_reader.cc | 26 int content_size = 0; in Seek() local 29 int error_code = VerifyRequestedRange(&verified_byte_range, &content_size); in Seek() 37 DCHECK_GE(content_size, 0); in Seek() 38 return content_size; in Seek() 55 int* content_size) { in VerifyRequestedRange() argument 56 DCHECK(content_size); in VerifyRequestedRange() 71 *content_size = size; in VerifyRequestedRange()
|
/external/icu4c/test/intltest/ |
D | wbnf.cpp | 54 inline int content_size(){return current - start;} // size unit is byte in content_size() function in Buffer_byte 60 int cs_snap = content_size(); in expand() 91 expand_to(content_size() + size) ; in append() 124 int content_size(){return buf.content_size() / sizeof(type);}\ 155 int len = names.content_size(); in get_index() 191 offset = name_buffer.content_size(); in put() 211 int n = names.content_size(); in is_complete() 225 int s = refs.content_size(); in reset() 448 int s = weight_list->content_size(); in WeightedRand() 457 int c = weights.content_size(); in WeightedRand() [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | wbnf.cpp | 54 inline int content_size(){return current - start;} // size unit is byte in content_size() function in Buffer_byte 60 int cs_snap = content_size(); in expand() 91 expand_to(content_size() + size) ; in append() 124 int content_size(){return buf.content_size() / sizeof(type);}\ 155 int len = names.content_size(); in get_index() 191 offset = name_buffer.content_size(); in put() 211 int n = names.content_size(); in is_complete() 225 int s = refs.content_size(); in reset() 448 int s = weight_list->content_size(); in WeightedRand() 457 int c = weights.content_size(); in WeightedRand() [all …]
|
/external/chromium_org/chrome/browser/ui/gtk/notifications/ |
D | balloon_view_gtk.cc | 316 html_contents_->UpdateActualSize(balloon_->content_size()); in Show() 351 return balloon_->content_size().width() + in GetDesiredTotalWidth() 356 return balloon_->content_size().height() + in GetDesiredTotalHeight() 365 gfx::Size content_size = balloon_->content_size(); in GetContentsRectangle() local 370 content_size.width(), content_size.height()); in GetContentsRectangle() 430 gfx::Size content_size = balloon_->content_size(); in OnExpose() local 437 content_size.width() - 0.5, GetShelfHeight()); in OnExpose() 442 cairo_line_to(cr, offset.x() + content_size.width(), offset.y() - 1); in OnExpose()
|
/external/chromium/chrome/browser/ui/gtk/notifications/ |
D | balloon_view_gtk.cc | 329 html_contents_->UpdateActualSize(balloon_->content_size()); in Show() 361 return balloon_->content_size().width() + in GetDesiredTotalWidth() 366 return balloon_->content_size().height() + in GetDesiredTotalHeight() 375 gfx::Size content_size = balloon_->content_size(); in GetContentsRectangle() local 380 content_size.width(), content_size.height()); in GetContentsRectangle() 436 gfx::Size content_size = balloon_->content_size(); in OnExpose() local 443 content_size.width() - 0.5, GetShelfHeight()); in OnExpose() 448 cairo_line_to(cr, offset.x() + content_size.width(), offset.y() - 1); in OnExpose()
|
/external/chromium_org/ui/views/controls/ |
D | scroll_view.cc | 44 int CheckScrollBounds(int viewport_size, int content_size, int current_pos) { in CheckScrollBounds() argument 45 int max = std::max(content_size - viewport_size, 0); in CheckScrollBounds() 69 int content_size, in AdjustPosition() argument 75 const int max_position = std::max(0, content_size - viewport_size); in AdjustPosition() 231 gfx::Size content_size = contents_->size(); in Layout() local 233 content_size, in Layout() 466 const gfx::Size& content_size, in ComputeScrollBarsVisibility() argument 471 if (content_size.width() <= vp_size.width() && in ComputeScrollBarsVisibility() 472 content_size.height() <= vp_size.height()) { in ComputeScrollBarsVisibility() 475 } else if (content_size.width() <= vp_size.width() - GetScrollBarWidth()) { in ComputeScrollBarsVisibility() [all …]
|
/external/chromium/net/base/ |
D | mime_sniffer.cc | 615 bool SniffMimeType(const char* content, size_t content_size, in SniffMimeType() argument 618 DCHECK_LT(content_size, 1000000U); // sanity check in SniffMimeType() 638 if (SniffForHTML(content, content_size, &have_enough_content, result)) in SniffMimeType() 650 if (!SniffBinary(content, content_size, &have_enough_content, result)) { in SniffMimeType() 664 if (SniffXML(content, content_size, &have_enough_content, result)) in SniffMimeType() 671 if (SniffCRX(content, content_size, url, type_hint, in SniffMimeType() 682 if (SniffForMagicNumbers(content, content_size, in SniffMimeType()
|
D | mime_sniffer.h | 38 bool SniffMimeType(const char* content, size_t content_size,
|
/external/chromium_org/ui/views/controls/scrollbar/ |
D | native_scroll_bar.cc | 96 int content_size, in Update() argument 98 ScrollBar::Update(viewport_size, content_size, current_pos); in Update() 101 native_wrapper_->Update(viewport_size, content_size, current_pos); in Update()
|
D | base_scroll_bar.cc | 381 void BaseScrollBar::Update(int viewport_size, int content_size, in Update() argument 383 ScrollBar::Update(viewport_size, content_size, contents_scroll_offset); in Update() 387 contents_size_ = std::max(1, content_size); in Update() 391 if (content_size < 0) in Update() 392 content_size = 0; in Update() 395 if (contents_scroll_offset > content_size) in Update() 396 contents_scroll_offset = content_size; in Update()
|
D | scroll_bar.cc | 22 void ScrollBar::Update(int viewport_size, int content_size, int current_pos) { in Update() argument 23 max_pos_ = std::max(0, content_size - viewport_size); in Update()
|
/external/chromium_org/net/base/ |
D | mime_sniffer.cc | 870 size_t content_size, in SniffMimeType() argument 874 DCHECK_LT(content_size, 1000000U); // sanity check in SniffMimeType() 890 return SniffForInvalidOfficeDocs(content, content_size, url, result); in SniffMimeType() 900 if (SniffForHTML(content, content_size, &have_enough_content, result)) in SniffMimeType() 912 if (!SniffBinary(content, content_size, &have_enough_content, result)) { in SniffMimeType() 926 if (SniffXML(content, content_size, &have_enough_content, result)) in SniffMimeType() 933 if (SniffCRX(content, content_size, url, type_hint, in SniffMimeType() 940 if (SniffForOfficeDocs(content, content_size, url, in SniffMimeType() 951 if (SniffForMagicNumbers(content, content_size, in SniffMimeType()
|
D | mime_sniffer.h | 40 NET_EXPORT bool SniffMimeType(const char* content, size_t content_size, 57 size_t content_size,
|
/external/chromium_org/chrome/renderer/ |
D | mock_printer.cc | 26 params->content_size.SetSize(static_cast<int>((8.5 * dpi)), in UpdateMargins() 31 params->content_size.SetSize(static_cast<int>((8.0 * dpi)), in UpdateMargins() 36 params->content_size.SetSize(static_cast<int>((7.9 * dpi)), in UpdateMargins() 116 content_size_ = params.content_size; in SetDefaultPrintSettings() 156 settings->params.content_size = content_size_; in ScriptedPrint() 303 params->content_size = content_size_; in SetPrintParams()
|
/external/chromium_org/printing/ |
D | print_destination_win.cc | 35 size_t content_size) { in SetPageContent() argument 38 base::checked_numeric_cast<UINT32>(content_size)); in SetPageContent()
|
/external/chromium_org/android_webview/common/ |
D | print_messages.cc | 15 content_size(), in PrintMsg_Print_Params() 41 content_size = gfx::Size(); in Reset()
|
/external/chromium_org/chrome/common/ |
D | print_messages.cc | 13 content_size(), in PrintMsg_Print_Params() 39 content_size = gfx::Size(); in Reset()
|
/external/chromium_org/content/shell/browser/ |
D | shell_gtk.cc | 241 void Shell::SizeTo(const gfx::Size& content_size) { in SizeTo() argument 242 content_size_ = content_size; in SizeTo() 246 content_size.width(), in SizeTo() 247 content_size.height() + ui_elements_height_); in SizeTo() 252 render_widget_host_view->SetSize(content_size); in SizeTo()
|
/external/chromium/chrome/browser/sessions/ |
D | session_backend.cc | 316 const size_type content_size = static_cast<size_type>((*i)->size()); in AppendCommandsToFile() local 317 const size_type total_size = content_size + sizeof(id_type); in AppendCommandsToFile() 335 if (content_size > 0) { in AppendCommandsToFile() 337 content_size, NULL); in AppendCommandsToFile() 338 if (wrote != content_size) { in AppendCommandsToFile()
|
/external/chromium_org/chrome/browser/sessions/ |
D | session_backend.cc | 312 const size_type content_size = static_cast<size_type>((*i)->size()); in AppendCommandsToFile() local 313 const size_type total_size = content_size + sizeof(id_type); in AppendCommandsToFile() 331 if (content_size > 0) { in AppendCommandsToFile() 333 content_size); in AppendCommandsToFile() 334 if (wrote != content_size) { in AppendCommandsToFile()
|
/external/chromium_org/content/public/browser/android/ |
D | content_view_core.h | 56 const gfx::Size& content_size) = 0; 62 const gfx::SizeF& content_size,
|
/external/chromium/chrome/browser/ui/views/notifications/ |
D | balloon_view.cc | 443 return balloon_->content_size().width() in GetTotalWidth() 448 return balloon_->content_size().height() in GetTotalHeight() 457 gfx::Size content_size = balloon_->content_size(); in GetContentsRectangle() local 462 content_size.width(), in GetContentsRectangle() 463 content_size.height()); in GetContentsRectangle()
|
/external/chromium_org/chrome/browser/ui/views/notifications/ |
D | balloon_view_views.cc | 482 return balloon_->content_size().width() + in GetTotalWidth() 487 return balloon_->content_size().height() + in GetTotalHeight() 496 gfx::Size content_size = balloon_->content_size(); in GetContentsRectangle() local 501 content_size.width(), in GetContentsRectangle() 502 content_size.height()); in GetContentsRectangle()
|
/external/chromium_org/chrome/renderer/printing/ |
D | print_web_view_helper.cc | 92 return !params.content_size.IsEmpty() && !params.page_size.IsEmpty() && in PrintMsg_Print_Params_IsValid() 112 page_params.content_size.width() - page_params.margin_left, in GetCssPrintParams() 116 page_params.content_size.height() - page_params.margin_top, in GetCssPrintParams() 145 page_css_params.content_size = gfx::Size( in GetCssPrintParams() 170 static_cast<double>(params_to_fit->content_size.width()); in FitPrintParamsToPage() 172 static_cast<double>(params_to_fit->content_size.height()); in FitPrintParamsToPage() 198 params_to_fit->content_size = gfx::Size( in FitPrintParamsToPage() 208 int content_width = params.content_size.width(); in CalculatePageLayoutFromPrintParams() 209 int content_height = params.content_size.height(); in CalculatePageLayoutFromPrintParams() 240 page_params->content_size.SetSize(page_params->content_size.height(), in EnsureOrientationMatches() [all …]
|
/external/chromium_org/android_webview/renderer/ |
D | print_web_view_helper.cc | 96 return !params.content_size.IsEmpty() && !params.page_size.IsEmpty() && in PrintMsg_Print_Params_IsValid() 116 page_params.content_size.width() - page_params.margin_left, in GetCssPrintParams() 120 page_params.content_size.height() - page_params.margin_top, in GetCssPrintParams() 149 page_css_params.content_size = gfx::Size( in GetCssPrintParams() 174 static_cast<double>(params_to_fit->content_size.width()); in FitPrintParamsToPage() 176 static_cast<double>(params_to_fit->content_size.height()); in FitPrintParamsToPage() 202 params_to_fit->content_size = gfx::Size( in FitPrintParamsToPage() 212 int content_width = params.content_size.width(); in CalculatePageLayoutFromPrintParams() 213 int content_height = params.content_size.height(); in CalculatePageLayoutFromPrintParams() 244 page_params->content_size.SetSize(page_params->content_size.height(), in EnsureOrientationMatches() [all …]
|