Home
last modified time | relevance | path

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

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationCompare.java58 long rightPrimary; in compareUpToQuaternary() local
61 rightPrimary = ce >>> 32; in compareUpToQuaternary()
62 … if (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
71 rightPrimary = ce >>> 32; in compareUpToQuaternary()
72 if (rightPrimary == 0) { in compareUpToQuaternary()
78 … } while (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
80 } while (rightPrimary == 0); in compareUpToQuaternary()
82 if (leftPrimary != rightPrimary) { in compareUpToQuaternary()
86 rightPrimary = settings.reorder(rightPrimary); in compareUpToQuaternary()
88 return (leftPrimary < rightPrimary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
DCollationFastLatin.java383 int rightPrimary = rightPair & 0xffff; in compareUTF16() local
384 if(leftPrimary != rightPrimary) { in compareUTF16()
386 return (leftPrimary < rightPrimary) ? Collation.LESS : Collation.GREATER; in compareUTF16()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationCompare.java62 long rightPrimary; in compareUpToQuaternary() local
65 rightPrimary = ce >>> 32; in compareUpToQuaternary()
66 … if (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
75 rightPrimary = ce >>> 32; in compareUpToQuaternary()
76 if (rightPrimary == 0) { in compareUpToQuaternary()
82 … } while (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
84 } while (rightPrimary == 0); in compareUpToQuaternary()
86 if (leftPrimary != rightPrimary) { in compareUpToQuaternary()
90 rightPrimary = settings.reorder(rightPrimary); in compareUpToQuaternary()
92 return (leftPrimary < rightPrimary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
DCollationFastLatin.java387 int rightPrimary = rightPair & 0xffff; in compareUTF16() local
388 if(leftPrimary != rightPrimary) { in compareUTF16()
390 return (leftPrimary < rightPrimary) ? Collation.LESS : Collation.GREATER; in compareUTF16()
/external/icu/icu4c/source/i18n/
Dcollationcompare.cpp72 uint32_t rightPrimary; in compareUpToQuaternary() local
75 rightPrimary = (uint32_t)(ce >> 32); in compareUpToQuaternary()
76 if(rightPrimary < variableTop && rightPrimary > Collation::MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
85 rightPrimary = (uint32_t)(ce >> 32); in compareUpToQuaternary()
86 if(rightPrimary == 0) { in compareUpToQuaternary()
92 } while(rightPrimary < variableTop && in compareUpToQuaternary()
93 rightPrimary > Collation::MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
95 } while(rightPrimary == 0); in compareUpToQuaternary()
97 if(leftPrimary != rightPrimary) { in compareUpToQuaternary()
101 rightPrimary = settings.reorder(rightPrimary); in compareUpToQuaternary()
[all …]
Dcollationfastlatin.cpp200 uint32_t rightPrimary = rightPair & 0xffff; in compareUTF16() local
201 if(leftPrimary != rightPrimary) { in compareUTF16()
203 return (leftPrimary < rightPrimary) ? UCOL_LESS : UCOL_GREATER; in compareUTF16()
551 uint32_t rightPrimary = rightPair & 0xffff; in compareUTF8() local
552 if(leftPrimary != rightPrimary) { in compareUTF8()
554 return (leftPrimary < rightPrimary) ? UCOL_LESS : UCOL_GREATER; in compareUTF8()