Home
last modified time | relevance | path

Searched refs:preferred_size (Results 1 – 15 of 15) sorted by relevance

/third_party/boost/libs/container/test/
Dalloc_full_test.cpp174 std::size_t preferred_size = i*2; in test_allocation_expand() local
175 preferred_size = min_size > preferred_size ? min_size : preferred_size; in test_allocation_expand()
178 , preferred_size, &received_size, (char*)buffers[i]).first){ in test_allocation_expand()
185 preferred_size = min_size*2; in test_allocation_expand()
313 std::size_t preferred_size = i*2; in test_allocation_deallocation_expand() local
314 preferred_size = min_size > preferred_size ? min_size : preferred_size; in test_allocation_deallocation_expand()
318 , preferred_size, &received_size, (char*)buffers[i]).first){ in test_allocation_deallocation_expand()
325 preferred_size = min_size*2; in test_allocation_deallocation_expand()
/third_party/boost/boost/interprocess/mem_algo/detail/
Dsimple_seq_fit_impl.hpp626 size_type const preferred_size = prefer_in_recvd_out_size; in priv_allocation_command() local
633 if(limit_size > max_count || preferred_size > max_count){ in priv_allocation_command()
637 size_type r_size = preferred_size*sizeof_object; in priv_allocation_command()
668 size_type const preferred_size = prefer_in_recvd_out_size; in priv_expand_both_sides() local
679 if(priv_expand(reuse_ptr, min_size, prefer_in_recvd_out_size = preferred_size)) in priv_expand_both_sides()
694 ipcdetail::get_rounded_size(preferred_size - extra_forward, Alignment); in priv_expand_both_sides()
766 size_type const preferred_size = prefer_in_recvd_out_size; in priv_allocate() local
774 if(limit_size > preferred_size){ in priv_allocate()
779 …size_type nunits = ipcdetail::get_rounded_size(preferred_size, Alignment)/Alignment + BlockCtrlUni… in priv_allocate()
791 …iv_expand_both_sides(command, limit_size, prefer_in_recvd_out_size = preferred_size, reuse_ptr, tr… in priv_allocate()
[all …]
Dmem_algo_common.hpp370 size_type const preferred_size = received_size; in try_shrink() local
387 const size_type preferred_user_units = ceil_units(preferred_size - UsableByPreviousChunk); in try_shrink()
426 size_type const preferred_size = received_size; in shrink() local
436 … if((old_block_units - AllocatedCtrlUnits) == ceil_units(preferred_size - UsableByPreviousChunk)) in shrink()
/third_party/boost/libs/interprocess/test/
Dmemory_algorithm_test_template.hpp160 std::size_t preferred_size = i*2; in test_allocation_expand() local
161 preferred_size = min_size > preferred_size ? min_size : preferred_size; in test_allocation_expand()
166 , received_size = preferred_size, reuse)){ in test_allocation_expand()
173 preferred_size = min_size*2; in test_allocation_expand()
303 std::size_t preferred_size = i*2; in test_allocation_deallocation_expand() local
304 preferred_size = min_size > preferred_size ? min_size : preferred_size; in test_allocation_deallocation_expand()
309 , received_size = preferred_size, reuse)){ in test_allocation_deallocation_expand()
316 preferred_size = min_size*2; in test_allocation_deallocation_expand()
/third_party/boost/boost/interprocess/mem_algo/
Drbtree_best_fit.hpp729 size_type const preferred_size = prefer_in_recvd_out_size; in priv_allocation_command() local
731 if(limit_size > max_count || preferred_size > max_count){ in priv_allocation_command()
735 size_type p_size = preferred_size*sizeof_object; in priv_allocation_command()
792 size_type const preferred_size = prefer_in_recvd_out_size; in priv_expand_both_sides() local
795 if(priv_expand(reuse_ptr, min_size, prefer_in_recvd_out_size = preferred_size)) in priv_expand_both_sides()
800 if(prefer_in_recvd_out_size >= preferred_size || prefer_in_recvd_out_size >= min_size) in priv_expand_both_sides()
806 BOOST_ASSERT(0 == (preferred_size % backwards_multiple)); in priv_expand_both_sides()
835 , only_preferred_backwards ? preferred_size : min_size in priv_expand_both_sides()
943 size_type const preferred_size = prefer_in_recvd_out_size; in priv_allocate() local
947 … algo_impl_t::shrink(this, reuse_ptr, limit_size, prefer_in_recvd_out_size = preferred_size); in priv_allocate()
[all …]
/third_party/boost/boost/container/
Dadaptive_pool.hpp326 std::size_t const preferred_size = prefer_in_recvd_out_size; in priv_allocation_command() local
328 if(BOOST_UNLIKELY(limit_size > this->max_size() || preferred_size > this->max_size())){ in priv_allocation_command()
332 std::size_t p_size = preferred_size*sizeof(T); in priv_allocation_command()
586 std::size_t const preferred_size = prefer_in_recvd_out_size; in priv_allocation_command() local
588 if(BOOST_UNLIKELY(limit_size > this->max_size() || preferred_size > this->max_size())){ in priv_allocation_command()
592 std::size_t p_size = preferred_size*sizeof(T); in priv_allocation_command()
Dallocator.hpp345 std::size_t const preferred_size = prefer_in_recvd_out_size; in priv_allocation_command() local
347 if((limit_size > this->max_size()) | (preferred_size > this->max_size())){ in priv_allocation_command()
351 std::size_t p_size = preferred_size*sizeof(T); in priv_allocation_command()
Dnode_allocator.hpp318 std::size_t const preferred_size = prefer_in_recvd_out_size; in priv_allocation_command() local
320 if((limit_size > this->max_size()) | (preferred_size > this->max_size())){ in priv_allocation_command()
324 std::size_t p_size = preferred_size*sizeof(T); in priv_allocation_command()
/third_party/cef/tests/cefclient/browser/
Dviews_overlay_controls.cc107 const auto preferred_size = location_bar_->GetPreferredSize(); in UpdateControls() local
109 std::max(menu_controller_->GetSize().height, preferred_size.height); in UpdateControls()
/third_party/gstreamer/gstplugins_bad/sys/asio/
Dgstasioobject.h86 glong * preferred_size,
Dgstasioobject.cpp997 glong * max_size, glong * preferred_size, glong * granularity) in gst_asio_object_get_buffer_size() argument
1005 if (preferred_size) in gst_asio_object_get_buffer_size()
1006 *preferred_size = obj->preferred_buffer_size; in gst_asio_object_get_buffer_size()
/third_party/cef/libcef/browser/views/
Doverlay_view_host.cc134 const auto& preferred_size = host_->view()->GetPreferredSize(); in SizeToPreferredSize() local
135 host_->SetOverlayBounds(gfx::Rect(origin, preferred_size)); in SizeToPreferredSize()
/third_party/boost/libs/container/src/
Ddlmalloc_ext_2_8_6.c1361 , size_t preferred_size, size_t *received_size, void *reuse_ptr) in boost_cont_allocation_command() argument
1366 int success = boost_cont_shrink( reuse_ptr, preferred_size, limit_size in boost_cont_allocation_command()
1374 if(limit_size > preferred_size) in boost_cont_allocation_command()
1394 , preferred_size, received_size, sizeof_object, 1); in boost_cont_allocation_command()
1403 void *addr = mspace_malloc_lockless(ms, preferred_size); in boost_cont_allocation_command()
1420 , preferred_size, received_size, sizeof_object, 0); in boost_cont_allocation_command()
/third_party/flutter/flutter/packages/flutter/lib/
Dwidgets.dart73 export 'src/widgets/preferred_size.dart';
/third_party/boost/libs/interprocess/doc/
Dinterprocess.qbk4037 `limit_size` must be equal or greater than the parameter `preferred_size`.
4040 the parameter `limit_size` must be equal or less than the parameter `preferred_size`.
4046 to the value `preferred_size` moving only the end of the block.
4049 is reported only if this results in `preferred_size <= size(p)` and `size(p) <= limit_size`.
4054 value `preferred_size`. If it's not possible, it will try to increase the size
4068 `preferred_size` objects. If it's not possible it will try to allocate memory for
4077 try first to obtain `preferred_size` objects using both methods if necessary.
4083 try first forward expansion. If this fails it will try to obtain preferred_size
4091 preferred_size objects using new allocation, backwards expansion or a combination of