/external/chromium/sdch/open-vcdiff/src/ |
rolling_hash.h | 92 // window_size must be >= 2. 93 template<int window_size> 117 // Compute a hash of the window "ptr[0, window_size - 1]". 120 for (int i = 2; i < window_size; ++i) { 128 // UpdateHash takes the hash value of buffer[0] ... buffer[window_size -1] 130 // and the value of buffer[window_size] (the "new_last_byte" argument). 131 // It quickly computes the hash value of buffer[1] ... buffer[window_size] 135 // (which runs in time independent of window_size) instead of Hash(). 136 // Each time window_size doubles, the time to execute Hash() also doubles, 147 // Given a full hash value for buffer[0] ... buffer[window_size -1], plus th [all...] |
vcdecoder.cc | 398 void AddToTotalTargetWindowSize(size_t window_size) { 399 total_of_target_window_sizes_ += window_size; 426 bool TargetWindowWouldExceedSizeLimits(size_t window_size) const; [all...] |
/external/chromium_org/remoting/base/ |
running_average.cc | 11 RunningAverage::RunningAverage(int window_size) 12 : window_size_(window_size), 14 DCHECK_GT(window_size, 0);
|
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/ |
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 -1], plus th [all...] |
vcdecoder.cc | 391 void AddToTotalTargetWindowSize(size_t window_size) { 392 total_of_target_window_sizes_ += window_size; 419 bool TargetWindowWouldExceedSizeLimits(size_t window_size) const; [all...] |
/external/open-vcdiff/src/ |
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 -1], plus th [all...] |
vcdecoder.cc | 391 void AddToTotalTargetWindowSize(size_t window_size) { 392 total_of_target_window_sizes_ += window_size; 419 bool TargetWindowWouldExceedSizeLimits(size_t window_size) const; [all...] |
/external/srec/srec/cfront/ |
wav_acc.c | 46 void create_sample_buffer(wave_info *wave, int frame_size, int window_size) 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/sfntly/cpp/src/test/ |
byte_array_test.cc | 46 void ReadByteArrayWithSlidingWindow(ByteArray* ba, int window_size, 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);
|
font_data_test.cc | 165 void ReadFontDataWithSlidingWindow(ReadableFontData* rfd, int32_t window_size, 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 = 1; window_size < length; window_size += increments) [all...] |
/external/chromium/net/spdy/ |
spdy_stream.h | 125 void set_send_window_size(int window_size) { 126 send_window_size_ = window_size; 130 void set_recv_window_size(int window_size) { 131 recv_window_size_ = window_size;
|
/external/chromium_org/chrome/browser/ui/gtk/ |
gtk_window_util.cc | 260 bool GetWindowEdge(const gfx::Size& window_size, 265 gfx::Rect middle(window_size); 273 gfx::Rect north(0, 0, window_size.width(), 275 gfx::Rect west(0, 0, kResizeAreaCornerSize, window_size.height()); 276 gfx::Rect south(0, window_size.height() - kResizeAreaCornerSize, 277 window_size.width(), kResizeAreaCornerSize); 278 gfx::Rect east(window_size.width() - kResizeAreaCornerSize, 0, 279 kResizeAreaCornerSize, window_size.height());
|
gtk_window_util.h | 76 bool GetWindowEdge(const gfx::Size& window_size,
|
/external/srec/srec/include/ |
sample.h | 183 int window_size; member in struct:__anon28311 206 void create_sample_buffer(wave_info *wave, int frame_size, int window_size);
|
/external/chromium_org/ash/wm/ |
window_selector.cc | 468 gfx::Size window_size; 481 window_size.set_width(std::min( 484 window_size.set_height(window_size.width() / kCardAspectRatio); 488 (columns - windows.size()) * window_size.width()) + 489 (total_bounds.width() - columns * window_size.width())) / 2; 491 rows * window_size.height()) / 2; 496 gfx::Rect target_bounds(window_size.width() * column + x_offset, 497 window_size.height() * row + y_offset, 498 window_size.width() [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
backward_references.c | 30 #define WINDOW_SIZE ((1 << 20) - 120) 147 int cache_bits, int* window_size, 152 const int max_window_size = (quality > 50) ? WINDOW_SIZE 156 *window_size = (max_window_size > WINDOW_SIZE) ? WINDOW_SIZE 167 int window_size, int iter_pos, int iter_limit, 176 (base_position > window_size) ? base_position - window_size : 0; 274 int window_size = WINDOW_SIZE local 490 int window_size = WINDOW_SIZE; local 633 int window_size = WINDOW_SIZE; local [all...] |
/external/webp/src/enc/ |
backward_references.c | 30 #define WINDOW_SIZE ((1 << 20) - 120) 147 int cache_bits, int* window_size, 152 const int max_window_size = (quality > 50) ? WINDOW_SIZE 156 *window_size = (max_window_size > WINDOW_SIZE) ? WINDOW_SIZE 167 int window_size, int iter_pos, int iter_limit, 176 (base_position > window_size) ? base_position - window_size : 0; 274 int window_size = WINDOW_SIZE local 490 int window_size = WINDOW_SIZE; local 633 int window_size = WINDOW_SIZE; local [all...] |
/external/chromium_org/tools/site_compare/ |
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)
|
/external/chromium_org/chrome/browser/ui/panels/ |
native_panel.h | 67 const gfx::Size& window_size) const = 0;
|
/external/chromium/chrome/browser/chromeos/ |
native_dialog_window.cc | 146 gfx::Size window_size = window()->non_client_view()->GetPreferredSize(); local 148 window_bounds.set_width(window_size.width()); 149 window_bounds.set_height(window_size.height());
|
/external/chromium_org/ui/surface/ |
accelerated_surface_win.cc | 733 gfx::Size window_size = GetWindowSize(); local 734 bool size_mismatch = size != window_size; 738 gfx::Size dip_size = ui::win::ScreenToDIPSize(window_size); 740 size_mismatch = abs(window_size.width() - size.width()) > 741 abs(window_size.width() - pixel_size.width()) || 742 abs(window_size.height() - size.height()) > 743 abs(window_size.height() - pixel_size.height()); 749 "windowwidth", window_size.width(), 750 "windowheight", window_size.height()); 1050 gfx::Size window_size = GetWindowSize() local [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/panels/ |
panel_cocoa.h | 62 const gfx::Size& window_size) const OVERRIDE;
|
/external/srtp/include/ |
srtp.h | 222 unsigned long window_size; /**< The window size to use for replay member in struct:srtp_policy_t
|
/external/chromium_org/ui/snapshot/ |
snapshot_aura_unittest.cc | 30 explicit TestPaintingWindowDelegate(const gfx::Size& window_size) 31 : window_size_(window_size) {
|