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

1 2 3 4 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/java/android/icu/text/
DictionaryMatcher.java 22 * @param maxLength The maximum number of code units to match.
29 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths,
32 public int matches(CharacterIterator text, int maxLength, int[] lengths,
34 return matches(text, maxLength, lengths, count, limit, null);
BytesDictionaryMatcher.java 43 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) {
70 if (numChars >= maxLength) {
CharsDictionaryMatcher.java 22 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) {
50 if (numChars >= maxLength) {
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DictionaryMatcher.java 21 * @param maxLength The maximum number of code units to match.
28 public abstract int matches(CharacterIterator text, int maxLength, int[] lengths,
31 public int matches(CharacterIterator text, int maxLength, int[] lengths,
33 return matches(text, maxLength, lengths, count, limit, null);
CharsDictionaryMatcher.java 21 public int matches(CharacterIterator text_, int maxLength, int[] lengths, int[] count_, int limit, int[] values) {
49 if (numChars >= maxLength) {
  /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...]
  /external/conscrypt/src/main/java/org/conscrypt/
OpenSSLBIOSink.java 46 int maxLength = Math.min(available(), (int) byteCount);
47 position += maxLength;
51 return maxLength;
  /packages/apps/Settings/src/com/android/settings/
SetupChooseLockPassword.java 36 int minLength, final int maxLength, boolean requirePasswordToDecrypt,
39 maxLength, requirePasswordToDecrypt, confirmCredentials);
46 int minLength, final int maxLength, boolean requirePasswordToDecrypt, String password) {
47 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, maxLength,
55 int minLength, final int maxLength, boolean requirePasswordToDecrypt, long challenge) {
56 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, maxLength,
  /external/v8/src/js/
harmony-string-padding.js 22 function StringPad(thisString, maxLength, fillString) {
23 maxLength = TO_LENGTH(maxLength);
26 if (maxLength <= stringLength) return "";
38 var fillLength = maxLength - stringLength;
57 function StringPadStart(maxLength, fillString) {
61 return StringPad(thisString, maxLength, fillString) + thisString;
65 function StringPadEnd(maxLength, fillString) {
69 return thisString + StringPad(thisString, maxLength, fillString);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/shortcut/
shortcut_list_reading_utils.cpp 47 const int maxLength, int *const outWord, int *const pos) {
49 return ByteArrayUtils::readStringAndAdvancePosition(buffer.data(), maxLength,
  /external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/joints/
RopeJointDef.java 37 public float maxLength = 0;
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/dynamics/joints/
RopeJointDef.java 27 public float maxLength;
  /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);
  /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/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/guava/guava/src/com/google/common/hash/
HashCode.java 85 * @param maxLength the maximum number of bytes to write
89 public int writeBytesTo(byte[] dest, int offset, int maxLength) {
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);
160 void writeBytesToImpl(byte[] dest, int offset, int maxLength) {
161 for (int i = 0; i < maxLength; i++)
    [all...]
  /external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/com/badlogic/gdx/physics/box2d/joints/
RopeJointDef.java 37 public float maxLength = 0;
45 fd.maxLength = maxLength;
  /external/vogar/src/vogar/commands/
VmCommandBuilder.java 47 private int maxLength = -1;
123 public VmCommandBuilder maxLength(int maxLength) {
124 this.maxLength = maxLength;
189 .maxLength(maxLength)
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;
268 this.maxLength = other.maxLength;
301 public Builder maxLength(int maxLength) {
302 this.maxLength = maxLength;
    [all...]
  /external/guava/guava/src/com/google/common/base/
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) {
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/
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;
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
patricia_trie_reading_utils.cpp 70 const NodeFlags flags, const int maxLength, const int *const codePointTable,
74 length = ByteArrayUtils::readStringAndAdvancePosition(buffer, maxLength, codePointTable,
86 } else if (maxLength > 0) {
96 const int maxLength, const int *const codePointTable, int *const pos) {
98 return ByteArrayUtils::advancePositionToBehindString(buffer, maxLength, pos);
100 if (maxLength > 0) {
  /external/icu/icu4c/source/common/
dictionarydata.h 74 * @param maxLength The max length of match to consider. Units are the native indexing
91 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
106 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
124 virtual int32_t matches(UText *text, int32_t maxLength, int32_t limit,
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/util/
NameDistance.java 43 * @param maxLength byte arrays are truncated if longer than this number
45 public NameDistance(int maxLength) {
46 mMaxLength = maxLength;
48 mMatchFlags1 = new boolean[maxLength];
49 mMatchFlags2 = new boolean[maxLength];
  /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;

Completed in 4972 milliseconds

1 2 3 4 5 6 7 8 91011>>