Home
last modified time | relevance | path

Searched refs:CollationData (Results 1 – 25 of 77) sorted by relevance

1234

/external/icu/icu4c/source/i18n/
Dcollationsets.h24 struct CollationData;
49 void forData(const CollationData *d, UErrorCode &errorCode);
62 void addPrefixes(const CollationData *d, UChar32 c, const UChar *p);
63 void addPrefix(const CollationData *d, const UnicodeString &pfx, UChar32 c, uint32_t ce32);
77 const CollationData *data;
78 const CollationData *baseData;
103 void forData(const CollationData *d, UErrorCode &errorCode);
104 void forCodePoint(const CollationData *d, UChar32 c, UErrorCode &ec);
125 const CollationData *data;
Dcollationdata.cpp29 CollationData::getIndirectCE32(uint32_t ce32) const { in getIndirectCE32()
45 CollationData::getFinalCE32(uint32_t ce32) const { in getFinalCE32()
53 CollationData::getSingleCE(UChar32 c, UErrorCode &errorCode) const { in getSingleCE()
56 const CollationData *d; in getSingleCE()
117 CollationData::getFirstPrimaryForGroup(int32_t script) const { in getFirstPrimaryForGroup()
123 CollationData::getLastPrimaryForGroup(int32_t script) const { in getLastPrimaryForGroup()
133 CollationData::getGroupForPrimary(uint32_t p) const { in getGroupForPrimary()
154 CollationData::getScriptIndex(int32_t script) const { in getScriptIndex()
172 CollationData::getEquivalentScripts(int32_t script, in getEquivalentScripts()
204 CollationData::makeReorderRanges(const int32_t *reorder, int32_t length, in makeReorderRanges()
[all …]
Dcollationfastlatinbuilder.h27 struct CollationData;
34 UBool forData(const CollationData &data, UErrorCode &errorCode);
45 UBool loadGroups(const CollationData &data, UErrorCode &errorCode);
49 void getCEs(const CollationData &data, UErrorCode &errorCode);
50 UBool getCEsFromCE32(const CollationData &data, UChar32 c, uint32_t ce32,
52 UBool getCEsFromContractionCE32(const CollationData &data, uint32_t ce32,
Dcollationiterator.h85 CollationIterator(const CollationData *d, UBool numeric) in CollationIterator()
130 const CollationData *d; in nextCE()
256 void appendCEsFromCE32(const CollationData *d, UChar32 c, uint32_t ce32,
261 const CollationData *data;
264 int64_t nextCEFromCE32(const CollationData *d, UChar32 c, uint32_t ce32,
267 uint32_t getCE32FromPrefix(const CollationData *d, uint32_t ce32,
275 const CollationData *d, uint32_t contractionCE32,
280 const CollationData *d, UCharsTrie &suffixes, uint32_t ce32,
Dcollationdatawriter.h21 struct CollationData;
30 static int32_t writeBase(const CollationData &data, const CollationSettings &settings,
43 const CollationData &data, const CollationSettings &settings,
Dcollationsets.cpp44 TailoredSet::forData(const CollationData *d, UErrorCode &ec) { in forData()
84 ce32 = data->getFinalCE32(CollationData::readCE32(p)); in compare()
87 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
94 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
103 ce32 = data->getFinalCE32(CollationData::readCE32(p)); in compare()
110 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
118 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
307 TailoredSet::addPrefixes(const CollationData *d, UChar32 c, const UChar *p) { in addPrefixes()
315 TailoredSet::addPrefix(const CollationData *d, const UnicodeString &pfx, UChar32 c, uint32_t ce32) { in addPrefix()
390 ContractionsAndExpansions::forData(const CollationData *d, UErrorCode &ec) { in forData()
[all …]
Dcollationtailoring.h32 struct CollationData;
62 const CollationData *data; // == base data or ownedData
76 CollationData *ownedData;
Dcollationdatabuilder.h65 void initForTailoring(const CollationData *b, UErrorCode &errorCode);
152 virtual void build(CollationData &data, UErrorCode &errorCode);
209 void buildMappings(CollationData &data, UErrorCode &errorCode);
217 void buildFastLatinTable(CollationData &data, UErrorCode &errorCode);
235 const CollationData *base;
Dcollationroot.h22 struct CollationData;
33 static const CollationData *getData(UErrorCode &errorCode);
Dcollationdata.h38 struct U_I18N_API CollationData : public UMemory { struct
53 CollationData(const Normalizer2Impl &nfc) in CollationData() function
185 const CollationData *base; argument
Dcollationruleparser.h27 struct CollationData;
107 CollationRuleParser(const CollationData *base, UErrorCode &errorCode);
181 const CollationData *const baseData;
Dcollationsettings.h26 struct CollationData;
125 void aliasReordering(const CollationData &data, const int32_t *codes, int32_t length,
128 void setReordering(const CollationData &data, const int32_t *codes, int32_t codesLength,
Dcollationfastlatinbuilder.cpp37 struct CollationData;
101 CollationFastLatinBuilder::forData(const CollationData &data, UErrorCode &errorCode) { in forData()
137 CollationFastLatinBuilder::loadGroups(const CollationData &data, UErrorCode &errorCode) { in loadGroups()
203 CollationFastLatinBuilder::getCEs(const CollationData &data, UErrorCode &errorCode) { in getCEs()
212 const CollationData *d; in getCEs()
244 CollationFastLatinBuilder::getCEsFromCE32(const CollationData &data, UChar32 c, uint32_t ce32, in getCEsFromCE32()
340 CollationFastLatinBuilder::getCEsFromContractionCE32(const CollationData &data, uint32_t ce32, in getCEsFromContractionCE32()
344 ce32 = CollationData::readCE32(p); // Default if no suffix match. in getCEsFromContractionCE32()
Dcollationdatabuilder.cpp146 CollationData builderData;
147 uint32_t jamoCE32s[CollationData::JAMO_CE32S_LENGTH];
158 for(int32_t j = 0; j < CollationData::JAMO_CE32S_LENGTH; ++j) { // Count across Jamo types. in DataBuilderCollationIterator()
186 const CollationData *d; in fetchCEs()
298 CollationDataBuilder::initForTailoring(const CollationData *b, UErrorCode &errorCode) { in initForTailoring()
796 ce32 = CollationData::readCE32(p); // Default if no prefix match. in copyFromBaseCE32()
833 ce32 = CollationData::readCE32(p); // Default if no suffix match. in copyFromBaseCE32()
872 ce32 = CollationData::readCE32(p); // Default if no suffix match. in copyContractionsFromBaseCE32()
1089 for(int32_t j = 0; j < CollationData::JAMO_CE32S_LENGTH; ++j) { // Count across Jamo types. in getJamoCE32s()
1140 for(int32_t j = 0; j < CollationData::JAMO_CE32S_LENGTH; ++j) { in getJamoCE32s()
[all …]
Duitercollationiterator.h34 UIterCollationIterator(const CollationData *d, UBool numeric, UCharIterator &ui) in UIterCollationIterator()
64 …FCDUIterCollationIterator(const CollationData *data, UBool numeric, UCharIterator &ui, int32_t sta… in FCDUIterCollationIterator()
Dcollationiterator.cpp237 CollationIterator::nextCEFromCE32(const CollationData *d, UChar32 c, uint32_t ce32, in nextCEFromCE32()
249 CollationIterator::appendCEsFromCE32(const CollationData *d, UChar32 c, uint32_t ce32, in appendCEsFromCE32()
305 uint32_t defaultCE32 = CollationData::readCE32(p); // Default if no suffix match. in appendCEsFromCE32()
446 CollationIterator::getCE32FromPrefix(const CollationData *d, uint32_t ce32, in getCE32FromPrefix()
449 ce32 = CollationData::readCE32(p); // Default if no prefix match. in getCE32FromPrefix()
488 CollationIterator::nextCE32FromContraction(const CollationData *d, uint32_t contractionCE32, in nextCE32FromContraction()
556 const CollationData *d, UCharsTrie &suffixes, uint32_t ce32, in nextCE32FromDiscontiguousContraction()
855 const CollationData *d; in previousCE()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationTailoring.java47 ownedData = new CollationData(nfcImpl); in ensureOwnedData()
97 public CollationData data; // == base data or ownedData
114 CollationData ownedData;
DCollationDataBuilder.java64 void initForTailoring(CollationData b) { in initForTailoring()
308 void build(CollationData data) { in build()
794 for(int j = 0; j < CollationData.JAMO_CE32S_LENGTH; ++j) { // Count across Jamo types. in getJamoCE32s()
844 for(int j = 0; j < CollationData.JAMO_CE32S_LENGTH; ++j) { in getJamoCE32s()
905 protected void buildMappings(CollationData data) { in buildMappings()
912 int[] jamoCE32s = new int[CollationData.JAMO_CE32S_LENGTH]; in buildMappings()
916 for(int i = 0; i < CollationData.JAMO_CE32S_LENGTH; ++i) { in buildMappings()
927 for(int i = Hangul.JAMO_L_COUNT; i < CollationData.JAMO_CE32S_LENGTH; ++i) { in buildMappings()
1141 protected void buildFastLatinTable(CollationData data) { in buildFastLatinTable()
1165 collIter = new DataBuilderCollationIterator(this, new CollationData(nfcImpl)); in getCEs()
[all …]
DCollationIterator.java182 public CollationIterator(CollationData d) { in CollationIterator()
190 public CollationIterator(CollationData d, boolean numeric) { in CollationIterator()
249 CollationData d; in nextCE()
313 CollationData d; in previousCE()
450 protected final void appendCEsFromCE32(CollationData d, int c, int ce32, in appendCEsFromCE32()
652 protected final CollationData data;
654 private final long nextCEFromCE32(CollationData d, int c, int ce32) { in nextCEFromCE32()
660 private final int getCE32FromPrefix(CollationData d, int ce32) { in getCE32FromPrefix()
699 CollationData d, int contractionCE32, in nextCE32FromContraction()
765 CollationData d, CharsTrie suffixes, int ce32, in nextCE32FromDiscontiguousContraction()
DTailoredSet.java39 private CollationData data;
40 private CollationData baseData;
49 public void forData(CollationData d) { in forData()
340 private void addPrefixes(CollationData d, int c, CharSequence p, int pidx) { in addPrefixes()
348 private void addPrefix(CollationData d, CharSequence pfx, int c, int ce32) { in addPrefix()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationTailoring.java49 ownedData = new CollationData(nfcImpl); in ensureOwnedData()
99 public CollationData data; // == base data or ownedData
116 CollationData ownedData;
DCollationDataBuilder.java65 void initForTailoring(CollationData b) { in initForTailoring()
309 void build(CollationData data) { in build()
795 for(int j = 0; j < CollationData.JAMO_CE32S_LENGTH; ++j) { // Count across Jamo types. in getJamoCE32s()
845 for(int j = 0; j < CollationData.JAMO_CE32S_LENGTH; ++j) { in getJamoCE32s()
906 protected void buildMappings(CollationData data) { in buildMappings()
913 int[] jamoCE32s = new int[CollationData.JAMO_CE32S_LENGTH]; in buildMappings()
917 for(int i = 0; i < CollationData.JAMO_CE32S_LENGTH; ++i) { in buildMappings()
928 for(int i = Hangul.JAMO_L_COUNT; i < CollationData.JAMO_CE32S_LENGTH; ++i) { in buildMappings()
1142 protected void buildFastLatinTable(CollationData data) { in buildFastLatinTable()
1166 collIter = new DataBuilderCollationIterator(this, new CollationData(nfcImpl)); in getCEs()
[all …]
DCollationIterator.java184 public CollationIterator(CollationData d) { in CollationIterator()
192 public CollationIterator(CollationData d, boolean numeric) { in CollationIterator()
251 CollationData d; in nextCE()
315 CollationData d; in previousCE()
452 protected final void appendCEsFromCE32(CollationData d, int c, int ce32, in appendCEsFromCE32()
654 protected final CollationData data;
656 private final long nextCEFromCE32(CollationData d, int c, int ce32) { in nextCEFromCE32()
662 private final int getCE32FromPrefix(CollationData d, int ce32) { in getCE32FromPrefix()
701 CollationData d, int contractionCE32, in nextCE32FromContraction()
767 CollationData d, CharsTrie suffixes, int ce32, in nextCE32FromDiscontiguousContraction()
DTailoredSet.java41 private CollationData data;
42 private CollationData baseData;
51 public void forData(CollationData d) { in forData()
342 private void addPrefixes(CollationData d, int c, CharSequence p, int pidx) { in addPrefixes()
350 private void addPrefix(CollationData d, CharSequence pfx, int c, int ce32) { in addPrefix()
/external/icu/icu4c/source/tools/toolutil/
Dcollationinfo.h21 struct CollationData;
29 static void printReorderRanges(const CollationData &data, const int32_t *codes, int32_t length);

1234