Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationCompare.java103 int leftSecondary; in compareUpToQuaternary() local
105 leftSecondary = ((int) left.getCE(leftIndex++)) >>> 16; in compareUpToQuaternary()
106 } while (leftSecondary == 0); in compareUpToQuaternary()
113 if (leftSecondary != rightSecondary) { in compareUpToQuaternary()
114 … return (leftSecondary < rightSecondary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
116 if (leftSecondary == Collation.NO_CE_WEIGHT16) { in compareUpToQuaternary()
143 int leftSecondary = 0; in compareUpToQuaternary() local
144 while (leftSecondary == 0 && leftIndex > leftStart) { in compareUpToQuaternary()
145 leftSecondary = ((int) left.getCE(--leftIndex)) >>> 16; in compareUpToQuaternary()
153 if (leftSecondary != rightSecondary) { in compareUpToQuaternary()
[all …]
DCollationFastLatin.java465 int leftSecondary = leftPair & 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.java107 int leftSecondary; in compareUpToQuaternary() local
109 leftSecondary = ((int) left.getCE(leftIndex++)) >>> 16; in compareUpToQuaternary()
110 } while (leftSecondary == 0); in compareUpToQuaternary()
117 if (leftSecondary != rightSecondary) { in compareUpToQuaternary()
118 … return (leftSecondary < rightSecondary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
120 if (leftSecondary == Collation.NO_CE_WEIGHT16) { in compareUpToQuaternary()
147 int leftSecondary = 0; in compareUpToQuaternary() local
148 while (leftSecondary == 0 && leftIndex > leftStart) { in compareUpToQuaternary()
149 leftSecondary = ((int) left.getCE(--leftIndex)) >>> 16; in compareUpToQuaternary()
157 if (leftSecondary != rightSecondary) { in compareUpToQuaternary()
[all …]
DCollationFastLatin.java469 int leftSecondary = leftPair & 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.cpp117 uint32_t leftSecondary; in compareUpToQuaternary() local
119 leftSecondary = ((uint32_t)left.getCE(leftIndex++)) >> 16; in compareUpToQuaternary()
120 } while(leftSecondary == 0); in compareUpToQuaternary()
127 if(leftSecondary != rightSecondary) { in compareUpToQuaternary()
128 return (leftSecondary < rightSecondary) ? UCOL_LESS : UCOL_GREATER; in compareUpToQuaternary()
130 if(leftSecondary == Collation::NO_CE_WEIGHT16) { break; } in compareUpToQuaternary()
157 int32_t leftSecondary = 0; in compareUpToQuaternary() local
158 while(leftSecondary == 0 && leftIndex > leftStart) { in compareUpToQuaternary()
159 leftSecondary = ((uint32_t)left.getCE(--leftIndex)) >> 16; in compareUpToQuaternary()
167 if(leftSecondary != rightSecondary) { in compareUpToQuaternary()
[all …]
Dcollationfastlatin.cpp274 uint32_t leftSecondary = leftPair & 0xffff; in compareUTF16() local
276 if(leftSecondary != rightSecondary) { in compareUTF16()
282 return (leftSecondary < rightSecondary) ? UCOL_LESS : UCOL_GREATER; in compareUTF16()
625 uint32_t leftSecondary = leftPair & 0xffff; in compareUTF8() local
627 if(leftSecondary != rightSecondary) { in compareUTF8()
633 return (leftSecondary < rightSecondary) ? UCOL_LESS : UCOL_GREATER; in compareUTF8()