/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | DictionaryMatcher.java | 24 * @param maxLength The maximum number of code units to match. 31 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, argument 34 public int matches(CharacterIterator text, int maxLength, int[] lengths, argument 36 return matches(text, maxLength, lengths, count, limit, null);
|
H A D | BytesDictionaryMatcher.java | 46 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument 73 if (numChars >= maxLength) {
|
H A D | CharsDictionaryMatcher.java | 25 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument 53 if (numChars >= maxLength) {
|
H A D | CharsetMatch.java | 79 * @param maxLength The maximium length of the String to be created when the 84 public String getString(int maxLength) throws java.io.IOException { argument 90 int max = maxLength < 0? Integer.MAX_VALUE : maxLength;
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | DictionaryMatcher.java | 23 * @param maxLength The maximum number of code units to match. 30 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, argument 33 public int matches(CharacterIterator text, int maxLength, int[] lengths, argument 35 return matches(text, maxLength, lengths, count, limit, null);
|
H A D | CharsDictionaryMatcher.java | 24 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument 52 if (numChars >= maxLength) {
|
H A D | CharsetMatch.java | 82 * @param maxLength The maximium length of the String to be created when the 89 public String getString(int maxLength) throws java.io.IOException { argument 95 int max = maxLength < 0? Integer.MAX_VALUE : maxLength;
|
H A D | BytesDictionaryMatcher.java | 45 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument 72 if (numChars >= maxLength) {
|
/external/v8/src/js/ |
H A D | harmony-string-padding.js | 17 function StringPad(thisString, maxLength, fillString) { 18 maxLength = TO_LENGTH(maxLength); 21 if (maxLength <= stringLength) return ""; 33 var fillLength = maxLength - stringLength; 52 function StringPadStart(maxLength, fillString) { 56 return StringPad(thisString, maxLength, fillString) + thisString; 60 function StringPadEnd(maxLength, fillString) { 64 return thisString + StringPad(thisString, maxLength, fillString);
|
/external/icu/icu4c/source/tools/toolutil/ |
H A D | 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; member in class:__anon7686::LargestGaps 111 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; local 112 if(length>=(density*maxLength)/0x100) { 135 // the length of the [minValue..maxValue] range (maxLength). 144 maxLength [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
H A D | OpenSSLBIOSink.java | 52 int maxLength = Math.min(available(), (int) byteCount); 53 position += maxLength; 57 return maxLength;
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowEditText.java | 17 private int maxLength = Integer.MAX_VALUE; field in class:ShadowEditText 27 maxLength = attributeSet.getAttributeIntValue("android", "maxLength", Integer.MAX_VALUE); 33 if ( !TextUtils.isEmpty(str) && str.length() > maxLength) { 34 str = str.subSequence(0, maxLength);
|
/external/apache-http/src/org/apache/commons/codec/language/ |
H A D | Soundex.java | 94 private int maxLength = 4; field in class:Soundex 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) { argument 232 this.maxLength = maxLength;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | 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) { argument 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/guava/guava/src/com/google/common/hash/ |
H A D | HashCode.java | 85 * @param maxLength the maximum number of bytes to write 89 public int writeBytesTo(byte[] dest, int offset, int maxLength) { argument 90 maxLength = Ints.min(maxLength, bits() / 8); 91 Preconditions.checkPositionIndexes(offset, offset + maxLength, dest.length); 92 writeBytesToImpl(dest, offset, maxLength); 93 return maxLength; 96 abstract void writeBytesToImpl(byte[] dest, int offset, int maxLength); argument 160 void writeBytesToImpl(byte[] dest, int offset, int maxLength) { argument 161 for (int i = 0; i < maxLength; 224 writeBytesToImpl(byte[] dest, int offset, int maxLength) argument 301 writeBytesToImpl(byte[] dest, int offset, int maxLength) argument [all...] |
H A D | MessageDigestHashFunction.java | 49 int maxLength = prototype.getDigestLength(); 50 checkArgument(bytes >= 4 && bytes <= maxLength, 51 "bytes (%s) must be >= 4 and < %s", bytes, maxLength);
|
/external/vogar/src/vogar/commands/ |
H A D | VmCommandBuilder.java | 47 private int maxLength = -1; field in class:VmCommandBuilder 123 public VmCommandBuilder maxLength(int maxLength) { argument 124 this.maxLength = maxLength; 189 .maxLength(maxLength)
|
H A D | Command.java | 76 if (builder.maxLength != -1) { 78 if (string.length() > builder.maxLength) { 79 throw new IllegalStateException("Maximum command length " + builder.maxLength 254 private int maxLength = -1; field in class:Command.Builder 268 this.maxLength = other.maxLength; 301 public Builder maxLength(int maxLength) { argument 302 this.maxLength = maxLength; [all...] |
/external/guava/guava/src/com/google/common/base/ |
H A D | Ascii.java | 552 * sequence is greater than {@code maxLength}, the returned string will be exactly 553 * {@code maxLength} chars in length and will end with the given {@code truncationIndicator}. 578 * @throws IllegalArgumentException if {@code maxLength} is less than the length of 584 public static String truncate(CharSequence seq, int maxLength, String truncationIndicator) { argument 588 int truncationLength = maxLength - truncationIndicator.length(); 590 // in this worst case, this allows a maxLength equal to the length of the truncationIndicator, 593 "maxLength (%s) must be >= length of the truncation indicator (%s)", 594 maxLength, truncationIndicator.length()); 596 if (seq.length() <= maxLength) { 598 if (string.length() <= maxLength) { [all...] |
/external/proguard/src/proguard/classfile/editor/ |
H A D | 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/libxml2/test/schemas/ |
H A D | include1_0.inc | 6 <xsd:maxLength value="10" />
|
/external/icu/icu4c/source/common/ |
H A D | dictionarydata.h | 76 * @param maxLength The max length of match to consider. Units are the native indexing 93 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit, 108 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit, 126 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
|
H A D | dictionarydata.cpp | 45 int32_t UCharsDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t limit, argument 78 if (lengthMatched >= maxLength) { 113 int32_t BytesDictionaryMatcher::matches(UText *text, int32_t maxLength, int32_t limit, argument 145 if (lengthMatched >= maxLength) {
|
/external/deqp/framework/delibs/depool/ |
H A D | deMemPool.h | 76 char* deMemPool_strnDup (deMemPool* pool, const char* str, int maxLength);
|
/external/google-breakpad/src/client/mac/sender/ |
H A D | crash_report_sender.h | 54 - (void)setMaximumLength:(NSUInteger)maxLength;
|