Home
last modified time | relevance | path

Searched refs:minLength (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium_org/third_party/icu/source/i18n/
Dsortkey.cpp210 int minLength; in compareTo() local
216 minLength = this->fCount; in compareTo()
220 minLength = target.fCount; in compareTo()
225 minLength = target.fCount; in compareTo()
229 if (minLength > 0) { in compareTo()
230 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
267 int minLength; in compareTo() local
273 minLength = this->fCount; in compareTo()
277 minLength = target.fCount; in compareTo()
282 minLength = target.fCount; in compareTo()
[all …]
Ducol_wgt.cpp314 int32_t i, rangeCount, minLength/*, maxLength*/; in ucol_allocWeights() local
362 minLength=ranges[0].length2; in ucol_allocWeights()
371 if(n<=(lengthCounts[minLength]+lengthCounts[minLength+1])) { in ucol_allocWeights()
390 power_1=powers[minLength-ranges[0].length]; in ucol_allocWeights()
412 ranges[1].length2=minLength; in ucol_allocWeights()
432 ((byte>>(8*i))&(byte<<(8*(4-minLength)))); in ucol_allocWeights()
435 ranges[1].start=incWeight(ranges[0].end, minLength, maxByte); in ucol_allocWeights()
452 … printf("lengthen the short ranges from %ld bytes to %ld and iterate\n", minLength, minLength+1); in ucol_allocWeights()
454 for(i=0; ranges[i].length2==minLength; ++i) { in ucol_allocWeights()
/external/guava/guava/src/com/google/common/base/
DStrings.java98 public static String padStart(String string, int minLength, char padChar) { in padStart() argument
100 if (string.length() >= minLength) { in padStart()
103 StringBuilder sb = new StringBuilder(minLength); in padStart()
104 for (int i = string.length(); i < minLength; i++) { in padStart()
130 public static String padEnd(String string, int minLength, char padChar) { in padEnd() argument
132 if (string.length() >= minLength) { in padEnd()
135 StringBuilder sb = new StringBuilder(minLength); in padEnd()
137 for (int i = string.length(); i < minLength; i++) { in padEnd()
/external/icu4c/i18n/
Dsortkey.cpp193 int32_t minLength = getLength(); in compareTo() local
195 if (minLength < targetLength) { in compareTo()
197 } else if (minLength == targetLength) { in compareTo()
200 minLength = targetLength; in compareTo()
204 if (minLength > 0) { in compareTo()
205 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
Ducol_wgt.cpp327 int32_t i, rangeCount, minLength/*, maxLength*/; in ucol_allocWeights() local
375 minLength=ranges[0].length2; in ucol_allocWeights()
384 if(n<=(lengthCounts[minLength]+lengthCounts[minLength+1])) { in ucol_allocWeights()
403 power_1=powers[minLength-ranges[0].length]; in ucol_allocWeights()
425 ranges[1].length2=minLength; in ucol_allocWeights()
445 ((byte>>(8*i))&(byte<<(8*(4-minLength)))); in ucol_allocWeights()
448 ranges[1].start=incWeight(ranges[0].end, minLength, maxByte); in ucol_allocWeights()
465 … printf("lengthen the short ranges from %ld bytes to %ld and iterate\n", minLength, minLength+1); in ucol_allocWeights()
467 for(i=0; ranges[i].length2==minLength; ++i) { in ucol_allocWeights()
/external/chromium_org/third_party/icu/source/common/
Duinvchar.c429 int32_t minLength; in uprv_compareInvAscii() local
444 minLength= outLength<localLength ? outLength : localLength; in uprv_compareInvAscii()
446 while(minLength>0) { in uprv_compareInvAscii()
463 --minLength; in uprv_compareInvAscii()
474 int32_t minLength; in uprv_compareInvEbcdic() local
489 minLength= outLength<localLength ? outLength : localLength; in uprv_compareInvEbcdic()
491 while(minLength>0) { in uprv_compareInvEbcdic()
510 --minLength; in uprv_compareInvEbcdic()
Ducnv_ext.c950 int32_t minLength, in ucnv_extGetUnicodeSetString() argument
970 UCNV_EXT_FROM_U_GET_LENGTH(value)>=minLength in ucnv_extGetUnicodeSetString()
990 sharedData, cx, sa, useFallback, minLength, in ucnv_extGetUnicodeSetString()
998 UCNV_EXT_FROM_U_GET_LENGTH(value)>=minLength in ucnv_extGetUnicodeSetString()
1016 int32_t st1, stage1Length, st2, st3, minLength; in ucnv_extGetUnicodeSet() local
1040 minLength=3; in ucnv_extGetUnicodeSet()
1045 minLength=2; in ucnv_extGetUnicodeSet()
1047 minLength=1; in ucnv_extGetUnicodeSet()
1077 sharedData, cx, sa, useFallback, minLength, in ucnv_extGetUnicodeSet()
1085 UCNV_EXT_FROM_U_GET_LENGTH(value)>=minLength in ucnv_extGetUnicodeSet()
Dunistr.cpp595 int32_t minLength; in doCompare() local
606 minLength = length; in doCompare()
609 minLength = srcLength; in doCompare()
613 minLength = length; in doCompare()
625 if(minLength > 0 && chars != srcChars) { in doCompare()
630 result = uprv_memcmp(chars, srcChars, minLength * sizeof(UChar)); in doCompare()
641 } while(--minLength > 0); in doCompare()
1582 int32_t minLength = length(); in cloneArrayIfNeeded() local
1584 if(newCapacity < minLength) { in cloneArrayIfNeeded()
1585 minLength = newCapacity; in cloneArrayIfNeeded()
[all …]
/external/icu4c/common/
Duinvchar.c452 int32_t minLength; in uprv_compareInvAscii() local
467 minLength= outLength<localLength ? outLength : localLength; in uprv_compareInvAscii()
469 while(minLength>0) { in uprv_compareInvAscii()
486 --minLength; in uprv_compareInvAscii()
497 int32_t minLength; in uprv_compareInvEbcdic() local
512 minLength= outLength<localLength ? outLength : localLength; in uprv_compareInvEbcdic()
514 while(minLength>0) { in uprv_compareInvEbcdic()
533 --minLength; in uprv_compareInvEbcdic()
Ducnv_ext.cpp947 extSetUseMapping(UConverterUnicodeSet which, int32_t minLength, uint32_t value) { in extSetUseMapping() argument
968 return UCNV_EXT_FROM_U_GET_LENGTH(value)>=minLength; in extSetUseMapping()
976 int32_t minLength, in ucnv_extGetUnicodeSetString() argument
994 if(extSetUseMapping(which, minLength, value)) { in ucnv_extGetUnicodeSetString()
1013 sharedData, cx, sa, which, minLength, in ucnv_extGetUnicodeSetString()
1017 } else if(extSetUseMapping(which, minLength, value)) { in ucnv_extGetUnicodeSetString()
1034 int32_t st1, stage1Length, st2, st3, minLength; in ucnv_extGetUnicodeSet() local
1055 minLength=3; in ucnv_extGetUnicodeSet()
1060 minLength=2; in ucnv_extGetUnicodeSet()
1062 minLength=1; in ucnv_extGetUnicodeSet()
[all …]
/external/guava/guava/src/com/google/common/primitives/
DBooleans.java217 boolean[] array, int minLength, int padding) { in ensureCapacity() argument
218 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
220 return (array.length < minLength) in ensureCapacity()
221 ? copyOf(array, minLength + padding) in ensureCapacity()
281 int minLength = Math.min(left.length, right.length); in compare() local
282 for (int i = 0; i < minLength; i++) { in compare()
DFloats.java271 float[] array, int minLength, int padding) { in ensureCapacity() argument
272 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
274 return (array.length < minLength) in ensureCapacity()
275 ? copyOf(array, minLength + padding) in ensureCapacity()
340 int minLength = Math.min(left.length, right.length); in compare() local
341 for (int i = 0; i < minLength; i++) { in compare()
DDoubles.java274 double[] array, int minLength, int padding) { in ensureCapacity() argument
275 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
277 return (array.length < minLength) in ensureCapacity()
278 ? copyOf(array, minLength + padding) in ensureCapacity()
343 int minLength = Math.min(left.length, right.length); in compare() local
344 for (int i = 0; i < minLength; i++) { in compare()
DInts.java344 int[] array, int minLength, int padding) { in ensureCapacity() argument
345 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
347 return (array.length < minLength) in ensureCapacity()
348 ? copyOf(array, minLength + padding) in ensureCapacity()
407 int minLength = Math.min(left.length, right.length); in compare() local
408 for (int i = 0; i < minLength; i++) { in compare()
DShorts.java341 short[] array, int minLength, int padding) { in ensureCapacity() argument
342 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
344 return (array.length < minLength) in ensureCapacity()
345 ? copyOf(array, minLength + padding) in ensureCapacity()
405 int minLength = Math.min(left.length, right.length); in compare() local
406 for (int i = 0; i < minLength; i++) { in compare()
DChars.java335 char[] array, int minLength, int padding) { in ensureCapacity() argument
336 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
338 return (array.length < minLength) in ensureCapacity()
339 ? copyOf(array, minLength + padding) in ensureCapacity()
400 int minLength = Math.min(left.length, right.length); in compare() local
401 for (int i = 0; i < minLength; i++) { in compare()
DLongs.java328 long[] array, int minLength, int padding) { in ensureCapacity() argument
329 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
331 return (array.length < minLength) in ensureCapacity()
332 ? copyOf(array, minLength + padding) in ensureCapacity()
392 int minLength = Math.min(left.length, right.length); in compare() local
393 for (int i = 0; i < minLength; i++) { in compare()
DBytes.java197 byte[] array, int minLength, int padding) { in ensureCapacity() argument
198 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
200 return (array.length < minLength) in ensureCapacity()
201 ? copyOf(array, minLength + padding) in ensureCapacity()
DSignedBytes.java180 int minLength = Math.min(left.length, right.length); in compare() local
181 for (int i = 0; i < minLength; i++) { in compare()
DUnsignedBytes.java338 int minLength = Math.min(left.length, right.length); in compare() local
339 for (int i = 0; i < minLength; i++) { in compare()
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
DInts.java288 int[] array, int minLength, int padding) { in ensureCapacity() argument
289 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
291 return (array.length < minLength) in ensureCapacity()
292 ? copyOf(array, minLength + padding) in ensureCapacity()
351 int minLength = Math.min(left.length, right.length); in compare() local
352 for (int i = 0; i < minLength; i++) { in compare()
DShorts.java289 short[] array, int minLength, int padding) { in ensureCapacity() argument
290 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
292 return (array.length < minLength) in ensureCapacity()
293 ? copyOf(array, minLength + padding) in ensureCapacity()
353 int minLength = Math.min(left.length, right.length); in compare() local
354 for (int i = 0; i < minLength; i++) { in compare()
DLongs.java261 long[] array, int minLength, int padding) { in ensureCapacity() argument
262 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
264 return (array.length < minLength) in ensureCapacity()
265 ? copyOf(array, minLength + padding) in ensureCapacity()
325 int minLength = Math.min(left.length, right.length); in compare() local
326 for (int i = 0; i < minLength; i++) { in compare()
DChars.java284 char[] array, int minLength, int padding) { in ensureCapacity() argument
285 checkArgument(minLength >= 0, "Invalid minLength: %s", minLength); in ensureCapacity()
287 return (array.length < minLength) in ensureCapacity()
288 ? copyOf(array, minLength + padding) in ensureCapacity()
349 int minLength = Math.min(left.length, right.length); in compare() local
350 for (int i = 0; i < minLength; i++) { in compare()
/external/chromium-trace/trace-viewer/src/base/
Diteration_helpers.js16 var minLength = Math.min(x.length, y.length);
17 for (var i = 0; i < minLength; i++) {

12