Home
last modified time | relevance | path

Searched refs:scriptSet (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DTestUScript.java218 UnicodeSet scriptSet = new UnicodeSet(); in TestScriptMetadata() local
219 scriptSet.applyIntPropertyValue(UProperty.SCRIPT, sc); in TestScriptMetadata()
225 assertTrue(sn + " not encoded, no characters", scriptSet.isEmpty()); in TestScriptMetadata()
234 … assertEquals(sn + " encoded, has characters", sc == charScript, !scriptSet.isEmpty()); in TestScriptMetadata()
236 rtl.removeAll(scriptSet); in TestScriptMetadata()
239 cased.removeAll(scriptSet); in TestScriptMetadata()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DTestUScript.java221 UnicodeSet scriptSet = new UnicodeSet(); in TestScriptMetadata() local
222 scriptSet.applyIntPropertyValue(UProperty.SCRIPT, sc); in TestScriptMetadata()
228 assertTrue(sn + " not encoded, no characters", scriptSet.isEmpty()); in TestScriptMetadata()
237 … assertEquals(sn + " encoded, has characters", sc == charScript, !scriptSet.isEmpty()); in TestScriptMetadata()
239 rtl.removeAll(scriptSet); in TestScriptMetadata()
242 cased.removeAll(scriptSet); in TestScriptMetadata()
/external/icu/icu4c/source/test/intltest/
Ducdtest.cpp466 UnicodeSet scriptSet; in TestScriptMetadata() local
467 scriptSet.applyIntPropertyValue(UCHAR_SCRIPT, sc, errorCode); in TestScriptMetadata()
473 assertTrue("not encoded, no characters", scriptSet.isEmpty()); in TestScriptMetadata()
482 … assertEquals("encoded, has characters", (UBool)(sc == charScript), (UBool)(!scriptSet.isEmpty())); in TestScriptMetadata()
484 rtl.removeAll(scriptSet); in TestScriptMetadata()
487 cased.removeAll(scriptSet); in TestScriptMetadata()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
DScriptData.java158 … UnicodeSet scriptSet = new UnicodeSet("\\p{" + fScriptTags[script - fMinScript] + "}"); in ScriptData() local
159 UnicodeSetIterator it = new UnicodeSetIterator(scriptSet); in ScriptData()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DLanguageTest.java41 final HashSet<String> scriptSet = new HashSet<String>();
53 scriptSet.add(script);
72 for (String script : scriptSet) {
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateTransformCharts.java305 private static String findItemInScript(Set<String> equivs, UnicodeSet scriptSet) { in findItemInScript() argument
313 if (!scriptSet.containsAll(trial)) in findItemInScript()
DShowLanguages.java494 UnicodeSet scriptSet; in addLanguageScriptCells2() local
497 scriptSet = new UnicodeSet("[:script=" + tempScript + ":]"); in addLanguageScriptCells2()
499 scriptSet = new UnicodeSet(); in addLanguageScriptCells2()
502 if (scriptSet.containsNone(exemplars)) { in addLanguageScriptCells2()
504 + nativeLanguage.getLocaleID() + "\t" + scriptSet + "\t" + exemplars); in addLanguageScriptCells2()