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

1 2

  /dalvik/dexgen/src/com/android/dexgen/util/
ByteArray.java 319 int maxLength = size - cursor;
320 if (length > maxLength) {
321 length = maxLength;
  /dalvik/dx/src/com/android/dx/util/
ByteArray.java 319 int maxLength = size - cursor;
320 if (length > maxLength) {
321 length = maxLength;
  /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/icu4c/common/
udataswp.c 279 int32_t maxLength;
299 maxLength=headerSize-infoSize;
301 for(length=0; length<maxLength && s[length]!=0; ++length) {}
uresbund.c     [all...]
  /external/webkit/Source/WebCore/dom/
InputElement.h 131 int maxLength() const { return m_maxLength; }
145 void setMaxInputCharsAllowed(unsigned maxLength) { m_maxInputCharsAllowed = maxLength; }
InputElement.cpp 138 static String replaceEOLAndLimitLength(const InputElement* inputElement, const String& proposedValue, int maxLength)
148 unsigned newLength = numCharactersInGraphemeClusters(string, maxLength);
172 String InputElement::sanitizeUserInputValue(const InputElement* inputElement, const String& proposedValue, int maxLength)
174 return replaceEOLAndLimitLength(inputElement, proposedValue, maxLength);
180 // Make sure that the text to be inserted will not violate the maxLength.
197 unsigned maxLength = static_cast<unsigned>(inputElement->supportsMaxLength() ? data.maxLength() : s_maximumLength); // maxLength() can never be negative.
198 unsigned appendableLength = maxLength > baseLength ? maxLength - baseLength : 0
    [all...]
  /external/webkit/Source/WebKit/chromium/src/
WebInputElement.cpp 68 int WebInputElement::maxLength() const
70 return constUnwrap<HTMLInputElement>()->maxLength();
  /libcore/luni/src/test/java/libcore/java/io/
DataOutputStreamTest.java 96 String maxLength = new String(chars);
97 os.writeUTF(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;
  /dalvik/dx/tests/115-merge/com/android/dx/merge/
DexMergeTest.java 146 int maxLength = 0;
151 maxLength = Math.max(maxLength, merged.getLength());
155 assertTrue(maxLength + " < " + maxExpectedLength, maxLength < maxExpectedLength);
  /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);
  /external/llvm/utils/TableGen/
RegisterInfoEmitter.cpp 107 unsigned maxLength = 0;
111 maxLength = std::max((size_t)maxLength, RegNums.size());
118 if (!maxLength)
124 for (unsigned i = I->second.size(), e = maxLength; i != e; ++i)
139 for (unsigned i = 0, e = maxLength; i != e; ++i) {
185 for (unsigned i = 0, e = maxLength; i != e; ++i) {
  /external/webkit/Source/WebCore/html/
HTMLTextAreaElement.cpp 247 int signedMaxLength = maxLength();
265 String HTMLTextAreaElement::sanitizeUserInputValue(const String& proposedValue, unsigned maxLength)
267 return proposedValue.left(numCharactersInGraphemeClusters(proposedValue, maxLength));
379 int HTMLTextAreaElement::maxLength() const
396 // Return false for the default value even if it is longer than maxLength.
400 int max = maxLength();
  /external/webkit/Source/WebKit/android/nav/
CachedInput.h 63 int maxLength() const { return mMaxLength; };
75 void setMaxLength(int maxLength) { mMaxLength = 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++) {
  /packages/apps/Settings/src/com/android/settings/
ChooseLockGeneric.java 321 final int maxLength = mDPM.getPasswordMaximumLength(quality);
325 intent.putExtra(ChooseLockPassword.PASSWORD_MAX_KEY, maxLength);
  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothPairingDialog.java 186 int maxLength;
192 maxLength = BLUETOOTH_PIN_MAX_LENGTH;
199 maxLength = BLUETOOTH_PASSKEY_MAX_LENGTH;
214 new LengthFilter(maxLength) });
  /external/bouncycastle/src/main/java/org/bouncycastle/math/ec/
Tnaf.java 327 int maxLength = log2Norm > 30 ? log2Norm + 4 : 34;
330 byte[] u = new byte[maxLength];
737 int maxLength = log2Norm > 30 ? log2Norm + 4 + width : 34 + width;
740 byte[] u = new byte[maxLength];
  /external/webkit/Source/JavaScriptCore/wtf/text/
StringImpl.cpp 174 unsigned maxLength = m_length - start;
175 if (length >= maxLength) {
178 length = maxLength;
  /frameworks/base/services/jni/
com_android_server_location_GpsLocationProvider.cpp 535 const size_t maxLength = 2047;
536 char buffer[maxLength+1];
537 size_t length = sGpsDebugInterface->get_internal_state(buffer, maxLength);
538 if (length > maxLength) length = maxLength;
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
NameSplitter.java 289 int maxLength = 0;
291 if (suffix.length() > maxLength) {
292 maxLength = suffix.length();
296 mMaxSuffixLength = maxLength;
    [all...]
  /external/webkit/Source/WebKit/win/
DOMHTMLClasses.cpp 1091 HRESULT STDMETHODCALLTYPE DOMHTMLInputElement::maxLength(
1099 /* [in] */ int /*maxLength*/)
    [all...]
  /frameworks/base/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
FwdLockConv.c 125 size_t maxLength;
447 if (pString->length == pString->maxLength) {
448 size_t newMaxLength = pString->maxLength + pString->lengthIncrement;
454 pString->maxLength = newMaxLength;
509 pSession->contentType.maxLength = strlenTextPlain;
    [all...]

Completed in 3839 milliseconds

1 2