/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/metrictests/memory/apps/src/libcore/heapdumper/ |
D | PssInstrumentation.java | 45 Charset cs = StandardCharsets.UTF_8; in takeMeasurement() local 46 try (OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(output), cs)) { in takeMeasurement() argument
|
/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/ojluni/annotations/mmodule/java/nio/charset/ |
D | CharsetEncoder.annotated.java | 40 protected CharsetEncoder(java.nio.charset.Charset cs, float averageBytesPerChar, float maxBytesPerC… in CharsetEncoder() 43 protected CharsetEncoder(java.nio.charset.Charset cs, float averageBytesPerChar, float maxBytesPerC… in CharsetEncoder() 45 protected CharsetEncoder(java.nio.charset.Charset cs, float averageBytesPerChar, float maxBytesPerC… in CharsetEncoder() 89 public boolean canEncode(java.lang.CharSequence cs) { throw new RuntimeException("Stub!"); } in canEncode()
|
/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() 202 …protected CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] repl… in CharsetEncoder() 249 protected CharsetEncoder(Charset cs, in CharsetEncoder() 1007 public boolean canEncode(CharSequence cs) { in canEncode()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/ |
D | CharsetEncoder.java | 37 java.nio.charset.Charset cs, in CharsetEncoder() 45 java.nio.charset.Charset cs, in CharsetEncoder() 54 java.nio.charset.Charset cs, float averageBytesPerChar, float maxBytesPerChar) { in CharsetEncoder() 150 public boolean canEncode(java.lang.CharSequence cs) { in canEncode()
|
/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/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 | 79 Charset cs) in forInputStreamReader() 225 private Charset cs; field in StreamDecoder 233 StreamDecoder(InputStream in, Object lock, Charset cs) { in StreamDecoder()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldOutputStreamWriterTest.java | 126 Charset cs = Charset.forName("ascii"); in test_ConstructorLjava_io_OutputStreamLjava_nio_charset_Charset() local 152 Charset cs = Charset.forName("ascii"); in test_ConstructorLjava_io_OutputStreamLjava_nio_charset_CharsetEncoder() local
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | StringTest.java | 48 public EvilCharsetDecoder(Charset cs) { in EvilCharsetDecoder() 70 public EvilCharsetEncoder(Charset cs) { in EvilCharsetEncoder() 122 Charset cs = EVIL_CHARSET; in testStringFromCharset_MaliciousCharset() local 140 Charset cs = Charset.forName("UTF-8"); in test_getBytes_UTF_8() local
|