Home
last modified time | relevance | path

Searched refs:Collation (Results 1 – 25 of 81) sorted by relevance

1234

/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataBuilder.java77 trie = new Trie2Writable(Collation.FALLBACK_CE32, Collation.FFFD_CE32); in initForTailoring()
85 trie.set(c, Collation.FALLBACK_CE32); in initForTailoring()
92 int hangulCE32 = Collation.makeCE32FromTagAndIndex(Collation.HANGUL_TAG, 0); in initForTailoring()
117 return Collation.isAssignedCE32(trie.get(c)); in isAssigned()
132 if(cesLength < 0 || cesLength > Collation.MAX_EXPANSION_LENGTH) { in encodeCEs()
149 if((ce0 & 0xffffffffff00ffL) == Collation.COMMON_SECONDARY_CE && in encodeCEs()
150 (ce1 & 0xffffffff00ffffffL) == Collation.COMMON_TERTIARY_CE && in encodeCEs()
157 Collation.SPECIAL_CE32_LOW_BYTE | in encodeCEs()
158 Collation.LATIN_EXPANSION_TAG; in encodeCEs()
162 int[] newCE32s = new int[Collation.MAX_EXPANSION_LENGTH]; // TODO: instance field? in encodeCEs()
[all …]
DCollationCompare.java42 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()
92 return (leftPrimary < rightPrimary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
94 if (leftPrimary == Collation.NO_CE_PRIMARY) { in compareUpToQuaternary()
118 … return (leftSecondary < rightSecondary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
120 if (leftSecondary == Collation.NO_CE_WEIGHT16) { in compareUpToQuaternary()
133 while ((p = left.getCE(leftLimit) >>> 32) > Collation.MERGE_SEPARATOR_PRIMARY in compareUpToQuaternary()
138 while ((p = right.getCE(rightLimit) >>> 32) > Collation.MERGE_SEPARATOR_PRIMARY in compareUpToQuaternary()
[all …]
DCollationKeys.java275 private static final int SEC_COMMON_LOW = Collation.COMMON_BYTE;
293 private static final int TER_ONLY_COMMON_LOW = Collation.COMMON_BYTE;
299 private static final int TER_LOWER_FIRST_COMMON_LOW = Collation.COMMON_BYTE;
305 private static final int TER_UPPER_FIRST_COMMON_LOW = Collation.COMMON_BYTE + 0x80;
348 levels |= Collation.CASE_LEVEL_FLAG; in writeSortKeyUpToQuaternary()
367 SortKeyLevel cases = getSortKeyLevel(levels, Collation.CASE_LEVEL_FLAG); in writeSortKeyUpToQuaternary()
368 SortKeyLevel secondaries = getSortKeyLevel(levels, Collation.SECONDARY_LEVEL_FLAG); in writeSortKeyUpToQuaternary()
369 SortKeyLevel tertiaries = getSortKeyLevel(levels, Collation.TERTIARY_LEVEL_FLAG); in writeSortKeyUpToQuaternary()
370 SortKeyLevel quaternaries = getSortKeyLevel(levels, Collation.QUATERNARY_LEVEL_FLAG); in writeSortKeyUpToQuaternary()
386 if (p < variableTop && p > Collation.MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
[all …]
DCollationIterator.java253 if(t < Collation.SPECIAL_CE32_LOW_BYTE) { // Forced-inline of isSpecialCE32(ce32). in nextCE()
262 if(t == Collation.SPECIAL_CE32_LOW_BYTE) { in nextCE()
264 return ceBuffer.set(cesIndex++, Collation.NO_CE); in nextCE()
269 if(t < Collation.SPECIAL_CE32_LOW_BYTE) { in nextCE()
277 if(t == Collation.LONG_PRIMARY_CE32_LOW_BYTE) { in nextCE()
280 ((long)(ce32 - t) << 32) | Collation.COMMON_SEC_AND_TER_CE); in nextCE()
290 while(nextCE() != Collation.NO_CE) { in fetchCEs()
316 if(c < 0) { return Collation.NO_CE; } in previousCE()
324 if(ce32 == Collation.FALLBACK_CE32) { in previousCE()
330 if(Collation.isSimpleOrLongCE32(ce32)) { in previousCE()
[all …]
DContractionsAndExpansions.java39 private long[] ces = new long[Collation.MAX_EXPANSION_LENGTH];
86 if (ce32 == Collation.FALLBACK_CE32) { in enumCnERange()
111 if (ce32 == Collation.FALLBACK_CE32) { in forCodePoint()
121 if ((ce32 & 0xff) < Collation.SPECIAL_CE32_LOW_BYTE) { in handleCE32()
124 sink.handleCE(Collation.ceFromSimpleCE32(ce32)); in handleCE32()
128 switch (Collation.tagFromCE32(ce32)) { in handleCE32()
129 case Collation.FALLBACK_TAG: in handleCE32()
131 case Collation.RESERVED_TAG_3: in handleCE32()
132 case Collation.BUILDER_DATA_TAG: in handleCE32()
133 case Collation.LEAD_SURROGATE_TAG: in handleCE32()
[all …]
DTailoredSet.java67 if (ce32 == Collation.FALLBACK_CE32) { in enumTailoredRange()
77 assert (ce32 != Collation.FALLBACK_CE32); in handleCE32()
78 if (Collation.isSpecialCE32(ce32)) { in handleCE32()
80 if (ce32 == Collation.FALLBACK_CE32) { in handleCE32()
89 if (Collation.isSelfContainedCE32(ce32) && Collation.isSelfContainedCE32(baseCE32)) { in handleCE32()
101 if (Collation.isPrefixCE32(ce32)) { in compare()
102 int dataIndex = Collation.indexFromCE32(ce32); in compare()
104 if (Collation.isPrefixCE32(baseCE32)) { in compare()
105 int baseIndex = Collation.indexFromCE32(baseCE32); in compare()
111 } else if (Collation.isPrefixCE32(baseCE32)) { in compare()
[all …]
DCollationData.java55 Collation.hasCE32Tag(getCE32(c), Collation.DIGIT_TAG); in isDigit()
83 assert(Collation.isSpecialCE32(ce32)); in getIndirectCE32()
84 int tag = Collation.tagFromCE32(ce32); in getIndirectCE32()
85 if(tag == Collation.DIGIT_TAG) { in getIndirectCE32()
87 ce32 = ce32s[Collation.indexFromCE32(ce32)]; in getIndirectCE32()
88 } else if(tag == Collation.LEAD_SURROGATE_TAG) { in getIndirectCE32()
89 ce32 = Collation.UNASSIGNED_CE32; in getIndirectCE32()
90 } else if(tag == Collation.U0000_TAG) { in getIndirectCE32()
102 if(Collation.isSpecialCE32(ce32)) { in getFinalCE32()
112 long dataCE = ces[Collation.indexFromCE32(ce32)]; in getCEFromOffsetCE32()
[all …]
DCollationFastLatinBuilder.java204 if(ce32 == Collation.FALLBACK_CE32) { in getCEs()
217 charCEs[i][0] = ce0 = Collation.NO_CE; in getCEs()
225 charCEs[0][0] = (Collation.NO_CE_PRIMARY << 32) | CONTRACTION_FLAG; in getCEs()
236 if(Collation.isSimpleOrLongCE32(ce32)) { in getCEsFromCE32()
237 ce0 = Collation.ceFromCE32(ce32); in getCEsFromCE32()
239 switch(Collation.tagFromCE32(ce32)) { in getCEsFromCE32()
240 case Collation.LATIN_EXPANSION_TAG: in getCEsFromCE32()
241 ce0 = Collation.latinCE0FromCE32(ce32); in getCEsFromCE32()
242 ce1 = Collation.latinCE1FromCE32(ce32); in getCEsFromCE32()
244 case Collation.EXPANSION32_TAG: { in getCEsFromCE32()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataBuilder.java76 trie = new Trie2Writable(Collation.FALLBACK_CE32, Collation.FFFD_CE32); in initForTailoring()
84 trie.set(c, Collation.FALLBACK_CE32); in initForTailoring()
91 int hangulCE32 = Collation.makeCE32FromTagAndIndex(Collation.HANGUL_TAG, 0); in initForTailoring()
116 return Collation.isAssignedCE32(trie.get(c)); in isAssigned()
131 if(cesLength < 0 || cesLength > Collation.MAX_EXPANSION_LENGTH) { in encodeCEs()
148 if((ce0 & 0xffffffffff00ffL) == Collation.COMMON_SECONDARY_CE && in encodeCEs()
149 (ce1 & 0xffffffff00ffffffL) == Collation.COMMON_TERTIARY_CE && in encodeCEs()
156 Collation.SPECIAL_CE32_LOW_BYTE | in encodeCEs()
157 Collation.LATIN_EXPANSION_TAG; in encodeCEs()
161 int[] newCE32s = new int[Collation.MAX_EXPANSION_LENGTH]; // TODO: instance field? in encodeCEs()
[all …]
DCollationCompare.java38 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()
88 return (leftPrimary < rightPrimary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
90 if (leftPrimary == Collation.NO_CE_PRIMARY) { in compareUpToQuaternary()
114 … return (leftSecondary < rightSecondary) ? Collation.LESS : Collation.GREATER; in compareUpToQuaternary()
116 if (leftSecondary == Collation.NO_CE_WEIGHT16) { in compareUpToQuaternary()
129 while ((p = left.getCE(leftLimit) >>> 32) > Collation.MERGE_SEPARATOR_PRIMARY in compareUpToQuaternary()
134 while ((p = right.getCE(rightLimit) >>> 32) > Collation.MERGE_SEPARATOR_PRIMARY in compareUpToQuaternary()
[all …]
DCollationKeys.java265 private static final int SEC_COMMON_LOW = Collation.COMMON_BYTE;
283 private static final int TER_ONLY_COMMON_LOW = Collation.COMMON_BYTE;
289 private static final int TER_LOWER_FIRST_COMMON_LOW = Collation.COMMON_BYTE;
295 private static final int TER_UPPER_FIRST_COMMON_LOW = Collation.COMMON_BYTE + 0x80;
338 levels |= Collation.CASE_LEVEL_FLAG; in writeSortKeyUpToQuaternary()
357 SortKeyLevel cases = getSortKeyLevel(levels, Collation.CASE_LEVEL_FLAG); in writeSortKeyUpToQuaternary()
358 SortKeyLevel secondaries = getSortKeyLevel(levels, Collation.SECONDARY_LEVEL_FLAG); in writeSortKeyUpToQuaternary()
359 SortKeyLevel tertiaries = getSortKeyLevel(levels, Collation.TERTIARY_LEVEL_FLAG); in writeSortKeyUpToQuaternary()
360 SortKeyLevel quaternaries = getSortKeyLevel(levels, Collation.QUATERNARY_LEVEL_FLAG); in writeSortKeyUpToQuaternary()
376 if (p < variableTop && p > Collation.MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
[all …]
DCollationIterator.java251 if(t < Collation.SPECIAL_CE32_LOW_BYTE) { // Forced-inline of isSpecialCE32(ce32). in nextCE()
260 if(t == Collation.SPECIAL_CE32_LOW_BYTE) { in nextCE()
262 return ceBuffer.set(cesIndex++, Collation.NO_CE); in nextCE()
267 if(t < Collation.SPECIAL_CE32_LOW_BYTE) { in nextCE()
275 if(t == Collation.LONG_PRIMARY_CE32_LOW_BYTE) { in nextCE()
278 ((long)(ce32 - t) << 32) | Collation.COMMON_SEC_AND_TER_CE); in nextCE()
288 while(nextCE() != Collation.NO_CE) { in fetchCEs()
314 if(c < 0) { return Collation.NO_CE; } in previousCE()
322 if(ce32 == Collation.FALLBACK_CE32) { in previousCE()
328 if(Collation.isSimpleOrLongCE32(ce32)) { in previousCE()
[all …]
DContractionsAndExpansions.java35 private long[] ces = new long[Collation.MAX_EXPANSION_LENGTH];
79 if (ce32 == Collation.FALLBACK_CE32) { in enumCnERange()
104 if (ce32 == Collation.FALLBACK_CE32) { in forCodePoint()
114 if ((ce32 & 0xff) < Collation.SPECIAL_CE32_LOW_BYTE) { in handleCE32()
117 sink.handleCE(Collation.ceFromSimpleCE32(ce32)); in handleCE32()
121 switch (Collation.tagFromCE32(ce32)) { in handleCE32()
122 case Collation.FALLBACK_TAG: in handleCE32()
124 case Collation.RESERVED_TAG_3: in handleCE32()
125 case Collation.BUILDER_DATA_TAG: in handleCE32()
126 case Collation.LEAD_SURROGATE_TAG: in handleCE32()
[all …]
DTailoredSet.java65 if (ce32 == Collation.FALLBACK_CE32) { in enumTailoredRange()
75 assert (ce32 != Collation.FALLBACK_CE32); in handleCE32()
76 if (Collation.isSpecialCE32(ce32)) { in handleCE32()
78 if (ce32 == Collation.FALLBACK_CE32) { in handleCE32()
87 if (Collation.isSelfContainedCE32(ce32) && Collation.isSelfContainedCE32(baseCE32)) { in handleCE32()
99 if (Collation.isPrefixCE32(ce32)) { in compare()
100 int dataIndex = Collation.indexFromCE32(ce32); in compare()
102 if (Collation.isPrefixCE32(baseCE32)) { in compare()
103 int baseIndex = Collation.indexFromCE32(baseCE32); in compare()
109 } else if (Collation.isPrefixCE32(baseCE32)) { in compare()
[all …]
DCollationData.java53 Collation.hasCE32Tag(getCE32(c), Collation.DIGIT_TAG); in isDigit()
81 assert(Collation.isSpecialCE32(ce32)); in getIndirectCE32()
82 int tag = Collation.tagFromCE32(ce32); in getIndirectCE32()
83 if(tag == Collation.DIGIT_TAG) { in getIndirectCE32()
85 ce32 = ce32s[Collation.indexFromCE32(ce32)]; in getIndirectCE32()
86 } else if(tag == Collation.LEAD_SURROGATE_TAG) { in getIndirectCE32()
87 ce32 = Collation.UNASSIGNED_CE32; in getIndirectCE32()
88 } else if(tag == Collation.U0000_TAG) { in getIndirectCE32()
100 if(Collation.isSpecialCE32(ce32)) { in getFinalCE32()
110 long dataCE = ces[Collation.indexFromCE32(ce32)]; in getCEFromOffsetCE32()
[all …]
DCollationFastLatinBuilder.java203 if(ce32 == Collation.FALLBACK_CE32) { in getCEs()
216 charCEs[i][0] = ce0 = Collation.NO_CE; in getCEs()
224 charCEs[0][0] = (Collation.NO_CE_PRIMARY << 32) | CONTRACTION_FLAG; in getCEs()
235 if(Collation.isSimpleOrLongCE32(ce32)) { in getCEsFromCE32()
236 ce0 = Collation.ceFromCE32(ce32); in getCEsFromCE32()
238 switch(Collation.tagFromCE32(ce32)) { in getCEsFromCE32()
239 case Collation.LATIN_EXPANSION_TAG: in getCEsFromCE32()
240 ce0 = Collation.latinCE0FromCE32(ce32); in getCEsFromCE32()
241 ce1 = Collation.latinCE1FromCE32(ce32); in getCEsFromCE32()
243 case Collation.EXPANSION32_TAG: { in getCEsFromCE32()
[all …]
DCollationRootElements.java141 return Collation.makeCE(getFirstPrimary()); in getFirstPrimaryCE()
162 secTer = Collation.COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
179 secTer = Collation.COMMON_SEC_AND_TER_CE; in lastCEWithPrimaryBefore()
211 return (p << 32) | Collation.COMMON_SEC_AND_TER_CE; in firstCEWithPrimaryAtLeast()
241 return Collation.decTwoBytePrimaryByOneStep(p, isCompressible, step); in getPrimaryBefore()
243 return Collation.decThreeBytePrimaryByOneStep(p, isCompressible, step); in getPrimaryBefore()
258 previousSec = Collation.BEFORE_WEIGHT16; in getSecondaryBefore()
273 assert((t & ~Collation.ONLY_TERTIARY_MASK) == 0); in getTertiaryBefore()
284 previousTer = Collation.BEFORE_WEIGHT16; in getTertiaryBefore()
289 previousTer = Collation.BEFORE_WEIGHT16; in getTertiaryBefore()
[all …]
/external/icu/icu4c/source/i18n/
Dcollationsets.cpp36 if(ce32 == Collation::FALLBACK_CE32) { in enumTailoredRange()
58 U_ASSERT(ce32 != Collation::FALLBACK_CE32); in handleCE32()
59 if(Collation::isSpecialCE32(ce32)) { in handleCE32()
61 if(ce32 == Collation::FALLBACK_CE32) { in handleCE32()
70 if(Collation::isSelfContainedCE32(ce32) && Collation::isSelfContainedCE32(baseCE32)) { in handleCE32()
84 if(Collation::isPrefixCE32(ce32)) { in compare()
85 const UChar *p = data->contexts + Collation::indexFromCE32(ce32); in compare()
87 if(Collation::isPrefixCE32(baseCE32)) { in compare()
88 const UChar *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare()
94 } else if(Collation::isPrefixCE32(baseCE32)) { in compare()
[all …]
Dcollationdatabuilder.cpp56 ce32(0), defaultCE32(Collation::NO_CE32), builtCE32(Collation::NO_CE32), in ConditionalCE32()
60 ce32(ce), defaultCE32(Collation::NO_CE32), builtCE32(Collation::NO_CE32), in ConditionalCE32()
162 jamoCE32s[j] = Collation::makeCE32FromTagAndIndex(Collation::BUILDER_DATA_TAG, jamo) | in DataBuilderCollationIterator()
189 if(ce32 == Collation::FALLBACK_CE32) { in fetchCEs()
200 if(cesLength < Collation::MAX_EXPANSION_LENGTH) { in fetchCEs()
258 U_ASSERT(Collation::hasCE32Tag(ce32, Collation::BUILDER_DATA_TAG)); in getCE32FromBuilderData()
260 UChar32 jamo = Collation::indexFromCE32(ce32); in getCE32FromBuilderData()
264 if(cond->builtCE32 == Collation::NO_CE32) { in getCE32FromBuilderData()
313 trie = utrie2_open(Collation::FALLBACK_CE32, Collation::FFFD_CE32, &errorCode); in initForTailoring()
321 utrie2_set32(trie, c, Collation::FALLBACK_CE32, &errorCode); in initForTailoring()
[all …]
Dcollationiterator.cpp199 while(U_SUCCESS(errorCode) && nextCE(errorCode) != Collation::NO_CE) { in fetchCEs()
209 return (c < 0) ? Collation::FALLBACK_CE32 : data->getCE32(c); in handleNextCE32()
246 return Collation::NO_CE_PRIMARY; in nextCEFromCE32()
253 while(Collation::isSpecialCE32(ce32)) { in appendCEsFromCE32()
254 switch(Collation::tagFromCE32(ce32)) { in appendCEsFromCE32()
255 case Collation::FALLBACK_TAG: in appendCEsFromCE32()
256 case Collation::RESERVED_TAG_3: in appendCEsFromCE32()
259 case Collation::LONG_PRIMARY_TAG: in appendCEsFromCE32()
260 ceBuffer.append(Collation::ceFromLongPrimaryCE32(ce32), errorCode); in appendCEsFromCE32()
262 case Collation::LONG_SECONDARY_TAG: in appendCEsFromCE32()
[all …]
Dcollationdata.cpp32 U_ASSERT(Collation::isSpecialCE32(ce32)); in getIndirectCE32()
33 int32_t tag = Collation::tagFromCE32(ce32); in getIndirectCE32()
34 if(tag == Collation::DIGIT_TAG) { in getIndirectCE32()
36 ce32 = ce32s[Collation::indexFromCE32(ce32)]; in getIndirectCE32()
37 } else if(tag == Collation::LEAD_SURROGATE_TAG) { in getIndirectCE32()
38 ce32 = Collation::UNASSIGNED_CE32; in getIndirectCE32()
39 } else if(tag == Collation::U0000_TAG) { in getIndirectCE32()
48 if(Collation::isSpecialCE32(ce32)) { in getFinalCE32()
60 if(ce32 == Collation::FALLBACK_CE32) { in getSingleCE()
66 while(Collation::isSpecialCE32(ce32)) { in getSingleCE()
[all …]
Dcollationkeys.cpp206 CollationKeys::LevelCallback::needToWrite(Collation::Level /*level*/) { return TRUE; } in needToWrite()
230 Collation::Level minLevel, LevelCallback &callback, in writeSortKeyUpToQuaternary()
238 levels |= Collation::CASE_LEVEL_FLAG; in writeSortKeyUpToQuaternary()
273 if(p < variableTop && p > Collation::MERGE_SEPARATOR_PRIMARY) { in writeSortKeyUpToQuaternary()
287 if((levels & Collation::QUATERNARY_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
302 } while(p < variableTop && p > Collation::MERGE_SEPARATOR_PRIMARY); in writeSortKeyUpToQuaternary()
308 if(p > Collation::NO_CE_PRIMARY && (levels & Collation::PRIMARY_LEVEL_FLAG) != 0) { in writeSortKeyUpToQuaternary()
320 if(p1 > Collation::MERGE_SEPARATOR_BYTE) { in writeSortKeyUpToQuaternary()
321 sink.Append(Collation::PRIMARY_COMPRESSION_LOW_BYTE); in writeSortKeyUpToQuaternary()
324 sink.Append(Collation::PRIMARY_COMPRESSION_HIGH_BYTE); in writeSortKeyUpToQuaternary()
[all …]
Dcollationfastlatinbuilder.cpp216 if(ce32 == Collation::FALLBACK_CE32) { in getCEs()
229 charCEs[i][0] = ce0 = Collation::NO_CE; in getCEs()
237 charCEs[0][0] = ((int64_t)Collation::NO_CE_PRIMARY << 32) | CONTRACTION_FLAG; in getCEs()
251 if(Collation::isSimpleOrLongCE32(ce32)) { in getCEsFromCE32()
252 ce0 = Collation::ceFromCE32(ce32); in getCEsFromCE32()
254 switch(Collation::tagFromCE32(ce32)) { in getCEsFromCE32()
255 case Collation::LATIN_EXPANSION_TAG: in getCEsFromCE32()
256 ce0 = Collation::latinCE0FromCE32(ce32); in getCEsFromCE32()
257 ce1 = Collation::latinCE1FromCE32(ce32); in getCEsFromCE32()
259 case Collation::EXPANSION32_TAG: { in getCEsFromCE32()
[all …]
Dcollationcompare.cpp51 if(leftPrimary < variableTop && leftPrimary > Collation::MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
68 leftPrimary > Collation::MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
76 if(rightPrimary < variableTop && rightPrimary > Collation::MERGE_SEPARATOR_PRIMARY) { in compareUpToQuaternary()
93 rightPrimary > Collation::MERGE_SEPARATOR_PRIMARY); in compareUpToQuaternary()
105 if(leftPrimary == Collation::NO_CE_PRIMARY) { break; } in compareUpToQuaternary()
130 if(leftSecondary == Collation::NO_CE_WEIGHT16) { break; } in compareUpToQuaternary()
142 Collation::MERGE_SEPARATOR_PRIMARY || in compareUpToQuaternary()
148 Collation::MERGE_SEPARATOR_PRIMARY || in compareUpToQuaternary()
177 if(p == Collation::NO_CE_PRIMARY) { break; } in compareUpToQuaternary()
247 if((leftLower32 >> 16) == Collation::NO_CE_WEIGHT16) { break; } in compareUpToQuaternary()
[all …]
Dcollation.cpp26 const uint8_t Collation::LEVEL_SEPARATOR_BYTE;
27 const uint8_t Collation::MERGE_SEPARATOR_BYTE;
28 const uint32_t Collation::ONLY_TERTIARY_MASK;
29 const uint32_t Collation::CASE_AND_TERTIARY_MASK;
33 Collation::incTwoBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible, int32_t offset) { in incTwoBytePrimaryByOffset()
52 Collation::incThreeBytePrimaryByOffset(uint32_t basePrimary, UBool isCompressible, int32_t offset) { in incThreeBytePrimaryByOffset()
74 Collation::decTwoBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t step) { in decTwoBytePrimaryByOneStep()
96 Collation::decThreeBytePrimaryByOneStep(uint32_t basePrimary, UBool isCompressible, int32_t step) { in decThreeBytePrimaryByOneStep()
124 Collation::getThreeBytePrimaryForOffsetData(UChar32 c, int64_t dataCE) { in getThreeBytePrimaryForOffsetData()
129 return Collation::incThreeBytePrimaryByOffset(p, isCompressible, offset); in getThreeBytePrimaryForOffsetData()
[all …]

1234