Searched defs:maxLength (Results 1 - 25 of 89) sorted by relevance

1234

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DBytesDictionaryMatcher.java43 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument
70 if (numChars >= maxLength) {
H A DCharsDictionaryMatcher.java22 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument
50 if (numChars >= maxLength) {
H A DDictionaryMatcher.java22 * @param maxLength The maximum number of code units to match.
29 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, argument
32 public int matches(CharacterIterator text, int maxLength, int[] lengths, argument
34 return matches(text, maxLength, lengths, count, limit, null);
H A DCharsetMatch.java77 * @param maxLength The maximium length of the String to be created when the
82 public String getString(int maxLength) throws java.io.IOException { argument
88 int max = maxLength < 0? Integer.MAX_VALUE : maxLength;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsDictionaryMatcher.java21 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument
49 if (numChars >= maxLength) {
H A DDictionaryMatcher.java21 * @param maxLength The maximum number of code units to match.
28 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths, argument
31 public int matches(CharacterIterator text, int maxLength, int[] lengths, argument
33 return matches(text, maxLength, lengths, count, limit, null);
H A DBytesDictionaryMatcher.java42 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) { argument
69 if (numChars >= maxLength) {
H A DCharsetMatch.java80 * @param maxLength The maximium length of the String to be created when the
87 public String getString(int maxLength) throws java.io.IOException { argument
93 int max = maxLength < 0? Integer.MAX_VALUE : 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/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/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/icu/android_icu4j/src/main/tests/android/icu/dev/util/
H A DCaseIterator.java38 private static int maxLength = 0; field in class:CaseIterator
234 if (maxLength < mapped.length()) maxLength = mapped.length();
252 System.out.println("maxLength = " + maxLength);
443 int max = i + maxLength;
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/
H A DCaseIterator.java34 private static int maxLength = 0; field in class:CaseIterator
230 if (maxLength < mapped.length()) maxLength = mapped.length();
248 System.out.println("maxLength = " + maxLength);
439 int max = i + maxLength;
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/util/
H A DCaseIterator.java37 private static int maxLength = 0; field in class:CaseIterator
233 if (maxLength < mapped.length()) maxLength = mapped.length();
251 System.out.println("maxLength = " + maxLength);
442 int max = i + maxLength;
/external/jetty/src/java/org/eclipse/jetty/io/
H A DBufferCache.java88 public CachedBuffer getBest(byte[] value, int offset, int maxLength) argument
90 Entry entry = _stringMap.getBestEntry(value, offset, maxLength);
/external/mesa3d/src/mesa/main/
H A Dshader_query.cpp81 GLsizei maxLength, GLsizei * length, GLint * size,
114 _mesa_copy_string(name, maxLength, length, var->name);
80 _mesa_GetActiveAttribARB(GLhandleARB program, GLuint desired_index, GLsizei maxLength, GLsizei * length, GLint * size, GLenum * type, GLcharARB * name) argument
/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/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstString.java313 * @param maxLength {@code >= 5;} the maximum length of the string to return
316 public String toQuoted(int maxLength) { argument
321 if (length <= (maxLength - 2)) {
324 string = string.substring(0, maxLength - 5);
/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...]
/external/icu/icu4c/source/tools/toolutil/
H A Ddenseranges.cpp28 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; member in class:__anon6998::LargestGaps
109 int64_t maxLength=(int64_t)maxValue-(int64_t)minValue+1; local
110 if(length>=(density*maxLength)/0x100) {
133 // the length of the [minValue..maxValue] range (maxLength).
142 maxLength
[all...]
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
H A DSwatDeprecated.java26 private int maxLength = 85; field in class:SwatDeprecated
330 if (lc + nl > maxLength) {
/external/jetty/src/java/org/eclipse/jetty/util/
H A DUrlEncoded.java384 * @param maxLength maximum number of keys to read or -1 for no limit
386 public static void decode88591To(InputStream in, MultiMap map, int maxLength, int maxKeys) argument
462 if (maxLength>=0 && (++totalLength > maxLength))
483 * @param maxLength maximum number of keys to read or -1 for no limit
485 public static void decodeUtf8To(InputStream in, MultiMap map, int maxLength, int maxKeys) argument
569 if (maxLength>=0 && (++totalLength > maxLength))
587 public static void decodeUtf16To(InputStream in, MultiMap map, int maxLength, int maxKeys) throws IOException argument
591 IO.copy(input,buf,maxLength);
600 decodeTo(InputStream in, MultiMap map, String charset, int maxLength, int maxKeys) argument
[all...]
/external/opencv3/3rdparty/openexr/IlmImf/
H A DImfRleCompressor.cpp120 // length of the uncompressed data would be more than maxLength.
124 rleUncompress (int inLength, int maxLength, const signed char in[], char out[]) argument
135 if (0 > (maxLength -= count))
146 if (0 > (maxLength -= count + 1))
/external/opencv3/modules/cudalegacy/test/
H A Dmain_nvidia.cpp136 void generateNPPSTVectorTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<Ncv32u> &src, Ncv32u maxLength) argument
139 for (Ncv32f _i=256.0; _i<maxLength; _i*=1.5f)
231 void generateVectorTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<Ncv32u> &src, Ncv32u maxLength) argument
234 for (Ncv32f _i=10.0; _i<maxLength; _i*=1.5f)
248 void generateHypothesesFiltrationTests(NCVAutoTestLister &testLister, NCVTestSourceProvider<Ncv32u> &src, Ncv32u maxLength) argument
250 for (Ncv32f _i=1.0; _i<maxLength; _i*=1.1f)

Completed in 1941 milliseconds

1234