Searched refs:max_size (Results 76 - 100 of 382) sorted by relevance

1234567891011>>

/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
H A Dtransport_data.cc86 size_t max_size = 0; local
89 dispatcher, channel, &max_size, &max_platform_handles);
91 DCHECK_LE(max_size, kMaxSerializedDispatcherSize);
92 estimated_size += MessageInTransit::RoundUpMessageAlignment(max_size);
100 all_max_sizes[i] = max_size;
/external/chromium_org/third_party/re2/util/
H A Dsparse_array.h103 SparseArray(int max_size);
137 void resize(int max_size);
140 // Indices can be in the range [0, max_size).
141 int max_size() const { function in class:re2::SparseArray
419 template<typename Value> SparseArray<Value>::SparseArray(int max_size) { argument
420 max_size_ = max_size;
421 sparse_to_dense_ = new int[max_size];
423 dense_.resize(max_size);
426 for (int i = 0; i < max_size; i++) {
/external/libcxx/test/containers/associative/map/map.access/
H A DAndroid.mk39 test_name := containers/associative/map/map.access/max_size
40 test_src := max_size.pass.cpp
/external/libcxx/test/strings/basic.string/string.capacity/
H A Dreserve.pass.cpp42 assert(res_arg <= s.max_size());
49 assert(res_arg > s.max_size());
H A Dresize_size_char.pass.cpp28 assert(n <= s.max_size());
33 assert(n > s.max_size());
H A DAndroid.mk39 test_name := strings/basic.string/string.capacity/max_size
40 test_src := max_size.pass.cpp
/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/
H A DAndroid.mk39 test_name := utilities/memory/allocator.traits/allocator.traits.members/max_size
40 test_src := max_size.pass.cpp
/external/regex-re2/util/
H A Dsparse_array.h103 SparseArray(int max_size);
137 void resize(int max_size);
140 // Indices can be in the range [0, max_size).
141 int max_size() const { function in class:re2::SparseArray
418 template<typename Value> SparseArray<Value>::SparseArray(int max_size) { argument
419 max_size_ = max_size;
420 sparse_to_dense_ = new int[max_size];
422 dense_.resize(max_size);
425 for (int i = 0; i < max_size; i++) {
/external/chromium_org/components/policy/core/common/cloud/
H A Dexternal_policy_data_updater.cc165 int64 max_size)
166 : url(url), hash(hash), max_size(max_size) {
171 return url == other.url && hash == other.hash && max_size == other.max_size;
213 GURL(request_.url), request_.max_size,
163 Request(const std::string& url, const std::string& hash, int64 max_size) argument
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dvp8_partition_aggregator_unittest.cc108 int max_size = -1; local
109 aggregator.CalcMinMax(opt_config, &min_size, &max_size);
111 EXPECT_EQ(expected_max, max_size);
149 int max_size = 429; local
150 aggregator->CalcMinMax(opt_config, &min_size, &max_size);
152 EXPECT_EQ(429, max_size);
H A Drtp_format_vp8.cc447 int min_size, max_size; local
448 AggregateSmallPartitions(&partition_decision, &min_size, &max_size);
457 remaining_partition, max_payload_len, overhead, min_size, max_size);
471 if (this_packet_bytes > max_size) {
472 max_size = this_packet_bytes;
500 int* max_size) {
501 assert(min_size && max_size);
503 *max_size = -1;
524 if (*min_size >= 0 && *max_size >= 0) {
525 aggregator.SetPriorMinMax(*min_size, *max_size);
[all...]
/external/chromium_org/third_party/libwebp/enc/
H A Dpicture.c182 writer->max_size = 0;
193 if (next_size > w->max_size) {
195 uint64_t next_max_size = 2ULL * w->max_size;
208 w->max_size = (size_t)next_max_size;
222 writer->max_size = 0;
/external/webp/src/enc/
H A Dpicture.c182 writer->max_size = 0;
193 if (next_size > w->max_size) {
195 uint64_t next_max_size = 2ULL * w->max_size;
208 w->max_size = (size_t)next_max_size;
222 writer->max_size = 0;
/external/libnfc-nci/src/nfc/ndef/
H A Dndef_utils.c820 void NDEF_MsgInit (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size) argument
823 memset (p_msg, 0, max_size);
836 extern tNDEF_STATUS NDEF_MsgAddRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, argument
855 if ((*p_cur_size + recSize) > max_size)
932 extern tNDEF_STATUS NDEF_MsgInsertRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, INT32 index, argument
945 if ((*p_cur_size + recSize) > max_size)
952 return NDEF_MsgAddRec (p_msg, max_size, p_cur_size, tnf, p_type, type_len,
1027 extern tNDEF_STATUS NDEF_MsgAppendRec (UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, argument
1038 if ((*p_cur_size + new_rec_len) > max_size)
1078 tNDEF_STATUS NDEF_MsgAppendPayload (UINT8 *p_msg, UINT32 max_size, UINT3 argument
1162 NDEF_MsgReplacePayload(UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, UINT8 *p_rec, UINT8 *p_new_pl, UINT32 new_pl_len) argument
1281 NDEF_MsgReplaceType(UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, UINT8 *p_rec, UINT8 *p_new_type, UINT8 new_type_len) argument
1353 NDEF_MsgReplaceId(UINT8 *p_msg, UINT32 max_size, UINT32 *p_cur_size, UINT8 *p_rec, UINT8 *p_new_id, UINT8 new_id_len) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/
H A Dconstrained_window_views.cc105 gfx::Size max_size = dialog_host->GetMaximumDialogSize(); local
112 max_size.Enlarge(0, border->GetInsets().top());
113 size.SetToMin(max_size);
/external/chromium_org/ash/wm/
H A Dwindow_resizer.cc316 gfx::Size max_size = GetTarget()->delegate()->GetMaximumSize(); local
317 if (max_size.width() != 0)
318 max_width = std::min(max_width, max_size.width());
346 gfx::Size max_size = GetTarget()->delegate()->GetMaximumSize(); local
347 if (max_size.height() != 0)
348 max_height = std::min(max_height, max_size.height());
/external/e2fsprogs/resize/
H A Dmain.c175 blk64_t max_size = 0; local
364 &max_size);
381 new_size = max_size;
428 max_size = new_size;
430 if (!force && (new_size > max_size)) {
433 " of %llu blocks.\n\n"), max_size,
/external/chromium_org/base/metrics/
H A Dhistogram_base.cc121 double max_size,
124 int x_count = static_cast<int>(k_line_length * (current_size / max_size)
120 WriteAsciiBucketGraph(double current_size, double max_size, std::string* output) const argument
/external/clang/test/Index/
H A Dannotate-nested-name-specifier.cpp25 static int max_size; member in struct:outer::inner::array
35 int outer::inner::array<T, N>::max_size = 17; member in class:outer::inner::array
189 // CHECK: Keyword: "int" [35:1 - 35:4] VarDecl=max_size:35:32 (Definition)
191 // CHECK: Punctuation: "::" [35:10 - 35:12] VarDecl=max_size:35:32 (Definition)
193 // CHECK: Punctuation: "::" [35:17 - 35:19] VarDecl=max_size:35:32 (Definition)
195 // CHECK: Punctuation: "<" [35:24 - 35:25] VarDecl=max_size:35:32 (Definition)
197 // CHECK: Punctuation: "," [35:26 - 35:27] VarDecl=max_size:35:32 (Definition)
199 // CHECK: Punctuation: ">" [35:29 - 35:30] VarDecl=max_size:35:32 (Definition)
200 // CHECK: Punctuation: "::" [35:30 - 35:32] VarDecl=max_size:35:32 (Definition)
201 // CHECK: Identifier: "max_size" [3
[all...]
/external/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/
H A DAndroid.mk43 test_name := utilities/allocator.adaptor/allocator.adaptor.members/max_size
44 test_src := max_size.pass.cpp
/external/chromium_org/chrome/browser/chromeos/policy/
H A Dcloud_external_data_manager_base.h59 // Allows policies to reference |max_size| bytes of external data even if no
60 // |max_size| was specified in policy_templates.json.
62 // that reference external data and have a |max_size| yet. Once the first such
64 static void SetMaxExternalDataSizeForTesting(int max_size);
/external/chromium_org/components/autofill/core/browser/
H A Dphone_field.h74 size_t max_size; // Max size of the field to match. 0 means any. member in struct:autofill::PhoneField::Parser
/external/chromium_org/components/cronet/
H A Durl_request_context_config.cc53 cache_params.max_size = http_cache_max_size;
/external/chromium_org/components/invalidation/
H A Dunacked_invalidation_set.cc189 void UnackedInvalidationSet::Truncate(size_t max_size) { argument
190 DCHECK_GT(max_size, 0U);
192 if (invalidations_.size() <= max_size) {
196 while (invalidations_.size() > max_size) {

Completed in 980 milliseconds

1234567891011>>