Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationCompare.java108 int rightSecondary; in compareUpToQuaternary() local
110 rightSecondary = ((int) right.getCE(rightIndex++)) >>> 16; in compareUpToQuaternary()
111 } while (rightSecondary == 0); in compareUpToQuaternary()
113 if (leftSecondary != rightSecondary) { in compareUpToQuaternary()
114 … return (leftSecondary < rightSecondary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
148 int rightSecondary = 0; in compareUpToQuaternary() local
149 while (rightSecondary == 0 && rightIndex > rightStart) { in compareUpToQuaternary()
150 rightSecondary = ((int) right.getCE(--rightIndex)) >>> 16; in compareUpToQuaternary()
153 if (leftSecondary != rightSecondary) { in compareUpToQuaternary()
154 … return (leftSecondary < rightSecondary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
DCollationFastLatin.java466 int rightSecondary = rightPair & 0xffff; in compareUTF16() local
467 if(leftSecondary != rightSecondary) { in compareUTF16()
473 return (leftSecondary < rightSecondary) ? Collation.LESS : Collation.GREATER; in compareUTF16()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationCompare.java112 int rightSecondary; in compareUpToQuaternary() local
114 rightSecondary = ((int) right.getCE(rightIndex++)) >>> 16; in compareUpToQuaternary()
115 } while (rightSecondary == 0); in compareUpToQuaternary()
117 if (leftSecondary != rightSecondary) { in compareUpToQuaternary()
118 … return (leftSecondary < rightSecondary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
152 int rightSecondary = 0; in compareUpToQuaternary() local
153 while (rightSecondary == 0 && rightIndex > rightStart) { in compareUpToQuaternary()
154 rightSecondary = ((int) right.getCE(--rightIndex)) >>> 16; in compareUpToQuaternary()
157 if (leftSecondary != rightSecondary) { in compareUpToQuaternary()
158 … return (leftSecondary < rightSecondary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
DCollationFastLatin.java470 int rightSecondary = rightPair & 0xffff; in compareUTF16() local
471 if(leftSecondary != rightSecondary) { in compareUTF16()
477 return (leftSecondary < rightSecondary) ? Collation.LESS : Collation.GREATER; in compareUTF16()
/external/icu/icu4c/source/i18n/
Dcollationcompare.cpp122 uint32_t rightSecondary; in compareUpToQuaternary() local
124 rightSecondary = ((uint32_t)right.getCE(rightIndex++)) >> 16; in compareUpToQuaternary()
125 } while(rightSecondary == 0); in compareUpToQuaternary()
127 if(leftSecondary != rightSecondary) { in compareUpToQuaternary()
128 return (leftSecondary < rightSecondary) ? UCOL_LESS : UCOL_GREATER; in compareUpToQuaternary()
162 int32_t rightSecondary = 0; in compareUpToQuaternary() local
163 while(rightSecondary == 0 && rightIndex > rightStart) { in compareUpToQuaternary()
164 rightSecondary = ((uint32_t)right.getCE(--rightIndex)) >> 16; in compareUpToQuaternary()
167 if(leftSecondary != rightSecondary) { in compareUpToQuaternary()
168 return (leftSecondary < rightSecondary) ? UCOL_LESS : UCOL_GREATER; in compareUpToQuaternary()
Dcollationfastlatin.cpp275 uint32_t rightSecondary = rightPair & 0xffff; in compareUTF16() local
276 if(leftSecondary != rightSecondary) { in compareUTF16()
282 return (leftSecondary < rightSecondary) ? UCOL_LESS : UCOL_GREATER; in compareUTF16()
626 uint32_t rightSecondary = rightPair & 0xffff; in compareUTF8() local
627 if(leftSecondary != rightSecondary) { in compareUTF8()
633 return (leftSecondary < rightSecondary) ? UCOL_LESS : UCOL_GREATER; in compareUTF8()