Lines Matching defs:ns

94         NumericShaper ns = getContextualShaper(ARABIC);
95 checkResult("ARABIC", ns, given, expected_ARABIC);
97 ns = getContextualShaper(EnumSet.of(Range.ARABIC));
98 checkResult("Range.ARABIC", ns, given, expected_ARABIC);
100 ns = getContextualShaper(EASTERN_ARABIC);
101 checkResult("EASTERN_ARABIC", ns, given, expected_EASTERN_ARABIC);
103 ns = getContextualShaper(EnumSet.of(Range.EASTERN_ARABIC));
104 checkResult("Range.EASTERN_ARABIC", ns, given, expected_EASTERN_ARABIC);
106 ns = getContextualShaper(ARABIC | EASTERN_ARABIC);
107 checkResult("ARABIC | EASTERN_ARABIC", ns, given, expected_EASTERN_ARABIC);
109 ns = getContextualShaper(EnumSet.of(Range.ARABIC, Range.EASTERN_ARABIC));
110 checkResult("Range.ARABIC, Range.EASTERN_ARABIC", ns, given, expected_EASTERN_ARABIC);
114 NumericShaper ns = getContextualShaper(EnumSet.of(Range.TAI_THAM_HORA));
117 checkResult("Range.TAI_THAM_HORA", ns, given, expected);
119 ns = getContextualShaper(EnumSet.of(Range.TAI_THAM_HORA,
123 checkResult("Range.TAI_THAM_HORA, Range.TAI_THAM_THAM", ns, given, expected);
125 ns = getContextualShaper(EnumSet.of(Range.JAVANESE));
128 checkResult("Range.JAVANESE", ns, given, expected);
130 ns = getContextualShaper(EnumSet.of(Range.TAI_THAM_THAM));
133 checkResult("Range.TAI_THAM_THAM", ns, given, expected);
135 ns = getContextualShaper(EnumSet.of(Range.MEETEI_MAYEK));
138 checkResult("Range.MEETEI_MAYEK", ns, given, expected);
141 private static void checkResult(String ranges, NumericShaper ns,
144 ns.shape(text, 0, text.length);