Home
last modified time | relevance | path

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

/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunkHandler.java143 char[] ascii = new char[4]; in name() local
145 ascii[0] = (char) ((type >> 24) & 0xff); in name()
146 ascii[1] = (char) ((type >> 16) & 0xff); in name()
147 ascii[2] = (char) ((type >> 8) & 0xff); in name()
148 ascii[3] = (char) (type & 0xff); in name()
150 return new String(ascii); in name()
/libcore/luni/src/test/java/libcore/libcore/icu/
DTransliteratorTest.java68 String ascii = t.transliterate(latin); in test_Greek_Latin() local
70 assertEquals("Kalemera kosme!", ascii); in test_Greek_Latin()
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharsetEncoderTest.java32 Charset ascii = Charset.forName("US-ASCII"); in test_replaceWith() local
33 CharsetEncoder e = ascii.newEncoder(); in test_replaceWith()
38 String output = ascii.decode(e.encode(CharBuffer.wrap(input))).toString(); in test_replaceWith()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandlesTest.java1005 byte [] ascii = testPattern.getBytes(StandardCharsets.US_ASCII); in testStringConstructors()
1008 s = (String) mh.invokeExact(ascii, 0, ascii.length); in testStringConstructors()
1015 s = (String) mh.invokeExact(ascii, 0, 5, StandardCharsets.US_ASCII.name()); in testStringConstructors()
1022 s = (String) mh.invokeExact(ascii, 0, 5, StandardCharsets.US_ASCII); in testStringConstructors()
1029 s = (String) mh.invokeExact(ascii, StandardCharsets.US_ASCII.name()); in testStringConstructors()
1035 s = (String) mh.invokeExact(ascii, StandardCharsets.US_ASCII); in testStringConstructors()
1041 s = (String) mh.invokeExact(ascii, 1, ascii.length - 2); in testStringConstructors()
1048 s = (String) mh.invokeExact(ascii); in testStringConstructors()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DString.java58 public String(byte[] ascii, int hibyte, int offset, int count) { in String() argument
63 public String(byte[] ascii, int hibyte) { in String() argument
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DString.annotated.java52 @Deprecated public String(byte[] ascii, int hibyte, int offset, int count) { throw new RuntimeExcep… in String() argument
54 @Deprecated public String(byte[] ascii, int hibyte) { throw new RuntimeException("Stub!"); } in String() argument
/libcore/ojluni/src/main/java/java/lang/
DString.java291 public String(byte ascii[], int hibyte, int offset, int count) { in String() argument
327 public String(byte ascii[], int hibyte) { in String() argument