Searched refs:content_size (Results 1 - 25 of 60) sorted by relevance

123

/external/chromium_org/android_webview/browser/net/
H A Dinput_stream_reader.cc26 int content_size = 0; local
29 int error_code = VerifyRequestedRange(&verified_byte_range, &content_size);
37 DCHECK_GE(content_size, 0);
38 return content_size;
55 int* content_size) {
56 DCHECK(content_size);
71 *content_size = size;
54 VerifyRequestedRange(net::HttpByteRange* byte_range, int* content_size) argument
H A Dinput_stream_reader.h48 int* content_size);
/external/chromium_org/net/base/
H A Dmime_sniffer.h35 // @param content_size The number of bytes in the |content| buffer.
40 NET_EXPORT bool SniffMimeType(const char* content, size_t content_size,
53 // @param content_size The number of bytes in the |content| buffer.
57 size_t content_size,
H A Dmime_sniffer.cc343 // pretend the length is content_size.
870 size_t content_size,
874 DCHECK_LT(content_size, 1000000U); // sanity check
890 return SniffForInvalidOfficeDocs(content, content_size, url, result);
900 if (SniffForHTML(content, content_size, &have_enough_content, result))
912 if (!SniffBinary(content, content_size, &have_enough_content, result)) {
926 if (SniffXML(content, content_size, &have_enough_content, result))
933 if (SniffCRX(content, content_size, url, type_hint,
940 if (SniffForOfficeDocs(content, content_size, url,
951 if (SniffForMagicNumbers(content, content_size,
869 SniffMimeType(const char* content, size_t content_size, const GURL& url, const std::string& type_hint, std::string* result) argument
[all...]
/external/chromium_org/chromecast/media/cma/ipc/
H A Dmedia_message.cc64 cached_header_->content_size = 0;
90 cached_header_->content_size = 0;
117 CHECK_LE(cached_header_->content_size, max_content_size);
137 if (cached_header_->content_size + size > max_content_size) {
138 cached_header_->content_size = max_content_size;
139 msg_->header.content_size = cached_header_->content_size;
145 uint8* wr_ptr = &msg_->content + cached_header_->content_size;
149 cached_header_->content_size += size;
150 msg_->header.content_size
[all...]
H A Dmedia_message.h80 return minimum_msg_size() + cached_msg_.header.content_size;
84 size_t content_size() const { return cached_msg_.header.content_size; } function in class:chromecast::media::MediaMessage
124 uint32 content_size; member in struct:chromecast::media::MediaMessage::Header
/external/chromium_org/ui/views/controls/scrollbar/
H A Dscroll_bar.cc22 void ScrollBar::Update(int viewport_size, int content_size, int current_pos) { argument
23 max_pos_ = std::max(0, content_size - viewport_size);
H A Dnative_scroll_bar_wrapper.h27 virtual void Update(int viewport_size, int content_size, int current_pos) = 0;
H A Dnative_scroll_bar.cc92 int content_size,
94 ScrollBar::Update(viewport_size, content_size, current_pos);
97 native_wrapper_->Update(viewport_size, content_size, current_pos);
91 Update(int viewport_size, int content_size, int current_pos) argument
H A Dscroll_bar.h75 virtual void Update(int viewport_size, int content_size, int current_pos);
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_pixeltest_filters.cc173 void RunPixelTestType(int content_size, argument
176 int half_content = content_size / 2;
179 gfx::Rect(0, 0, content_size, content_size), SK_ColorWHITE);
182 gfx::Rect(0, 0, content_size, content_size), SK_ColorGREEN);
187 gfx::Rect(0, 0, content_size, content_size), SK_ColorBLUE);
195 half_content, half_content, content_size, content_size);
[all...]
/external/chromium_org/cc/resources/
H A Dskpicture_content_layer_updater.h28 virtual void PrepareToUpdate(const gfx::Size& content_size,
H A Dskpicture_content_layer_updater.cc26 const gfx::Size& content_size,
39 content_size,
25 PrepareToUpdate( const gfx::Size& content_size, const gfx::Rect& paint_rect, const gfx::Size& tile_size, float contents_width_scale, float contents_height_scale) argument
H A Dbitmap_content_layer_updater.cc57 void BitmapContentLayerUpdater::PrepareToUpdate(const gfx::Size& content_size, argument
77 content_size,
H A Dbitmap_content_layer_updater.h50 virtual void PrepareToUpdate(const gfx::Size& content_size,
H A Dlayer_updater.h50 virtual void PrepareToUpdate(const gfx::Size& content_size, argument
/external/chromium_org/android_webview/common/
H A Dprint_messages.cc15 content_size(),
41 content_size = gfx::Size();
/external/chromium_org/chrome/common/
H A Dprint_messages.cc13 content_size(),
39 content_size = gfx::Size();
/external/chromium_org/chrome/browser/android/thumbnail/
H A Dthumbnail.cc65 const gfx::Size& content_size) {
67 DCHECK(!content_size.IsEmpty());
71 scaled_content_size_ = gfx::ScaleSize(content_size, 1.f / scale_);
64 SetCompressedBitmap(skia::RefPtr<SkPixelRef> compressed_bitmap, const gfx::Size& content_size) argument
H A Dthumbnail_store.h100 const gfx::Size& content_size);
112 const gfx::Size& content_size,
124 const gfx::Size& content_size);
140 const gfx::Size& content_size);
H A Dthumbnail_store.cc357 const gfx::Size& content_size) {
371 content_size,
493 const gfx::Size& content_size,
502 if (!WriteBigEndianToFile(file, content_size.width()))
505 if (!WriteBigEndianToFile(file, content_size.height()))
546 const gfx::Size& content_size,
554 content_size,
577 gfx::Size content_size; local
611 content_size = raw_data_size;
618 base::Bind(post_compression_task, compressed_data, content_size));
353 WriteThumbnailIfNecessary( TabId tab_id, skia::RefPtr<SkPixelRef> compressed_data, float scale, const gfx::Size& content_size) argument
492 WriteToFile(base::File& file, const gfx::Size& content_size, const float scale, skia::RefPtr<SkPixelRef> compressed_data) argument
543 WriteTask(const base::FilePath& file_path, skia::RefPtr<SkPixelRef> compressed_data, float scale, const gfx::Size& content_size, const base::Callback<void()>& post_write_task) argument
621 PostCompressionTask( TabId tab_id, const base::Time& time_stamp, float scale, skia::RefPtr<SkPixelRef> compressed_data, const gfx::Size& content_size) argument
753 gfx::Size content_size; local
788 PostReadTask(TabId tab_id, skia::RefPtr<SkPixelRef> compressed_data, float scale, const gfx::Size& content_size) argument
842 DecompressionTask( const base::Callback<void(bool, SkBitmap)>& post_decompression_callback, skia::RefPtr<SkPixelRef> compressed_data, float scale, const gfx::Size& content_size) argument
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dwbnf.cpp54 inline int content_size(){return current - start;} // size unit is byte function in class:Buffer_byte
60 int cs_snap = content_size();
91 expand_to(content_size() + size) ;
124 int content_size(){return buf.content_size() / sizeof(type);}\
155 int len = names.content_size();
191 offset = name_buffer.content_size();
211 int n = names.content_size();
225 int s = refs.content_size();
448 int s = weight_list->content_size();
[all...]
/external/chromium_org/chromecast/media/cma/ipc_streamer/
H A Dav_streamer_proxy.cc149 dummy_msg->content_size()));
170 dummy_msg->content_size()));
191 dummy_msg->content_size()));
/external/chromium_org/chrome/renderer/printing/
H A Dmock_printer.cc26 params->content_size.SetSize(static_cast<int>((8.5 * dpi)),
31 params->content_size.SetSize(static_cast<int>((8.0 * dpi)),
36 params->content_size.SetSize(static_cast<int>((7.9 * dpi)),
116 content_size_ = params.content_size;
156 settings->params.content_size = content_size_;
303 params->content_size = content_size_;
/external/chromium_org/ui/views/controls/
H A Dscroll_view.cc56 int CheckScrollBounds(int viewport_size, int content_size, int current_pos) { argument
57 int max = std::max(content_size - viewport_size, 0);
81 int content_size,
87 const int max_position = std::max(0, content_size - viewport_size);
280 gfx::Size content_size = contents_->size(); local
282 content_size,
514 const gfx::Size& content_size,
519 if (content_size.width() <= vp_size.width() &&
520 content_size.height() <= vp_size.height()) {
523 } else if (content_size
79 AdjustPosition(int current_position, int new_position, int content_size, int viewport_size) argument
513 ComputeScrollBarsVisibility(const gfx::Size& vp_size, const gfx::Size& content_size, bool* horiz_is_shown, bool* vert_is_shown) const argument
[all...]

Completed in 4784 milliseconds

123