Home
last modified time | relevance | path

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

1234

/external/icu/icu4c/source/i18n/
Dcollationfastlatin.cpp117 uint32_t variableTop = (uint32_t)options >> 16; // see getOptions() in compareUTF16() local
151 } else if(leftPair > variableTop) { in compareUTF16()
157 leftPair = getPrimaries(variableTop, leftPair); in compareUTF16()
182 } else if(rightPair > variableTop) { in compareUTF16()
188 rightPair = getPrimaries(variableTop, rightPair); in compareUTF16()
233 } else if(leftPair > variableTop) { in compareUTF16()
238 leftPair = getSecondaries(variableTop, leftPair); in compareUTF16()
258 } else if(rightPair > variableTop) { in compareUTF16()
263 rightPair = getSecondaries(variableTop, rightPair); in compareUTF16()
303 leftPair = getCases(variableTop, strengthIsPrimary, leftPair); in compareUTF16()
[all …]
Dcollationcompare.cpp33 uint32_t variableTop; in compareUpToQuaternary() local
35 variableTop = 0; in compareUpToQuaternary()
38 variableTop = settings.variableTop + 1; in compareUpToQuaternary()
49 if(leftPrimary < variableTop && leftPrimary > Collation::MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
65 } while(leftPrimary < variableTop && in compareUpToQuaternary()
74 if(rightPrimary < variableTop && rightPrimary > Collation::MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
90 } while(rightPrimary < variableTop && in compareUpToQuaternary()
Dcollationfastlatin.h229 static inline uint32_t getPrimaries(uint32_t variableTop, uint32_t pair) { in getPrimaries() argument
232 if(ce > variableTop) { return pair & TWO_LONG_PRIMARIES_MASK; } in getPrimaries()
244 static uint32_t getSecondaries(uint32_t variableTop, uint32_t pair);
245 static uint32_t getCases(uint32_t variableTop, UBool strengthIsPrimary, uint32_t pair);
246 static uint32_t getTertiaries(uint32_t variableTop, UBool withCaseBits, uint32_t pair);
247 static uint32_t getQuaternaries(uint32_t variableTop, uint32_t pair);
Dcollationsettings.cpp30 options(other.options), variableTop(other.variableTop), in CollationSettings()
52 if((options & ALTERNATE_MASK) != 0 && variableTop != other.variableTop) { return FALSE; } in operator ==()
63 if((options & ALTERNATE_MASK) != 0) { h ^= variableTop; } in hashCode()
Dcollationkeys.cpp242 uint32_t variableTop; in writeSortKeyUpToQuaternary() local
244 variableTop = 0; in writeSortKeyUpToQuaternary()
247 variableTop = settings.variableTop + 1; in writeSortKeyUpToQuaternary()
271 if(p < variableTop && p > Collation::MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
300 } while(p < variableTop && p > Collation::MERGE_SEPARATOR_PRIMARY); in writeSortKeyUpToQuaternary()
Dusrchimp.h84 uint32_t variableTop; variable
181 uint32_t variableTop; member
Dcollationsettings.h106 variableTop(0), in CollationSettings()
215 uint32_t variableTop; member
Dalphaindex.cpp395 const RuleBasedCollator &coll, uint32_t variableTop, in hasMultiplePrimaryWeights() argument
404 if (p > variableTop) { in hasMultiplePrimaryWeights()
426 uint32_t variableTop; in createBucketList() local
428 variableTop = collatorPrimaryOnly_->getVariableTop(errorCode); in createBucketList()
430 variableTop = 0; in createBucketList()
508 hasMultiplePrimaryWeights(*collatorPrimaryOnly_, variableTop, current, in createBucketList()
520 !hasMultiplePrimaryWeights(*collatorPrimaryOnly_, variableTop, in createBucketList()
Dcollationdatareader.cpp418 if(options == ts.options && ts.variableTop != 0 && in read()
435 settings->variableTop = tailoring.data->getLastPrimaryForGroup( in read()
437 if(settings->variableTop == 0) { in read()
Ducoleitr.cpp207 variableTop = coll.getVariableTop(status); in init()
243 if ((toShift && variableTop > ce && primary != 0) in processCE()
/external/icu/android_icu4j/src/main/java/android/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.java24 long variableTop; in compareUpToQuaternary() local
26 variableTop = 0; in compareUpToQuaternary()
29 variableTop = settings.variableTop + 1; in compareUpToQuaternary()
40 if (leftPrimary < variableTop && leftPrimary > Collation.MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
56 … } while (leftPrimary < variableTop && leftPrimary > Collation.MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
64 … if (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
80 … } while (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
DCollationKeys.java348 long variableTop; in writeSortKeyUpToQuaternary() local
350 variableTop = 0; in writeSortKeyUpToQuaternary()
353 variableTop = settings.variableTop + 1; in writeSortKeyUpToQuaternary()
378 if (p < variableTop && p > Collation.MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
407 } 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()
444 public long variableTop; field in CollationSettings
DCollationDataReader.java466 if(options == ts.options && ts.variableTop != 0 && in read()
477 settings.variableTop = tailoring.data.getLastPrimaryForGroup( in read()
479 if(settings.variableTop == 0) { in read()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationFastLatin.java288 int variableTop = options >> 16; // see getOptions() in compareUTF16() local
322 } else if(leftPair > variableTop) { in compareUTF16()
333 leftPair = getPrimaries(variableTop, leftPair); in compareUTF16()
358 } else if(rightPair > variableTop) { in compareUTF16()
369 rightPair = getPrimaries(variableTop, rightPair); in compareUTF16()
414 } else if(leftPair > variableTop) { in compareUTF16()
423 leftPair = getSecondaries(variableTop, (int)pairAndInc); in compareUTF16()
443 } else if(rightPair > variableTop) { in compareUTF16()
452 rightPair = getSecondaries(variableTop, (int)pairAndInc); in compareUTF16()
497 leftPair = getCases(variableTop, strengthIsPrimary, leftPair); in compareUTF16()
[all …]
DCollationCompare.java20 long variableTop; in compareUpToQuaternary() local
22 variableTop = 0; in compareUpToQuaternary()
25 variableTop = settings.variableTop + 1; in compareUpToQuaternary()
36 if (leftPrimary < variableTop && leftPrimary > Collation.MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
52 … } while (leftPrimary < variableTop && leftPrimary > Collation.MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
60 … if (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
76 … } while (rightPrimary < variableTop && rightPrimary > Collation.MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
DCollationKeys.java344 long variableTop; in writeSortKeyUpToQuaternary() local
346 variableTop = 0; in writeSortKeyUpToQuaternary()
349 variableTop = settings.variableTop + 1; in writeSortKeyUpToQuaternary()
374 if (p < variableTop && p > Collation.MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
403 } while (p < variableTop && p > Collation.MERGE_SEPARATOR_PRIMARY); in writeSortKeyUpToQuaternary()
DCollationSettings.java108 if((options & ALTERNATE_MASK) != 0 && variableTop != o.variableTop) { return false; } in equals()
116 if((options & ALTERNATE_MASK) != 0) { h ^= variableTop; } in hashCode()
442 public long variableTop; field in CollationSettings
DCollationDataReader.java465 if(options == ts.options && ts.variableTop != 0 && in read()
476 settings.variableTop = tailoring.data.getLastPrimaryForGroup( in read()
478 if(settings.variableTop == 0) { in read()
DCollationBuilder.java43 variableTop = 0; in CollationBuilder()
66 variableTop = base.settings.readOnly().variableTop; in parseAndBuild()
341 ce = rootElements.lastCEWithPrimaryBefore(variableTop + 1); in getSpecialResetPosition()
344 ce = rootElements.firstCEWithPrimaryAtLeast(variableTop + 1); in getSpecialResetPosition()
1492 private long variableTop; field in CollationBuilder
/external/icu/android_icu4j/src/main/java/android/icu/text/
DAlphabeticIndex.java961 long variableTop; in createBucketList() local
963 variableTop = collatorPrimaryOnly.getVariableTop() & 0xffffffffL; in createBucketList()
965 variableTop = 0; in createBucketList()
1018 hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, current) && in createBucketList()
1029 … !hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, singleBucket.lowerBoundary)) { in createBucketList()
1149 RuleBasedCollator coll, long variableTop, String s) { in hasMultiplePrimaryWeights() argument
1155 if (p > variableTop) { in hasMultiplePrimaryWeights()
DRuleBasedCollator.java735 ownedSettings.variableTop = varTop; in setMaxVariable()
798 return (int)settings.readOnly().variableTop; in setVariableTop()
823 if(varTop != settings.readOnly().variableTop) { in internalSetVariableTop()
834 if(varTop != settings.readOnly().variableTop) { in internalSetVariableTop()
838 ownedSettings.variableTop = varTop; in internalSetVariableTop()
1328 return (int)settings.readOnly().variableTop; in getVariableTop()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DAlphabeticIndex.java1007 long variableTop; in createBucketList() local
1009 variableTop = collatorPrimaryOnly.getVariableTop() & 0xffffffffL; in createBucketList()
1011 variableTop = 0; in createBucketList()
1064 hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, current) && in createBucketList()
1075 … !hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, singleBucket.lowerBoundary)) { in createBucketList()
1195 RuleBasedCollator coll, long variableTop, String s) { in hasMultiplePrimaryWeights() argument
1201 if (p > variableTop) { in hasMultiplePrimaryWeights()
DRuleBasedCollator.java757 ownedSettings.variableTop = varTop; in setMaxVariable()
820 return (int)settings.readOnly().variableTop; in setVariableTop()
844 if(varTop != settings.readOnly().variableTop) { in internalSetVariableTop()
855 if(varTop != settings.readOnly().variableTop) { in internalSetVariableTop()
859 ownedSettings.variableTop = varTop; in internalSetVariableTop()
1362 return (int)settings.readOnly().variableTop; in getVariableTop()

1234