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

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/css/parser/
MediaQueryInputStream.h 27 inline size_t maxLength()
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
BaseTextInputType.cpp 35 int BaseTextInputType::maxLength() const
37 return element().maxLength();
42 int max = element().maxLength();
47 // it is longer than maxLength.
TextFieldInputType.cpp 388 static String limitLength(const String& string, unsigned maxLength)
390 unsigned newLength = std::min(maxLength, string.length());
405 // Make sure that the text to be inserted will not violate the maxLength.
422 unsigned maxLength = static_cast<unsigned>(this->maxLength()); // maxLength can never be negative.
423 unsigned appendableLength = maxLength > baseLength ? maxLength - baseLength : 0;
425 // Truncate the inserted text to avoid violating the maxLength and other constraints.
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLBIOSink.java 46 int maxLength = Math.min(available(), (int) byteCount);
47 position += maxLength;
51 return maxLength;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
ShadowList.cpp 87 size_t maxLength = std::max(fromLength, toLength);
88 for (size_t i = 0; i < maxLength; ++i) {
  /external/chromium_org/third_party/WebKit/Source/web/
WebInputElement.cpp 85 int WebInputElement::maxLength() const
87 return constUnwrap<HTMLInputElement>()->maxLength();
  /external/chromium_org/third_party/icu/source/tools/toolutil/
denseranges.cpp 28 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {}
35 if(i<maxLength) {
36 // The new gap is now one of the maxLength largest.
39 int32_t j= length<maxLength ? length++ : maxLength-1;
78 int32_t maxLength;
109 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1;
110 if(length>=(density*maxLength)/0x100) {
133 // the length of the [minValue..maxValue] range (maxLength).
142 maxLength-=gaps.gapLength(i)
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
denseranges.cpp 28 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {}
35 if(i<maxLength) {
36 // The new gap is now one of the maxLength largest.
39 int32_t j= length<maxLength ? length++ : maxLength-1;
78 int32_t maxLength;
109 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1;
110 if(length>=(density*maxLength)/0x100) {
133 // the length of the [minValue..maxValue] range (maxLength).
142 maxLength-=gaps.gapLength(i)
    [all...]
  /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 94 private int maxLength = 4;
189 * Returns the maxLength. Standard Soundex
195 return this.maxLength;
225 * Sets the maxLength.
228 * @param maxLength
229 * The maxLength to set
231 public void setMaxLength(int maxLength) {
232 this.maxLength = maxLength;
DoubleMetaphone.java     [all...]
  /external/chromium_org/third_party/icu/source/common/
udataswp.c 279 int32_t maxLength;
299 maxLength=headerSize-infoSize;
301 for(length=0; length<maxLength && s[length]!=0; ++length) {}
  /external/dexmaker/src/dx/java/com/android/dx/util/
ByteArray.java 319 int maxLength = size - cursor;
320 if (length > maxLength) {
321 length = maxLength;
  /external/icu/icu4c/source/common/
udataswp.c 328 int32_t maxLength;
348 maxLength=headerSize-infoSize;
350 for(length=0; length<maxLength && s[length]!=0; ++length) {}
  /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/chromium_org/third_party/WebKit/Source/wtf/text/
AtomicString.cpp 334 unsigned maxLength = baseString->length() - start;
335 if (length >= maxLength) {
338 length = maxLength;
  /external/chromium_org/third_party/icu/source/tools/gensprep/
store.c 156 static int32_t maxLength = 0; /* maximum length of mapping string */
451 if(maxLength < value->length){
452 maxLength = value->length;
579 printf("Maximum length of the mapping string is : %i \n", (int)maxLength);
  /external/icu/icu4c/source/tools/gensprep/
store.c 156 static int32_t maxLength = 0; /* maximum length of mapping string */
451 if(maxLength < value->length){
452 maxLength = value->length;
579 printf("Maximum length of the mapping string is : %i \n", (int)maxLength);
  /cts/tests/tests/database/src/android/database/cts/
CursorJoinerTest.java 184 int maxLength = Integer.toString(maxValue).length();
187 for (int i = 0; i < (maxLength - basicLength); i++) {
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLTextAreaElement.cpp 288 int signedMaxLength = maxLength();
315 String HTMLTextAreaElement::sanitizeUserInputValue(const String& proposedValue, unsigned maxLength)
317 if (maxLength > 0 && U16_IS_LEAD(proposedValue[maxLength - 1]))
318 --maxLength;
319 return proposedValue.left(maxLength);
447 int HTMLTextAreaElement::maxLength() const
491 return locale().validationMessageTooLongText(computeLengthForSubmission(value()), maxLength());
516 // longer than maxLength.
520 int max = maxLength();
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
Tnaf.java 327 int maxLength = log2Norm > 30 ? log2Norm + 4 : 34;
330 byte[] u = new byte[maxLength];
723 int maxLength = log2Norm > 30 ? log2Norm + 4 + width : 34 + width;
726 byte[] u = new byte[maxLength];
  /external/chromium_org/third_party/icu/source/test/intltest/
regcoll.cpp     [all...]
  /external/llvm/utils/TableGen/
RegisterInfoEmitter.cpp 322 unsigned maxLength = 0;
326 maxLength = std::max((size_t)maxLength, RegNums.size());
333 if (!maxLength)
339 for (unsigned i = I->second.size(), e = maxLength; i != e; ++i)
348 for (unsigned i = 0, e = maxLength; i != e; ++i) {
403 for (unsigned i = 0, e = maxLength; i != e; ++i) {
445 unsigned maxLength = 0;
448 maxLength = std::max((size_t)maxLength,
    [all...]

Completed in 765 milliseconds

1 2 3