Searched defs:new_size (Results 1 - 25 of 272) 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/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/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/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/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/third_party/freetype/src/base/
H A Dftsystem.c91 /* new_size :: The newly requested size in bytes. */
101 long new_size,
107 return ft_srealloc( block, new_size );
99 ft_realloc( FT_Memory memory, long cur_size, long new_size, void* block ) argument
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Drepeated_field.cc45 void RepeatedPtrFieldBase::Reserve(int new_size) { argument
46 if (total_size_ >= new_size) return;
50 max(total_size_ * 2, new_size));
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dstl_util.h67 inline void STLStringResizeUninitialized(string* s, size_t new_size) { argument
68 s->resize(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 Dsubsetter_main.cc77 int32_t new_size = TotalFontSize(new_font); local
79 original_size, new_size,
80 static_cast<double>(new_size) / original_size * 100);
/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/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/eigen/Eigen/src/StlSupport/
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...]
H A DStdList.h88 void resize(size_type new_size) argument
89 { resize(new_size, T()); }
91 void resize(size_type new_size, const value_type& x) argument
93 if (list_base::size() < new_size)
94 list_base::insert(list_base::end(), new_size - list_base::size(), x);
96 while (new_size < list_base::size()) list_base::pop_back();
106 void insert(const_iterator position, size_type new_size, const value_type& x) argument
107 { list_base::insert(position, new_size, x); }
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...]
/external/freetype/src/base/
H A Dftsystem.c91 /* new_size :: The newly requested size in bytes. */
101 long new_size,
107 return ft_srealloc( block, new_size );
99 ft_realloc( FT_Memory memory, long cur_size, long new_size, void* block ) argument
/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/lldb/source/Core/
H A DDataBufferHeap.cpp90 DataBufferHeap::SetByteSize (uint64_t new_size) argument
92 m_data.resize(new_size);
/external/lldb/source/Symbol/
H A DClangExternalASTSourceCommon.cpp49 uint64_t new_size = m_metadata.size(); local
50 g_TotalSizeOfMetadata += (new_size - orig_size);
/external/protobuf/src/google/protobuf/
H A Drepeated_field.cc42 void RepeatedPtrFieldBase::Reserve(int new_size) { argument
43 if (total_size_ >= new_size) return;
46 total_size_ = max(total_size_ * 2, new_size);
/external/protobuf/src/google/protobuf/stubs/
H A Dstl_util-inl.h67 inline void STLStringResizeUninitialized(string* s, size_t new_size) { argument
68 s->resize(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 Dsubsetter_main.cc77 int32_t new_size = TotalFontSize(new_font); local
79 original_size, new_size,
80 static_cast<double>(new_size) / original_size * 100);
/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;

Completed in 505 milliseconds

1234567891011