Home
last modified time | relevance | path

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

12345

/third_party/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
/third_party/flutter/skia/third_party/externals/icu/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
/third_party/node/deps/icu-small/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
/third_party/skia/third_party/externals/icu/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
/third_party/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 …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/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()
932 return tailoring.getRules(); in getRules()
954 return tailoring.getRules(); in getRules()
956 return CollationLoader.getRootRules() + tailoring.getRules(); in getRules()
1379 String theseRules = tailoring.getRules(); in equals()
1380 String otherRules = o.tailoring.getRules(); in equals()
1691 tailoring = t; in RuleBasedCollator()
[all …]
/third_party/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 …]
/third_party/icu/docs/userguide/collation/customization/
Dindex.md36 mechanism called "tailoring". Tailoring overrides the default order of code
46 A tailoring is specified via a string containing a set of rules. ICU implements
70 This is a non-complex example of a tailoring rule. Tailoring rules consist of
75 Note that the tailoring rules override the UCA ordering. In addition, if a
101 > also, some of the data used for tailoring to particular locales
151 is sorted after "Z", but "DŽ", due to the tailoring rule, is treated as a single
200 The tailoring inherits all the attribute values from the root collator unless
201 they are explicitly redefined in the tailoring. The following summarizes
288 Japanese tailoring. In CLDR 25/ICU 53, the Japanese tailoring expresses the
301 and overrides mappings. This special command is used in CLDR tailoring data to
[all …]
/third_party/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()
/third_party/flutter/skia/third_party/externals/icu/source/tools/gencolusb/
Dextract_unsafe_backwards.cpp33 const UVersionInfo &version = rootEntry->tailoring->version; in main()
34 const UnicodeSet *unsafeBackwardSet = rootEntry->tailoring->unsafeBackwardSet; in main()
/third_party/skia/third_party/externals/icu/source/tools/gencolusb/
Dextract_unsafe_backwards.cpp33 const UVersionInfo &version = rootEntry->tailoring->version; in main()
34 const UnicodeSet *unsafeBackwardSet = rootEntry->tailoring->unsafeBackwardSet; in main()

12345