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

1 2 3

  /external/guava/guava/src/com/google/common/base/
Strings.java 80 * Returns a string, of length at least {@code minLength}, consisting of
92 * @param minLength the minimum length the resulting string must have. Can be
98 public static String padStart(String string, int minLength, char padChar) {
100 if (string.length() >= minLength) {
103 StringBuilder sb = new StringBuilder(minLength);
104 for (int i = string.length(); i < minLength; i++) {
112 * Returns a string, of length at least {@code minLength}, consisting of
124 * @param minLength the minimum length the resulting string must have. Can be
130 public static String padEnd(String string, int minLength, char padChar) {
132 if (string.length() >= minLength) {
    [all...]
  /external/icu4c/i18n/
sortkey.cpp 193 int32_t minLength = getLength();
195 if (minLength < targetLength) {
197 } else if (minLength == targetLength) {
200 minLength = targetLength;
204 if (minLength > 0) {
205 int diff = uprv_memcmp(src, tgt, minLength);
ucol_wgt.cpp 327 int32_t i, rangeCount, minLength/*, maxLength*/;
375 minLength=ranges[0].length2;
384 if(n<=(lengthCounts[minLength]+lengthCounts[minLength+1])) {
400 /*maxLength=minLength+1;*/
403 power_1=powers[minLength-ranges[0].length];
425 ranges[1].length2=minLength;
445 ((byte>>(8*i))&(byte<<(8*(4-minLength))));
448 ranges[1].start=incWeight(ranges[0].end, minLength, maxByte);
463 /* no good match, lengthen all minLength ranges and iterate *
    [all...]
  /external/guava/guava/src/com/google/common/primitives/
SignedBytes.java 180 int minLength = Math.min(left.length, right.length);
181 for (int i = 0; i < minLength; i++) {
Booleans.java 203 * has a length of at least {@code minLength}, it is returned directly.
204 * Otherwise, a new array of size {@code minLength + padding} is returned,
208 * @param minLength the minimum length the returned array must guarantee
211 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
214 * minimum length {@code minLength}
217 boolean[] array, int minLength, int padding) {
218 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
220 return (array.length < minLength)
    [all...]
Chars.java 321 * has a length of at least {@code minLength}, it is returned directly.
322 * Otherwise, a new array of size {@code minLength + padding} is returned,
326 * @param minLength the minimum length the returned array must guarantee
329 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is
332 * minimum length {@code minLength}
335 char[] array, int minLength, int padding) {
336 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength);
338 return (array.length < minLength)
    [all...]