Searched refs:window_size (Results 1 - 25 of 67) sorted by relevance

123

/external/chromium/sdch/open-vcdiff/src/
H A Drolling_hash.h92 // 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
[all...]
H A Dvcdecoder.cc398 void AddToTotalTargetWindowSize(size_t window_size) { argument
399 total_of_target_window_sizes_ += window_size;
426 bool TargetWindowWouldExceedSizeLimits(size_t window_size) const;
918 size_t window_size) const {
919 if (window_size > maximum_target_window_size_) {
920 LOG(ERROR) << "Length of target window (" << window_size
928 // total_of_target_window_sizes_ + window_size > planned_target_file_size_
935 if (window_size > remaining_planned_target_file_size) {
936 LOG(ERROR) << "Length of target window (" << window_size
946 if (window_size > remaining_maximum_target_byte
[all...]
/external/chromium_org/remoting/base/
H A Drunning_average.cc11 RunningAverage::RunningAverage(int window_size) argument
12 : window_size_(window_size),
14 DCHECK_GT(window_size, 0);
H A Drunning_average.h20 // 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 Drolling_hash.h93 // 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 Dvcdecoder.cc391 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/open-vcdiff/src/
H A Drolling_hash.h93 // 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 Dvcdecoder.cc391 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/srec/srec/cfront/
H A Dwav_acc.c46 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/sfntly/cpp/src/test/
H A Dbyte_array_test.cc46 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 Dfont_data_test.cc165 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/chrome/browser/ui/gtk/
H A Dgtk_window_util.cc260 bool GetWindowEdge(const gfx::Size& window_size, argument
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());
H A Dgtk_window_util.h76 bool GetWindowEdge(const gfx::Size& window_size,
/external/chromium/net/spdy/
H A Dspdy_stream.h125 void set_send_window_size(int window_size) { argument
126 send_window_size_ = window_size;
130 void set_recv_window_size(int window_size) { argument
131 recv_window_size_ = window_size;
/external/srec/srec/include/
H A Dsample.h183 int window_size; member in struct:__anon25934
206 void create_sample_buffer(wave_info *wave, int frame_size, int window_size);
/external/chromium_org/ash/wm/
H A Dwindow_selector.cc468 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
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dbackward_references.c147 int cache_bits, int* 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
288 &window_size, &iter_pos, &iter_limit);
299 window_size, iter_pos, iter_limit,
315 window_size, iter_pos, iter_limit,
490 int window_size local
146 GetParamsForHashChainFindCopy(int quality, int xsize, int cache_bits, int* window_size, int* iter_pos, int* iter_limit) argument
164 HashChainFindCopy(const HashChain* const p, int base_position, int xsize_signed, const uint32_t* const argb, int maxlen, int window_size, int iter_pos, int iter_limit, int* const distance_ptr, int* const length_ptr) argument
633 int window_size = WINDOW_SIZE; local
[all...]
/external/webp/src/enc/
H A Dbackward_references.c147 int cache_bits, int* 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
288 &window_size, &iter_pos, &iter_limit);
299 window_size, iter_pos, iter_limit,
315 window_size, iter_pos, iter_limit,
490 int window_size local
146 GetParamsForHashChainFindCopy(int quality, int xsize, int cache_bits, int* window_size, int* iter_pos, int* iter_limit) argument
164 HashChainFindCopy(const HashChain* const p, int base_position, int xsize_signed, const uint32_t* const argb, int maxlen, int window_size, int iter_pos, int iter_limit, int* const distance_ptr, int* const length_ptr) argument
633 int window_size = WINDOW_SIZE; local
[all...]
/external/chromium_org/tools/site_compare/
H A Dsite_compare.py37 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/chrome/browser/chromeos/
H A Dnative_dialog_window.cc146 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/
H A Daccelerated_surface_win.cc733 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 local
[all...]
/external/chromium_org/chrome/browser/ui/panels/
H A Dnative_panel.h67 const gfx::Size& window_size) const = 0;
/external/srtp/include/
H A Dsrtp.h222 unsigned long window_size; /**< The window size to use for replay member in struct:srtp_policy_t
/external/chromium_org/ui/snapshot/
H A Dsnapshot_aura_unittest.cc30 explicit TestPaintingWindowDelegate(const gfx::Size& window_size) argument
31 : window_size_(window_size) {
/external/chromium_org/chrome/browser/ui/blocked_content/
H A Dpopup_blocker_browsertest.cc423 gfx::Size window_size = web_contents->GetView()->GetContainerSize(); local
424 EXPECT_TRUE(349 <= window_size.width() && window_size.width() <= 351);
425 EXPECT_TRUE(249 <= window_size.height() && window_size.height() <= 251);

Completed in 1419 milliseconds

123