Searched refs:new_size (Results 1 - 25 of 395) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/ui/
H A Dweb_contents_sizer.cc16 const gfx::Size& new_size) {
19 window->SetBounds(gfx::Rect(window->bounds().origin(), new_size));
23 view->SetSize(new_size);
15 ResizeWebContents(content::WebContents* web_contents, const gfx::Size& new_size) argument
/external/chromium_org/content/browser/compositor/
H A Dresize_lock.cc9 ResizeLock::ResizeLock(const gfx::Size new_size, bool defer_compositor_lock) argument
10 : new_size_(new_size),
/external/eigen/Eigen/src/StlSupport/
H A DStdVector.h77 void resize(size_type new_size) argument
78 { resize(new_size, T()); }
82 void resize(size_type new_size, const value_type& x) argument
84 if (vector_base::size() < new_size)
85 vector_base::_Insert_n(vector_base::end(), new_size - vector_base::size(), x);
86 else if (new_size < vector_base::size())
87 vector_base::erase(vector_base::begin() + new_size, vector_base::end());
94 void insert(const_iterator position, size_type new_size, const value_type& x) argument
95 { vector_base::insert(position, new_size, x); }
99 void resize(size_type new_size, cons argument
105 resize(size_type new_size, const value_type& x) argument
115 resize(size_type new_size, const value_type& x) argument
[all...]
H A DStdDeque.h88 void resize(size_type new_size) argument
89 { resize(new_size, T()); }
93 void resize(size_type new_size, const value_type& x) argument
95 if (deque_base::size() < new_size)
96 deque_base::_Insert_n(deque_base::end(), new_size - deque_base::size(), x);
97 else if (new_size < deque_base::size())
98 deque_base::erase(deque_base::begin() + new_size, deque_base::end());
107 void insert(const_iterator position, size_type new_size, const value_type& x) argument
108 { deque_base::insert(position, new_size, x); }
111 void resize(size_type new_size, cons argument
121 resize(size_type new_size, const value_type& x) argument
[all...]
/external/chromium_org/media/base/
H A Dbyte_queue.cc36 size_t new_size = 2 * size_; local
37 while (size_needed > new_size && new_size > size_)
38 new_size *= 2;
41 CHECK_GT(new_size, size_);
43 scoped_ptr<uint8[]> new_buffer(new uint8[new_size]);
50 size_ = new_size;
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/
H A Dmem_fs_node.cc74 off_t new_size = attr.offs + count; local
75 if (new_size > stat_.st_size) {
76 Error error = Resize(new_size);
78 LOG_ERROR("memfs: resize (%" PRIoff ") failed: %s", new_size,
89 Error MemFsNode::FTruncate(off_t new_size) { argument
91 return Resize(new_size);
97 size_t new_size = static_cast<size_t>(new_length);
100 if (new_size > data_capacity_) {
103 size_t extra = std::min(new_size, kMaxResizeIncrement);
104 new_capacity = new_size
[all...]
/external/chromium_org/ui/gl/
H A Dgl_surface_osmesa.cc39 bool GLSurfaceOSMesa::Resize(const gfx::Size& new_size) { argument
54 buffer_.reset(new int32[new_size.GetArea()]);
55 memset(buffer_.get(), 0, new_size.GetArea() * sizeof(buffer_[0]));
59 int copy_width = std::min(size_.width(), new_size.width());
60 int copy_height = std::min(size_.height(), new_size.height());
63 buffer_[y * new_size.width() + x] = old_buffer[y * size_.width() + x];
68 size_ = new_size;
/external/chromium_org/third_party/webrtc/common_video/
H A Dplane.cc39 int Plane::MaybeResize(int new_size) { argument
40 if (new_size <= 0)
42 if (new_size <= allocated_size_)
45 AlignedMalloc(new_size, kBufferAlignment)));
50 allocated_size_ = new_size;
/external/chromium_org/third_party/sfntly/cpp/src/sample/subtly/
H A Ddebug_main.cc59 int32_t new_size = TotalFontSize(new_font); local
61 original_size, new_size,
62 static_cast<double>(new_size) / original_size * 100);
H A Dstats.cc54 int32_t new_size = 0; local
57 new_size = new_table->DataLength();
61 if (new_size == size) {
64 fprintf(out, "-> %d (%lf%%) | %lf%% of original\n", new_size,
65 size_percent, static_cast<double>(new_size) / size * 100);
/external/oprofile/libutil/
H A Dop_growable_buffer.c33 size_t new_size = (b->max_size + b->size) * 2; local
34 b->p = xrealloc(b->p, new_size);
35 b->max_size = new_size;
/external/sfntly/cpp/src/sample/subtly/
H A Ddebug_main.cc59 int32_t new_size = TotalFontSize(new_font); local
61 original_size, new_size,
62 static_cast<double>(new_size) / original_size * 100);
H A Dstats.cc54 int32_t new_size = 0; local
57 new_size = new_table->DataLength();
61 if (new_size == size) {
64 fprintf(out, "-> %d (%lf%%) | %lf%% of original\n", new_size,
65 size_percent, static_cast<double>(new_size) / size * 100);
/external/chromium_org/content/common/gpu/
H A Dgpu_memory_tracking.cc28 uint64 new_size,
31 this, old_size, new_size, tracking_pool);
26 TrackMemoryAllocatedChange( uint64 old_size, uint64 new_size, gpu::gles2::MemoryTracker::Pool tracking_pool) argument
/external/chromium_org/content/public/test/
H A Drender_widget_test.cc43 resize_params.new_size = gfx::Size();
52 resize_params.new_size = gfx::Size(10, 10);
59 resize_params.new_size = size;
74 resize_params.new_size = gfx::Size();
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/os/
H A Dos_memory.h58 os_realloc(void *ptr, size_t old_size, size_t new_size);
/external/eigen/Eigen/src/Eigen2Support/
H A DMemory.h17 inline void* ei_aligned_realloc(void *ptr, size_t new_size, size_t old_size) { return internal::aligned_realloc(ptr, new_size, old_size); } argument
29 template<bool Align> inline void* ei_conditional_aligned_realloc(void* ptr, size_t new_size, size_t old_size) argument
31 return internal::conditional_aligned_realloc<Align>(ptr, new_size, old_size);
/external/jemalloc/test/integration/
H A Dchunk.c25 size_t old_size, new_size; local
30 new_size = sizeof(chunk_alloc_t *);
33 &old_size, &new_alloc, new_size), 0,
38 &new_dalloc, new_size), 0, "Unexpected dalloc error");
/external/mesa3d/src/gallium/auxiliary/os/
H A Dos_memory.h58 os_realloc(void *ptr, size_t old_size, size_t new_size);
/external/chromium_org/third_party/cld/encodings/compact_lang_det/
H A Dsubsetsequence.cc103 int new_size = k_size / 3; local
106 for (int j = 0; j < new_size; ++j) {
114 count_[k_] = new_size;
117 next_e_ = new_size;
185 int new_size = size_tail / 3; // May delete last value local
186 for (int j = 0; j < new_size; ++j) {
190 next_e_ = start_tail + new_size;
225 int new_size = next_e_ / 3; // May delete last value local
226 for (int j = 0; j < new_size; ++j) {
229 next_e_ = new_size;
[all...]
/external/e2fsprogs/resize/
H A Dmain.c44 "[-p] device [new_size]\n\n"), prog);
174 blk64_t new_size = 0; local
371 new_size = min_size;
373 new_size = parse_num_blocks2(new_size_str,
375 if (new_size == 0) {
381 new_size = max_size;
384 new_size &= ~((sys_page_size / fs->blocksize)-1);
389 if (new_size == (1ULL << 32))
390 new_size--;
391 else if (new_size > (
[all...]
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_util.cpp71 void String::Resize(size_t new_size) { argument
72 if (new_size > capacity_) {
74 while (new_capacity < new_size) {
80 if (new_size > size_)
81 memset(ptr_ + size_, '\0', new_size - size_);
83 size_ = new_size;
/external/chromium_org/content/browser/renderer_host/
H A Dcompositor_resize_lock_aura.cc17 const gfx::Size new_size,
20 : ResizeLock(new_size, defer_compositor_lock),
15 CompositorResizeLock( aura::WindowTreeHost* host, const gfx::Size new_size, bool defer_compositor_lock, const base::TimeDelta& timeout) argument
/external/chromium_org/content/public/browser/
H A Dbrowser_plugin_guest_delegate.h45 const gfx::Size& new_size) {}
51 const gfx::Size& new_size) {}
44 ElementSizeChanged(const gfx::Size& old_size, const gfx::Size& new_size) argument
50 GuestSizeChanged(const gfx::Size& old_size, const gfx::Size& new_size) argument
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_handle_table.c103 unsigned new_size; local
109 new_size = ht->size;
110 while(!(new_size > minimum_size))
111 new_size *= 2;
112 assert(new_size);
116 new_size*sizeof(void *));
120 memset(new_objects + ht->size, 0, (new_size - ht->size)*sizeof(void *));
122 ht->size = new_size;

Completed in 705 milliseconds

1234567891011>>