HomeSort by relevance Sort by last modified time
    Searched refs:maxLength (Results 1 - 25 of 72) sorted by null

1 2 3

  /external/apache-http/src/org/apache/commons/codec/language/
Soundex.java 89 private int maxLength = 4;
184 * Returns the maxLength. Standard Soundex
190 return this.maxLength;
220 * Sets the maxLength.
223 * @param maxLength
224 * The maxLength to set
226 public void setMaxLength(int maxLength) {
227 this.maxLength = maxLength;
DoubleMetaphone.java     [all...]
  /external/webkit/WebCore/dom/
InputElement.cpp 144 String InputElement::sanitizeUserInputValue(const InputElement* inputElement, const String& proposedValue, int maxLength)
154 unsigned newLength = string.numCharactersInGraphemeClusters(maxLength);
168 // Make sure that the text to be inserted will not violate the maxLength.
181 unsigned maxLength = static_cast<unsigned>(data.maxLength()); // maxLength() can never be negative.
182 unsigned appendableLength = maxLength > baseLength ? maxLength - baseLength : 0;
184 // Truncate the inserted text to avoid violating the maxLength and other constraints.
199 int maxLength = attribute->isNull() ? InputElement::s_maximumLength : attribute->value().toInt()
    [all...]
InputElement.h 102 int maxLength() const { return m_maxLength; }
  /external/webkit/WebKit/android/nav/
CachedInput.h 49 int maxLength() const { return mMaxLength; };
59 void setMaxLength(int maxLength) { mMaxLength = maxLength; }
  /external/icu4c/common/
triedict.h 81 * @param maxLength The maximum number of code units to match.
88 int32_t maxLength,
154 * @param maxLength The maximum number of code units to match.
161 int32_t maxLength,
202 * @param maxLength The maximum number of code units to match.
211 int32_t maxLength,
285 * @param maxLength The maximum number of code units to match.
udataswp.c 279 int32_t maxLength;
299 maxLength=headerSize-infoSize;
301 for(length=0; length<maxLength && s[length]!=0; ++length) {}
triedict.cpp 111 int32_t maxLength,
125 for (i = 0; i < maxLength && p != NULL; ++i) {
155 // maxLength is 0 coming in.
219 int32_t maxLength,
225 return search(text, maxLength, lengths, count, limit, parent, pMatched);
466 int32_t maxLength,
486 if (i >= maxLength) {
498 for (int j = 0; j < nodeCount && i < maxLength; ++j) {
    [all...]
  /external/chromium/third_party/icu/source/common/
triedict.h 84 * @param maxLength The maximum number of code units to match.
92 int32_t maxLength,
180 * @param maxLength The maximum number of code units to match.
188 int32_t maxLength,
232 * @param maxLength The maximum number of code units to match.
242 int32_t maxLength,
327 * @param maxLength The maximum number of code units to match.
335 int32_t maxLength,
udataswp.c 279 int32_t maxLength;
299 maxLength=headerSize-infoSize;
301 for(length=0; length<maxLength && s[length]!=0; ++length) {}
  /libcore/luni/src/main/java/org/apache/harmony/luni/net/
Socks4Message.java 198 * it encounters a null value or reaches the maxLength given.
200 private String getString(int offset, int maxLength) {
202 int lastIndex = index + maxLength;
227 private void setString(int offset, int maxLength, String theString) {
229 int length = Math.min(stringBytes.length, maxLength);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
NameDistance.java 43 * @param maxLength byte arrays are truncated if longer than this number
45 public NameDistance(int maxLength) {
46 mMaxLength = maxLength;
48 mMatchFlags1 = new boolean[maxLength];
49 mMatchFlags2 = new boolean[maxLength];
  /cts/libs/vogar-expect/src/vogar/commands/
Command.java 74 if (builder.maxLength != -1) {
76 if (string.length() > builder.maxLength) {
77 throw new IllegalStateException("Maximum command length " + builder.maxLength
232 private int maxLength = -1;
276 public Builder maxLength(int maxLength) {
277 this.maxLength = maxLength;
  /external/webkit/WebCore/html/
HTMLTextAreaElement.h 73 int maxLength() const;
95 static String sanitizeUserInputValue(const String&, unsigned maxLength);
HTMLTextAreaElement.idl 31 attribute long maxLength
HTMLTextAreaElement.cpp 237 int signedMaxLength = maxLength();
250 String HTMLTextAreaElement::sanitizeUserInputValue(const String& proposedValue, unsigned maxLength)
252 return proposedValue.left(proposedValue.numCharactersInGraphemeClusters(maxLength));
367 int HTMLTextAreaElement::maxLength() const
384 // Return false for the default value even if it is longer than maxLength.
388 int max = maxLength();
HTMLInputElement.idl 40 attribute long maxLength
  /dalvik/dx/src/com/android/dx/util/
ByteArray.java 319 int maxLength = size - cursor;
320 if (length > maxLength) {
321 length = maxLength;
  /system/core/include/acc/
acc.h 70 ACCsizei maxLength,
  /frameworks/base/core/java/android/webkit/
WebTextView.java 766 private void setMaxLength(int maxLength) {
767 mMaxLength = maxLength;
768 if (-1 == maxLength) {
772 new InputFilter.LengthFilter(maxLength) });
    [all...]
  /external/chromium/third_party/icu/source/tools/gensprep/
store.c 155 static int32_t maxLength = 0; /* maximum length of mapping string */
483 if(maxLength < value->length){
484 maxLength = value->length;
613 printf("Maximum length of the mapping string is : %i \n", (int)maxLength);
  /external/icu4c/tools/gensprep/
store.c 155 static int32_t maxLength = 0; /* maximum length of mapping string */
483 if(maxLength < value->length){
484 maxLength = value->length;
613 printf("Maximum length of the mapping string is : %i \n", (int)maxLength);
  /packages/apps/Settings/src/com/android/settings/
ChooseLockGeneric.java 174 final int maxLength = mDPM.getPasswordMaximumLength(quality);
178 intent.putExtra(ChooseLockPassword.PASSWORD_MAX_KEY, maxLength);
  /frameworks/base/services/jni/
com_android_server_location_GpsLocationProvider.cpp 576 const size_t maxLength = 2047;
577 char buffer[maxLength+1];
578 size_t length = sGpsDebugInterface->get_internal_state(buffer, maxLength);
579 if (length > maxLength) length = maxLength;
  /cts/tests/tests/database/src/android/database/cts/
CursorJoinerTest.java 224 int maxLength = Integer.toString(maxValue).length();
227 for (int i = 0; i < (maxLength - basicLength); i++) {

Completed in 806 milliseconds

1 2 3