Home
last modified time | relevance | path

Searched refs:UnicodeBlock (Results 1 – 8 of 8) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DCharacter_UnicodeBlockTest.java116 assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.of((char) 0x0)); in test_ofC()
117 assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.of((char) 0x7f)); in test_ofC()
118 … assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.of((char) 0x80)); in test_ofC()
119 … assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.of((char) 0xff)); in test_ofC()
120 … assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_A, Character.UnicodeBlock.of((char) 0x100)); in test_ofC()
121 … assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_A, Character.UnicodeBlock.of((char) 0x17f)); in test_ofC()
122 … assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_B, Character.UnicodeBlock.of((char) 0x180)); in test_ofC()
123 … assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_B, Character.UnicodeBlock.of((char) 0x24f)); in test_ofC()
124 … assertEquals(Character.UnicodeBlock.IPA_EXTENSIONS, Character.UnicodeBlock.of((char) 0x250)); in test_ofC()
125 … assertEquals(Character.UnicodeBlock.IPA_EXTENSIONS, Character.UnicodeBlock.of((char) 0x2af)); in test_ofC()
[all …]
/libcore/ojluni/src/main/java/java/lang/
DCharacter.java776 public static final class UnicodeBlock extends Subset { class in Character
782 private static Map<String, UnicodeBlock> map =
789 private UnicodeBlock(String idName) { in UnicodeBlock() method in Character.UnicodeBlock
796 private UnicodeBlock(String idName, boolean isMap) { in UnicodeBlock() method in Character.UnicodeBlock
808 private UnicodeBlock(String idName, String alias) { in UnicodeBlock() method in Character.UnicodeBlock
817 private UnicodeBlock(String idName, String... aliases) { in UnicodeBlock() method in Character.UnicodeBlock
827 public static final UnicodeBlock BASIC_LATIN =
828 new UnicodeBlock("BASIC_LATIN",
836 public static final UnicodeBlock LATIN_1_SUPPLEMENT =
837 new UnicodeBlock("LATIN_1_SUPPLEMENT",
[all …]
/libcore/ojluni/annotations/flagged_api/java/lang/
DCharacter.annotated.java369 public static final class UnicodeBlock extends java.lang.Character.Subset { class in Character
371 UnicodeBlock() { super(null); throw new RuntimeException("Stub!"); } in UnicodeBlock() method in Character.UnicodeBlock
373 public static java.lang.Character.UnicodeBlock of(char c) { throw new RuntimeException("Stub!"); } in of()
375 public static java.lang.Character.UnicodeBlock of(int codePoint) { throw new RuntimeException("Stub… in of()
377 public static java.lang.Character.UnicodeBlock forName(java.lang.String blockName) { throw new Runt… in forName()
379 public static final java.lang.Character.UnicodeBlock ADLAM;
382 public static final java.lang.Character.UnicodeBlock AEGEAN_NUMBERS;
385 public static final java.lang.Character.UnicodeBlock AHOM;
388 public static final java.lang.Character.UnicodeBlock ALCHEMICAL_SYMBOLS;
391 public static final java.lang.Character.UnicodeBlock ALPHABETIC_PRESENTATION_FORMS;
[all …]
/libcore/ojluni/annotations/hiddenapi/java/lang/
DCharacter.java648 public static final class UnicodeBlock extends java.lang.Character.Subset { class in Character
650 private UnicodeBlock(java.lang.String idName) { in UnicodeBlock() method in Character.UnicodeBlock
655 private UnicodeBlock(java.lang.String idName, boolean isMap) { in UnicodeBlock() method in Character.UnicodeBlock
660 private UnicodeBlock(java.lang.String idName, java.lang.String alias) { in UnicodeBlock() method in Character.UnicodeBlock
665 private UnicodeBlock(java.lang.String idName, java.lang.String... aliases) { in UnicodeBlock() method in Character.UnicodeBlock
670 public static java.lang.Character.UnicodeBlock of(char c) { in of()
674 public static java.lang.Character.UnicodeBlock of(int codePoint) { in of()
678 public static java.lang.Character.UnicodeBlock forName(java.lang.String blockName) { in forName()
682 public static final java.lang.Character.UnicodeBlock AEGEAN_NUMBERS;
688 public static final java.lang.Character.UnicodeBlock ALCHEMICAL_SYMBOLS;
[all …]
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DCharacter.annotated.java358 public static final class UnicodeBlock extends java.lang.Character.Subset { class in Character
360 UnicodeBlock(java.lang.String idName) { super(null); throw new RuntimeException("Stub!"); } in UnicodeBlock() method in Character.UnicodeBlock
362 @libcore.util.Nullable public static java.lang.Character.UnicodeBlock of(char c) { throw new Runtim… in of()
364 @libcore.util.Nullable public static java.lang.Character.UnicodeBlock of(int codePoint) { throw new… in of()
366 @libcore.util.NonNull public static java.lang.Character.UnicodeBlock forName(@libcore.util.NonNull … in forName()
368 public static final java.lang.Character.UnicodeBlock AEGEAN_NUMBERS;
371 public static final java.lang.Character.UnicodeBlock ALCHEMICAL_SYMBOLS;
374 public static final java.lang.Character.UnicodeBlock ALPHABETIC_PRESENTATION_FORMS;
377 public static final java.lang.Character.UnicodeBlock ANCIENT_GREEK_MUSICAL_NOTATION;
380 public static final java.lang.Character.UnicodeBlock ANCIENT_GREEK_NUMBERS;
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DCharacterTest.java120 Character.UnicodeBlock.of(i); in test_UnicodeBlock_all()
125 assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.of(1)); in test_UnicodeBlock_of()
126 assertEquals(Character.UnicodeBlock.HANGUL_JAMO, Character.UnicodeBlock.of(0x1100)); in test_UnicodeBlock_of()
127 assertEquals(Character.UnicodeBlock.CYPRIOT_SYLLABARY, Character.UnicodeBlock.of(0x10800)); in test_UnicodeBlock_of()
128 …assertEquals(Character.UnicodeBlock.VARIATION_SELECTORS_SUPPLEMENT, Character.UnicodeBlock.of(0xe0… in test_UnicodeBlock_of()
130 …assertEquals(Character.UnicodeBlock.ANCIENT_GREEK_MUSICAL_NOTATION, Character.UnicodeBlock.of(0x1d… in test_UnicodeBlock_of()
132 assertEquals(Character.UnicodeBlock.NKO, Character.UnicodeBlock.of(0x07c0)); in test_UnicodeBlock_of()
134 assertEquals(Character.UnicodeBlock.SUNDANESE, Character.UnicodeBlock.of(0x1b80)); in test_UnicodeBlock_of()
136 assertEquals(Character.UnicodeBlock.SAMARITAN, Character.UnicodeBlock.of(0x0800)); in test_UnicodeBlock_of()
138 assertEquals(Character.UnicodeBlock.MANDAIC, Character.UnicodeBlock.of(0x0840)); in test_UnicodeBlock_of()
[all …]
/libcore/api/
Dcurrent.txt2596 public static final class Character.UnicodeBlock extends java.lang.Character.Subset {
2597 method @NonNull public static java.lang.Character.UnicodeBlock forName(@NonNull String);
2598 method @Nullable public static java.lang.Character.UnicodeBlock of(char);
2599 method @Nullable public static java.lang.Character.UnicodeBlock of(int);
2600 field public static final java.lang.Character.UnicodeBlock ADLAM;
2601 field public static final java.lang.Character.UnicodeBlock AEGEAN_NUMBERS;
2602 field public static final java.lang.Character.UnicodeBlock AHOM;
2603 field public static final java.lang.Character.UnicodeBlock ALCHEMICAL_SYMBOLS;
2604 field public static final java.lang.Character.UnicodeBlock ALPHABETIC_PRESENTATION_FORMS;
2605 field public static final java.lang.Character.UnicodeBlock ANATOLIAN_HIEROGLYPHS;
[all …]
/libcore/ojluni/src/test/java/util/regex/
DRegExTest.java3708 Character.UnicodeBlock lastBlock = Character.UnicodeBlock.of(0); in unicodePropertiesTest()
3734 Character.UnicodeBlock block = Character.UnicodeBlock.of(cp); in unicodePropertiesTest()
3746 other = (block == Character.UnicodeBlock.BASIC_LATIN)? greek : latin; in unicodePropertiesTest()