/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_varsize_struct.py | 17 new_size = sizeof(X) + sizeof(c_int) * 1 18 resize(x, new_size) 19 self.assertEqual(sizeof(x), new_size) 23 new_size = sizeof(X) + sizeof(c_int) * 9 24 resize(x, new_size) 25 self.assertEqual(sizeof(x), new_size) 29 new_size = sizeof(X) + sizeof(c_int) * 1 30 resize(x, new_size) 31 self.assertEqual(sizeof(x), new_size)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_varsize_struct.py | 17 new_size = sizeof(X) + sizeof(c_int) * 1 18 resize(x, new_size) 19 self.assertEqual(sizeof(x), new_size) 23 new_size = sizeof(X) + sizeof(c_int) * 9 24 resize(x, new_size) 25 self.assertEqual(sizeof(x), new_size) 29 new_size = sizeof(X) + sizeof(c_int) * 1 30 resize(x, new_size) 31 self.assertEqual(sizeof(x), new_size)
|
/external/chromium_org/chrome/browser/ui/ |
web_contents_sizer.mm | 12 const gfx::Size& new_size) { 17 old_wcv_frame.origin.y + (old_wcv_frame.size.height - new_size.height()); 19 NSMakeRect(new_x, new_y, new_size.width(), new_size.height());
|
web_contents_sizer.cc | 16 const gfx::Size& new_size) { 19 window->SetBounds(gfx::Rect(window->bounds().origin(), new_size)); 23 view->SetSize(new_size);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/ |
mem_fs_node.cc | 74 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) { 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 + extra [all...] |
/external/chromium_org/media/base/ |
byte_queue.cc | 36 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/eigen/Eigen/src/StlSupport/ |
StdVector.h | 77 void resize(size_type new_size) 78 { resize(new_size, T()); } 82 void resize(size_type new_size, const value_type& x) 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) 95 { vector_base::insert(position, new_size, x); } 99 void resize(size_type new_size, const value_type& x [all...] |
StdDeque.h | 88 void resize(size_type new_size) 89 { resize(new_size, T()); } 93 void resize(size_type new_size, const value_type& x) 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) 108 { deque_base::insert(position, new_size, x); } 111 void resize(size_type new_size, const value_type& x [all...] |
/external/oprofile/libutil/ |
op_growable_buffer.c | 33 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;
|
/sdk/emulator/opengl/host/libs/libOpenglRender/ |
ReadBuffer.cpp | 45 size_t new_size = m_size*2; local 47 if (new_size < m_size) { // overflow check 48 new_size = INT_MAX; 51 new_buf = (unsigned char*)realloc(m_buf, new_size); 53 ERR("Failed to alloc %zu bytes for ReadBuffer\n", new_size); 56 m_size = new_size;
|
/external/chromium_org/content/browser/compositor/ |
resize_lock.cc | 9 ResizeLock::ResizeLock(const gfx::Size new_size, bool defer_compositor_lock) 10 : new_size_(new_size),
|
/external/eigen/Eigen/src/Eigen2Support/ |
Memory.h | 17 inline void* ei_aligned_realloc(void *ptr, size_t new_size, size_t old_size) { return internal::aligned_realloc(ptr, new_size, old_size); } 29 template<bool Align> inline void* ei_conditional_aligned_realloc(void* ptr, size_t new_size, size_t old_size) 31 return internal::conditional_aligned_realloc<Align>(ptr, new_size, old_size);
|
/external/jemalloc/test/integration/ |
chunk.c | 25 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/chromium_org/ui/gl/ |
gl_surface_osmesa.cc | 39 bool GLSurfaceOSMesa::Resize(const gfx::Size& new_size) { 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;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 80 resize_imp(size_type new_size) 83 if (new_size == m_num_e) 90 ranged_hash_fn_base::notify_resized(new_size); 95 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 96 m_num_e = new_size; 105 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 106 Resize_Policy::notify_resized(new_size); 113 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 125 m_num_e = new_size;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 79 resize_imp(size_type new_size) 82 if (new_size == m_num_e) 89 ranged_hash_fn_base::notify_resized(new_size); 94 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 95 m_num_e = new_size; 104 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 105 Resize_Policy::notify_resized(new_size); 112 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 124 m_num_e = new_size;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 79 resize_imp(size_type new_size) 82 if (new_size == m_num_e) 89 ranged_hash_fn_base::notify_resized(new_size); 94 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 95 m_num_e = new_size; 104 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 105 Resize_Policy::notify_resized(new_size); 112 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 124 m_num_e = new_size;
|
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 79 resize_imp(size_type new_size) 82 if (new_size == m_num_e) 89 ranged_hash_fn_base::notify_resized(new_size); 94 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 95 m_num_e = new_size; 104 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 105 Resize_Policy::notify_resized(new_size); 112 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 124 m_num_e = new_size;
|
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 79 resize_imp(size_type new_size) 82 if (new_size == m_num_e) 89 ranged_hash_fn_base::notify_resized(new_size); 94 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 95 m_num_e = new_size; 104 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 105 Resize_Policy::notify_resized(new_size); 112 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 124 m_num_e = new_size;
|
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 79 resize_imp(size_type new_size) 82 if (new_size == m_num_e) 89 ranged_hash_fn_base::notify_resized(new_size); 94 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 95 m_num_e = new_size; 104 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 105 Resize_Policy::notify_resized(new_size); 112 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 124 m_num_e = new_size;
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 79 resize_imp(size_type new_size) 82 if (new_size == m_num_e) 89 ranged_hash_fn_base::notify_resized(new_size); 94 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 95 m_num_e = new_size; 104 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 105 Resize_Policy::notify_resized(new_size); 112 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 124 m_num_e = new_size;
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 80 resize_imp(size_type new_size) 83 if (new_size == m_num_e) 90 ranged_hash_fn_base::notify_resized(new_size); 95 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 96 m_num_e = new_size; 105 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 106 Resize_Policy::notify_resized(new_size); 113 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 125 m_num_e = new_size;
|
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 80 resize_imp(size_type new_size) 83 if (new_size == m_num_e) 90 ranged_hash_fn_base::notify_resized(new_size); 95 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 96 m_num_e = new_size; 105 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 106 Resize_Policy::notify_resized(new_size); 113 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 125 m_num_e = new_size;
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 80 resize_imp(size_type new_size) 83 if (new_size == m_num_e) 90 ranged_hash_fn_base::notify_resized(new_size); 95 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 96 m_num_e = new_size; 105 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 106 Resize_Policy::notify_resized(new_size); 113 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 125 m_num_e = new_size;
|
/prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/ext/pb_ds/detail/cc_hash_table_map_/ |
resize_fn_imps.hpp | 80 resize_imp(size_type new_size) 83 if (new_size == m_num_e) 90 ranged_hash_fn_base::notify_resized(new_size); 95 a_p_entries_resized = s_entry_pointer_allocator.allocate(new_size); 96 m_num_e = new_size; 105 resize_imp_no_exceptions(new_size, a_p_entries_resized, old_size); 106 Resize_Policy::notify_resized(new_size); 113 resize_imp_no_exceptions(size_type new_size, entry_pointer_array a_p_entries_resized, size_type old_size) 125 m_num_e = new_size;
|