Searched defs:max_size (Results 1 - 25 of 214) sorted by relevance

123456789

/external/chromium_org/testing/gtest/xcode/Samples/FrameworkSample/
H A Dwidget_test.cc57 size_t max_size = 128; local
58 char buffer[max_size];
59 widget.GetCharPtrValue(buffer, max_size);
/external/protobuf/gtest/xcode/Samples/FrameworkSample/
H A Dwidget_test.cc57 size_t max_size = 128; local
58 char buffer[max_size];
59 widget.GetCharPtrValue(buffer, max_size);
/external/valgrind/main/coregrind/m_coredump/
H A Dcoredump-macho.c39 void VG_(make_coredump)(ThreadId tid, const vki_siginfo_t *si, ULong max_size) argument
/external/eigen/bench/btl/generic_bench/static/
H A Dbench_static.hh46 const int max_size = TINY_MV_MAX_SIZE; local
51 static_size_generator<max_size,Perf_Analyzer,Action,Interface>::go(tab_sizes,tab_mflops);
/external/oprofile/libutil/
H A Dop_growable_buffer.h19 size_t max_size; member in struct:growable_buffer
/external/chromium_org/v8/test/cctest/
H A Dtest-gc-tracer.cc38 const int max_size = 6; local
39 typedef RingBuffer<int, max_size>::const_iterator Iter;
40 RingBuffer<int, max_size> ring_buffer;
46 for (int i = 0; i < max_size / 2; i++) ring_buffer.push_back(i);
49 CHECK(static_cast<int>(ring_buffer.size()) == max_size / 2);
74 const int max_size = 6; local
75 typedef RingBuffer<int, max_size>::const_iterator Iter;
76 RingBuffer<int, max_size> ring_buffer;
79 for (int i = 0; i < 2 * max_size + 3; i++) ring_buffer.push_back(i);
82 CHECK(static_cast<int>(ring_buffer.size()) == max_size);
107 const int max_size = 6; local
[all...]
/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/
H A Dmax_size.pass.cpp15 // static size_type max_size(const allocator_type& a) noexcept;
36 size_t max_size() const function in struct:B
47 assert(std::allocator_traits<A<int> >::max_size(a) ==
52 assert(std::allocator_traits<A<int> >::max_size(a) ==
58 assert(std::allocator_traits<B<int> >::max_size(b) == 100);
62 assert(std::allocator_traits<B<int> >::max_size(b) == 100);
67 static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, "");
/external/nanopb-c/
H A Dpb_encode.h24 * 4) Substreams will modify max_size and bytes_written. Don't use them
41 size_t max_size; /* Limit number of output bytes written (or use SIZE_MAX). */ member in struct:_pb_ostream_t
/external/chromium_org/cc/base/
H A Drolling_time_delta_history.cc11 RollingTimeDeltaHistory::RollingTimeDeltaHistory(size_t max_size) argument
12 : max_size_(max_size) {}
/external/chromium_org/components/policy/core/common/cloud/
H A Dexternal_policy_data_updater.h28 // from the |url|, verified to not exceed |max_size| and to match the expected
40 Request(const std::string& url, const std::string& hash, int64 max_size);
46 int64 max_size; member in struct:policy::ExternalPolicyDataUpdater::Request
50 // that does not exceed |max_size| and matches the expected |hash|. The
/external/chromium_org/ui/message_center/views/
H A Dproportional_image_view.cc13 const gfx::Size& max_size)
14 : image_(image), max_size_(max_size) {}
12 ProportionalImageView(const gfx::ImageSkia& image, const gfx::Size& max_size) argument
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dcloud_external_data_store.cc63 size_t max_size,
68 if (data->size() <= max_size && crypto::SHA256HashString(*data) == hash)
61 Load(const std::string& policy, const std::string& hash, size_t max_size, std::string* data) argument
/external/chromium_org/extensions/browser/app_window/
H A Dsize_constraints.cc17 const gfx::Size& max_size)
18 : minimum_size_(min_size), maximum_size_(max_size) {}
36 const gfx::Size max_size = GetMaximumSize(); local
37 if (max_size.width() != kUnboundedSize)
38 size.set_width(std::min(size.width(), max_size.width()));
39 if (max_size.height() != kUnboundedSize)
40 size.set_height(std::min(size.height(), max_size.height()));
52 const gfx::Size max_size = GetMaximumSize(); local
53 return max_size.width() != kUnboundedSize ||
54 max_size
16 SizeConstraints(const gfx::Size& min_size, const gfx::Size& max_size) argument
79 set_maximum_size(const gfx::Size& max_size) argument
[all...]
/external/chromium_org/net/spdy/
H A Dhpack_header_table.h60 size_t max_size() const { return max_size_; } function in class:net::HpackHeaderTable
76 void SetMaxSize(size_t max_size);
79 // SetMaxSize() as needed to preserve max_size() <= settings_size_bound().
/external/chromium_org/third_party/libwebp/enc/
H A Dhistogram.h52 int max_size; // maximum capacity member in struct:__anon13276
/external/qemu/distrib/libsparse/src/
H A Dsimg2simg.c39 fprintf(stderr, "Usage: simg2simg <sparse image file> <sparse_image_file> <max_size>\n");
49 int64_t max_size; local
59 max_size = atoll(argv[3]);
73 files = sparse_file_resparse(s, max_size, NULL, 0);
85 files = sparse_file_resparse(s, max_size, out_s, files);
/external/webp/src/enc/
H A Dhistogram.h52 int max_size; // maximum capacity member in struct:__anon33373
/external/bluetooth/bluedroid/stack/sdp/
H A Dsdp_main.c150 UINT16 sdp_set_max_attr_list_size (UINT16 max_size) argument
152 if (max_size > (sdp_cb.l2cap_my_cfg.mtu - 16) )
153 max_size = sdp_cb.l2cap_my_cfg.mtu - 16;
155 sdp_cb.max_attr_list_size = max_size;
/external/chromium_org/content/renderer/
H A Drender_view_impl_params.cc28 const gfx::Size& max_size)
47 max_size(max_size) {}
9 RenderViewImplParams( int32 opener_id, bool window_was_created_with_opener, const RendererPreferences& renderer_prefs, const WebPreferences& webkit_prefs, int32 routing_id, int32 main_frame_routing_id, int32 surface_id, int64 session_storage_namespace_id, const base::string16& frame_name, bool is_renderer_created, bool swapped_out, int32 proxy_routing_id, bool hidden, bool never_visible, int32 next_page_id, const ViewMsg_Resize_Params& initial_size, bool enable_auto_resize, const gfx::Size& min_size, const gfx::Size& max_size) argument
H A Drender_view_impl_params.h45 const gfx::Size& max_size);
66 gfx::Size max_size; member in struct:content::RenderViewImplParams
/external/chromium_org/media/base/
H A Daudio_fifo.cc21 int pos, int max_size, int in_size, int* size, int* wrap_size) {
22 if (pos + in_size > max_size) {
24 *size = max_size - pos;
36 static int UpdatePos(int pos, int step, int max_size) { argument
37 return ((pos + step) % max_size);
20 GetSizes( int pos, int max_size, int in_size, int* size, int* wrap_size) argument
/external/chromium_org/mojo/system/
H A Dplatform_handle_dispatcher.cc90 size_t* max_size,
93 *max_size = sizeof(SerializedPlatformHandleDispatcher);
88 StartSerializeImplNoLock( Channel* , size_t* max_size, size_t* max_platform_handles) argument
/external/chromium_org/net/disk_cache/simple/
H A Dsimple_backend_impl.h116 typedef base::Callback<void(base::Time mtime, uint64 max_size, int result)>
125 uint64 max_size; member in struct:disk_cache::SimpleBackendImpl::DiskStatResult
/external/chromium_org/third_party/re2/util/
H A Dsparse_set.h60 SparseSet(int max_size) { argument
61 max_size_ = max_size;
62 sparse_to_dense_ = new int[max_size];
63 dense_ = new int[max_size];
68 for (int i = 0; i < max_size; i++) {
122 // Indices can be in the range [0, max_size).
123 int max_size() const { return max_size_; } function in class:re2::SparseSet
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dstl_allocator.h87 size_type max_size() const { return size_t(-1) / sizeof(T); } function in class:STL_Allocator

Completed in 875 milliseconds

123456789