Searched refs:maxLength (Results 1 - 25 of 117) sorted by relevance

12345

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DDictionaryMatcher.java24 * @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 DBytesDictionaryMatcher.java46 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument
73 if (numChars >= maxLength) {
H A DCharsDictionaryMatcher.java25 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument
53 if (numChars >= maxLength) {
H A DCharsetMatch.java79 * @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 DDictionaryMatcher.java23 * @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 DCharsDictionaryMatcher.java24 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument
52 if (numChars >= maxLength) {
H A DCharsetMatch.java82 * @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 DBytesDictionaryMatcher.java45 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 Dharmony-string-padding.js17 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 Ddenseranges.cpp30 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 DOpenSSLBIOSink.java52 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 DShadowEditText.java17 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 DSoundex.java94 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 DEditTextTest.java32 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 DHashCode.java85 * @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 DMessageDigestHashFunction.java49 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 DVmCommandBuilder.java47 private int maxLength = -1; field in class:VmCommandBuilder
123 public VmCommandBuilder maxLength(int maxLength) { argument
124 this.maxLength = maxLength;
189 .maxLength(maxLength)
H A DCommand.java76 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 DAscii.java552 * 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 DVariableCleaner.java211 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 Dinclude1_0.inc6 <xsd:maxLength value="10" />
/external/icu/icu4c/source/common/
H A Ddictionarydata.h76 * @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 Ddictionarydata.cpp45 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 DdeMemPool.h76 char* deMemPool_strnDup (deMemPool* pool, const char* str, int maxLength);
/external/google-breakpad/src/client/mac/sender/
H A Dcrash_report_sender.h54 - (void)setMaximumLength:(NSUInteger)maxLength;

Completed in 811 milliseconds

12345