Home
last modified time | relevance | path

Searched refs:unsafeBackwardSet (Results 1 – 17 of 17) sorted by relevance

/external/icu/icu4c/source/tools/gencolusb/
Dextract_unsafe_backwards.cpp34 const UnicodeSet *unsafeBackwardSet = rootEntry->tailoring->unsafeBackwardSet; in main() local
38 int32_t rangeCount = unsafeBackwardSet->getRangeCount(); in main()
46 int32_t serializedCount = unsafeBackwardSet->serialize(NULL,0,preflightCode); in main()
53 unsafeBackwardSet->serialize(serializedData, serializedCount, errorCode); in main()
66 UnicodeSet set(*unsafeBackwardSet); in main()
141 unsafeBackwardSet->getRangeStart(i), in main()
142 unsafeBackwardSet->getRangeEnd(i), in main()
/external/icu/icu4c/source/i18n/
Dcollationdatareader.cpp269 …tailoring.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()
289 if(tailoring.unsafeBackwardSet == NULL) { in read()
293 data->nfcImpl.addLcccChars(*tailoring.unsafeBackwardSet); in read()
297 tailoring.unsafeBackwardSet = static_cast<UnicodeSet *>( in read()
298 baseData->unsafeBackwardSet->cloneAsThawed()); in read()
299 if(tailoring.unsafeBackwardSet == NULL) { in read()
315 tailoring.unsafeBackwardSet->add(start, end); in read()
321 if(!tailoring.unsafeBackwardSet->containsNone(c, c + 0x3ff)) { in read()
[all …]
Dcollationdatawriter.cpp116 UnicodeSet unsafeBackwardSet; in write() local
133 unsafeBackwardSet = *data.unsafeBackwardSet; in write()
152 unsafeBackwardSet.addAll(*data.unsafeBackwardSet).removeAll(*baseData->unsafeBackwardSet); in write()
153 if(!unsafeBackwardSet.isEmpty()) { in write()
282 if(hasMappings && !unsafeBackwardSet.isEmpty()) { in write()
287 length = unsafeBackwardSet.serialize( in write()
290 length = unsafeBackwardSet.serialize(NULL, 0, errorCode2); in write()
Dcollationdata.h63 unsafeBackwardSet(NULL), in CollationData()
82 return unsafeBackwardSet->contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
208 const UnicodeSet *unsafeBackwardSet; member
Dcollationtailoring.cpp40 trie(NULL), unsafeBackwardSet(NULL), in CollationTailoring()
64 delete unsafeBackwardSet; in ~CollationTailoring()
Dcollationtailoring.h83 UnicodeSet *unsafeBackwardSet; member
Dcollationdatabuilder.cpp333 unsafeBackwardSet.addAll(*b->unsafeBackwardSet); in initForTailoring()
591 unsafeBackwardSet.addAll(suffix); in addCE32()
995 dest.unsafeBackwardSet.addAll(cond->context.tempSubString(suffixStart)); in copyCE32()
1294 if(unsafeBackwardSet.containsSome(c, c + 0x3ff)) { in buildMappings()
1295 unsafeBackwardSet.add(lead); in buildMappings()
1298 unsafeBackwardSet.freeze(); in buildMappings()
1315 data.unsafeBackwardSet = &unsafeBackwardSet; in buildMappings()
Dcollationdatabuilder.h247 UnicodeSet unsafeBackwardSet; variable
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataReader.java335 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()
350 tailoring.unsafeBackwardSet.add(range[0], range[1]); in read()
356 if(!tailoring.unsafeBackwardSet.containsNone(c, c + 0x3ff)) { in read()
357 tailoring.unsafeBackwardSet.add(lead); in read()
360 tailoring.unsafeBackwardSet.freeze(); in read()
361 data.unsafeBackwardSet = tailoring.unsafeBackwardSet; in read()
366 data.unsafeBackwardSet = baseData.unsafeBackwardSet; in read()
DCollationDataBuilder.java96 unsafeBackwardSet.addAll(b.unsafeBackwardSet); in initForTailoring()
221 unsafeBackwardSet.addAll(suffix); in addCE32()
765 dest.unsafeBackwardSet.addAll(cond.context.substring(suffixStart)); in copyCE32()
971 if(unsafeBackwardSet.containsSome(c, c + 0x3ff)) { in buildMappings()
972 unsafeBackwardSet.add(lead); in buildMappings()
975 unsafeBackwardSet.freeze(); in buildMappings()
987 data.unsafeBackwardSet = unsafeBackwardSet; in buildMappings()
1331 return trie != null && unsafeBackwardSet != null && !unsafeBackwardSet.isFrozen(); in isMutable()
1348 protected UnicodeSet unsafeBackwardSet = new UnicodeSet(); field in CollationDataBuilder
DCollationTailoring.java118 UnicodeSet unsafeBackwardSet; field in CollationTailoring
DCollationData.java57 return unsafeBackwardSet.contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
514 UnicodeSet unsafeBackwardSet; field in CollationData
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataReader.java336 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()
351 tailoring.unsafeBackwardSet.add(range[0], range[1]); in read()
357 if(!tailoring.unsafeBackwardSet.containsNone(c, c + 0x3ff)) { in read()
358 tailoring.unsafeBackwardSet.add(lead); in read()
361 tailoring.unsafeBackwardSet.freeze(); in read()
362 data.unsafeBackwardSet = tailoring.unsafeBackwardSet; in read()
367 data.unsafeBackwardSet = baseData.unsafeBackwardSet; in read()
DCollationDataBuilder.java97 unsafeBackwardSet.addAll(b.unsafeBackwardSet); in initForTailoring()
222 unsafeBackwardSet.addAll(suffix); in addCE32()
766 dest.unsafeBackwardSet.addAll(cond.context.substring(suffixStart)); in copyCE32()
972 if(unsafeBackwardSet.containsSome(c, c + 0x3ff)) { in buildMappings()
973 unsafeBackwardSet.add(lead); in buildMappings()
976 unsafeBackwardSet.freeze(); in buildMappings()
988 data.unsafeBackwardSet = unsafeBackwardSet; in buildMappings()
1332 return trie != null && unsafeBackwardSet != null && !unsafeBackwardSet.isFrozen(); in isMutable()
1349 protected UnicodeSet unsafeBackwardSet = new UnicodeSet(); field in CollationDataBuilder
DCollationTailoring.java120 UnicodeSet unsafeBackwardSet; field in CollationTailoring
DCollationData.java59 return unsafeBackwardSet.contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
516 UnicodeSet unsafeBackwardSet; field in CollationData
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp3904 const UnicodeSet *unsafeBackwardSet = rootEntry->tailoring->unsafeBackwardSet; in TestUCAUnsafeBackwards()
3906 checkSerializeRoundTrip(*unsafeBackwardSet, errorCode); in TestUCAUnsafeBackwards()
3929 checkRoundTrip(*unsafeBackwardSet); in TestUCAUnsafeBackwards()