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.cpp32 const UnicodeSet *unsafeBackwardSet = rootEntry->tailoring->unsafeBackwardSet; in main() local
36 int32_t rangeCount = unsafeBackwardSet->getRangeCount(); in main()
44 int32_t serializedCount = unsafeBackwardSet->serialize(NULL,0,preflightCode); in main()
51 unsafeBackwardSet->serialize(serializedData, serializedCount, errorCode); in main()
64 UnicodeSet set(*unsafeBackwardSet); in main()
137 unsafeBackwardSet->getRangeStart(i), in main()
138 unsafeBackwardSet->getRangeEnd(i), in main()
/external/icu/icu4c/source/i18n/
Dcollationdatareader.cpp267 …tailoring.unsafeBackwardSet = new UnicodeSet(unsafe_serializedData, unsafe_serializedCount, Unicod… in read()
268 if(tailoring.unsafeBackwardSet == NULL) { in read()
286 tailoring.unsafeBackwardSet = new UnicodeSet(0xdc00, 0xdfff); // trail surrogates in read()
287 if(tailoring.unsafeBackwardSet == NULL) { in read()
291 data->nfcImpl.addLcccChars(*tailoring.unsafeBackwardSet); in read()
295 tailoring.unsafeBackwardSet = static_cast<UnicodeSet *>( in read()
296 baseData->unsafeBackwardSet->cloneAsThawed()); in read()
297 if(tailoring.unsafeBackwardSet == NULL) { in read()
313 tailoring.unsafeBackwardSet->add(start, end); in read()
319 if(!tailoring.unsafeBackwardSet->containsNone(c, c + 0x3ff)) { in read()
[all …]
Dcollationdatawriter.cpp114 UnicodeSet unsafeBackwardSet; in write() local
131 unsafeBackwardSet = *data.unsafeBackwardSet; in write()
150 unsafeBackwardSet.addAll(*data.unsafeBackwardSet).removeAll(*baseData->unsafeBackwardSet); in write()
151 if(!unsafeBackwardSet.isEmpty()) { in write()
280 if(hasMappings && !unsafeBackwardSet.isEmpty()) { in write()
285 length = unsafeBackwardSet.serialize( in write()
288 length = unsafeBackwardSet.serialize(NULL, 0, errorCode2); in write()
Dcollationdata.h61 unsafeBackwardSet(NULL), in CollationData()
80 return unsafeBackwardSet->contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
206 const UnicodeSet *unsafeBackwardSet; member
Dcollationtailoring.cpp38 trie(NULL), unsafeBackwardSet(NULL), in CollationTailoring()
62 delete unsafeBackwardSet; in ~CollationTailoring()
Dcollationtailoring.h81 UnicodeSet *unsafeBackwardSet; member
Dcollationdatabuilder.cpp331 unsafeBackwardSet.addAll(*b->unsafeBackwardSet); in initForTailoring()
589 unsafeBackwardSet.addAll(suffix); in addCE32()
993 dest.unsafeBackwardSet.addAll(cond->context.tempSubString(suffixStart)); in copyCE32()
1292 if(unsafeBackwardSet.containsSome(c, c + 0x3ff)) { in buildMappings()
1293 unsafeBackwardSet.add(lead); in buildMappings()
1296 unsafeBackwardSet.freeze(); in buildMappings()
1313 data.unsafeBackwardSet = &unsafeBackwardSet; in buildMappings()
Dcollationdatabuilder.h245 UnicodeSet unsafeBackwardSet; variable
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationDataReader.java334 tailoring.unsafeBackwardSet = new UnicodeSet(0xdc00, 0xdfff); // trail surrogates in read()
335 data.nfcImpl.addLcccChars(tailoring.unsafeBackwardSet); in read()
338 tailoring.unsafeBackwardSet = baseData.unsafeBackwardSet.cloneAsThawed(); in read()
349 tailoring.unsafeBackwardSet.add(range[0], range[1]); in read()
355 if(!tailoring.unsafeBackwardSet.containsNone(c, c + 0x3ff)) { in read()
356 tailoring.unsafeBackwardSet.add(lead); in read()
359 tailoring.unsafeBackwardSet.freeze(); in read()
360 data.unsafeBackwardSet = tailoring.unsafeBackwardSet; in read()
365 data.unsafeBackwardSet = baseData.unsafeBackwardSet; in read()
DCollationDataBuilder.java95 unsafeBackwardSet.addAll(b.unsafeBackwardSet); in initForTailoring()
220 unsafeBackwardSet.addAll(suffix); in addCE32()
764 dest.unsafeBackwardSet.addAll(cond.context.substring(suffixStart)); in copyCE32()
970 if(unsafeBackwardSet.containsSome(c, c + 0x3ff)) { in buildMappings()
971 unsafeBackwardSet.add(lead); in buildMappings()
974 unsafeBackwardSet.freeze(); in buildMappings()
986 data.unsafeBackwardSet = unsafeBackwardSet; in buildMappings()
1330 return trie != null && unsafeBackwardSet != null && !unsafeBackwardSet.isFrozen(); in isMutable()
1347 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/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationDataReader.java333 tailoring.unsafeBackwardSet = new UnicodeSet(0xdc00, 0xdfff); // trail surrogates in read()
334 data.nfcImpl.addLcccChars(tailoring.unsafeBackwardSet); in read()
337 tailoring.unsafeBackwardSet = baseData.unsafeBackwardSet.cloneAsThawed(); in read()
348 tailoring.unsafeBackwardSet.add(range[0], range[1]); in read()
354 if(!tailoring.unsafeBackwardSet.containsNone(c, c + 0x3ff)) { in read()
355 tailoring.unsafeBackwardSet.add(lead); in read()
358 tailoring.unsafeBackwardSet.freeze(); in read()
359 data.unsafeBackwardSet = tailoring.unsafeBackwardSet; in read()
364 data.unsafeBackwardSet = baseData.unsafeBackwardSet; in read()
DCollationDataBuilder.java94 unsafeBackwardSet.addAll(b.unsafeBackwardSet); in initForTailoring()
219 unsafeBackwardSet.addAll(suffix); in addCE32()
763 dest.unsafeBackwardSet.addAll(cond.context.substring(suffixStart)); in copyCE32()
969 if(unsafeBackwardSet.containsSome(c, c + 0x3ff)) { in buildMappings()
970 unsafeBackwardSet.add(lead); in buildMappings()
973 unsafeBackwardSet.freeze(); in buildMappings()
985 data.unsafeBackwardSet = unsafeBackwardSet; in buildMappings()
1329 return trie != null && unsafeBackwardSet != null && !unsafeBackwardSet.isFrozen(); in isMutable()
1346 protected UnicodeSet unsafeBackwardSet = new UnicodeSet(); field in CollationDataBuilder
DCollationTailoring.java116 UnicodeSet unsafeBackwardSet; field in CollationTailoring
DCollationData.java55 return unsafeBackwardSet.contains(c) || (numeric && isDigit(c)); in isUnsafeBackward()
512 UnicodeSet unsafeBackwardSet; field in CollationData
/external/icu/icu4c/source/test/intltest/
Dusettest.cpp3896 const UnicodeSet *unsafeBackwardSet = rootEntry->tailoring->unsafeBackwardSet; in TestUCAUnsafeBackwards()
3898 checkSerializeRoundTrip(*unsafeBackwardSet, errorCode); in TestUCAUnsafeBackwards()
3921 checkRoundTrip(*unsafeBackwardSet); in TestUCAUnsafeBackwards()