Home
last modified time | relevance | path

Searched refs:content_size (Results 1 – 12 of 12) sorted by relevance

/external/icu4c/test/intltest/
Dwbnf.cpp54 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/chrome/browser/ui/gtk/notifications/
Dballoon_view_gtk.cc329 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/net/base/
Dmime_sniffer.cc615 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()
Dmime_sniffer.h38 bool SniffMimeType(const char* content, size_t content_size,
/external/chromium/chrome/browser/sessions/
Dsession_backend.cc316 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/chrome/browser/ui/views/notifications/
Dballoon_view.cc443 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/chrome/browser/notifications/
Dnotification_test_util.cc21 return balloon_->content_size(); in GetSize()
Dballoon.h68 const gfx::Size& content_size() const { return content_size_; } in content_size() function
Dballoon_collection_impl.cc124 (*it)->content_size().height() - source->content_size().height()); in OnBalloonClosed()
/external/chromium/chrome/browser/ui/cocoa/notifications/
Dballoon_controller.mm190 htmlContents_->UpdateActualSize(balloon_->content_size());
198 return (balloon_ ? balloon_->content_size().width() : 0) +
204 return (balloon_ ? balloon_->content_size().height() : 0) +
/external/chromium/chrome/browser/chromeos/notifications/
Dballoon_view.cc255 gfx::Size size = balloon_->content_size(); in Layout()
Dnotification_panel.cc551 gfx::Size old_size = balloon->content_size(); in ResizeNotification()