Home
last modified time | relevance | path

Searched refs:max_length (Results 1 – 25 of 93) sorted by relevance

1234

/external/chromium/webkit/glue/
Dform_field.cc27 : max_length(0), in FormField()
35 : max_length(0), in FormField()
47 max_length = input_element.size(); in FormField()
70 int max_length, in FormField() argument
76 max_length(max_length), in FormField()
89 max_length == field.max_length); in operator ==()
101 max_length == field.max_length); in StrictlyEqualsHack()
114 << field.max_length; in operator <<()
Dform_field.h34 int max_length,
53 int max_length; member
/external/chromium_org/components/autofill/core/browser/
Dpassword_generator.cc34 size_t GetLengthFromHint(size_t max_length, size_t default_length) { in GetLengthFromHint() argument
35 if (max_length >= kMinPasswordLength && max_length <= kMaxPasswordLength) in GetLengthFromHint()
36 return max_length; in GetLengthFromHint()
78 PasswordGenerator::PasswordGenerator(size_t max_length) in PasswordGenerator() argument
79 : password_length_(GetLengthFromHint(max_length, kDefaultPasswordLength)) {} in PasswordGenerator()
Dphone_field_unittest.cc99 field.max_length = 0; in TEST_F()
104 field.max_length = 3; in TEST_F()
109 field.max_length = 4; in TEST_F()
114 field.max_length = 0; in TEST_F()
174 field.max_length = 3; in TEST_F()
179 field.max_length = 3; in TEST_F()
184 field.max_length = 4; in TEST_F()
210 field.max_length = 3; in TEST_F()
215 field.max_length = 10; in TEST_F()
/external/chromium_org/base/debug/
Dcrash_logging.cc58 if (!crash_key || crash_key->max_length <= g_chunk_max_length_) { in SetCrashKeyValue()
67 i < NumChunksForLength(crash_key->max_length); in SetCrashKeyValue()
86 if (!crash_key || crash_key->max_length <= g_chunk_max_length_) { in ClearCrashKey()
91 for (size_t i = 0; i < NumChunksForLength(crash_key->max_length); ++i) { in ClearCrashKey()
155 total_keys += NumChunksForLength(keys[i].max_length); in InitCrashKeys()
156 DCHECK_LT(keys[i].max_length, kLargestValueAllowed); in InitCrashKeys()
183 std::string value_string = value.substr(0, crash_key.max_length).as_string(); in ChunkCrashKeyValue()
/external/wpa_supplicant_8/src/utils/
Dradiotap.c83 int max_length) in ieee80211_radiotap_iterator_init() argument
90 if (max_length < le16_to_cpu(get_unaligned(&radiotap_header->it_len))) in ieee80211_radiotap_iterator_init()
94 iterator->max_length = le16_to_cpu(get_unaligned( in ieee80211_radiotap_iterator_init()
116 > (ulong)iterator->max_length) in ieee80211_radiotap_iterator_init()
261 (ulong) iterator->max_length) in ieee80211_radiotap_iterator_next()
Dradiotap_iter.h38 int max_length; member
51 int max_length);
/external/chromium_org/chrome/renderer/autofill/
Dautofill_renderer_browsertest.cc62 expected.max_length = WebInputElement::defaultMaxLength(); in TEST_F()
68 expected.max_length = WebInputElement::defaultMaxLength(); in TEST_F()
75 expected.max_length = WebInputElement::defaultMaxLength(); in TEST_F()
82 expected.max_length = 0; in TEST_F()
118 expected.max_length = WebInputElement::defaultMaxLength(); in TEST_F()
124 expected.max_length = WebInputElement::defaultMaxLength(); in TEST_F()
130 expected.max_length = 0; in TEST_F()
Dform_autofill_browsertest.cc129 int max_length = control_types[i] == "text" ? in ExpectLabelsAndTypes() local
136 expected.max_length = max_length; in ExpectLabelsAndTypes()
206 expected.max_length = in TestFormFillFunctions()
284 expected.max_length = WebInputElement::defaultMaxLength(); in TEST_F()
316 expected.max_length = WebInputElement::defaultMaxLength(); in TEST_F()
337 expected.max_length = 5; in TEST_F()
358 expected.max_length = WebInputElement::defaultMaxLength(); in TEST_F()
417 expected.max_length = 0; in TEST_F()
464 expected.max_length = 0; in TEST_F()
491 expected.max_length = 0; in TEST_F()
[all …]
/external/oprofile/libdb/
Ddb_stat.c30 size_t max_length = 0; in odb_hash_stat() local
58 if (cur_length > max_length) in odb_hash_stat()
59 max_length = cur_length; in odb_hash_stat()
67 result->max_list_length = max_length; in odb_hash_stat()
/external/chromium_org/third_party/tcmalloc/chromium/src/
Dthread_cache.cc162 const int num_to_move = min<int>(list->max_length(), batch_size); in FetchFromCentralCache()
179 if (list->max_length() < batch_size) { in FetchFromCentralCache()
180 list->set_max_length(list->max_length() + 1); in FetchFromCentralCache()
185 int new_length = min<int>(list->max_length() + batch_size, in FetchFromCentralCache()
206 if (list->max_length() < batch_size) { in ListTooLong()
208 list->set_max_length(list->max_length() + 1); in ListTooLong()
209 } else if (list->max_length() > batch_size) { in ListTooLong()
214 ASSERT(list->max_length() > batch_size); in ListTooLong()
215 list->set_max_length(list->max_length() - batch_size); in ListTooLong()
266 if (list->max_length() > batch_size) { in Scavenge()
[all …]
/external/chromium_org/third_party/tcmalloc/vendor/src/
Dthread_cache.cc159 const int num_to_move = min<int>(list->max_length(), batch_size); in FetchFromCentralCache()
173 if (list->max_length() < batch_size) { in FetchFromCentralCache()
174 list->set_max_length(list->max_length() + 1); in FetchFromCentralCache()
179 int new_length = min<int>(list->max_length() + batch_size, in FetchFromCentralCache()
200 if (list->max_length() < batch_size) { in ListTooLong()
202 list->set_max_length(list->max_length() + 1); in ListTooLong()
203 } else if (list->max_length() > batch_size) { in ListTooLong()
208 ASSERT(list->max_length() > batch_size); in ListTooLong()
209 list->set_max_length(list->max_length() - batch_size); in ListTooLong()
260 if (list->max_length() > batch_size) { in Scavenge()
[all …]
/external/chromium_org/components/autofill/core/common/
Dform_field_data.cc63 : max_length(0), in FormFieldData()
82 max_length == field.max_length); in operator ==()
104 pickle->WriteUInt64(static_cast<uint64>(field_data.max_length)); in SerializeFormFieldData()
130 !ReadSize(iter, &field_data->max_length) || in DeserializeFormFieldData()
164 << field.max_length in operator <<()
Dform_field_data.h37 size_t max_length; member
70 EXPECT_EQ(expected.max_length, actual.max_length); \
Dform_data_unittest.cc27 field_data.max_length = 200; in TEST()
42 field_data.max_length = 150; in TEST()
/external/llvm/utils/lint/
Dcommon_lint.py7 def VerifyLineLength(filename, lines, max_length): argument
24 if length > max_length:
26 'Line exceeds %d chars (%d)' % (max_length, length)))
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/email_this_page/
Dbackground.js51 var max_length = 1024;
52 if (info.selection.length > max_length)
53 info.selection = info.selection.substring(0, max_length);
/external/openfst/src/include/fst/script/
Drandgen.h46 ropts(arc_selector, opts.max_length, in RandGen()
52 ropts(arc_selector, opts.max_length, in RandGen()
58 ropts(arc_selector, opts.max_length, in RandGen()
Drandequivalent.h62 ropts(arc_selector, opts.max_length, opts.npath); in RandEquivalent()
69 ropts(arc_selector, opts.max_length, opts.npath); in RandEquivalent()
76 ropts(arc_selector, opts.max_length, opts.npath); in RandEquivalent()
/external/clang/test/CXX/class.access/class.access.nest/
Dp1.cpp10 static const unsigned long max_length; member
14 const unsigned long A::C::max_length = sizeof(B); member in test0::A::C
/external/chromium_org/media/cast/net/rtp_sender/rtp_packetizer/
Drtp_packetizer.cc85 uint16 max_length = config_.max_payload_length - rtp_header_length - 1; in Cast() local
88 size_t num_packets = (data.size() + max_length) / max_length; in Cast()
90 DCHECK_LE(payload_length, max_length) << "Invalid argument"; in Cast()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Drandgen.h101 int max_length; // Maximum path length member
109 : arc_selector(sel), max_length(len), npath(n), in arc_selector()
121 if (opts.npath == 0 || opts.max_length == 0 || ifst.Start() == kNoStateId) in RandGen()
152 --nopts.max_length; in RandGen()
/external/chromium_org/chrome/browser/download/
Ddownload_path_reservation_tracker.cc201 int max_length = file_util::GetMaximumPathComponentLength(target_dir); in CreateReservation() local
202 if (max_length != -1) { in CreateReservation()
203 int limit = max_length - kIntermediateNameSuffixLength; in CreateReservation()
225 if (max_length != -1) { in CreateReservation()
227 max_length - kIntermediateNameSuffixLength - suffix.size(); in CreateReservation()
Ddownload_path_reservation_tracker_unittest.cc603 const size_t max_length = real_max_length - 11; in TEST_F() local
607 max_length, FILE_PATH_LITERAL(".txt"))); in TEST_F()
625 EXPECT_EQ(max_length, reserved_path.BaseName().value().size()); in TEST_F()
635 const size_t max_length = real_max_length - 11; in TEST_F() local
639 max_length, FILE_PATH_LITERAL(".txt"))); in TEST_F()
641 max_length - 4, FILE_PATH_LITERAL(".txt"))); in TEST_F()
643 max_length - 8, FILE_PATH_LITERAL(" (1).txt"))); in TEST_F()
645 max_length - 8, FILE_PATH_LITERAL(" (2).txt"))); in TEST_F()
675 const size_t max_length = real_max_length - 11; in TEST_F() local
680 base::FilePath::StringType(max_length, 'b')).c_str())); in TEST_F()
/external/llvm/test/CodeGen/X86/
D2008-03-10-RegAllocInfLoop.ll6 … @parse_backslash(i8** inreg %word, i32* inreg %word_length, i32* inreg %max_length) nounwind {
11 …%tmp26 = call fastcc i8* @w_addchar( i8* null, i32* %word_length, i32* %max_length, i8 signext %t…

1234