Home
last modified time | relevance | path

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

12

/external/icu4c/i18n/
Dsortkey.cpp214 int minLength; in compareTo() local
220 minLength = this->fCount; in compareTo()
224 minLength = target.fCount; in compareTo()
229 minLength = target.fCount; in compareTo()
233 if (minLength > 0) { in compareTo()
234 int diff = uprv_memcmp(src, tgt, minLength); in compareTo()
271 int minLength; in compareTo() local
277 minLength = this->fCount; in compareTo()
281 minLength = target.fCount; in compareTo()
286 minLength = target.fCount; in compareTo()
[all …]
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/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/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.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()
/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()
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()
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()
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()
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()
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()
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/
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()
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()
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/webkit/LayoutTests/dom/html/level2/events/
Dselfhtml.js108 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/
Dselfhtml.js108 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/
Dselfhtml.js108 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/level1/core/
Dselfhtml.js108 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/level2/html/
Dselfxhtml.js107 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++) {
/external/webkit/LayoutTests/dom/xhtml/level2/core/
Dselfxhtml.js107 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++) {
/external/webkit/LayoutTests/dom/xhtml/level3/core/
Dselfxhtml.js107 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++) {
/external/webkit/LayoutTests/dom/xhtml/level2/events/
Dselfxhtml.js107 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++) {

12