Home
last modified time | relevance | path

Searched refs:variableTop (Results 1 – 25 of 40) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationFastLatin.java296 int variableTop = options >> 16; // see getOptions() in compareUTF16() local
330 } else if(leftPair > variableTop) { in compareUTF16()
341 leftPair = getPrimaries(variableTop, leftPair); in compareUTF16()
366 } else if(rightPair > variableTop) { in compareUTF16()
377 rightPair = getPrimaries(variableTop, rightPair); in compareUTF16()
422 } else if(leftPair > variableTop) { in compareUTF16()
431 leftPair = getSecondaries(variableTop, (int)pairAndInc); in compareUTF16()
451 } else if(rightPair > variableTop) { in compareUTF16()
460 rightPair = getSecondaries(variableTop, (int)pairAndInc); in compareUTF16()
505 leftPair = getCases(variableTop, strengthIsPrimary, leftPair); in compareUTF16()
[all …]
DCollationCompare.java26 long variableTop; in compareUpToQuaternary() local
28 variableTop = 0; in compareUpToQuaternary()
31 variableTop = settings.variableTop + 1; in compareUpToQuaternary()
42 if (leftPrimary < variableTop && leftPrimary > Collation.MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
58 … } while (leftPrimary < variableTop && leftPrimary > Collation.MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
66 … if (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
82 … } while (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
DCollationKeys.java356 long variableTop; in writeSortKeyUpToQuaternary() local
358 variableTop = 0; in writeSortKeyUpToQuaternary()
361 variableTop = settings.variableTop + 1; in writeSortKeyUpToQuaternary()
386 if (p < variableTop && p > Collation.MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
415 } while (p < variableTop && p > Collation.MERGE_SEPARATOR_PRIMARY); in writeSortKeyUpToQuaternary()
DCollationSettings.java112 if((options & ALTERNATE_MASK) != 0 && variableTop != o.variableTop) { return false; } in equals()
120 if((options & ALTERNATE_MASK) != 0) { h ^= variableTop; } in hashCode()
444 public long variableTop; field in CollationSettings
DCollationDataReader.java468 if(options == ts.options && ts.variableTop != 0 && in read()
479 settings.variableTop = tailoring.data.getLastPrimaryForGroup( in read()
481 if(settings.variableTop == 0) { in read()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatin.java292 int variableTop = options >> 16; // see getOptions() in compareUTF16() local
326 } else if(leftPair > variableTop) { in compareUTF16()
337 leftPair = getPrimaries(variableTop, leftPair); in compareUTF16()
362 } else if(rightPair > variableTop) { in compareUTF16()
373 rightPair = getPrimaries(variableTop, rightPair); in compareUTF16()
418 } else if(leftPair > variableTop) { in compareUTF16()
427 leftPair = getSecondaries(variableTop, (int)pairAndInc); in compareUTF16()
447 } else if(rightPair > variableTop) { in compareUTF16()
456 rightPair = getSecondaries(variableTop, (int)pairAndInc); in compareUTF16()
501 leftPair = getCases(variableTop, strengthIsPrimary, leftPair); in compareUTF16()
[all …]
DCollationCompare.java22 long variableTop; in compareUpToQuaternary() local
24 variableTop = 0; in compareUpToQuaternary()
27 variableTop = settings.variableTop + 1; in compareUpToQuaternary()
38 if (leftPrimary < variableTop && leftPrimary > Collation.MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
54 … } while (leftPrimary < variableTop && leftPrimary > Collation.MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
62 … if (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
78 … } while (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
DCollationKeys.java346 long variableTop; in writeSortKeyUpToQuaternary() local
348 variableTop = 0; in writeSortKeyUpToQuaternary()
351 variableTop = settings.variableTop + 1; in writeSortKeyUpToQuaternary()
376 if (p < variableTop && p > Collation.MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
405 } while (p < variableTop && p > Collation.MERGE_SEPARATOR_PRIMARY); in writeSortKeyUpToQuaternary()
DCollationSettings.java110 if((options & ALTERNATE_MASK) != 0 && variableTop != o.variableTop) { return false; } in equals()
118 if((options & ALTERNATE_MASK) != 0) { h ^= variableTop; } in hashCode()
442 public long variableTop; field in CollationSettings
DCollationDataReader.java467 if(options == ts.options && ts.variableTop != 0 && in read()
478 settings.variableTop = tailoring.data.getLastPrimaryForGroup( in read()
480 if(settings.variableTop == 0) { in read()
/external/icu/icu4c/source/i18n/
Dcollationfastlatin.cpp119 uint32_t variableTop = (uint32_t)options >> 16; // see getOptions() in compareUTF16() local
153 } else if(leftPair > variableTop) { in compareUTF16()
159 leftPair = getPrimaries(variableTop, leftPair); in compareUTF16()
184 } else if(rightPair > variableTop) { in compareUTF16()
190 rightPair = getPrimaries(variableTop, rightPair); in compareUTF16()
235 } else if(leftPair > variableTop) { in compareUTF16()
240 leftPair = getSecondaries(variableTop, leftPair); in compareUTF16()
260 } else if(rightPair > variableTop) { in compareUTF16()
265 rightPair = getSecondaries(variableTop, rightPair); in compareUTF16()
305 leftPair = getCases(variableTop, strengthIsPrimary, leftPair); in compareUTF16()
[all …]
Dcollationcompare.cpp35 uint32_t variableTop; in compareUpToQuaternary() local
37 variableTop = 0; in compareUpToQuaternary()
40 variableTop = settings.variableTop + 1; in compareUpToQuaternary()
51 if(leftPrimary < variableTop && leftPrimary > Collation::MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
67 } while(leftPrimary < variableTop && in compareUpToQuaternary()
76 if(rightPrimary < variableTop && rightPrimary > Collation::MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
92 } while(rightPrimary < variableTop && in compareUpToQuaternary()
Dcollationfastlatin.h231 static inline uint32_t getPrimaries(uint32_t variableTop, uint32_t pair) { in getPrimaries() argument
234 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; } in getPrimaries()
246 static uint32_t getSecondaries(uint32_t variableTop, uint32_t pair);
247 static uint32_t getCases(uint32_t variableTop, UBool strengthIsPrimary, uint32_t pair);
248 static uint32_t getTertiaries(uint32_t variableTop, UBool withCaseBits, uint32_t pair);
249 static uint32_t getQuaternaries(uint32_t variableTop, uint32_t pair);
Dcollationsettings.cpp32 options(other.options), variableTop(other.variableTop), in CollationSettings()
54 if((options & ALTERNATE_MASK) != 0 && variableTop != other.variableTop) { return FALSE; } in operator ==()
65 if((options & ALTERNATE_MASK) != 0) { h ^= variableTop; } in hashCode()
Dcollationkeys.cpp244 uint32_t variableTop; in writeSortKeyUpToQuaternary() local
246 variableTop = 0; in writeSortKeyUpToQuaternary()
249 variableTop = settings.variableTop + 1; in writeSortKeyUpToQuaternary()
273 if(p < variableTop && p > Collation::MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
302 } while(p < variableTop && p > Collation::MERGE_SEPARATOR_PRIMARY); in writeSortKeyUpToQuaternary()
Dusrchimp.h86 uint32_t variableTop; variable
183 uint32_t variableTop; member
Dcollationsettings.h108 variableTop(0), in CollationSettings()
217 uint32_t variableTop; member
Dalphaindex.cpp396 const RuleBasedCollator &coll, uint32_t variableTop, in hasMultiplePrimaryWeights() argument
405 if (p > variableTop) { in hasMultiplePrimaryWeights()
427 uint32_t variableTop; in createBucketList() local
429 variableTop = collatorPrimaryOnly_->getVariableTop(errorCode); in createBucketList()
431 variableTop = 0; in createBucketList()
509 hasMultiplePrimaryWeights(*collatorPrimaryOnly_, variableTop, current, in createBucketList()
521 !hasMultiplePrimaryWeights(*collatorPrimaryOnly_, variableTop, in createBucketList()
Dcollationdatareader.cpp420 if(options == ts.options && ts.variableTop != 0 && in read()
438 settings->variableTop = tailoring.data->getLastPrimaryForGroup( in read()
440 if(settings->variableTop == 0) { in read()
/external/icu/libicu/cts_headers/
Dcollationfastlatin.h231 static inline uint32_t getPrimaries(uint32_t variableTop, uint32_t pair) { in getPrimaries() argument
234 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; } in getPrimaries()
246 static uint32_t getSecondaries(uint32_t variableTop, uint32_t pair);
247 static uint32_t getCases(uint32_t variableTop, UBool strengthIsPrimary, uint32_t pair);
248 static uint32_t getTertiaries(uint32_t variableTop, UBool withCaseBits, uint32_t pair);
249 static uint32_t getQuaternaries(uint32_t variableTop, uint32_t pair);
Dusrchimp.h86 uint32_t variableTop; variable
183 uint32_t variableTop; member
Dcollationsettings.h108 variableTop(0), in CollationSettings()
217 uint32_t variableTop; member
/external/cldr/tools/java/org/unicode/cldr/util/
DReferenceStringSearch.java378 private int variableTop; field in ReferenceStringSearch.CollationElementIterator2
408variableTop = !collator.isAlternateHandlingShifted() ? -1 : collator.getVariableTop() | 0xFFFF; in CollationElementIterator2()
448 if (collationElement < variableTop && collationElement > 0xFFFF) { in nextProcessed()
473 if (collationElement < variableTop && collationElement > 0xFFFF) { in previousProcessed()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DAlphabeticIndex.java1010 long variableTop; in createBucketList() local
1012 variableTop = collatorPrimaryOnly.getVariableTop() & 0xffffffffL; in createBucketList()
1014 variableTop = 0; in createBucketList()
1067 hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, current) && in createBucketList()
1078 … !hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, singleBucket.lowerBoundary)) { in createBucketList()
1199 RuleBasedCollator coll, long variableTop, String s) { in hasMultiplePrimaryWeights() argument
1205 if (p > variableTop) { in hasMultiplePrimaryWeights()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DAlphabeticIndex.java964 long variableTop; in createBucketList() local
966 variableTop = collatorPrimaryOnly.getVariableTop() & 0xffffffffL; in createBucketList()
968 variableTop = 0; in createBucketList()
1021 hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, current) && in createBucketList()
1032 … !hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, singleBucket.lowerBoundary)) { in createBucketList()
1153 RuleBasedCollator coll, long variableTop, String s) { in hasMultiplePrimaryWeights() argument
1159 if (p > variableTop) { in hasMultiplePrimaryWeights()

12