Home
last modified time | relevance | path

Searched refs:tailored (Results 1 – 25 of 88) sorted by relevance

1234

/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DTailoredSet.java44 private UnicodeSet tailored; field in TailoredSet
49 tailored = t; in TailoredSet()
90 tailored.add(start); in handleCE32()
224 if (tailored.contains(jamos.charAt(0)) || tailored.contains(jamos.charAt(1)) in compare()
225 || (length == 3 && tailored.contains(jamos.charAt(2)))) { in compare()
358 tailored.add(new StringBuilder(unreversedPrefix.appendCodePoint(c))); in addPrefix()
371 tailored.add(new StringBuilder(unreversedPrefix).appendCodePoint(c).append(sfx)); in addSuffix()
376 tailored.add(c); in add()
383 tailored.add(s); in add()
DContractionsAndExpansions.java31 private UnicodeSet tailored = new UnicodeSet(); field in ContractionsAndExpansions
64 tailored.freeze(); in forData()
82 cne.tailored.add(start, end); in enumCnERange()
86 if (cne.tailored.contains(start)) { in enumCnERange()
89 } else if (cne.tailored.containsSome(start, end)) { in enumCnERange()
93 cne.ranges.set(start, end).removeAll(cne.tailored); in enumCnERange()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DTailoredSet.java46 private UnicodeSet tailored; field in TailoredSet
51 tailored = t; in TailoredSet()
92 tailored.add(start); in handleCE32()
226 if (tailored.contains(jamos.charAt(0)) || tailored.contains(jamos.charAt(1)) in compare()
227 || (length == 3 && tailored.contains(jamos.charAt(2)))) { in compare()
360 tailored.add(new StringBuilder(unreversedPrefix.appendCodePoint(c))); in addPrefix()
373 tailored.add(new StringBuilder(unreversedPrefix).appendCodePoint(c).append(sfx)); in addSuffix()
378 tailored.add(c); in add()
385 tailored.add(s); in add()
DContractionsAndExpansions.java35 private UnicodeSet tailored = new UnicodeSet(); field in ContractionsAndExpansions
71 tailored.freeze(); in forData()
89 cne.tailored.add(start, end); in enumCnERange()
93 if (cne.tailored.contains(start)) { in enumCnERange()
96 } else if (cne.tailored.containsSome(start, end)) { in enumCnERange()
100 cne.ranges.set(start, end).removeAll(cne.tailored); in enumCnERange()
/third_party/icu/icu4c/source/i18n/
Dcollationsets.cpp73 tailored->add(start); in handleCE32()
207 if(tailored->contains(jamos[0]) || tailored->contains(jamos[1]) || in compare()
208 (length == 3 && tailored->contains(jamos[2]))) { in compare()
324 tailored->add(UnicodeString(unreversedPrefix).append(c)); in addPrefix()
338 tailored->add(UnicodeString(unreversedPrefix).append(c).append(sfx)); in addSuffix()
344 tailored->add(c); in add()
351 tailored->add(s); in add()
370 cne->tailored.add(start, end); in enumCnERange()
374 if(cne->tailored.contains(start)) { in enumCnERange()
377 } else if(cne->tailored.containsSome(start, end)) { in enumCnERange()
[all …]
Dcollationsets.h47 tailored(t), in TailoredSet()
81 UnicodeSet *tailored; variable
133 UnicodeSet tailored; variable
Drulebasedcollator.cpp370 UnicodeSet *tailored = new UnicodeSet(); in getTailoredSet() local
371 if(tailored == NULL) { in getTailoredSet()
376 TailoredSet(tailored).forData(data, errorCode); in getTailoredSet()
378 delete tailored; in getTailoredSet()
382 return tailored; in getTailoredSet()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationsets.cpp73 tailored->add(start); in handleCE32()
207 if(tailored->contains(jamos[0]) || tailored->contains(jamos[1]) || in compare()
208 (length == 3 && tailored->contains(jamos[2]))) { in compare()
324 tailored->add(UnicodeString(unreversedPrefix).append(c)); in addPrefix()
338 tailored->add(UnicodeString(unreversedPrefix).append(c).append(sfx)); in addSuffix()
344 tailored->add(c); in add()
351 tailored->add(s); in add()
370 cne->tailored.add(start, end); in enumCnERange()
374 if(cne->tailored.contains(start)) { in enumCnERange()
377 } else if(cne->tailored.containsSome(start, end)) { in enumCnERange()
[all …]
Dcollationsets.h47 tailored(t), in TailoredSet()
81 UnicodeSet *tailored; variable
133 UnicodeSet tailored; variable
Drulebasedcollator.cpp370 UnicodeSet *tailored = new UnicodeSet(); in getTailoredSet() local
371 if(tailored == NULL) { in getTailoredSet()
376 TailoredSet(tailored).forData(data, errorCode); in getTailoredSet()
378 delete tailored; in getTailoredSet()
382 return tailored; in getTailoredSet()
/third_party/node/deps/icu-small/source/i18n/
Dcollationsets.cpp73 tailored->add(start); in handleCE32()
207 if(tailored->contains(jamos[0]) || tailored->contains(jamos[1]) || in compare()
208 (length == 3 && tailored->contains(jamos[2]))) { in compare()
324 tailored->add(UnicodeString(unreversedPrefix).append(c)); in addPrefix()
338 tailored->add(UnicodeString(unreversedPrefix).append(c).append(sfx)); in addSuffix()
344 tailored->add(c); in add()
351 tailored->add(s); in add()
370 cne->tailored.add(start, end); in enumCnERange()
374 if(cne->tailored.contains(start)) { in enumCnERange()
377 } else if(cne->tailored.containsSome(start, end)) { in enumCnERange()
[all …]
Dcollationsets.h47 tailored(t), in TailoredSet()
81 UnicodeSet *tailored; variable
133 UnicodeSet tailored; variable
Drulebasedcollator.cpp372 UnicodeSet *tailored = new UnicodeSet(); in getTailoredSet() local
373 if(tailored == nullptr) { in getTailoredSet()
378 TailoredSet(tailored).forData(data, errorCode); in getTailoredSet()
380 delete tailored; in getTailoredSet()
384 return tailored; in getTailoredSet()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationIteratorTest.java260 RuleBasedCollator tailored = null; in TestOffset() local
262 tailored = new RuleBasedCollator("& a < ch"); in TestOffset()
267 iter = tailored.getCollationElementIterator(contraction); in TestOffset()
275 iter = tailored.getCollationElementIterator(contraction); in TestOffset()
285 iter = tailored.getCollationElementIterator(surrogate); in TestOffset()
293 iter = tailored.getCollationElementIterator(surrogate); in TestOffset()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
DCollationIteratorTest.java263 RuleBasedCollator tailored = null; in TestOffset() local
265 tailored = new RuleBasedCollator("& a < ch"); in TestOffset()
270 iter = tailored.getCollationElementIterator(contraction); in TestOffset()
278 iter = tailored.getCollationElementIterator(contraction); in TestOffset()
288 iter = tailored.getCollationElementIterator(surrogate); in TestOffset()
296 iter = tailored.getCollationElementIterator(surrogate); in TestOffset()
/third_party/icu/icu4c/source/test/intltest/
Ditercoll.cpp224 RuleBasedCollator tailored("& a < ch", status); in TestOffset() local
229 iter = tailored.createCollationElementIterator(contraction); in TestOffset()
241 iter = tailored.createCollationElementIterator(contraction); in TestOffset()
254 iter = tailored.createCollationElementIterator(surrogate); in TestOffset()
265 iter = tailored.createCollationElementIterator(surrogate); in TestOffset()
Dsrchtest.cpp1074 RuleBasedCollator *tailored = new RuleBasedCollator(rules, status); in TestCollator() local
1075 tailored->setStrength(getECollationStrength(COLLATOR[1].strength)); in TestCollator()
1080 delete tailored; in TestCollator()
1084 strsrch->setCollator(tailored, status); in TestCollator()
1085 if (U_FAILURE(status) || (*strsrch->getCollator()) != (*tailored)) { in TestCollator()
1088 delete tailored; in TestCollator()
1093 delete tailored; in TestCollator()
1102 delete tailored; in TestCollator()
1108 delete tailored; in TestCollator()
1928 RuleBasedCollator *tailored = new RuleBasedCollator(rules, in TestCollatorCanonical() local
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dusrchtst.c941 UCollator *tailored = NULL; in TestCollator() local
962 tailored = usearch_getCollator(strsrch); in TestCollator()
966 ucol_setStrength(tailored, UCOL_PRIMARY); in TestCollator()
991 tailored = ucol_openRules(rules, -1, UCOL_ON, COLLATOR[1].strength, in TestCollator()
997 usearch_setCollator(strsrch, tailored, &status); in TestCollator()
998 if (U_FAILURE(status) || usearch_getCollator(strsrch) != tailored) { in TestCollator()
1017 if (tailored != NULL) { in TestCollator()
1018 ucol_close(tailored); in TestCollator()
2044 UCollator *tailored = NULL; in TestCollatorCanonical() local
2077 tailored = ucol_openRules(rules, -1, UCOL_ON, in TestCollatorCanonical()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/search/
DSearchTest.java956 RuleBasedCollator tailored = null; in TestCollator() local
958 tailored = new RuleBasedCollator(rules); in TestCollator()
959 tailored.setStrength(COLLATOR[1].strength); in TestCollator()
965 strsrch.setCollator(tailored); in TestCollator()
966 if (!strsrch.getCollator().equals(tailored)) { in TestCollator()
1002 RuleBasedCollator tailored = null; in TestCollatorCanonical() local
1004 tailored = new RuleBasedCollator(rules); in TestCollatorCanonical()
1005 tailored.setStrength(COLLATORCANONICAL[1].strength); in TestCollatorCanonical()
1006 tailored.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in TestCollatorCanonical()
1011 strsrch.setCollator(tailored); in TestCollatorCanonical()
[all …]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/search/
DSearchTest.java953 RuleBasedCollator tailored = null; in TestCollator() local
955 tailored = new RuleBasedCollator(rules); in TestCollator()
956 tailored.setStrength(COLLATOR[1].strength); in TestCollator()
962 strsrch.setCollator(tailored); in TestCollator()
963 if (!strsrch.getCollator().equals(tailored)) { in TestCollator()
999 RuleBasedCollator tailored = null; in TestCollatorCanonical() local
1001 tailored = new RuleBasedCollator(rules); in TestCollatorCanonical()
1002 tailored.setStrength(COLLATORCANONICAL[1].strength); in TestCollatorCanonical()
1003 tailored.setDecomposition(Collator.CANONICAL_DECOMPOSITION); in TestCollatorCanonical()
1008 strsrch.setCollator(tailored); in TestCollatorCanonical()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/resources/ohos/global/icu/dev/data/
Dcollationtest.txt577 ** test: secondary & tertiary around tailored item
618 &w<x # tailored CE getting case bits
719 ** test: no duplicate tailored CEs for different reset positions with same CEs, ICU ticket 10104
783 ** test: extension contains tailored character, ICU ticket 10105
1186 <1 äs # not tailored
1211 <1 â # tailored
1222 <1 ạ # tailored
1239 <1 \u5140câ # tailored
1260 <1 \u5140câ # tailored
1277 <1 cạ # tailored
[all …]
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/data/
Dcollationtest.txt577 ** test: secondary & tertiary around tailored item
618 &w<x # tailored CE getting case bits
719 ** test: no duplicate tailored CEs for different reset positions with same CEs, ICU ticket 10104
783 ** test: extension contains tailored character, ICU ticket 10105
1186 <1 äs # not tailored
1211 <1 â # tailored
1222 <1 ạ # tailored
1239 <1 \u5140câ # tailored
1260 <1 \u5140câ # tailored
1277 <1 cạ # tailored
[all …]
/third_party/icu/icu4c/source/test/testdata/
Dcollationtest.txt577 ** test: secondary & tertiary around tailored item
618 &w<x # tailored CE getting case bits
719 ** test: no duplicate tailored CEs for different reset positions with same CEs, ICU ticket 10104
783 ** test: extension contains tailored character, ICU ticket 10105
1186 <1 äs # not tailored
1211 <1 â # tailored
1222 <1 ạ # tailored
1239 <1 \u5140câ # tailored
1260 <1 \u5140câ # tailored
1277 <1 cạ # tailored
[all …]
/third_party/icu/tools/colprobe/
DcolprobeNew.cpp658 UnicodeSet tailored; in processCollator() local
660 tailored = *((UnicodeSet *)ucol_getTailoredSet(gCol, &status)); in processCollator()
661 tailored.removeAll(CONTROL); in processCollator()
693 exemplarUSet.addAll(tailored); in processCollator()
/third_party/icu/docs/userguide/collation/customization/
Dindex.md67 This includes "Graham"; "G" would have to be tailored separately, such as with
510 makes them sort after all other non-tailored code points except for U+FFFD and U+FFFF.
638 the canonically composed form of a tailored string produces different collation
640 form is effectively added to the ordering. If 'a' is tailored, for example, all
641 of the accented 'a' characters are also tailored. Canonical closure allows
648 needs to be tailored **explicitly**.
671 If the second list resets to a character tailored in the first list, then the second
882 tailored after space. However, if variable top is set to be equal to HYPHEN
1052 If Jamo characters are tailored, that causes the code to go through a slow path,

1234