/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...] |
Doubles.java | 260 * has a length of at least {@code minLength}, it is returned directly. 261 * Otherwise, a new array of size {@code minLength + padding} is returned, 265 * @param minLength the minimum length the returned array must guarantee 268 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 271 * minimum length {@code minLength} 274 double[] array, int minLength, int padding) { 275 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 277 return (array.length < minLength) [all...] |
Floats.java | 257 * has a length of at least {@code minLength}, it is returned directly. 258 * Otherwise, a new array of size {@code minLength + padding} is returned, 262 * @param minLength the minimum length the returned array must guarantee 265 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 268 * minimum length {@code minLength} 271 float[] array, int minLength, int padding) { 272 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 274 return (array.length < minLength) [all...] |
Ints.java | 330 * has a length of at least {@code minLength}, it is returned directly. 331 * Otherwise, a new array of size {@code minLength + padding} is returned, 335 * @param minLength the minimum length the returned array must guarantee 338 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 341 * minimum length {@code minLength} 344 int[] array, int minLength, int padding) { 345 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 347 return (array.length < minLength) [all...] |
Longs.java | 314 * has a length of at least {@code minLength}, it is returned directly. 315 * Otherwise, a new array of size {@code minLength + padding} is returned, 319 * @param minLength the minimum length the returned array must guarantee 322 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 325 * minimum length {@code minLength} 328 long[] array, int minLength, int padding) { 329 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 331 return (array.length < minLength) [all...] |
Shorts.java | 327 * has a length of at least {@code minLength}, it is returned directly. 328 * Otherwise, a new array of size {@code minLength + padding} is returned, 332 * @param minLength the minimum length the returned array must guarantee 335 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 338 * minimum length {@code minLength} 341 short[] array, int minLength, int padding) { 342 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 344 return (array.length < minLength) [all...] |
Bytes.java | 183 * has a length of at least {@code minLength}, it is returned directly. 184 * Otherwise, a new array of size {@code minLength + padding} is returned, 188 * @param minLength the minimum length the returned array must guarantee 191 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 194 * minimum length {@code minLength} 197 byte[] array, int minLength, int padding) { 198 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 200 return (array.length < minLength) [all...] |
UnsignedBytes.java | 279 // int minLength = Math.min(left.length, right.length); 280 // int minWords = minLength / Longs.BYTES; 321 // // The epilogue to cover the last (minLength % 8) elements. 322 // for (int i = minWords * Longs.BYTES; i < minLength; i++) { 338 int minLength = Math.min(left.length, right.length); 339 for (int i = 0; i < minLength; i++) {
|
UnsignedInts.java | 158 int minLength = Math.min(left.length, right.length); 159 for (int i = 0; i < minLength; i++) {
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
Chars.java | 270 * has a length of at least {@code minLength}, it is returned directly. 271 * Otherwise, a new array of size {@code minLength + padding} is returned, 275 * @param minLength the minimum length the returned array must guarantee 278 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 281 * minimum length {@code minLength} 284 char[] array, int minLength, int padding) { 285 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 287 return (array.length < minLength) [all...] |
Ints.java | 274 * has a length of at least {@code minLength}, it is returned directly. 275 * Otherwise, a new array of size {@code minLength + padding} is returned, 279 * @param minLength the minimum length the returned array must guarantee 282 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 285 * minimum length {@code minLength} 288 int[] array, int minLength, int padding) { 289 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 291 return (array.length < minLength) [all...] |
Longs.java | 247 * has a length of at least {@code minLength}, it is returned directly. 248 * Otherwise, a new array of size {@code minLength + padding} is returned, 252 * @param minLength the minimum length the returned array must guarantee 255 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 258 * minimum length {@code minLength} 261 long[] array, int minLength, int padding) { 262 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 264 return (array.length < minLength) [all...] |
Shorts.java | 275 * has a length of at least {@code minLength}, it is returned directly. 276 * Otherwise, a new array of size {@code minLength + padding} is returned, 280 * @param minLength the minimum length the returned array must guarantee 283 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 286 * minimum length {@code minLength} 289 short[] array, int minLength, int padding) { 290 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 292 return (array.length < minLength) [all...] |
/frameworks/base/core/jni/android/graphics/ |
GraphicsJNI.h | 175 int minLength = 0, JNIAccess = kRW_JNIAccess); 191 AutoJavaIntArray(JNIEnv* env, jintArray array, int minLength = 0); 207 int minLength = 0, JNIAccess = kRW_JNIAccess); 223 AutoJavaByteArray(JNIEnv* env, jbyteArray array, int minLength = 0);
|
/external/icu4c/common/ |
uinvchar.c | 452 int32_t minLength; 467 minLength= outLength<localLength ? outLength : localLength; 469 while(minLength>0) { 486 --minLength; 497 int32_t minLength; 512 minLength= outLength<localLength ? outLength : localLength; 514 while(minLength>0) { 533 --minLength;
|
/external/webkit/LayoutTests/dom/html/level1/core/ |
selfhtml.js | 108 var minLength = expected.length; 109 if (actual.length < minLength) { 110 minLength = actual.length; 113 for(var i = 0; i < minLength; i++) { 123 var minLength = expected.length; 124 if (actual.length < minLength) { 125 minLength = actual.length; 128 for(var i = 0; i < minLength; i++) {
|
/external/webkit/LayoutTests/dom/html/level2/core/ |
selfhtml.js | 108 var minLength = expected.length; 109 if (actual.length < minLength) { 110 minLength = actual.length; 113 for(var i = 0; i < minLength; i++) { 123 var minLength = expected.length; 124 if (actual.length < minLength) { 125 minLength = actual.length; 128 for(var i = 0; i < minLength; i++) {
|
/external/webkit/LayoutTests/dom/html/level2/events/ |
selfhtml.js | 108 var minLength = expected.length; 109 if (actual.length < minLength) { 110 minLength = actual.length; 113 for(var i = 0; i < minLength; i++) { 123 var minLength = expected.length; 124 if (actual.length < minLength) { 125 minLength = actual.length; 128 for(var i = 0; i < minLength; i++) {
|
/external/webkit/LayoutTests/dom/html/level2/html/ |
selfhtml.js | 108 var minLength = expected.length; 109 if (actual.length < minLength) { 110 minLength = actual.length; 113 for(var i = 0; i < minLength; i++) { 123 var minLength = expected.length; 124 if (actual.length < minLength) { 125 minLength = actual.length; 128 for(var i = 0; i < minLength; i++) {
|
/external/webkit/LayoutTests/dom/xhtml/level1/core/ |
selfxhtml.js | 107 var minLength = expected.length; 108 if (actual.length < minLength) { 109 minLength = actual.length; 112 for(var i = 0; i < minLength; i++) { 122 var minLength = expected.length; 123 if (actual.length < minLength) { 124 minLength = actual.length; 127 for(var i = 0; i < minLength; i++) {
|