Home
last modified time | relevance | path

Searched refs:rightCase (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationCompare.java180 int leftCase, leftLower32, rightCase; in compareUpToQuaternary() local
197 rightCase = (int) ce; in compareUpToQuaternary()
198 } while ((ce >>> 32) == 0 || rightCase == 0); in compareUpToQuaternary()
199 rightCase &= 0xc000; in compareUpToQuaternary()
222 rightCase = (int) right.getCE(rightIndex++); in compareUpToQuaternary()
223 } while ((rightCase & 0xffff0000) == 0); in compareUpToQuaternary()
224 rightCase &= 0xc000; in compareUpToQuaternary()
230 if (leftCase != rightCase) { in compareUpToQuaternary()
232 return (leftCase < rightCase) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
234 return (leftCase < rightCase) ? Collation.GREATER : Collation.LESS; in compareUpToQuaternary()
DCollationFastLatin.java528 int rightCase = rightPair & 0xffff; in compareUTF16() local
529 if(leftCase != rightCase) { in compareUTF16()
531 return (leftCase < rightCase) ? Collation.LESS : Collation.GREATER; in compareUTF16()
533 return (leftCase < rightCase) ? Collation.GREATER : Collation.LESS; in compareUTF16()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationCompare.java184 int leftCase, leftLower32, rightCase; in compareUpToQuaternary() local
201 rightCase = (int) ce; in compareUpToQuaternary()
202 } while ((ce >>> 32) == 0 || rightCase == 0); in compareUpToQuaternary()
203 rightCase &= 0xc000; in compareUpToQuaternary()
226 rightCase = (int) right.getCE(rightIndex++); in compareUpToQuaternary()
227 } while ((rightCase & 0xffff0000) == 0); in compareUpToQuaternary()
228 rightCase &= 0xc000; in compareUpToQuaternary()
234 if (leftCase != rightCase) { in compareUpToQuaternary()
236 return (leftCase < rightCase) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
238 return (leftCase < rightCase) ? Collation.GREATER : Collation.LESS; in compareUpToQuaternary()
DCollationFastLatin.java532 int rightCase = rightPair & 0xffff; in compareUTF16() local
533 if(leftCase != rightCase) { in compareUTF16()
535 return (leftCase < rightCase) ? Collation.LESS : Collation.GREATER; in compareUTF16()
537 return (leftCase < rightCase) ? Collation.GREATER : Collation.LESS; in compareUTF16()
/external/icu/icu4c/source/i18n/
Dcollationcompare.cpp190 uint32_t leftCase, leftLower32, rightCase; in compareUpToQuaternary() local
207 rightCase = (uint32_t)ce; in compareUpToQuaternary()
208 } while((uint32_t)(ce >> 32) == 0 || rightCase == 0); in compareUpToQuaternary()
209 rightCase &= 0xc000; in compareUpToQuaternary()
232 rightCase = (uint32_t)right.getCE(rightIndex++); in compareUpToQuaternary()
233 } while(rightCase <= 0xffff); in compareUpToQuaternary()
234 rightCase &= 0xc000; in compareUpToQuaternary()
240 if(leftCase != rightCase) { in compareUpToQuaternary()
242 return (leftCase < rightCase) ? UCOL_LESS : UCOL_GREATER; in compareUpToQuaternary()
244 return (leftCase < rightCase) ? UCOL_GREATER : UCOL_LESS; in compareUpToQuaternary()
Dcollationfastlatin.cpp327 uint32_t rightCase = rightPair & 0xffff; in compareUTF16() local
328 if(leftCase != rightCase) { in compareUTF16()
330 return (leftCase < rightCase) ? UCOL_LESS : UCOL_GREATER; in compareUTF16()
332 return (leftCase < rightCase) ? UCOL_GREATER : UCOL_LESS; in compareUTF16()
678 uint32_t rightCase = rightPair & 0xffff; in compareUTF8() local
679 if(leftCase != rightCase) { in compareUTF8()
681 return (leftCase < rightCase) ? UCOL_LESS : UCOL_GREATER; in compareUTF8()
683 return (leftCase < rightCase) ? UCOL_GREATER : UCOL_LESS; in compareUTF8()