Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationCompare.java260 int rightLower32, rightTertiary; in compareUpToQuaternary() local
265 rightTertiary = rightLower32 & tertiaryMask; in compareUpToQuaternary()
266 } while (rightTertiary == 0); in compareUpToQuaternary()
268 if (leftTertiary != rightTertiary) { in compareUpToQuaternary()
282 if (rightTertiary > Collation.NO_CE_WEIGHT16) { in compareUpToQuaternary()
284 rightTertiary ^= 0xc000; in compareUpToQuaternary()
286 rightTertiary += 0x4000; in compareUpToQuaternary()
290 return (leftTertiary < rightTertiary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
DCollationFastLatin.java591 int rightTertiary = rightPair & 0xffff; in compareUTF16() local
592 if(leftTertiary != rightTertiary) { in compareUTF16()
600 if(rightTertiary > MERGE_WEIGHT) { in compareUTF16()
601 rightTertiary ^= CASE_MASK; in compareUTF16()
604 return (leftTertiary < rightTertiary) ? Collation.LESS : Collation.GREATER; in compareUTF16()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationCompare.java264 int rightLower32, rightTertiary; in compareUpToQuaternary() local
269 rightTertiary = rightLower32 & tertiaryMask; in compareUpToQuaternary()
270 } while (rightTertiary == 0); in compareUpToQuaternary()
272 if (leftTertiary != rightTertiary) { in compareUpToQuaternary()
286 if (rightTertiary > Collation.NO_CE_WEIGHT16) { in compareUpToQuaternary()
288 rightTertiary ^= 0xc000; in compareUpToQuaternary()
290 rightTertiary += 0x4000; in compareUpToQuaternary()
294 return (leftTertiary < rightTertiary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
DCollationFastLatin.java595 int rightTertiary = rightPair & 0xffff; in compareUTF16() local
596 if(leftTertiary != rightTertiary) { in compareUTF16()
604 if(rightTertiary > MERGE_WEIGHT) { in compareUTF16()
605 rightTertiary ^= CASE_MASK; in compareUTF16()
608 return (leftTertiary < rightTertiary) ? Collation.LESS : Collation.GREATER; in compareUTF16()
/external/icu/icu4c/source/i18n/
Dcollationcompare.cpp267 uint32_t rightLower32, rightTertiary; in compareUpToQuaternary() local
273 rightTertiary = rightLower32 & tertiaryMask; in compareUpToQuaternary()
274 } while(rightTertiary == 0); in compareUpToQuaternary()
276 if(leftTertiary != rightTertiary) { in compareUpToQuaternary()
290 if(rightTertiary > Collation::NO_CE_WEIGHT16) { in compareUpToQuaternary()
292 rightTertiary ^= 0xc000; in compareUpToQuaternary()
294 rightTertiary += 0x4000; in compareUpToQuaternary()
298 return (leftTertiary < rightTertiary) ? UCOL_LESS : UCOL_GREATER; in compareUpToQuaternary()
Dcollationfastlatin.cpp380 uint32_t rightTertiary = rightPair & 0xffff; in compareUTF16() local
381 if(leftTertiary != rightTertiary) { in compareUTF16()
389 if(rightTertiary > MERGE_WEIGHT) { in compareUTF16()
390 rightTertiary ^= CASE_MASK; in compareUTF16()
393 return (leftTertiary < rightTertiary) ? UCOL_LESS : UCOL_GREATER; in compareUTF16()
731 uint32_t rightTertiary = rightPair & 0xffff; in compareUTF8() local
732 if(leftTertiary != rightTertiary) { in compareUTF8()
740 if(rightTertiary > MERGE_WEIGHT) { in compareUTF8()
741 rightTertiary ^= CASE_MASK; in compareUTF8()
744 return (leftTertiary < rightTertiary) ? UCOL_LESS : UCOL_GREATER; in compareUTF8()