/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
D | CharsetDecoder2Test.java | 44 Charset cs = Charset.forName("UTF-8"); //$NON-NLS-1$ in test_ConstructorLjava_nio_charset_CharsetFF() local 56 protected MockCharsetDecoderForHarmony142(Charset cs, in MockCharsetDecoderForHarmony142() 137 public boolean contains(Charset cs) { in contains() 155 public MockMalfunctionDecoder(Charset cs) { in MockMalfunctionDecoder() 169 public MockMalfunctionEncoder(Charset cs) { in MockMalfunctionEncoder() 184 Charset cs = Charset.forName("UTF-8"); in testDecodeLjava_nio_ByteBuffer_ReplaceOverflow() local 211 public MockMalformedDecoder(Charset cs) { in MockMalformedDecoder()
|
D | CharsetEncoder2Test.java | 40 Charset cs = Charset.forName("UTF-8"); //$NON-NLS-1$ in test_ConstructorLjava_nio_charset_CharsetFF() local 48 Charset cs = Charset.forName("ISO8859-1"); //$NON-NLS-1$ in test_ConstructorLjava_nio_charset_CharsetFF() local 73 protected MockCharsetEncoderForHarmony141(Charset cs, in MockCharsetEncoderForHarmony141() 78 public MockCharsetEncoderForHarmony141(Charset cs, in MockCharsetEncoderForHarmony141() 109 MockMalfunctionCharset cs = new MockMalfunctionCharset("mock", null); in test_EncodeLjava_nio_CharBuffer() local 127 public boolean contains(Charset cs) { in contains() 145 public MockMalfunctionEncoder(Charset cs) { in MockMalfunctionEncoder()
|
D | CharsetTest.java | 48 Charset cs = Charset.forName(charsetName); in test_allAvailableCharsets() local 83 Charset cs = Charset.forName(name); in test_isRegistered() local 91 Charset cs = Charset.forName(name); in test_isRegistered() local 154 Charset cs = Charset.forName("UTF-16"); in test_UTF_16() local 165 Charset cs = Charset.forName("UTF-16BE"); in test_UTF_16BE() local 176 Charset cs = Charset.forName("UTF-16LE"); in test_UTF_16LE() local 187 Charset cs = Charset.forName("x-UTF-16LE-BOM"); in test_x_UTF_16LE_BOM() local 198 Charset cs = Charset.forName("UTF-32"); in test_UTF_32() local 213 Charset cs = Charset.forName("UTF-32BE"); in test_UTF_32BE() local 224 Charset cs = Charset.forName("UTF-32LE"); in test_UTF_32LE() local [all …]
|
D | CharsetEncoderTest.java | 45 Charset cs = MOCKCS; field in CharsetEncoderTest 108 assertSame(encoder.charset(), cs); in testCharsetEncoderCharsetfloatfloat() local 122 assertSame(ec.charset(), cs); in testCharsetEncoderCharsetfloatfloat() local 178 assertSame(ec.charset(), cs); in testCharsetEncoderCharsetfloatfloatbyteArray() local 586 Charset cs = Charset.forName("UTF-8"); in testEncodeCharBuffer() local 1037 public MockCharsetEncoder(Charset cs, float aver, float max) { in MockCharsetEncoder() 1041 public MockCharsetEncoder(Charset cs, float aver, float max, in MockCharsetEncoder()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | StringCoding.java | 76 private static byte[] safeTrim(byte[] ba, int len, Charset cs, boolean isTrusted) { in safeTrim() 90 Charset cs, boolean isTrusted) { in safeTrim() 132 private final Charset cs; field in StringCoding.StringDecoder 136 private StringDecoder(Charset cs, String rcn) { in StringDecoder() 193 Charset cs = lookupCharset(csn); in decode() local 204 static char[] decode(Charset cs, byte[] ba, int off, int len) { in decode() 282 private Charset cs; field in StringCoding.StringEncoder 287 private StringEncoder(Charset cs, String rcn) { in StringEncoder() 345 Charset cs = lookupCharset(csn); in encode() local 356 static byte[] encode(Charset cs, char[] ca, int off, int len) { in encode()
|
/libcore/ojluni/src/main/java/java/security/ |
D | SecureClassLoader.java | 140 CodeSource cs) in defineClass() 172 CodeSource cs) in defineClass() 198 private ProtectionDomain getProtectionDomain(CodeSource cs) { in getProtectionDomain()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetTest.java | 24 Charset cs = Charset.forName("UTF8"); in test_nonstandardCharsetName() local 44 Charset cs = Charset.forName(name); in run() local
|
D | CharsetEncoderTest.java | 69 Charset cs = Charset.forName("UTF-32BE"); in testSurrogatePairAllAtOnce() local 83 Charset cs = Charset.forName("UTF-32BE"); in testMalformedSurrogatePair() local 118 Charset cs = Charset.forName("UTF-32BE"); in testCharsetEncoderSplitSurrogates() local 144 Charset cs = Charset.forName("UTF-32BE"); in testFlushWithoutEndOfInput() local
|
/libcore/luni/src/test/java/tests/java/security/ |
D | SecureClassLoaderTest.java | 183 CodeSource cs = new CodeSource(url, (Certificate[]) null); in testGetPermissions() local 227 public Class define(String name, ByteBuffer b, CodeSource cs) { in define() 232 CodeSource cs) { in define()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | CodeSignerTest.java | 60 CodeSigner cs = new CodeSigner(cpath, null); in testCodeSigner_01() local 72 CodeSigner cs = new CodeSigner(cpath, ts); in testCodeSigner_02() local
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collector.java | 268 Set<Characteristics> cs = (characteristics.length == 0) in of() local 301 Set<Characteristics> cs = Collectors.CH_NOID; in of() local
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | Charset.java | 333 private static void cache(String charsetName, Charset cs) { in cache() 432 Charset cs = cp.charsetForName(charsetName); in lookupViaProviders() local
|
D | CharsetEncoder.java | 187 CharsetEncoder(Charset cs, in CharsetEncoder() 196 CharsetEncoder(Charset cs, in CharsetEncoder() 247 protected CharsetEncoder(Charset cs, in CharsetEncoder() 1001 public boolean canEncode(CharSequence cs) { in canEncode()
|
/libcore/luni/src/main/java/java/nio/charset/ |
D | CharsetICU.java | 30 public boolean contains(Charset cs) { in contains()
|
D | CharsetDecoderICU.java | 50 public static CharsetDecoderICU newInstance(Charset cs, String icuCanonicalName) { in newInstance() 68 private CharsetDecoderICU(Charset cs, float averageCharsPerByte, long address) { in CharsetDecoderICU()
|
D | CharsetEncoderICU.java | 66 public static CharsetEncoderICU newInstance(Charset cs, String icuCanonicalName) { in newInstance() 96 …private CharsetEncoderICU(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] rep… in CharsetEncoderICU()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | InputStreamReaderTest.java | 183 Charset cs = Charset.forName("utf-8"); in test_close() local 256 Charset cs = Charset.forName("utf-8"); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_Charset() local 270 assertEquals(Charset.forName(reader2.getEncoding()), cs); in test_ConstructorLjava_io_InputStreamLjava_nio_charset_Charset() local
|
D | OutputStreamWriterTest.java | 351 Charset cs = Charset.forName("ascii"); in testOutputStreamWriterOutputStreamCharset() local 374 Charset cs = Charset.forName("ascii"); in testOutputStreamWriterOutputStreamCharsetEncoder() local 394 Charset cs = Charset.forName("utf-8"); in testGetEncoding() local
|
/libcore/ojluni/src/main/java/java/util/zip/ |
D | ZipCoder.java | 127 private Charset cs; field in ZipCoder 133 private ZipCoder(Charset cs) { in ZipCoder()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldDatagramPacketTest.java | 46 DatagramSocket cs = new DatagramSocket(); in test_getPort() local
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | StringBuilderBenchmark.java | 57 CharSequence cs = "chars"; in timeAppendCharSequence() local 67 CharSequence cs = "chars"; in timeAppendSubCharSequence() local
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/ |
D | SerializedLambdaTest.java | 312 CallSite cs = LambdaMetafactory.metafactory(MethodHandles.lookup(), in testDirectStdNonser() local 324 CallSite cs = LambdaMetafactory.metafactory(MethodHandles.lookup(), in testDirectStdSer() local 335 CallSite cs = LambdaMetafactory.altMetafactory(MethodHandles.lookup(), in testAltStdNonser() local 346 CallSite cs = LambdaMetafactory.altMetafactory(MethodHandles.lookup(), in testAltStdSer() local
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 41 public EvilCharsetDecoder(Charset cs) { in EvilCharsetDecoder() 63 public EvilCharsetEncoder(Charset cs) { in EvilCharsetEncoder() 115 Charset cs = EVIL_CHARSET; in testStringFromCharset_MaliciousCharset() local 133 Charset cs = Charset.forName("UTF-8"); in test_getBytes_UTF_8() local
|
/libcore/ojluni/src/main/java/sun/nio/cs/ |
D | StreamEncoder.java | 66 Charset cs) in forOutputStreamWriter() 161 private Charset cs; field in StreamEncoder 174 private StreamEncoder(OutputStream out, Object lock, Charset cs) { in StreamEncoder()
|
D | StreamDecoder.java | 78 Charset cs) in forInputStreamReader() 224 private Charset cs; field in StreamDecoder 232 StreamDecoder(InputStream in, Object lock, Charset cs) { in StreamDecoder()
|