/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/cldr/ |
CheckSystemFonts.java | 50 import com.ibm.icu.text.UnicodeSet; 75 Map<UnicodeSet,Set<String>> data = new TreeMap<UnicodeSet, Set<String>>(); 115 public static final UnicodeSet DONT_CARE = new UnicodeSet("[[:cn:][:co:][:cs:]]").freeze(); 116 public static final UnicodeSet COVERAGE = new UnicodeSet(DONT_CARE).complement().freeze(); 126 private static final Comparator<UnicodeSet> LONGER_SET_FIRST = new Comparator<UnicodeSet>() { 127 public int compare(UnicodeSet n1, UnicodeSet n2) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
CompoundTransliterator.java | 150 UnicodeSet[] compoundFilter = new UnicodeSet[1]; 312 public void addSourceTargetSet(UnicodeSet filter, UnicodeSet sourceSet, UnicodeSet targetSet) { 313 UnicodeSet myFilter = new UnicodeSet(getFilterAsUnicodeSet(filter)); 314 UnicodeSet tempTargetSet = new UnicodeSet(); 329 // public UnicodeSet getTargetSet() [all...] |
ThaiBreakEngine.java | 37 private static UnicodeSet fThaiWordSet; 38 private static UnicodeSet fEndWordSet; 39 private static UnicodeSet fBeginWordSet; 40 private static UnicodeSet fSuffixSet; 41 private static UnicodeSet fMarkSet; 45 fThaiWordSet = new UnicodeSet(); 46 fMarkSet = new UnicodeSet(); 47 fBeginWordSet = new UnicodeSet(); 48 fSuffixSet = new UnicodeSet(); 55 fEndWordSet = new UnicodeSet(fThaiWordSet) [all...] |
UnescapeTransliterator.java | 255 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet) 258 public void addSourceTargetSet(UnicodeSet inputFilter, UnicodeSet sourceSet, UnicodeSet targetSet) { 262 UnicodeSet myFilter = getFilterAsUnicodeSet(inputFilter); 263 UnicodeSet items = new UnicodeSet();
|
CaseFoldTransliterator.java | 111 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet) 114 public void addSourceTargetSet(UnicodeSet inputFilter, UnicodeSet sourceSet, UnicodeSet targetSet) {
|
UppercaseTransliterator.java | 115 * @see android.icu.text.Transliterator#addSourceTargetSet(android.icu.text.UnicodeSet, android.icu.text.UnicodeSet, android.icu.text.UnicodeSet) 118 public void addSourceTargetSet(UnicodeSet inputFilter, UnicodeSet sourceSet, UnicodeSet targetSet) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
ThaiBreakEngine.java | 36 private static UnicodeSet fThaiWordSet; 37 private static UnicodeSet fEndWordSet; 38 private static UnicodeSet fBeginWordSet; 39 private static UnicodeSet fSuffixSet; 40 private static UnicodeSet fMarkSet; 44 fThaiWordSet = new UnicodeSet(); 45 fMarkSet = new UnicodeSet(); 46 fBeginWordSet = new UnicodeSet(); 47 fSuffixSet = new UnicodeSet(); 54 fEndWordSet = new UnicodeSet(fThaiWordSet) [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
CompoundTransliterator.java | 149 UnicodeSet[] compoundFilter = new UnicodeSet[1]; 311 public void addSourceTargetSet(UnicodeSet filter, UnicodeSet sourceSet, UnicodeSet targetSet) { 312 UnicodeSet myFilter = new UnicodeSet(getFilterAsUnicodeSet(filter)); 313 UnicodeSet tempTargetSet = new UnicodeSet(); 328 // public UnicodeSet getTargetSet() [all...] |
UnescapeTransliterator.java | 254 * @see com.ibm.icu.text.Transliterator#addSourceTargetSet(com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet) 257 public void addSourceTargetSet(UnicodeSet inputFilter, UnicodeSet sourceSet, UnicodeSet targetSet) { 261 UnicodeSet myFilter = getFilterAsUnicodeSet(inputFilter); 262 UnicodeSet items = new UnicodeSet();
|
CaseFoldTransliterator.java | 110 * @see com.ibm.icu.text.Transliterator#addSourceTargetSet(com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet, com.ibm.icu.text.UnicodeSet) 113 public void addSourceTargetSet(UnicodeSet inputFilter, UnicodeSet sourceSet, UnicodeSet targetSet) {
|
/external/icu/icu4c/source/common/ |
uniset_props.cpp | 100 UnicodeSet *fSet; 105 static UnicodeSet *uni32Singleton; 116 ((UnicodeSet *)set)->add(c); 121 ((UnicodeSet *)set)->add(start, end); 126 ((UnicodeSet *)set)->add(UnicodeString((UBool)(length<0), str, length)); 130 * Cleanup function for UnicodeSet 158 // This function is a friend of class UnicodeSet. 161 UnicodeSet * &incl = gInclusions[src].fSet; 164 incl = new UnicodeSet(); 251 const UnicodeSet* UnicodeSet::getInclusions(int32_t src, UErrorCode &status) [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
WriteCharts.java | 27 import android.icu.text.UnicodeSet; 49 UnicodeSet s = new UnicodeSet(source); 146 UnicodeSet sourceSet = new UnicodeSet(testSet); 155 UnicodeSet targetSet = new UnicodeSet(target); 166 UnicodeSet leftOverSet = new UnicodeSet(targetSet); 167 UnicodeSet privateUse = new UnicodeSet("[:private use:]") [all...] |
ErrorTest.java | 12 import android.icu.text.UnicodeSet; 155 UnicodeSet set = new UnicodeSet(); 159 errln("FAIL: The default ctor of UnicodeSet created a non-empty object."); 163 errln("FAIL: Applied a bad pattern to the UnicodeSet object okay."); 168 new UnicodeSet(badPattern); 169 errln("FAIL: Created a UnicodeSet based on bad patterns."); 204 UnicodeSet set = null; 206 set = new UnicodeSet(goodPattern); 222 errln("FAIL: Was not able to create a good UnicodeSet based on valid patterns.") [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
WriteCharts.java | 26 import com.ibm.icu.text.UnicodeSet; 48 UnicodeSet s = new UnicodeSet(source); 145 UnicodeSet sourceSet = new UnicodeSet(testSet); 154 UnicodeSet targetSet = new UnicodeSet(target); 165 UnicodeSet leftOverSet = new UnicodeSet(targetSet); 166 UnicodeSet privateUse = new UnicodeSet("[:private use:]") [all...] |
ErrorTest.java | 11 import com.ibm.icu.text.UnicodeSet; 151 UnicodeSet set = new UnicodeSet(); 155 errln("FAIL: The default ctor of UnicodeSet created a non-empty object."); 159 errln("FAIL: Applied a bad pattern to the UnicodeSet object okay."); 164 new UnicodeSet(badPattern); 165 errln("FAIL: Created a UnicodeSet based on bad patterns."); 200 UnicodeSet set = null; 202 set = new UnicodeSet(goodPattern); 218 errln("FAIL: Was not able to create a good UnicodeSet based on valid patterns.") [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/ |
Visitor.java | 14 import android.icu.text.UnicodeSet; 26 } else if (item instanceof UnicodeSet) { 27 doAt((UnicodeSet) item); 40 } else if (item instanceof UnicodeSet) { 41 return ((UnicodeSet) item).size(); 83 protected void doAt (UnicodeSet c) {
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/ |
Visitor.java | 13 import com.ibm.icu.text.UnicodeSet; 25 } else if (item instanceof UnicodeSet) { 26 doAt((UnicodeSet) item); 39 } else if (item instanceof UnicodeSet) { 40 return ((UnicodeSet) item).size(); 82 protected void doAt (UnicodeSet c) {
|
/external/icu/icu4c/source/i18n/ |
cpdtrans.h | 144 virtual void handleGetSourceSet(UnicodeSet& result) const; 150 virtual UnicodeSet& getTargetSet(UnicodeSet& result) const;
|
regexst.cpp | 156 fPropSets[URX_ISWORD_SET] = new UnicodeSet(UnicodeString(TRUE, gIsWordPattern, -1), *status); 157 fPropSets[URX_ISSPACE_SET] = new UnicodeSet(UnicodeString(TRUE, gIsSpacePattern, -1), *status); 158 fPropSets[URX_GC_EXTEND] = new UnicodeSet(UnicodeString(TRUE, gGC_ExtendPattern, -1), *status); 159 fPropSets[URX_GC_CONTROL] = new UnicodeSet(UnicodeString(TRUE, gGC_ControlPattern, -1), *status); 160 fPropSets[URX_GC_L] = new UnicodeSet(UnicodeString(TRUE, gGC_LPattern, -1), *status); 161 fPropSets[URX_GC_V] = new UnicodeSet(UnicodeString(TRUE, gGC_VPattern, -1), *status); 162 fPropSets[URX_GC_T] = new UnicodeSet(UnicodeString(TRUE, gGC_TPattern, -1), *status); 163 fPropSets[URX_GC_LV] = new UnicodeSet(UnicodeString(TRUE, gGC_LVPattern, -1), *status); 164 fPropSets[URX_GC_LVT] = new UnicodeSet(UnicodeString(TRUE, gGC_LVTPattern, -1), *status); 189 fPropSets[URX_GC_NORMAL] = new UnicodeSet(0, UnicodeSet::MAX_VALUE) [all...] |
funcrepl.h | 96 virtual void addReplacementSetTo(UnicodeSet& toUnionTo) const;
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/ |
BuildMirroringTables.java | 13 import com.ibm.icu.text.UnicodeSet; 53 UnicodeSet mirrored = new UnicodeSet("[\\p{Bidi_Mirrored}]");
|
/external/icu/icu4c/source/tools/toolutil/ |
ppucd.h | 58 UnicodeSet scx; 129 const UniProps *getProps(UnicodeSet &newValues, UErrorCode &errorCode); 147 UBool parseProperty(UniProps &props, const char *field, UnicodeSet &newValues, 152 void parseScriptExtensions(const char *s, UnicodeSet &scx, UErrorCode &errorCode);
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
UnicodeSetPerf.java | 13 * A class for testing UnicodeSet performance. 21 UnicodeSet testChars; 23 UnicodeSet us; 33 throw new RuntimeException("Please supply UnicodeSet pattern"); 37 testChars = new UnicodeSet(pattern); 39 us = new UnicodeSet();
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
UnicodeSetStringSpanTest.java | 15 import android.icu.text.UnicodeSet; 16 import android.icu.text.UnicodeSet.SpanCondition; 23 * @summary General test of UnicodeSet string span. 36 UnicodeSet set = new UnicodeSet(pattern); 40 errln(String.format("FAIL: UnicodeSet(%s).spanBack(%s) returns the wrong value pos %d (!= 1)", 45 errln(String.format("FAIL: UnicodeSet(%s).span(%s) returns the wrong value pos %d (!= 3)", 50 errln(String.format("FAIL: UnicodeSet(%s).span(%s, 1) returns the wrong value pos %d (!= 3)", 59 UnicodeSet uset = new UnicodeSet(pattern) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
UnicodeSetStringSpanTest.java | 14 import com.ibm.icu.text.UnicodeSet; 15 import com.ibm.icu.text.UnicodeSet.SpanCondition; 20 * @summary General test of UnicodeSet string span. 32 UnicodeSet set = new UnicodeSet(pattern); 36 errln(String.format("FAIL: UnicodeSet(%s).spanBack(%s) returns the wrong value pos %d (!= 1)", 41 errln(String.format("FAIL: UnicodeSet(%s).span(%s) returns the wrong value pos %d (!= 3)", 46 errln(String.format("FAIL: UnicodeSet(%s).span(%s, 1) returns the wrong value pos %d (!= 3)", 55 UnicodeSet uset = new UnicodeSet(pattern) [all...] |