Home
last modified time | relevance | path

Searched refs:unicodeSet (Results 1 – 14 of 14) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
DUnicodeSetSpanner.java46 private final UnicodeSet unicodeSet; field in UnicodeSetSpanner
56 unicodeSet = source; in UnicodeSetSpanner()
65 return unicodeSet; in getUnicodeSet()
74 …return other instanceof UnicodeSetSpanner && unicodeSet.equals(((UnicodeSetSpanner) other).unicode… in equals()
82 return unicodeSet.hashCode(); in hashCode()
156 int endOfSpan = unicodeSet.span(sequence, start, skipSpan); in countIn()
161 start = unicodeSet.span(sequence, endOfSpan, spanCondition); in countIn()
167 start = unicodeSet.spanAndCount(sequence, endOfSpan, spanCondition, spanCount); in countIn()
256 endModify = unicodeSet.span(sequence, endCopy, spanCondition); in replaceFrom()
261 endModify = unicodeSet.spanAndCount(sequence, endCopy, spanCondition, spanCount); in replaceFrom()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DUnicodeSetSpanner.java47 private final UnicodeSet unicodeSet; field in UnicodeSetSpanner
59 unicodeSet = source; in UnicodeSetSpanner()
70 return unicodeSet; in getUnicodeSet()
81 …return other instanceof UnicodeSetSpanner && unicodeSet.equals(((UnicodeSetSpanner) other).unicode… in equals()
91 return unicodeSet.hashCode(); in hashCode()
177 int endOfSpan = unicodeSet.span(sequence, start, skipSpan); in countIn()
182 start = unicodeSet.span(sequence, endOfSpan, spanCondition); in countIn()
188 start = unicodeSet.spanAndCount(sequence, endOfSpan, spanCondition, spanCount); in countIn()
287 endModify = unicodeSet.span(sequence, endCopy, spanCondition); in replaceFrom()
292 endModify = unicodeSet.spanAndCount(sequence, endCopy, spanCondition, spanCount); in replaceFrom()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/
DUnicodeSetFilteredTransform.java12 private final UnicodeSet unicodeSet; field in UnicodeSetFilteredTransform
16 unicodeSet = filter.freeze(); in UnicodeSetFilteredTransform()
32 if (unicodeSet.contains(cp)) { in getNextRegion()
44 if (!unicodeSet.contains(cp)) { in getNextRegion()
56 return ":: " + unicodeSet.toPattern(false) + ";\n" + super.toString(); in toString()
DidnaContextRules.txt22 # A variable is defined with a line of the form $X = <unicodeSet>
23 # They are a single unicodeSet (character range) according to http://www.unicode.org/reports/tr18/
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestCollationMapMaker.java52 UnicodeSet unicodeSet = new UnicodeSet(); in main() local
58 unicodeSet.clear(); in main()
59 unicodeSet.addAll(inverse.getAll(target)); in main()
61 unicodeSet.add(target); in main()
63 String unicodeSetName = pretty.format(unicodeSet); in main()
/external/cldr/tools/java/org/unicode/cldr/util/
DTokenizer.java28 protected UnicodeSet unicodeSet = null; field in Tokenizer
161 unicodeSet = new UnicodeSet(source, pos, symbolTable); in next()
249 return unicodeSet; in getUnicodeSet()
DSimpleXMLSource.java181 public static String replace(UnicodeSet unicodeSet, String valueToMatch, String substitute) { in replace() argument
189 if (unicodeSet.contains(cp)) { in replace()
DAttributeValueValidity.java393 …single, choice, list, unicodeSet, unicodeSetOrString, regex, locale, bcp47, subdivision, localeSpe… enumConstant
416 case unicodeSet: in getMatcherPattern2()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateTransform.java203 private String show(UnicodeSet unicodeSet) { in show() argument
204 if (unicodeSet.size() == 1) { in show()
205 UnicodeSetIterator it = new UnicodeSetIterator(unicodeSet); in show()
209 return unicodeSet.toPattern(false); in show()
DShowKeyboards.java140 UnicodeSet unicodeSet = keyboard.getPossibleResults().removeAll(controls); in showRepertoire() local
142 idInfo.add(id, unicodeSet); in showRepertoire()
147 id2unicodeset.put(id, unicodeSet.freeze()); in showRepertoire()
569 public static String safeUnicodeSet(UnicodeSet unicodeSet) { in safeUnicodeSet() argument
570 return TransliteratorUtilities.toHTML.transform(prettyPrinter.format(unicodeSet)); in safeUnicodeSet()
587 public void add(Id id, UnicodeSet unicodeSet) { in add() argument
589 for (String s : unicodeSet) { in add()
DGenerateSidewaysView.java413 UnicodeSet unicodeSet = mapping.keySet(locales); in writeCharToLocaleMapping() local
414 for (String item : unicodeSet) { in writeCharToLocaleMapping()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUnicodeSetTest.java2720 UnicodeSet unicodeSet = new UnicodeSet(); in testAddAll_CharacterSequences() local
2721 unicodeSet.addAll("a", "b"); in testAddAll_CharacterSequences()
2722 assertEquals("Wrong UnicodeSet pattern", "[ab]", unicodeSet.toPattern(true)); in testAddAll_CharacterSequences()
2723 unicodeSet.addAll("b", "x"); in testAddAll_CharacterSequences()
2724 assertEquals("Wrong UnicodeSet pattern", "[abx]", unicodeSet.toPattern(true)); in testAddAll_CharacterSequences()
2725 unicodeSet.addAll(new CharSequence[]{new StringBuilder("foo"), new StringBuffer("bar")}); in testAddAll_CharacterSequences()
2726 assertEquals("Wrong UnicodeSet pattern", "[abx{bar}{foo}]", unicodeSet.toPattern(true)); in testAddAll_CharacterSequences()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUnicodeSetTest.java2717 UnicodeSet unicodeSet = new UnicodeSet(); in testAddAll_CharacterSequences() local
2718 unicodeSet.addAll("a", "b"); in testAddAll_CharacterSequences()
2719 assertEquals("Wrong UnicodeSet pattern", "[ab]", unicodeSet.toPattern(true)); in testAddAll_CharacterSequences()
2720 unicodeSet.addAll("b", "x"); in testAddAll_CharacterSequences()
2721 assertEquals("Wrong UnicodeSet pattern", "[abx]", unicodeSet.toPattern(true)); in testAddAll_CharacterSequences()
2722 unicodeSet.addAll(new CharSequence[]{new StringBuilder("foo"), new StringBuffer("bar")}); in testAddAll_CharacterSequences()
2723 assertEquals("Wrong UnicodeSet pattern", "[abx{bar}{foo}]", unicodeSet.toPattern(true)); in testAddAll_CharacterSequences()
/external/cldr/tools/java/org/unicode/cldr/util/props/
DUnicodeProperty.java1627 protected UnicodeSet unicodeSet; field in UnicodeProperty.UnicodeSetProperty
1632 unicodeSet = set.freeze(); in set()
1643 return YESNO_ARRAY[unicodeSet.contains(codepoint) ? 0 : 1]; in _getValue()