Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationCompare.java184 int leftCase, leftLower32, rightCase; in compareUpToQuaternary() local
194 leftCase = (int) ce; in compareUpToQuaternary()
195 } while ((ce >>> 32) == 0 || leftCase == 0); in compareUpToQuaternary()
196 leftLower32 = leftCase; in compareUpToQuaternary()
197 leftCase &= 0xc000; in compareUpToQuaternary()
220 leftCase = (int) left.getCE(leftIndex++); in compareUpToQuaternary()
221 } while ((leftCase & 0xffff0000) == 0); in compareUpToQuaternary()
222 leftLower32 = leftCase; in compareUpToQuaternary()
223 leftCase &= 0xc000; in compareUpToQuaternary()
234 if (leftCase != rightCase) { in compareUpToQuaternary()
[all …]
DCollationFastLatin.java531 int leftCase = leftPair & 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/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationCompare.java180 int leftCase, leftLower32, rightCase; in compareUpToQuaternary() local
190 leftCase = (int) ce; in compareUpToQuaternary()
191 } while ((ce >>> 32) == 0 || leftCase == 0); in compareUpToQuaternary()
192 leftLower32 = leftCase; in compareUpToQuaternary()
193 leftCase &= 0xc000; in compareUpToQuaternary()
216 leftCase = (int) left.getCE(leftIndex++); in compareUpToQuaternary()
217 } while ((leftCase & 0xffff0000) == 0); in compareUpToQuaternary()
218 leftLower32 = leftCase; in compareUpToQuaternary()
219 leftCase &= 0xc000; in compareUpToQuaternary()
230 if (leftCase != rightCase) { in compareUpToQuaternary()
[all …]
DCollationFastLatin.java527 int leftCase = leftPair & 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/icu4c/source/i18n/
Dcollationcompare.cpp190 uint32_t leftCase, leftLower32, rightCase; in compareUpToQuaternary() local
200 leftCase = (uint32_t)ce; in compareUpToQuaternary()
201 } while((uint32_t)(ce >> 32) == 0 || leftCase == 0); in compareUpToQuaternary()
202 leftLower32 = leftCase; in compareUpToQuaternary()
203 leftCase &= 0xc000; in compareUpToQuaternary()
226 leftCase = (uint32_t)left.getCE(leftIndex++); in compareUpToQuaternary()
227 } while(leftCase <= 0xffff); in compareUpToQuaternary()
228 leftLower32 = leftCase; in compareUpToQuaternary()
229 leftCase &= 0xc000; in compareUpToQuaternary()
240 if(leftCase != rightCase) { in compareUpToQuaternary()
[all …]
Dcollationfastlatin.cpp326 uint32_t leftCase = leftPair & 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()
677 uint32_t leftCase = leftPair & 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()