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

1 2 3 4 5 6 7 8 91011>>

  /external/pdfium/fxjs/xfa/
cjx_exdata.cpp 45 void CJX_ExData::maxLength(CFXJSE_Value* pValue,
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowEditText.java 17 private int maxLength = Integer.MAX_VALUE;
27 maxLength = attributeSet.getAttributeIntValue("android", "maxLength", Integer.MAX_VALUE);
33 if ( !TextUtils.isEmpty(str) && str.length() > maxLength) {
34 str = str.subSequence(0, maxLength);
  /prebuilts/go/darwin-x86/src/encoding/gob/
encoder.go 29 const maxLength = 9 // Maximum size of an encoded length.
30 var spaceForLength = make([]byte, maxLength)
68 messageLen := len(message) - maxLength
78 offset := maxLength - enc.countState.b.Len()
  /prebuilts/go/linux-x86/src/encoding/gob/
encoder.go 29 const maxLength = 9 // Maximum size of an encoded length.
30 var spaceForLength = make([]byte, maxLength)
68 messageLen := len(message) - maxLength
78 offset := maxLength - enc.countState.b.Len()
  /external/conscrypt/common/src/main/java/org/conscrypt/
OpenSSLBIOSink.java 49 int maxLength = Math.min(available(), (int) byteCount);
50 position += maxLength;
54 return maxLength;
  /packages/apps/Dialer/java/com/android/voicemail/
PinChanger.java 65 public int maxLength;
  /libcore/ojluni/src/test/java/time/tck/java/time/
TCKMonth.java 417 // maxLength()
421 assertEquals(Month.JANUARY.maxLength(), 31);
422 assertEquals(Month.FEBRUARY.maxLength(), 29);
423 assertEquals(Month.MARCH.maxLength(), 31);
424 assertEquals(Month.APRIL.maxLength(), 30);
425 assertEquals(Month.MAY.maxLength(), 31);
426 assertEquals(Month.JUNE.maxLength(), 30);
427 assertEquals(Month.JULY.maxLength(), 31);
428 assertEquals(Month.AUGUST.maxLength(), 31);
429 assertEquals(Month.SEPTEMBER.maxLength(), 30)
    [all...]
  /external/icu/icu4c/source/tools/toolutil/
denseranges.cpp 30 LargestGaps(int32_t max) : maxLength(max<=kCapacity ? max : kCapacity), length(0) {}
37 if(i<maxLength) {
38 // The new gap is now one of the maxLength largest.
41 int32_t j= length<maxLength ? length++ : maxLength-1;
80 int32_t maxLength;
111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1;
112 if(length>=(density*maxLength)/0x100) {
135 // the length of the [minValue..maxValue] range (maxLength).
144 maxLength-=gaps.gapLength(i)
    [all...]
  /external/proguard/src/proguard/classfile/editor/
VariableCleaner.java 211 int maxLength = startPCs[localVariableInfo.u2index] -
214 if (localVariableInfo.u2length > maxLength)
216 localVariableInfo.u2length = maxLength;
245 int maxLength = startPCs[localVariableTypeInfo.u2index] -
248 if (localVariableTypeInfo.u2length > maxLength)
250 localVariableTypeInfo.u2length = maxLength;
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
EditTextTest.java 32 int maxLength = anyInteger();
33 AttributeSet attrs = attributeSetWithMaxLength(maxLength);
35 String excessiveInput = stringOfLength(maxLength * 2);
39 assertThat(editText.getText().toString(), equalTo(excessiveInput.subSequence(0, maxLength)));
80 private AttributeSet attributeSetWithMaxLength(int maxLength) {
82 when(attrs.getAttributeIntValue(eq("android"), eq("maxLength"), anyInt())).thenReturn(maxLength);
88 when(attrs.getAttributeIntValue("android", "maxLength", Integer.MAX_VALUE)).thenReturn(Integer.MAX_VALUE);
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowEditTextTest.java 26 .addAttribute(android.R.attr.maxLength, "5")
46 int maxLength = anyInteger();
48 .addAttribute(android.R.attr.maxLength, maxLength + "")
52 String excessiveInput = stringOfLength(maxLength * 2);
56 assertThat((CharSequence) editText.getText().toString()).isEqualTo(excessiveInput.subSequence(0, maxLength));
  /external/vogar/src/vogar/commands/
VmCommandBuilder.java 47 private int maxLength = -1;
118 public VmCommandBuilder maxLength(int maxLength) {
119 this.maxLength = maxLength;
179 .maxLength(maxLength)
  /frameworks/base/packages/ExtServices/src/android/ext/services/autofill/
EditDistanceScorer.java 54 final int maxLength = Math.max(actualValueLength, userDatalength);
55 return ((float) maxLength - distance) / maxLength;
  /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 318 int maxLength = size - cursor;
319 if (length > maxLength) {
320 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;
  /external/guava/guava/src/com/google/common/hash/
MessageDigestHashFunction.java 49 int maxLength = prototype.getDigestLength();
50 checkArgument(bytes >= 4 && bytes <= maxLength,
51 "bytes (%s) must be >= 4 and < %s", bytes, maxLength);
  /external/icu/icu4c/source/common/
udataswp.cpp 330 int32_t maxLength;
350 maxLength=headerSize-infoSize;
352 for(length=0; length<maxLength && s[length]!=0; ++length) {}
  /external/v8/src/inspector/
injected-script-source.js     [all...]
  /frameworks/base/core/java/android/app/admin/
PasswordMetrics.java 199 int maxLength = 0; //maximum length of a sequence already found
206 maxLength = Math.max(maxLength, current - startSequence);
213 maxLength = Math.max(maxLength, current - startSequence);
221 maxLength = Math.max(maxLength, string.length() - startSequence);
222 return maxLength;
  /frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryableParcelable.java 126 int maxLength = buffer.remaining();
128 byte[] remaining = new byte[maxLength];
131 parcel.unmarshall(remaining, /*offset*/0, maxLength);
  /frameworks/base/core/java/com/android/internal/util/
LineBreakBufferedWriter.java 123 int maxLength = bufferSize - bufferIndex;
124 for (int i = 0; i < maxLength; i++) {
177 int maxLength = bufferSize - bufferIndex;
178 for (int i = 0; i < maxLength; i++) {
  /libcore/luni/src/test/java/libcore/java/io/
DataOutputStreamTest.java 98 String maxLength = new String(chars);
99 os.writeUTF(maxLength);
  /libcore/ojluni/src/main/java/java/time/
Month.java 471 public int maxLength() {
  /packages/apps/TV/common/src/com/android/tv/common/util/
PostalCodeUtils.java 133 Integer maxLength =
135 return maxLength == null ? DEFAULT_MAX_LENGTH : maxLength;

Completed in 582 milliseconds

1 2 3 4 5 6 7 8 91011>>