Home
last modified time | relevance | path

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

12

/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()
444 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()
DCollationBuilder.java46 variableTop = 0; in CollationBuilder()
69 variableTop = base.settings.readOnly().variableTop; in parseAndBuild()
344 ce = rootElements.lastCEWithPrimaryBefore(variableTop + 1); in getSpecialResetPosition()
347 ce = rootElements.firstCEWithPrimaryAtLeast(variableTop + 1); in getSpecialResetPosition()
1497 private long variableTop; field in CollationBuilder
/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.java350 long variableTop; in writeSortKeyUpToQuaternary() local
352 variableTop = 0; in writeSortKeyUpToQuaternary()
355 variableTop = settings.variableTop + 1; in writeSortKeyUpToQuaternary()
380 if (p < variableTop && p > Collation.MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
409 } 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()
446 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()
DCollationBuilder.java50 variableTop = 0; in CollationBuilder()
73 variableTop = base.settings.readOnly().variableTop; in parseAndBuild()
348 ce = rootElements.lastCEWithPrimaryBefore(variableTop + 1); in getSpecialResetPosition()
351 ce = rootElements.firstCEWithPrimaryAtLeast(variableTop + 1); in getSpecialResetPosition()
1501 private long variableTop; field in CollationBuilder
/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.cpp397 const RuleBasedCollator &coll, uint32_t variableTop, in hasMultiplePrimaryWeights() argument
406 if (p > variableTop) { in hasMultiplePrimaryWeights()
428 uint32_t variableTop; in createBucketList() local
430 variableTop = collatorPrimaryOnly_->getVariableTop(errorCode); in createBucketList()
432 variableTop = 0; in createBucketList()
510 hasMultiplePrimaryWeights(*collatorPrimaryOnly_, variableTop, current, in createBucketList()
522 !hasMultiplePrimaryWeights(*collatorPrimaryOnly_, variableTop, in createBucketList()
Dcollationdatareader.cpp420 if(options == ts.options && ts.variableTop != 0 && in read()
437 settings->variableTop = tailoring.data->getLastPrimaryForGroup( in read()
439 if(settings->variableTop == 0) { in read()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DAlphabeticIndex.java968 long variableTop; in createBucketList() local
970 variableTop = collatorPrimaryOnly.getVariableTop() & 0xffffffffL; in createBucketList()
972 variableTop = 0; in createBucketList()
1025 hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, current) && in createBucketList()
1036 … !hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, singleBucket.lowerBoundary)) { in createBucketList()
1157 RuleBasedCollator coll, long variableTop, String s) { in hasMultiplePrimaryWeights() argument
1163 if (p > variableTop) { in hasMultiplePrimaryWeights()
DRuleBasedCollator.java737 ownedSettings.variableTop = varTop; in setMaxVariable()
800 return (int)settings.readOnly().variableTop; in setVariableTop()
825 if(varTop != settings.readOnly().variableTop) { in internalSetVariableTop()
836 if(varTop != settings.readOnly().variableTop) { in internalSetVariableTop()
840 ownedSettings.variableTop = varTop; in internalSetVariableTop()
1332 return (int)settings.readOnly().variableTop; in getVariableTop()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DAlphabeticIndex.java1014 long variableTop; in createBucketList() local
1016 variableTop = collatorPrimaryOnly.getVariableTop() & 0xffffffffL; in createBucketList()
1018 variableTop = 0; in createBucketList()
1071 hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, current) && in createBucketList()
1082 … !hasMultiplePrimaryWeights(collatorPrimaryOnly, variableTop, singleBucket.lowerBoundary)) { in createBucketList()
1203 RuleBasedCollator coll, long variableTop, String s) { in hasMultiplePrimaryWeights() argument
1209 if (p > variableTop) { in hasMultiplePrimaryWeights()
DRuleBasedCollator.java759 ownedSettings.variableTop = varTop; in setMaxVariable()
822 return (int)settings.readOnly().variableTop; in setVariableTop()
846 if(varTop != settings.readOnly().variableTop) { in internalSetVariableTop()
857 if(varTop != settings.readOnly().variableTop) { in internalSetVariableTop()
861 ownedSettings.variableTop = varTop; in internalSetVariableTop()
1364 return (int)settings.readOnly().variableTop; in getVariableTop()

12