/external/deqp/modules/gles2/performance/ |
H A D | es2pShaderCompilationCases.cpp | 82 inline string toStringWithPadding (T value, int minLength) argument 85 s << std::setfill('0') << std::setw(minLength) << value;
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pShaderCompilationCases.cpp | 82 inline string toStringWithPadding (T value, int minLength) argument 85 s << std::setfill('0') << std::setw(minLength) << value;
|
/external/guava/guava/src/com/google/common/base/ |
H A D | 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) { argument 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) { argument 132 if (string.length() >= minLength) { [all...] |
/external/skia/tests/ |
H A D | PDFDeflateWStreamTest.cpp | 153 uint32_t minLength = SkTMin(size, local 155 for (uint32_t i = 0; i < minLength; ++i) {
|
/external/skqp/tests/ |
H A D | PDFDeflateWStreamTest.cpp | 153 uint32_t minLength = SkTMin(size, local 155 for (uint32_t i = 0; i < minLength; ++i) {
|
/external/icu/icu4c/source/i18n/ |
H A D | sortkey.cpp | 195 int32_t minLength = getLength(); local 197 if (minLength < targetLength) { 199 } else if (minLength == targetLength) { 202 minLength = targetLength; 206 if (minLength > 0) { 207 int diff = uprv_memcmp(src, tgt, minLength);
|
H A D | collationweights.cpp | 392 CollationWeights::allocWeightsInShortRanges(int32_t n, int32_t minLength) { argument 393 // See if the first few minLength and minLength+1 ranges have enough weights. 394 for(int32_t i = 0; i < rangeCount && ranges[i].length <= (minLength + 1); ++i) { 396 // Use the first few minLength and minLength+1 ranges. 397 if(ranges[i].length > minLength) { 398 // Reduce the number of weights from the last minLength+1 range 399 // which might sort before some minLength ranges, 400 // so that we use all weights in the minLength range 423 allocWeightsInMinLengthRanges(int32_t n, int32_t minLength) argument 512 int32_t minLength=ranges[0].length; local [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
H A D | Booleans.java | 211 * has a length of at least {@code minLength}, it is returned directly. 212 * Otherwise, a new array of size {@code minLength + padding} is returned, 216 * @param minLength the minimum length the returned array must guarantee 219 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 222 * minimum length {@code minLength} 225 boolean[] array, int minLength, int padding) { 226 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 228 return (array.length < minLength) 224 ensureCapacity( boolean[] array, int minLength, int padding) argument [all...] |
H A D | Bytes.java | 187 * has a length of at least {@code minLength}, it is returned directly. 188 * Otherwise, a new array of size {@code minLength + padding} is returned, 192 * @param minLength the minimum length the returned array must guarantee 195 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 198 * minimum length {@code minLength} 201 byte[] array, int minLength, int padding) { 202 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 204 return (array.length < minLength) 200 ensureCapacity( byte[] array, int minLength, int padding) argument [all...] |
H A D | Chars.java | 331 * has a length of at least {@code minLength}, it is returned directly. 332 * Otherwise, a new array of size {@code minLength + padding} is returned, 336 * @param minLength the minimum length the returned array must guarantee 339 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 342 * minimum length {@code minLength} 345 char[] array, int minLength, int padding) { 346 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 348 return (array.length < minLength) 344 ensureCapacity( char[] array, int minLength, int padding) argument [all...] |
H A D | Doubles.java | 310 * has a length of at least {@code minLength}, it is returned directly. 311 * Otherwise, a new array of size {@code minLength + padding} is returned, 315 * @param minLength the minimum length the returned array must guarantee 318 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 321 * minimum length {@code minLength} 324 double[] array, int minLength, int padding) { 325 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 327 return (array.length < minLength) 323 ensureCapacity( double[] array, int minLength, int padding) argument [all...] |
H A D | Floats.java | 306 * has a length of at least {@code minLength}, it is returned directly. 307 * Otherwise, a new array of size {@code minLength + padding} is returned, 311 * @param minLength the minimum length the returned array must guarantee 314 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 317 * minimum length {@code minLength} 320 float[] array, int minLength, int padding) { 321 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 323 return (array.length < minLength) 319 ensureCapacity( float[] array, int minLength, int padding) argument [all...] |
H A D | Ints.java | 377 * has a length of at least {@code minLength}, it is returned directly. 378 * Otherwise, a new array of size {@code minLength + padding} is returned, 382 * @param minLength the minimum length the returned array must guarantee 385 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 388 * minimum length {@code minLength} 391 int[] array, int minLength, int padding) { 392 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 394 return (array.length < minLength) 390 ensureCapacity( int[] array, int minLength, int padding) argument [all...] |
H A D | Longs.java | 409 * has a length of at least {@code minLength}, it is returned directly. 410 * Otherwise, a new array of size {@code minLength + padding} is returned, 414 * @param minLength the minimum length the returned array must guarantee 417 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 420 * minimum length {@code minLength} 423 long[] array, int minLength, int padding) { 424 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 426 return (array.length < minLength) 422 ensureCapacity( long[] array, int minLength, int padding) argument [all...] |
H A D | Shorts.java | 375 * has a length of at least {@code minLength}, it is returned directly. 376 * Otherwise, a new array of size {@code minLength + padding} is returned, 380 * @param minLength the minimum length the returned array must guarantee 383 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 386 * minimum length {@code minLength} 389 short[] array, int minLength, int padding) { 390 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 392 return (array.length < minLength) 388 ensureCapacity( short[] array, int minLength, int padding) argument [all...] |
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
H A D | Chars.java | 280 * has a length of at least {@code minLength}, it is returned directly. 281 * Otherwise, a new array of size {@code minLength + padding} is returned, 285 * @param minLength the minimum length the returned array must guarantee 288 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 291 * minimum length {@code minLength} 294 char[] array, int minLength, int padding) { 295 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 297 return (array.length < minLength) 293 ensureCapacity( char[] array, int minLength, int padding) argument [all...] |
H A D | Doubles.java | 305 * has a length of at least {@code minLength}, it is returned directly. 306 * Otherwise, a new array of size {@code minLength + padding} is returned, 310 * @param minLength the minimum length the returned array must guarantee 313 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 316 * minimum length {@code minLength} 319 double[] array, int minLength, int padding) { 320 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 322 return (array.length < minLength) 318 ensureCapacity( double[] array, int minLength, int padding) argument [all...] |
H A D | Floats.java | 302 * has a length of at least {@code minLength}, it is returned directly. 303 * Otherwise, a new array of size {@code minLength + padding} is returned, 307 * @param minLength the minimum length the returned array must guarantee 310 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 313 * minimum length {@code minLength} 316 float[] array, int minLength, int padding) { 317 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 319 return (array.length < minLength) 315 ensureCapacity( float[] array, int minLength, int padding) argument [all...] |
H A D | Shorts.java | 323 * has a length of at least {@code minLength}, it is returned directly. 324 * Otherwise, a new array of size {@code minLength + padding} is returned, 328 * @param minLength the minimum length the returned array must guarantee 331 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 334 * minimum length {@code minLength} 337 short[] array, int minLength, int padding) { 338 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 340 return (array.length < minLength) 336 ensureCapacity( short[] array, int minLength, int padding) argument [all...] |
H A D | Ints.java | 325 * has a length of at least {@code minLength}, it is returned directly. 326 * Otherwise, a new array of size {@code minLength + padding} is returned, 330 * @param minLength the minimum length the returned array must guarantee 333 * @throws IllegalArgumentException if {@code minLength} or {@code padding} is 336 * minimum length {@code minLength} 339 int[] array, int minLength, int padding) { 340 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); 342 return (array.length < minLength) 338 ensureCapacity( int[] array, int minLength, int padding) argument [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
H A D | CollationWeights.java | 101 int minLength=ranges[0].length; 103 if(allocWeightsInShortRanges(n, minLength)) { break; } 105 if(minLength == 4) { 111 if(allocWeightsInMinLengthRanges(n, minLength)) { break; } 113 /* no good match, lengthen all minLength ranges and iterate */ 114 // printf("lengthen the short ranges from %ld bytes to %ld and iterate\n", minLength, minLength+1); 115 for (int i = 0; i < rangeCount && ranges[i].length == minLength; ++i) { 461 private boolean allocWeightsInShortRanges(int n, int minLength) { argument 462 // See if the first few minLength an 486 allocWeightsInMinLengthRanges(int n, int minLength) argument [all...] |
/external/icu/icu4c/source/common/ |
H A D | uinvchar.cpp | 455 int32_t minLength; local 470 minLength= outLength<localLength ? outLength : localLength; 472 while(minLength>0) { 489 --minLength; 501 int32_t minLength; local 516 minLength= outLength<localLength ? outLength : localLength; 518 while(minLength>0) { 537 --minLength;
|
H A D | uidna.cpp | 79 int32_t minLength; local 85 minLength = s1Len; 88 minLength = s2Len; 93 minLength = s1Len; 103 if(i == minLength) {
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
H A D | CollationWeights.java | 99 int minLength=ranges[0].length; 101 if(allocWeightsInShortRanges(n, minLength)) { break; } 103 if(minLength == 4) { 109 if(allocWeightsInMinLengthRanges(n, minLength)) { break; } 111 /* no good match, lengthen all minLength ranges and iterate */ 112 // printf("lengthen the short ranges from %ld bytes to %ld and iterate\n", minLength, minLength+1); 113 for (int i = 0; i < rangeCount && ranges[i].length == minLength; ++i) { 459 private boolean allocWeightsInShortRanges(int n, int minLength) { argument 460 // See if the first few minLength an 484 allocWeightsInMinLengthRanges(int n, int minLength) argument [all...] |
/external/icu/icu4c/source/test/intltest/ |
H A D | colldata.cpp | 644 int32_t minLength = minLengthInChars(ceList, offset, history); local 648 return minLength;
|