/external/chromium_org/remoting/base/ |
H A D | running_average.cc | 11 RunningAverage::RunningAverage(int window_size) argument 12 : window_size_(window_size), 14 DCHECK_GT(window_size, 0);
|
H A D | running_average.h | 20 // Constructs a helper to average over the |window_size| most recent samples. 21 explicit RunningAverage(int window_size); 27 // Returns the average over up to |window_size| of the most recent samples. 38 // Stores the |window_size| most recently recorded samples.
|
/external/chromium_org/sdch/open-vcdiff/src/ |
H A D | rolling_hash.h | 93 // window_size must be >= 2. 94 template<int window_size> 116 // Compute a hash of the window "ptr[0, window_size - 1]". 119 for (int i = 2; i < window_size; ++i) { 127 // UpdateHash takes the hash value of buffer[0] ... buffer[window_size -1] 129 // and the value of buffer[window_size] (the "new_last_byte" argument). 130 // It quickly computes the hash value of buffer[1] ... buffer[window_size] 134 // (which runs in time independent of window_size) instead of Hash(). 135 // Each time window_size doubles, the time to execute Hash() also doubles, 146 // Given a full hash value for buffer[0] ... buffer[window_size [all...] |
H A D | vcdecoder.cc | 391 void AddToTotalTargetWindowSize(size_t window_size) { argument 392 total_of_target_window_sizes_ += window_size; 419 bool TargetWindowWouldExceedSizeLimits(size_t window_size) const; 921 size_t window_size) const { 922 if (window_size > maximum_target_window_size_) { 923 VCD_ERROR << "Length of target window (" << window_size 931 // total_of_target_window_sizes_ + window_size > planned_target_file_size_ 938 if (window_size > remaining_planned_target_file_size) { 939 VCD_ERROR << "Length of target window (" << window_size 949 if (window_size > remaining_maximum_target_byte [all...] |
/external/chromium_org/media/base/ |
H A D | bit_reader_core.cc | 84 const int window_size = local 86 DCHECK_GE(window_size, 0); 87 DCHECK_LE(window_size, nbytes); 88 if (window_size < nbytes) 150 int window_size = local 152 DCHECK_GE(window_size, 0); 153 DCHECK_LE(window_size, max_nbytes); 154 if (window_size == 0) 158 memcpy(®_next_, byte_stream_window, window_size); 160 nbits_next_ = window_size * [all...] |
/external/zopfli/src/zopfli/ |
H A D | hash.c | 29 void ZopfliInitHash(size_t window_size, ZopfliHash* h) { argument 34 h->prev = (unsigned short*)malloc(sizeof(*h->prev) * window_size); 35 h->hashval = (int*)malloc(sizeof(*h->hashval) * window_size); 39 for (i = 0; i < window_size; i++) { 45 h->same = (unsigned short*)malloc(sizeof(*h->same) * window_size); 46 for (i = 0; i < window_size; i++) { 54 h->prev2 = (unsigned short*)malloc(sizeof(*h->prev2) * window_size); 55 h->hashval2 = (int*)malloc(sizeof(*h->hashval2) * window_size); 59 for (i = 0; i < window_size; i++) {
|
H A D | hash.h | 50 void ZopfliInitHash(size_t window_size, ZopfliHash* h);
|
/external/chromium_org/net/quic/test_tools/ |
H A D | quic_flow_controller_peer.cc | 31 QuicFlowController* flow_controller, uint64 window_size) { 32 flow_controller->max_receive_window_ = window_size; 30 SetMaxReceiveWindow( QuicFlowController* flow_controller, uint64 window_size) argument
|
H A D | quic_flow_controller_peer.h | 25 uint64 window_size);
|
/external/srec/srec/cfront/ |
H A D | wav_acc.c | 46 void create_sample_buffer(wave_info *wave, int frame_size, int window_size) argument 50 ASSERT(window_size >= frame_size); 51 wave->income = (samdata *) CALLOC(window_size, sizeof(samdata), "cfront.wave.income"); 52 wave->outgo = (samdata *) CALLOC(window_size, sizeof(samdata), "cfront.wave.outgo"); 53 wave->window_size = window_size; 56 log_report("window %d frame %d\n", window_size, frame_size); 70 wave->window_size = 0;
|
/external/chromium_org/third_party/sfntly/cpp/src/test/ |
H A D | byte_array_test.cc | 46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, argument 50 int32_t actual_window_size = window_size; 81 for (int window_size = 1; window_size < ba1->Length(); 82 window_size += increments) { 83 ReadByteArrayWithSlidingWindow(ba1, window_size, &b1); 84 ReadByteArrayWithSlidingWindow(ba2, window_size, &b2);
|
H A D | font_data_test.cc | 165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, argument 171 std::min<int32_t>(window_size, b->size() - index); 200 int32_t window_size) { 204 int32_t sliding_size = std::min<int32_t>(window_size, b.size() - index); 240 for (int32_t window_size = 1; window_size <= length; 241 window_size += increments) { 246 ReadFontDataWithSlidingWindow(rfd1, window_size, &b1); 247 ReadFontDataWithSlidingWindow(rfd2, window_size, &b2); 293 for (int window_size 198 WriteFontDataWithSlidingWindow(ReadableFontData* rfd, WritableFontData* wfd, int32_t window_size) argument [all...] |
/external/sfntly/cpp/src/test/ |
H A D | byte_array_test.cc | 46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, argument 50 int32_t actual_window_size = window_size; 81 for (int window_size = 1; window_size < ba1->Length(); 82 window_size += increments) { 83 ReadByteArrayWithSlidingWindow(ba1, window_size, &b1); 84 ReadByteArrayWithSlidingWindow(ba2, window_size, &b2);
|
H A D | font_data_test.cc | 165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, argument 171 std::min<int32_t>(window_size, b->size() - index); 200 int32_t window_size) { 204 int32_t sliding_size = std::min<int32_t>(window_size, b.size() - index); 240 for (int32_t window_size = 1; window_size <= length; 241 window_size += increments) { 246 ReadFontDataWithSlidingWindow(rfd1, window_size, &b1); 247 ReadFontDataWithSlidingWindow(rfd2, window_size, &b2); 293 for (int window_size 198 WriteFontDataWithSlidingWindow(ReadableFontData* rfd, WritableFontData* wfd, int32_t window_size) argument [all...] |
/external/chromium_org/content/browser/android/ |
H A D | overscroll_glow.cc | 32 const gfx::SizeF& window_size, 43 -window_size.height() / 2.f + offset, 44 window_size.height() / 2.f); 46 return gfx::Transform(-1, 0, 0, -1, 0, window_size.height() + offset); 53 -window_size.height() / 2.f + window_size.width() + offset, 54 window_size.height() / 2.f); 62 const gfx::SizeF& window_size) { 66 return window_size; 69 return gfx::SizeF(window_size 31 ComputeTransform(OverscrollGlow::Edge edge, const gfx::SizeF& window_size, float offset) argument 61 ComputeSize(OverscrollGlow::Edge edge, const gfx::SizeF& window_size) argument [all...] |
/external/chromium_org/ui/ozone/demo/ |
H A D | ozone_demo.cc | 154 gfx::Size window_size = GetSize(); local 156 glViewport(0, 0, window_size.width(), window_size.height()); 166 gfx::Size window_size = GetSize(); local 175 software_surface_->PresentCanvas(gfx::Rect(window_size));
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/x11/ |
H A D | x_server_pixel_buffer.h | 41 const DesktopSize& window_size() { return window_size_; } function in class:webrtc::XServerPixelBuffer 56 // that |rect| is not larger than window_size().
|
/external/chromium_org/ash/wm/overview/ |
H A D | window_grid.cc | 181 gfx::Size window_size; local 205 window_size.set_width(std::min( 208 window_size.set_height(window_size.width() / kCardAspectRatio); 212 (num_columns_ - window_list_.size()) * window_size.width()) + 213 (total_bounds.width() - num_columns_ * window_size.width())) / 2; 215 num_rows * window_size.height()) / 2; 221 gfx::Rect target_bounds(window_size.width() * column + x_offset, 222 window_size.height() * row + y_offset, 223 window_size [all...] |
/external/chromium_org/media/cast/net/ |
H A D | frame_id_wrap_helper_test.cc | 18 const int window_size = 127; local 24 int offset = rand() % window_size;
|
/external/srec/srec/include/ |
H A D | sample.h | 183 int window_size; member in struct:__anon31131 206 void create_sample_buffer(wave_info *wave, int frame_size, int window_size);
|
/external/chromium_org/chrome/browser/ui/app_list/ |
H A D | app_list_positioner.h | 42 // |window_size| is the size of the App List. 46 const gfx::Size& window_size,
|
/external/chromium_org/chrome/browser/ui/blocked_content/ |
H A D | popup_blocker_browsertest.cc | 400 gfx::Size window_size = popup->GetContainerBounds().size(); local 401 EXPECT_TRUE(349 <= window_size.width() && window_size.width() <= 351); 402 EXPECT_TRUE(249 <= window_size.height() && window_size.height() <= 251);
|
/external/chromium_org/third_party/libwebp/enc/ |
H A D | backward_references.c | 227 int cache_bits, int* window_size, 236 *window_size = (max_window_size > WINDOW_SIZE) ? WINDOW_SIZE 247 int window_size, int iter_pos, int iter_limit, 256 (base_position > window_size) ? base_position - window_size : 0; 360 int window_size = WINDOW_SIZE; local 371 &window_size, &iter_pos, &iter_limit); 380 window_size, iter_pos, iter_limit, 393 window_size, iter_pos, iter_limit, 576 int window_size local 226 GetParamsForHashChainFindCopy(int quality, int xsize, int cache_bits, int* window_size, int* iter_pos, int* iter_limit) argument 244 HashChainFindCopy(const VP8LHashChain* const p, int base_position, int xsize_signed, const uint32_t* const argb, int max_len, int window_size, int iter_pos, int iter_limit, int* const distance_ptr, int* const length_ptr) argument 715 int window_size = WINDOW_SIZE; local [all...] |
/external/webp/src/enc/ |
H A D | backward_references.c | 227 int cache_bits, int* window_size, 236 *window_size = (max_window_size > WINDOW_SIZE) ? WINDOW_SIZE 247 int window_size, int iter_pos, int iter_limit, 256 (base_position > window_size) ? base_position - window_size : 0; 360 int window_size = WINDOW_SIZE; local 371 &window_size, &iter_pos, &iter_limit); 380 window_size, iter_pos, iter_limit, 393 window_size, iter_pos, iter_limit, 576 int window_size local 226 GetParamsForHashChainFindCopy(int quality, int xsize, int cache_bits, int* window_size, int* iter_pos, int* iter_limit) argument 244 HashChainFindCopy(const VP8LHashChain* const p, int base_position, int xsize_signed, const uint32_t* const argb, int max_len, int window_size, int iter_pos, int iter_limit, int* const distance_ptr, int* const length_ptr) argument 715 int window_size = WINDOW_SIZE; local [all...] |
/external/chromium_org/tools/site_compare/ |
H A D | site_compare.py | 37 def Scrape(browsers, urls, window_size=(1024, 768), 44 window_size: size of the browser window to display 73 scraper.Scrape(urls, full_path, window_size, window_pos, timeout, kwargs)
|