Home
last modified time | relevance | path

Searched refs:view_size_ (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/net/disk_cache/
Dmapped_file.cc12 size_t offset = block->offset() + view_size_; in Load()
17 size_t offset = block->offset() + view_size_; in Store()
24 size_t offset = block->offset() + view_size_; in Load()
31 size_t offset = block->offset() + view_size_; in Store()
Dmapped_file_avoid_mmap_posix.cc33 view_size_ = size; in Init()
43 for (size_t offset = 0; offset < view_size_; offset += block_size) { in Flush()
44 size_t size = std::min(view_size_ - offset, block_size); in Flush()
Dmapped_file_posix.cc28 view_size_ = size; in Init()
49 int ret = munmap(buffer_, view_size_); in ~MappedFile()
Dmapped_file_win.cc28 view_size_ = size; in Init()
Dmapped_file.h57 size_t view_size_; // Size of the memory pointed by buffer_. variable
/external/chromium/net/disk_cache/
Dmapped_file_posix.cc31 view_size_ = size; in Init()
36 size_t offset = block->offset() + view_size_; in Load()
41 size_t offset = block->offset() + view_size_; in Store()
50 int ret = munmap(buffer_, view_size_); in ~MappedFile()
Dmapped_file_win.cc27 view_size_ = size; in Init()
46 size_t offset = block->offset() + view_size_; in Load()
51 size_t offset = block->offset() + view_size_; in Store()
Dmapped_file.h48 size_t view_size_; // Size of the memory pointed by buffer_. variable
/external/chromium_org/remoting/client/jni/
Djni_frame_consumer.cc51 if (!view_size_.equals(view_size)) { in ApplyBuffer()
96 view_size_ = source_size; in SetSourceSize()
97 clip_area_ = webrtc::DesktopRect::MakeSize(view_size_); in SetSourceSize()
98 frame_producer_->SetOutputSizeAndClip(view_size_, clip_area_); in SetSourceSize()
111 webrtc::DesktopSize size(view_size_.width(), view_size_.height()); in AllocateBuffer()
Djni_frame_consumer.h69 webrtc::DesktopSize view_size_; variable
/external/chromium_org/remoting/codec/
Dcodec_test.cc59 view_size_(view_size), in VideoDecoderTester()
64 view_size_.width() * view_size_.height() * kBytesPerPixel]); in VideoDecoderTester()
77 view_size_.width() * view_size_.height() * kBytesPerPixel); in ResetRenderedData()
88 webrtc::DesktopSize(view_size_.width(), view_size_.height()), in RenderFrame()
89 webrtc::DesktopRect::MakeWH(view_size_.width(), view_size_.height()), in RenderFrame()
90 image_data_.get(), view_size_.width() * kBytesPerPixel, in RenderFrame()
127 const int stride = view_size_.width() * kBytesPerPixel; in VerifyResults()
153 const int stride = view_size_.width() * kBytesPerPixel; in VerifyResultsApprox()
191 DesktopSize view_size_; member in remoting::VideoDecoderTester
/external/chromium_org/remoting/client/plugin/
Dpepper_view.cc120 view_size_ = dips_size_; in SetView()
126 view_size_.set(ceilf(dips_size_.width() * dips_to_view_scale_), in SetView()
131 pp::Size pp_size = pp::Size(view_size_.width(), view_size_.height()); in SetView()
155 clip_area_.IntersectWith(webrtc::DesktopRect::MakeSize(view_size_)); in SetView()
159 producer_->SetOutputSizeAndClip(view_size_, clip_area_); in SetView()
179 if (!view_size_.equals(view_size)) { in ApplyBuffer()
Dpepper_view.h123 webrtc::DesktopSize view_size_; variable
/external/chromium_org/remoting/client/
Drectangle_update_decoder.cc176 if (buffers_.empty() || view_size_.is_empty()) in DoPaint()
186 decoder_->RenderFrame(view_size_, clip_area_, in DoPaint()
194 consumer_->ApplyBuffer(view_size_, clip_area_, buffer, output_region); in DoPaint()
240 decoder_->Invalidate(view_size_, region); in InvalidateRegion()
256 if (!view_size_.equals(view_size) && decoder_.get()) { in SetOutputSizeAndClip()
262 if (!view_size_.equals(view_size) || in SetOutputSizeAndClip()
264 view_size_ = view_size; in SetOutputSizeAndClip()
Drectangle_update_decoder.h100 webrtc::DesktopSize view_size_; variable