Home
last modified time | relevance | path

Searched refs:contractions (Results 1 – 19 of 19) sorted by relevance

/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DContractionsAndExpansions.java24 private UnicodeSet contractions; field in ContractionsAndExpansions
41 contractions = con; in ContractionsAndExpansions()
238 addStrings(start, end, contractions); in handlePrefixes()
261 addStrings(start, end, contractions); in handleContractions()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DContractionsAndExpansions.java28 private UnicodeSet contractions; field in ContractionsAndExpansions
45 contractions = con; in ContractionsAndExpansions()
242 addStrings(start, end, contractions); in handlePrefixes()
265 addStrings(start, end, contractions); in handleContractions()
/external/icu/icu4c/source/i18n/
Dcollationsets.h96 contractions(con), expansions(exp), in ContractionsAndExpansions()
126 UnicodeSet *contractions; variable
Ducol_sit.cpp613 USet *contractions, in ucol_getContractions() argument
616 ucol_getContractionsAndExpansions(coll, contractions, NULL, FALSE, status); in ucol_getContractions()
617 return uset_getItemCount(contractions); in ucol_getContractions()
632 USet *contractions, in ucol_getContractionsAndExpansions() argument
650 icu::UnicodeSet::fromUSet(contractions), in ucol_getContractionsAndExpansions()
Dalphaindex.cpp764 UnicodeSet contractions; in addChineseIndexCharacters() local
765 collatorPrimaryOnly_->internalAddContractions(BASE[0], contractions, errorCode); in addChineseIndexCharacters()
766 if (U_FAILURE(errorCode) || contractions.isEmpty()) { return FALSE; } in addChineseIndexCharacters()
767 initialLabels_->addAll(contractions); in addChineseIndexCharacters()
768 UnicodeSetIterator iter(contractions); in addChineseIndexCharacters()
Dcollationbuilder.cpp1689 USet *contractions = uset_open(0,0); in ucol_getUnsafeSet() local
1692 ucol_getContractionsAndExpansions(coll, contractions, NULL, FALSE, status); in ucol_getUnsafeSet()
1693 int32_t contsSize = uset_size(contractions); in ucol_getUnsafeSet()
1699 len = uset_getItem(contractions, i, NULL, NULL, buffer, internalBufferSize, status); in ucol_getUnsafeSet()
1711 uset_close(contractions); in ucol_getUnsafeSet()
Dcollationsets.cpp550 addStrings(start, end, contractions); in handlePrefixes()
574 addStrings(start, end, contractions); in handleContractions()
Drulebasedcollator.cpp385 UnicodeSet *contractions, UnicodeSet *expansions, in internalGetContractionsAndExpansions() argument
388 if(contractions != NULL) { in internalGetContractionsAndExpansions()
389 contractions->clear(); in internalGetContractionsAndExpansions()
394 ContractionsAndExpansions(contractions, expansions, NULL, addPrefixes).forData(data, errorCode); in internalGetContractionsAndExpansions()
/external/icu/icu4c/source/test/intltest/
Dcolldata.cpp334 USet *contractions = uset_openEmpty(); in CollData() local
353 ucol_getContractionsAndExpansions(coll, contractions, expansions, FALSE, &status); in CollData()
355 uset_addAll(charsToTest, contractions); in CollData()
406 uset_close(contractions); in CollData()
Dssearch.cpp1370 USet *contractions = uset_openEmpty(); in monkeyTest() local
1372 ucol_getContractionsAndExpansions(coll, contractions, expansions, FALSE, &status); in monkeyTest()
1378 StringSetMonkey contractionMonkey(contractions, coll, monkeyData); in monkeyTest()
1484 uset_close(contractions); in monkeyTest()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/data/
Dcollationtest.txt61 ** test: contractions
85 # deliberately missing prefix contractions:
111 ** test: simple contractions
114 # go into partial matches for prefixes of contractions
115 # (where the prefixes are deliberately not also contractions).
117 # so that discontiguous contractions work as specified.
155 # contiguous contractions
192 ** test: discontiguous contractions
253 ** test: discontiguous contractions with nested contractions
260 ** test: discontiguous contractions with interleaved contractions
[all …]
/external/icu/icu4c/source/test/testdata/
Dcollationtest.txt61 ** test: contractions
85 # deliberately missing prefix contractions:
111 ** test: simple contractions
114 # go into partial matches for prefixes of contractions
115 # (where the prefixes are deliberately not also contractions).
117 # so that discontiguous contractions work as specified.
155 # contiguous contractions
192 ** test: discontiguous contractions
253 ** test: discontiguous contractions with nested contractions
260 ** test: discontiguous contractions with interleaved contractions
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/
Dcollationtest.txt61 ** test: contractions
85 # deliberately missing prefix contractions:
111 ** test: simple contractions
114 # go into partial matches for prefixes of contractions
115 # (where the prefixes are deliberately not also contractions).
117 # so that discontiguous contractions work as specified.
155 # contiguous contractions
192 ** test: discontiguous contractions
253 ** test: discontiguous contractions with nested contractions
260 ** test: discontiguous contractions with interleaved contractions
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DAlphabeticIndex.java549 UnicodeSet contractions = new UnicodeSet(); in addChineseIndexCharacters() local
551 collatorPrimaryOnly.internalAddContractions(BASE.charAt(0), contractions); in addChineseIndexCharacters()
555 if (contractions.isEmpty()) { return false; } in addChineseIndexCharacters()
556 initialLabels.addAll(contractions); in addChineseIndexCharacters()
557 for (String s : contractions) { in addChineseIndexCharacters()
DRuleBasedCollator.java984 …public void getContractionsAndExpansions(UnicodeSet contractions, UnicodeSet expansions, boolean a… in getContractionsAndExpansions() argument
986 if (contractions != null) { in getContractionsAndExpansions()
987 contractions.clear(); in getContractionsAndExpansions()
992 new ContractionsAndExpansions(contractions, expansions, null, addPrefixes).forData(data); in getContractionsAndExpansions()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DAlphabeticIndex.java568 UnicodeSet contractions = new UnicodeSet(); in addChineseIndexCharacters() local
570 collatorPrimaryOnly.internalAddContractions(BASE.charAt(0), contractions); in addChineseIndexCharacters()
574 if (contractions.isEmpty()) { return false; } in addChineseIndexCharacters()
575 initialLabels.addAll(contractions); in addChineseIndexCharacters()
576 for (String s : contractions) { in addChineseIndexCharacters()
DRuleBasedCollator.java1011 …public void getContractionsAndExpansions(UnicodeSet contractions, UnicodeSet expansions, boolean a… in getContractionsAndExpansions() argument
1013 if (contractions != null) { in getContractionsAndExpansions()
1014 contractions.clear(); in getContractionsAndExpansions()
1019 new ContractionsAndExpansions(contractions, expansions, null, addPrefixes).forData(data); in getContractionsAndExpansions()
/external/icu/icu4c/source/i18n/unicode/
Dtblcoll.h755 UnicodeSet *contractions, UnicodeSet *expansions,
Ducol.h498 USet *contractions, USet *expansions,