/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
D | CollationDataBuilder.java | 77 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 …]
|
D | CollationCompare.java | 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() 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 …]
|
D | CollationKeys.java | 275 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 …]
|
D | CollationIterator.java | 253 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 …]
|
D | ContractionsAndExpansions.java | 39 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 …]
|
D | TailoredSet.java | 67 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 …]
|
D | CollationData.java | 55 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 …]
|
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | CollationDataBuilder.java | 76 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 …]
|
D | CollationCompare.java | 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() 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 …]
|
D | CollationKeys.java | 265 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 …]
|
D | CollationIterator.java | 251 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 …]
|
D | ContractionsAndExpansions.java | 35 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 …]
|
D | TailoredSet.java | 65 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 …]
|
D | CollationData.java | 53 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 …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | collationdatabuilder.cpp | 56 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() 174 jamoCE32s[j] = Collation::makeCE32FromTagAndIndex(Collation::BUILDER_DATA_TAG, jamo) | in DataBuilderCollationIterator() 201 if(ce32 == Collation::FALLBACK_CE32) { in fetchCEs() 212 if(cesLength < Collation::MAX_EXPANSION_LENGTH) { in fetchCEs() 271 U_ASSERT(Collation::hasCE32Tag(ce32, Collation::BUILDER_DATA_TAG)); in getCE32FromBuilderData() 273 UChar32 jamo = Collation::indexFromCE32(ce32); in getCE32FromBuilderData() 282 if(cond->builtCE32 == Collation::NO_CE32 || cond->era != builder.contextsEra) { in getCE32FromBuilderData() 337 …trie = utrie2_open(Collation::FALLBACK_CE32, icu4xMode ? Collation::FALLBACK_CE32 : Collation::FFF… in initForTailoring() 346 utrie2_set32(trie, c, Collation::FALLBACK_CE32, &errorCode); in initForTailoring() [all …]
|
D | collationsets.cpp | 36 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 char16_t *p = data->contexts + Collation::indexFromCE32(ce32); in compare() 87 if(Collation::isPrefixCE32(baseCE32)) { in compare() 88 const char16_t *q = baseData->contexts + Collation::indexFromCE32(baseCE32); in compare() 94 } else if(Collation::isPrefixCE32(baseCE32)) { in compare() [all …]
|
D | collationiterator.cpp | 199 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 …]
|
D | collationdata.cpp | 32 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 …]
|
/third_party/icu/icu4c/source/i18n/ |
D | collationdatabuilder.cpp | 56 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() 174 jamoCE32s[j] = Collation::makeCE32FromTagAndIndex(Collation::BUILDER_DATA_TAG, jamo) | in DataBuilderCollationIterator() 201 if(ce32 == Collation::FALLBACK_CE32) { in fetchCEs() 212 if(cesLength < Collation::MAX_EXPANSION_LENGTH) { in fetchCEs() 271 U_ASSERT(Collation::hasCE32Tag(ce32, Collation::BUILDER_DATA_TAG)); in getCE32FromBuilderData() 273 UChar32 jamo = Collation::indexFromCE32(ce32); in getCE32FromBuilderData() 282 if(cond->builtCE32 == Collation::NO_CE32 || cond->era != builder.contextsEra) { in getCE32FromBuilderData() 337 …trie = utrie2_open(Collation::FALLBACK_CE32, icu4xMode ? Collation::FALLBACK_CE32 : Collation::FFF… in initForTailoring() 346 utrie2_set32(trie, c, Collation::FALLBACK_CE32, &errorCode); in initForTailoring() [all …]
|
D | collationsets.cpp | 36 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 …]
|
D | collationiterator.cpp | 199 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 …]
|
D | collationdata.cpp | 32 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 …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | collationsets.cpp | 36 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 …]
|
D | collationdatabuilder.cpp | 56 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() 259 U_ASSERT(Collation::hasCE32Tag(ce32, Collation::BUILDER_DATA_TAG)); in getCE32FromBuilderData() 261 UChar32 jamo = Collation::indexFromCE32(ce32); in getCE32FromBuilderData() 270 if(cond->builtCE32 == Collation::NO_CE32) { in getCE32FromBuilderData() 319 trie = utrie2_open(Collation::FALLBACK_CE32, Collation::FFFD_CE32, &errorCode); in initForTailoring() 327 utrie2_set32(trie, c, Collation::FALLBACK_CE32, &errorCode); in initForTailoring() [all …]
|
D | collationiterator.cpp | 199 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 …]
|