Home
last modified time | relevance | path

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

1234

/external/icu/icu4c/source/i18n/
Dcollationsets.h26 struct CollationData;
51 void forData(const CollationData *d, UErrorCode &errorCode);
64 void addPrefixes(const CollationData *d, UChar32 c, const UChar *p);
65 void addPrefix(const CollationData *d, const UnicodeString &pfx, UChar32 c, uint32_t ce32);
79 const CollationData *data;
80 const CollationData *baseData;
105 void forData(const CollationData *d, UErrorCode &errorCode);
106 void forCodePoint(const CollationData *d, UChar32 c, UErrorCode &ec);
127 const CollationData *data;
Dcollationdata.cpp31 CollationData::getIndirectCE32(uint32_t ce32) const { in getIndirectCE32()
47 CollationData::getFinalCE32(uint32_t ce32) const { in getFinalCE32()
55 CollationData::getSingleCE(UChar32 c, UErrorCode &errorCode) const { in getSingleCE()
58 const CollationData *d; in getSingleCE()
119 CollationData::getFirstPrimaryForGroup(int32_t script) const { in getFirstPrimaryForGroup()
125 CollationData::getLastPrimaryForGroup(int32_t script) const { in getLastPrimaryForGroup()
135 CollationData::getGroupForPrimary(uint32_t p) const { in getGroupForPrimary()
156 CollationData::getScriptIndex(int32_t script) const { in getScriptIndex()
174 CollationData::getEquivalentScripts(int32_t script, in getEquivalentScripts()
206 CollationData::makeReorderRanges(const int32_t *reorder, int32_t length, in makeReorderRanges()
[all …]
Dcollationfastlatinbuilder.h30 struct CollationData;
37 UBool forData(const CollationData &data, UErrorCode &errorCode);
48 UBool loadGroups(const CollationData &data, UErrorCode &errorCode);
52 void getCEs(const CollationData &data, UErrorCode &errorCode);
53 UBool getCEsFromCE32(const CollationData &data, UChar32 c, uint32_t ce32,
55 UBool getCEsFromContractionCE32(const CollationData &data, uint32_t ce32,
Dcollationiterator.h102 CollationIterator(const CollationData *d, UBool numeric) in CollationIterator()
147 const CollationData *d; in nextCE()
273 void appendCEsFromCE32(const CollationData *d, UChar32 c, uint32_t ce32,
278 const CollationData *data;
281 int64_t nextCEFromCE32(const CollationData *d, UChar32 c, uint32_t ce32,
284 uint32_t getCE32FromPrefix(const CollationData *d, uint32_t ce32,
292 const CollationData *d, uint32_t contractionCE32,
297 const CollationData *d, UCharsTrie &suffixes, uint32_t ce32,
Dcollationsets.cpp46 TailoredSet::forData(const CollationData *d, UErrorCode &ec) { in forData()
86 ce32 = data->getFinalCE32(CollationData::readCE32(p)); in compare()
89 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
96 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
105 ce32 = data->getFinalCE32(CollationData::readCE32(p)); in compare()
112 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
120 baseCE32 = baseData->getFinalCE32(CollationData::readCE32(q)); in compare()
309 TailoredSet::addPrefixes(const CollationData *d, UChar32 c, const UChar *p) { in addPrefixes()
317 TailoredSet::addPrefix(const CollationData *d, const UnicodeString &pfx, UChar32 c, uint32_t ce32) { in addPrefix()
392 ContractionsAndExpansions::forData(const CollationData *d, UErrorCode &ec) { in forData()
[all …]
Dcollationdatawriter.h23 struct CollationData;
32 static int32_t writeBase(const CollationData &data, const CollationSettings &settings,
45 const CollationData &data, const CollationSettings &settings,
Dcollationtailoring.h34 struct CollationData;
64 const CollationData *data; // == base data or ownedData
78 CollationData *ownedData;
Dcollationdatabuilder.h67 void initForTailoring(const CollationData *b, UErrorCode &errorCode);
154 virtual void build(CollationData &data, UErrorCode &errorCode);
211 void buildMappings(CollationData &data, UErrorCode &errorCode);
219 void buildFastLatinTable(CollationData &data, UErrorCode &errorCode);
237 const CollationData *base;
Dcollationroot.h24 struct CollationData;
35 static const CollationData *getData(UErrorCode &errorCode);
Dcollationdata.h40 struct U_I18N_API CollationData : public UMemory { struct
55 CollationData(const Normalizer2Impl &nfc) in CollationData() function
187 const CollationData *base; argument
Dcollationruleparser.h29 struct CollationData;
109 CollationRuleParser(const CollationData *base, UErrorCode &errorCode);
183 const CollationData *const baseData;
Dcollationsettings.h28 struct CollationData;
127 void aliasReordering(const CollationData &data, const int32_t *codes, int32_t length,
130 void setReordering(const CollationData &data, const int32_t *codes, int32_t codesLength,
Dcollationfastlatinbuilder.cpp39 struct CollationData;
103 CollationFastLatinBuilder::forData(const CollationData &data, UErrorCode &errorCode) { in forData()
139 CollationFastLatinBuilder::loadGroups(const CollationData &data, UErrorCode &errorCode) { in loadGroups()
205 CollationFastLatinBuilder::getCEs(const CollationData &data, UErrorCode &errorCode) { in getCEs()
214 const CollationData *d; in getCEs()
246 CollationFastLatinBuilder::getCEsFromCE32(const CollationData &data, UChar32 c, uint32_t ce32, in getCEsFromCE32()
342 CollationFastLatinBuilder::getCEsFromContractionCE32(const CollationData &data, uint32_t ce32, in getCEsFromContractionCE32()
346 ce32 = CollationData::readCE32(p); // Default if no suffix match. in getCEsFromContractionCE32()
Dcollationdatabuilder.cpp148 CollationData builderData;
149 uint32_t jamoCE32s[CollationData::JAMO_CE32S_LENGTH];
160 for(int32_t j = 0; j < CollationData::JAMO_CE32S_LENGTH; ++j) { // Count across Jamo types. in DataBuilderCollationIterator()
188 const CollationData *d; in fetchCEs()
300 CollationDataBuilder::initForTailoring(const CollationData *b, UErrorCode &errorCode) { in initForTailoring()
798 ce32 = CollationData::readCE32(p); // Default if no prefix match. in copyFromBaseCE32()
835 ce32 = CollationData::readCE32(p); // Default if no suffix match. in copyFromBaseCE32()
874 ce32 = CollationData::readCE32(p); // Default if no suffix match. in copyContractionsFromBaseCE32()
1091 for(int32_t j = 0; j < CollationData::JAMO_CE32S_LENGTH; ++j) { // Count across Jamo types. in getJamoCE32s()
1142 for(int32_t j = 0; j < CollationData::JAMO_CE32S_LENGTH; ++j) { in getJamoCE32s()
[all …]
Dcollationiterator.cpp239 CollationIterator::nextCEFromCE32(const CollationData *d, UChar32 c, uint32_t ce32, in nextCEFromCE32()
251 CollationIterator::appendCEsFromCE32(const CollationData *d, UChar32 c, uint32_t ce32, in appendCEsFromCE32()
307 uint32_t defaultCE32 = CollationData::readCE32(p); // Default if no suffix match. in appendCEsFromCE32()
448 CollationIterator::getCE32FromPrefix(const CollationData *d, uint32_t ce32, in getCE32FromPrefix()
451 ce32 = CollationData::readCE32(p); // Default if no prefix match. in getCE32FromPrefix()
490 CollationIterator::nextCE32FromContraction(const CollationData *d, uint32_t contractionCE32, in nextCE32FromContraction()
558 const CollationData *d, UCharsTrie &suffixes, uint32_t ce32, in nextCE32FromDiscontiguousContraction()
857 const CollationData *d; in previousCE()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationTailoring.java51 ownedData = new CollationData(nfcImpl); in ensureOwnedData()
101 public CollationData data; // == base data or ownedData
118 CollationData ownedData;
DCollationDataBuilder.java67 void initForTailoring(CollationData b) { in initForTailoring()
311 void build(CollationData data) { in build()
797 for(int j = 0; j < CollationData.JAMO_CE32S_LENGTH; ++j) { // Count across Jamo types. in getJamoCE32s()
847 for(int j = 0; j < CollationData.JAMO_CE32S_LENGTH; ++j) { in getJamoCE32s()
908 protected void buildMappings(CollationData data) { in buildMappings()
915 int[] jamoCE32s = new int[CollationData.JAMO_CE32S_LENGTH]; in buildMappings()
919 for(int i = 0; i < CollationData.JAMO_CE32S_LENGTH; ++i) { in buildMappings()
930 for(int i = Hangul.JAMO_L_COUNT; i < CollationData.JAMO_CE32S_LENGTH; ++i) { in buildMappings()
1144 protected void buildFastLatinTable(CollationData data) { in buildFastLatinTable()
1168 collIter = new DataBuilderCollationIterator(this, new CollationData(nfcImpl)); in getCEs()
[all …]
DCollationIterator.java186 public CollationIterator(CollationData d) { in CollationIterator()
194 public CollationIterator(CollationData d, boolean numeric) { in CollationIterator()
259 CollationData d; in nextCE()
323 CollationData d; in previousCE()
460 protected final void appendCEsFromCE32(CollationData d, int c, int ce32, in appendCEsFromCE32()
662 protected final CollationData data;
664 private final long nextCEFromCE32(CollationData d, int c, int ce32) { in nextCEFromCE32()
670 private final int getCE32FromPrefix(CollationData d, int ce32) { in getCE32FromPrefix()
709 CollationData d, int contractionCE32, in nextCE32FromContraction()
775 CollationData d, CharsTrie suffixes, int ce32, in nextCE32FromDiscontiguousContraction()
DTailoredSet.java44 private CollationData data;
45 private CollationData baseData;
54 public void forData(CollationData d) { in forData()
345 private void addPrefixes(CollationData d, int c, CharSequence p, int pidx) { in addPrefixes()
353 private void addPrefix(CollationData d, CharSequence pfx, int c, int ce32) { in addPrefix()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationTailoring.java49 ownedData = new CollationData(nfcImpl); in ensureOwnedData()
99 public CollationData data; // == base data or ownedData
116 CollationData ownedData;
DCollationDataBuilder.java66 void initForTailoring(CollationData b) { in initForTailoring()
310 void build(CollationData data) { in build()
796 for(int j = 0; j < CollationData.JAMO_CE32S_LENGTH; ++j) { // Count across Jamo types. in getJamoCE32s()
846 for(int j = 0; j < CollationData.JAMO_CE32S_LENGTH; ++j) { in getJamoCE32s()
907 protected void buildMappings(CollationData data) { in buildMappings()
914 int[] jamoCE32s = new int[CollationData.JAMO_CE32S_LENGTH]; in buildMappings()
918 for(int i = 0; i < CollationData.JAMO_CE32S_LENGTH; ++i) { in buildMappings()
929 for(int i = Hangul.JAMO_L_COUNT; i < CollationData.JAMO_CE32S_LENGTH; ++i) { in buildMappings()
1143 protected void buildFastLatinTable(CollationData data) { in buildFastLatinTable()
1167 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()
257 CollationData d; in nextCE()
321 CollationData d; in previousCE()
458 protected final void appendCEsFromCE32(CollationData d, int c, int ce32, in appendCEsFromCE32()
660 protected final CollationData data;
662 private final long nextCEFromCE32(CollationData d, int c, int ce32) { in nextCEFromCE32()
668 private final int getCE32FromPrefix(CollationData d, int ce32) { in getCE32FromPrefix()
707 CollationData d, int contractionCE32, in nextCE32FromContraction()
773 CollationData d, CharsTrie suffixes, int ce32, in nextCE32FromDiscontiguousContraction()
DTailoredSet.java42 private CollationData data;
43 private CollationData baseData;
52 public void forData(CollationData d) { in forData()
343 private void addPrefixes(CollationData d, int c, CharSequence p, int pidx) { in addPrefixes()
351 private void addPrefix(CollationData d, CharSequence pfx, int c, int ce32) { in addPrefix()
DCollationFastLatinBuilder.java80 boolean forData(CollationData data) { in forData()
131 private boolean loadGroups(CollationData data) { in loadGroups()
193 private void getCEs(CollationData data) { in getCEs()
201 CollationData d; in getCEs()
232 private boolean getCEsFromCE32(CollationData data, int c, int ce32) { in getCEsFromCE32()
325 private boolean getCEsFromContractionCE32(CollationData data, int ce32) { in getCEsFromContractionCE32()
/external/icu/icu4c/source/tools/toolutil/
Dcollationinfo.h23 struct CollationData;
31 static void printReorderRanges(const CollationData &data, const int32_t *codes, int32_t length);

1234