Home
last modified time | relevance | path

Searched refs:tailoring (Results 1 – 25 of 68) sorted by relevance

123

/external/icu/icu4c/source/i18n/
Dcollationdatareader.cpp48 CollationTailoring &tailoring, UErrorCode &errorCode) { in read() argument
57 isAcceptable(tailoring.version, NULL, NULL, &header->info))) { in read()
61 if(base->getUCAVersion() != tailoring.getUCAVersion()) { in read()
166 if(!tailoring.ensureOwnedData(errorCode)) { return; } in read()
167 data = tailoring.ownedData; in read()
170 data->trie = tailoring.trie = utrie2_openFromSerialized( in read()
176 tailoring.data = baseData; in read()
269tailoring.unsafeBackwardSet = new UnicodeSet(unsafe_serializedData, unsafe_serializedCount, Unicod… in read()
270 if(tailoring.unsafeBackwardSet == NULL) { in read()
288 tailoring.unsafeBackwardSet = new UnicodeSet(0xdc00, 0xdfff); // trail surrogates in read()
[all …]
Drulebasedcollator.cpp144 tailoring(other.tailoring), in RuleBasedCollator()
157 tailoring(NULL), in RuleBasedCollator()
169 if(base->tailoring != root) { in RuleBasedCollator()
173 LocalPointer<CollationTailoring> t(new CollationTailoring(base->tailoring->settings)); in RuleBasedCollator()
178 CollationDataReader::read(base->tailoring, bin, length, *t, errorCode); in RuleBasedCollator()
185 : data(entry->tailoring->data), in RuleBasedCollator()
186 settings(entry->tailoring->settings), in RuleBasedCollator()
187 tailoring(entry->tailoring), in RuleBasedCollator()
207 U_ASSERT(settings == NULL && data == NULL && tailoring == NULL && cacheEntry == NULL); in adoptTailoring()
217 tailoring = t; in adoptTailoring()
[all …]
Dcollationbuilder.cpp88 tailoring(NULL), in RuleBasedCollator()
98 tailoring(NULL), in RuleBasedCollator()
110 tailoring(NULL), in RuleBasedCollator()
123 tailoring(NULL), in RuleBasedCollator()
137 tailoring(NULL), in RuleBasedCollator()
150 tailoring(NULL), in RuleBasedCollator()
244 LocalPointer<CollationTailoring> tailoring(new CollationTailoring(base->settings)); in parseAndBuild() local
245 if(tailoring.isNull() || tailoring->isBogus()) { in parseAndBuild()
259 CollationSettings &ownedSettings = *SharedObject::copyOnWrite(tailoring->settings); in parseAndBuild()
274 tailoring->ensureOwnedData(errorCode); in parseAndBuild()
[all …]
Dcollationtailoring.h97 : validLocale(loc), tailoring(t) { in CollationCacheEntry()
105 const CollationTailoring *tailoring; member
Dcollationdatareader.h103 CollationTailoring &tailoring, UErrorCode &errorCode);
Dcollationroot.cpp85 return rootSingleton->tailoring; in getRoot()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataReader.java100 CollationTailoring tailoring) throws IOException { in read() argument
101 tailoring.version = ICUBinary.readHeader(inBytes, DATA_FORMAT, IS_ACCEPTABLE); in read()
102 if(base != null && base.getUCAVersion() != tailoring.getUCAVersion()) { in read()
208 tailoring.ensureOwnedData(); in read()
209 data = tailoring.ownedData; in read()
212 data.trie = tailoring.trie = Trie2_32.createFromSerialized(inBytes); in read()
220 tailoring.data = baseData; in read()
335 tailoring.unsafeBackwardSet = new UnicodeSet(0xdc00, 0xdfff); // trail surrogates in read()
336 data.nfcImpl.addLcccChars(tailoring.unsafeBackwardSet); in read()
339 tailoring.unsafeBackwardSet = baseData.unsafeBackwardSet.cloneAsThawed(); in read()
[all …]
DCollationBuilder.java62 CollationTailoring tailoring = new CollationTailoring(base.settings); in parseAndBuild() local
74 CollationSettings ownedSettings = tailoring.settings.copyOnWrite(); in parseAndBuild()
87 tailoring.ensureOwnedData(); in parseAndBuild()
89 dataBuilder.build(tailoring.ownedData); in parseAndBuild()
93 tailoring.data = baseData; in parseAndBuild()
96 tailoring.data, ownedSettings, in parseAndBuild()
98 tailoring.setRules(ruleString); in parseAndBuild()
102 tailoring.setVersion(base.version, 0 /* rulesVersion */); in parseAndBuild()
103 return tailoring; in parseAndBuild()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataReader.java101 CollationTailoring tailoring) throws IOException { in read() argument
102 tailoring.version = ICUBinary.readHeader(inBytes, DATA_FORMAT, IS_ACCEPTABLE); in read()
103 if(base != null && base.getUCAVersion() != tailoring.getUCAVersion()) { in read()
209 tailoring.ensureOwnedData(); in read()
210 data = tailoring.ownedData; in read()
213 data.trie = tailoring.trie = Trie2_32.createFromSerialized(inBytes); in read()
221 tailoring.data = baseData; in read()
336 tailoring.unsafeBackwardSet = new UnicodeSet(0xdc00, 0xdfff); // trail surrogates in read()
337 data.nfcImpl.addLcccChars(tailoring.unsafeBackwardSet); in read()
340 tailoring.unsafeBackwardSet = baseData.unsafeBackwardSet.cloneAsThawed(); in read()
[all …]
DCollationBuilder.java66 CollationTailoring tailoring = new CollationTailoring(base.settings); in parseAndBuild() local
78 CollationSettings ownedSettings = tailoring.settings.copyOnWrite(); in parseAndBuild()
91 tailoring.ensureOwnedData(); in parseAndBuild()
93 dataBuilder.build(tailoring.ownedData); in parseAndBuild()
97 tailoring.data = baseData; in parseAndBuild()
100 tailoring.data, ownedSettings, in parseAndBuild()
102 tailoring.setRules(ruleString); in parseAndBuild()
106 tailoring.setVersion(base.version, 0 /* rulesVersion */); in parseAndBuild()
107 return tailoring; in parseAndBuild()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DRuleBasedCollator.java256 synchronized(tailoring) { in initMaxExpansions()
257 if (tailoring.maxExpansions == null) { in initMaxExpansions()
258tailoring.maxExpansions = CollationElementIterator.computeMaxExpansions(tailoring.data); in initMaxExpansions()
364 return tailoring.settings.readOnly(); in getDefaultSettings()
956 return tailoring.getRules(); in getRules()
979 return tailoring.getRules(); in getRules()
981 return CollationLoader.getRootRules() + tailoring.getRules(); in getRules()
1416 String theseRules = tailoring.getRules(); in equals()
1417 String otherRules = o.tailoring.getRules(); in equals()
1729 tailoring = t; in RuleBasedCollator()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRuleBasedCollator.java254 synchronized(tailoring) { in initMaxExpansions()
255 if (tailoring.maxExpansions == null) { in initMaxExpansions()
256tailoring.maxExpansions = CollationElementIterator.computeMaxExpansions(tailoring.data); in initMaxExpansions()
355 return tailoring.settings.readOnly(); in getDefaultSettings()
935 return tailoring.getRules(); in getRules()
957 return tailoring.getRules(); in getRules()
959 return CollationLoader.getRootRules() + tailoring.getRules(); in getRules()
1381 String theseRules = tailoring.getRules(); in equals()
1382 String otherRules = o.tailoring.getRules(); in equals()
1693 tailoring = t; in RuleBasedCollator()
[all …]
/external/icu/tools/srcgen/javadoc_patches/patches/src/main/java/android/icu/text/
DRuleBasedCollator.java.patch4 * Gets the collation tailoring rules for this RuleBasedCollator.
10 * @return the collation tailoring rules
/external/icu/icu4c/source/tools/gencolusb/
Dextract_unsafe_backwards.cpp33 const UVersionInfo &version = rootEntry->tailoring->version; in main()
34 const UnicodeSet *unsafeBackwardSet = rootEntry->tailoring->unsafeBackwardSet; in main()
/external/python/cpython2/Doc/library/
Di18n.rst10 language to be used in program messages or by tailoring output to match local
/external/python/cpython3/Doc/library/
Di18n.rst9 language to be used in program messages or by tailoring output to match local
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/break_rules/
Dline_loose_cj.txt12 # They are expected to change with review and the addition of support for rule tailoring.
62 ID = [[:LineBreak = Ideographic:] CJ]; # CSS Loose tailoring: CJ resolves to ID
146 # LB 13 ICU Tailoring, matches tailoring exmaple 8 from UAX 14.
204 # Loose_cj tailoring: do not include $PRX at the beginning or $POX at the end.
Dline.txt12 # They are expected to change with review and the addition of support for rule tailoring.
48 NS = [[:LineBreak = Nonstarter:] CJ]; # CSS Strict tailoring: CJ resolves to NS.
121 # LB 13 ICU Tailoring, matches tailoring example 8 from UAX 14.
Dline_loose.txt12 # They are expected to change with review and the addition of support for rule tailoring.
47 ID = [[:LineBreak = Ideographic:] CJ]; # CSS Normal tailoring: CJ resolves to ID
129 # LB 13 ICU Tailoring, matches tailoring example 8 from UAX 14.
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/break_rules/
Dline_loose_cj.txt12 # They are expected to change with review and the addition of support for rule tailoring.
62 ID = [[:LineBreak = Ideographic:] CJ]; # CSS Loose tailoring: CJ resolves to ID
146 # LB 13 ICU Tailoring, matches tailoring exmaple 8 from UAX 14.
204 # Loose_cj tailoring: do not include $PRX at the beginning or $POX at the end.
Dline.txt12 # They are expected to change with review and the addition of support for rule tailoring.
48 NS = [[:LineBreak = Nonstarter:] CJ]; # CSS Strict tailoring: CJ resolves to NS.
121 # LB 13 ICU Tailoring, matches tailoring example 8 from UAX 14.
Dline_loose.txt12 # They are expected to change with review and the addition of support for rule tailoring.
47 ID = [[:LineBreak = Ideographic:] CJ]; # CSS Normal tailoring: CJ resolves to ID
129 # LB 13 ICU Tailoring, matches tailoring example 8 from UAX 14.
/external/icu/icu4c/source/test/testdata/break_rules/
Dline_loose_cj.txt12 # They are expected to change with review and the addition of support for rule tailoring.
62 ID = [[:LineBreak = Ideographic:] CJ]; # CSS Loose tailoring: CJ resolves to ID
146 # LB 13 ICU Tailoring, matches tailoring exmaple 8 from UAX 14.
204 # Loose_cj tailoring: do not include $PRX at the beginning or $POX at the end.
Dline.txt12 # They are expected to change with review and the addition of support for rule tailoring.
48 NS = [[:LineBreak = Nonstarter:] CJ]; # CSS Strict tailoring: CJ resolves to NS.
121 # LB 13 ICU Tailoring, matches tailoring example 8 from UAX 14.
Dline_loose.txt12 # They are expected to change with review and the addition of support for rule tailoring.
47 ID = [[:LineBreak = Ideographic:] CJ]; # CSS Normal tailoring: CJ resolves to ID
129 # LB 13 ICU Tailoring, matches tailoring example 8 from UAX 14.

123