Searched defs:minLength (Results 1 - 25 of 47) sorted by relevance

12

/external/deqp/modules/gles2/performance/
H A Des2pShaderCompilationCases.cpp82 inline string toStringWithPadding (T value, int minLength) argument
85 s << std::setfill('0') << std::setw(minLength) << value;
/external/deqp/modules/gles3/performance/
H A Des3pShaderCompilationCases.cpp82 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 DStrings.java80 * 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/chromium_org/third_party/icu/source/i18n/
H A Dsortkey.cpp193 int32_t minLength = getLength(); local
195 if (minLength < targetLength) {
197 } else if (minLength == targetLength) {
200 minLength = targetLength;
204 if (minLength > 0) {
205 int diff = uprv_memcmp(src, tgt, minLength);
H A Ducol_wgt.cpp327 int32_t i, rangeCount, minLength/*, maxLength*/; local
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 range
[all...]
/external/icu/icu4c/source/i18n/
H A Dsortkey.cpp193 int32_t minLength = getLength(); local
195 if (minLength < targetLength) {
197 } else if (minLength == targetLength) {
200 minLength = targetLength;
204 if (minLength > 0) {
205 int diff = uprv_memcmp(src, tgt, minLength);
H A Dcollationweights.cpp365 CollationWeights::allocWeightsInShortRanges(int32_t n, int32_t minLength) { argument
366 // See if the first few minLength and minLength+1 ranges have enough weights.
367 for(int32_t i = 0; i < rangeCount && ranges[i].length <= (minLength + 1); ++i) {
369 // Use the first few minLength and minLength+1 ranges.
370 if(ranges[i].length > minLength) {
371 // Reduce the number of weights from the last minLength+1 range
372 // which might sort before some minLength ranges,
373 // so that we use all weights in the minLength range
396 allocWeightsInMinLengthRanges(int32_t n, int32_t minLength) argument
485 int32_t minLength=ranges[0].length; local
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Duinvchar.c452 int32_t minLength; local
467 minLength= outLength<localLength ? outLength : localLength;
469 while(minLength>0) {
486 --minLength;
497 int32_t minLength; local
512 minLength= outLength<localLength ? outLength : localLength;
514 while(minLength>0) {
533 --minLength;
H A Duidna.cpp77 int32_t minLength; local
83 minLength = s1Len;
86 minLength = s2Len;
91 minLength = s1Len;
101 if(i == minLength) {
/external/guava/guava/src/com/google/common/primitives/
H A DBooleans.java203 * 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)
216 ensureCapacity( boolean[] array, int minLength, int padding) argument
[all...]
H A DBytes.java183 * 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)
196 ensureCapacity( byte[] array, int minLength, int padding) argument
[all...]
H A DChars.java321 * 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)
334 ensureCapacity( char[] array, int minLength, int padding) argument
[all...]
H A DDoubles.java260 * 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)
273 ensureCapacity( double[] array, int minLength, int padding) argument
[all...]
H A DFloats.java257 * 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)
270 ensureCapacity( float[] array, int minLength, int padding) argument
[all...]
H A DShorts.java327 * 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)
340 ensureCapacity( short[] array, int minLength, int padding) argument
[all...]
H A DInts.java330 * 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)
343 ensureCapacity( int[] array, int minLength, int padding) argument
[all...]
H A DLongs.java314 * 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)
327 ensureCapacity( long[] array, int minLength, int padding) argument
[all...]
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
H A DChars.java270 * 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)
283 ensureCapacity( char[] array, int minLength, int padding) argument
[all...]
H A DInts.java274 * 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)
287 ensureCapacity( int[] array, int minLength, int padding) argument
[all...]
H A DLongs.java247 * 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)
260 ensureCapacity( long[] array, int minLength, int padding) argument
[all...]
H A DShorts.java275 * 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)
288 ensureCapacity( short[] array, int minLength, int padding) argument
[all...]
/external/icu/icu4c/source/common/
H A Duinvchar.c452 int32_t minLength; local
467 minLength= outLength<localLength ? outLength : localLength;
469 while(minLength>0) {
486 --minLength;
497 int32_t minLength; local
512 minLength= outLength<localLength ? outLength : localLength;
514 while(minLength>0) {
533 --minLength;
H A Duidna.cpp77 int32_t minLength; local
83 minLength = s1Len;
86 minLength = s2Len;
91 minLength = s1Len;
101 if(i == minLength) {
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dcolldata.cpp631 int32_t minLength = minLengthInChars(ceList, offset, history); local
635 return minLength;
/external/icu/icu4c/source/test/intltest/
H A Dcolldata.cpp645 int32_t minLength = minLengthInChars(ceList, offset, history); local
649 return minLength;

Completed in 1213 milliseconds

12