Searched refs:max_length (Results 1 - 25 of 120) sorted by relevance

12345

/external/libcxx/test/localization/locale.stdcvt/
H A Dcodecvt_utf16_max_length.pass.cpp20 // int max_length() const throw();
30 int r = c.max_length();
36 int r = c.max_length();
42 int r = c.max_length();
48 int r = c.max_length();
54 int r = c.max_length();
60 int r = c.max_length();
H A Dcodecvt_utf8_max_length.pass.cpp20 // int max_length() const throw();
30 int r = c.max_length();
36 int r = c.max_length();
42 int r = c.max_length();
48 int r = c.max_length();
54 int r = c.max_length();
60 int r = c.max_length();
H A Dcodecvt_utf8_utf16_max_length.pass.cpp20 // int max_length() const throw();
30 int r = c.max_length();
36 int r = c.max_length();
42 int r = c.max_length();
48 int r = c.max_length();
54 int r = c.max_length();
60 int r = c.max_length();
/external/clang/test/CXX/class.access/class.access.nest/
H A Dp1.cpp10 static const unsigned long max_length; member in struct:test0::A::C
14 const unsigned long A::C::max_length = sizeof(B); member in class:test0::A::C
/external/chromium_org/components/autofill/core/browser/
H A Dpassword_generator.cc27 // |max_length| retrieved from input password field.
28 int GetLengthFromHint(int max_length, int default_length) { argument
29 if (max_length >= kMinPasswordLength && max_length <= kMaxPasswordLength)
30 return max_length;
79 PasswordGenerator::PasswordGenerator(int max_length) argument
80 : password_length_(GetLengthFromHint(max_length, kDefaultPasswordLength)) {}
H A Dpassword_generator.h21 // |max_length| is used as a hint for the generated password's length.
22 explicit PasswordGenerator(int max_length);
H A Dphone_field_unittest.cc101 field.max_length = 0;
106 field.max_length = 3;
111 field.max_length = 4;
116 field.max_length = 0;
176 field.max_length = 3;
181 field.max_length = 3;
186 field.max_length = 4;
212 field.max_length = 3;
217 field.max_length = 10;
/external/libcxx/test/localization/locale.categories/category.ctype/locale.codecvt/locale.codecvt.members/
H A Dchar16_t_max_length.pass.cpp14 // int max_length() const throw();
25 assert(f.max_length() == 4);
H A Dchar32_t_max_length.pass.cpp14 // int max_length() const throw();
25 assert(f.max_length() == 4);
H A Dchar_max_length.pass.cpp14 // int max_length() const throw();
25 assert(f.max_length() == 1);
H A Dwchar_t_max_length.pass.cpp14 // int max_length() const throw();
25 assert(f.max_length() == 1);
/external/oprofile/libdb/
H A Ddb_stat.c30 size_t max_length = 0; local
58 if (cur_length > max_length)
59 max_length = cur_length;
67 result->max_list_length = max_length;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/email_this_page/
H A Dbackground.js51 var max_length = 1024;
52 if (info.selection.length > max_length)
53 info.selection = info.selection.substring(0, max_length);
/external/chromium_org/components/autofill/core/common/
H A Dform_field_data.h37 size_t max_length; member in struct:autofill::FormFieldData
70 EXPECT_EQ(expected.max_length, actual.max_length); \
H A Dform_field_data.cc63 : max_length(0),
82 max_length == field.max_length);
104 pickle->WriteUInt64(static_cast<uint64>(field_data.max_length));
130 !ReadSize(iter, &field_data->max_length) ||
164 << field.max_length
/external/llvm/utils/lint/
H A Dcommon_lint.py7 def VerifyLineLength(filename, lines, max_length):
14 max_length: maximum acceptable line length as number
24 if length > max_length:
26 'Line exceeds %d chars (%d)' % (max_length, length)))
/external/chromium_org/tools/telemetry/telemetry/util/
H A Dexception_formatter.py95 def _AbbreviateMiddleOfString(target, middle, max_length):
96 if max_length < 0:
97 raise ValueError('Must provide positive max_length')
98 if len(middle) > max_length:
99 raise ValueError('middle must not be greater than max_length')
101 if len(target) <= max_length:
103 half_length = (max_length - len(middle)) / 2.
/external/openfst/src/include/fst/script/
H A Drandgen.h46 ropts(arc_selector, opts.max_length,
52 ropts(arc_selector, opts.max_length,
58 ropts(arc_selector, opts.max_length,
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Drtcp_packet.cc739 size_t max_length) const {
741 CreateAndAddAppended(packet, length, max_length);
746 size_t max_length) const {
747 Create(packet, length, max_length);
750 (*it)->CreateAndAddAppended(packet, length, max_length);
754 void Empty::Create(uint8_t* packet, size_t* length, size_t max_length) const {
759 size_t max_length) const {
760 if (*length + BlockLength() > max_length) {
780 size_t max_length) const {
781 if (*length + BlockLength() > max_length) {
[all...]
H A Drtcp_packet.h69 void Build(uint8_t* packet, size_t* length, size_t max_length) const;
75 uint8_t* packet, size_t* length, size_t max_length) const = 0;
81 uint8_t* packet, size_t* length, size_t max_length) const;
94 uint8_t* packet, size_t* length, size_t max_length) const OVERRIDE;
208 uint8_t* packet, size_t* length, size_t max_length) const OVERRIDE;
254 uint8_t* packet, size_t* length, size_t max_length) const OVERRIDE;
299 uint8_t* packet, size_t* length, size_t max_length) const OVERRIDE;
355 uint8_t* packet, size_t* length, size_t max_length) const OVERRIDE;
396 uint8_t* packet, size_t* length, size_t max_length) const OVERRIDE;
456 uint8_t* packet, size_t* length, size_t max_length) cons
[all...]
/external/chromium_org/components/domain_reliability/
H A Dbake_in_configs.py60 max_length = width - len(prefix) - len(suffix)
70 if line_length + len(c) > max_length:
/external/chromium_org/base/debug/
H A Dcrash_logging.cc42 // The longest max_length allowed by the system.
58 if (!crash_key || crash_key->max_length <= g_chunk_max_length_) {
67 i < NumChunksForLength(crash_key->max_length);
86 if (!crash_key || crash_key->max_length <= g_chunk_max_length_) {
91 for (size_t i = 0; i < NumChunksForLength(crash_key->max_length); ++i) {
155 total_keys += NumChunksForLength(keys[i].max_length);
156 DCHECK_LT(keys[i].max_length, kLargestValueAllowed);
183 std::string value_string = value.substr(0, crash_key.max_length).as_string();
/external/lldb/source/Host/macosx/cfcpp/
H A DCFCString.cpp169 CFIndex max_length = ::CFStringGetMaximumSizeOfFileSystemRepresentation (cf_str); local
170 if (max_length > 0)
172 str.resize(max_length);
/external/lldb/tools/debugserver/source/MacOSX/
H A DCFString.cpp158 CFIndex max_length = ::CFStringGetMaximumSizeOfFileSystemRepresentation (cf_str); local
159 if (max_length > 0)
161 str.resize(max_length);
/external/chromium_org/chrome/browser/ui/autofill/
H A Dpassword_generation_popup_controller_impl.cc40 int max_length,
59 max_length,
70 int max_length,
79 generator_(new PasswordGenerator(max_length)),
36 GetOrCreate( base::WeakPtr<PasswordGenerationPopupControllerImpl> previous, const gfx::RectF& bounds, const PasswordForm& form, int max_length, password_manager::PasswordManager* password_manager, PasswordGenerationPopupObserver* observer, content::WebContents* web_contents, gfx::NativeView container_view) argument
67 PasswordGenerationPopupControllerImpl( const gfx::RectF& bounds, const PasswordForm& form, int max_length, password_manager::PasswordManager* password_manager, PasswordGenerationPopupObserver* observer, content::WebContents* web_contents, gfx::NativeView container_view) argument

Completed in 851 milliseconds

12345