Home
last modified time | relevance | path

Searched defs:cs (Results 1 – 25 of 61) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCharsetDecoder2Test.java44 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()
DCharsetEncoder2Test.java40 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()
DCharsetTest.java48 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 …]
DCharsetEncoderTest.java45 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/
DPssInstrumentation.java45 Charset cs = StandardCharsets.UTF_8; in takeMeasurement() local
46 try (OutputStreamWriter writer = new OutputStreamWriter(new FileOutputStream(output), cs)) { in takeMeasurement() argument
/libcore/luni/src/test/java/libcore/java/nio/charset/
DCharsetTest.java24 Charset cs = Charset.forName("UTF8"); in test_nonstandardCharsetName() local
44 Charset cs = Charset.forName(name); in run() local
DCharsetEncoderTest.java69 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/ojluni/src/main/java/java/security/
DSecureClassLoader.java140 CodeSource cs) in defineClass()
172 CodeSource cs) in defineClass()
198 private ProtectionDomain getProtectionDomain(CodeSource cs) { in getProtectionDomain()
/libcore/luni/src/test/java/tests/java/security/
DSecureClassLoaderTest.java183 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/
DCodeSignerTest.java60 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/
DCollector.java268 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/
DCharset.java333 private static void cache(String charsetName, Charset cs) { in cache()
432 Charset cs = cp.charsetForName(charsetName); in lookupViaProviders() local
DCharsetEncoder.java187 CharsetEncoder(Charset cs, in CharsetEncoder()
201 CharsetEncoder(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] replacement, in CharsetEncoder()
248 protected CharsetEncoder(Charset cs, in CharsetEncoder()
1006 public boolean canEncode(CharSequence cs) { in canEncode()
/libcore/ojluni/annotations/hiddenapi/java/nio/charset/
DCharsetEncoder.java37 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/luni/src/main/java/java/nio/charset/
DCharsetICU.java33 public boolean contains(Charset cs) { in contains()
DCharsetDecoderICU.java52 public static CharsetDecoderICU newInstance(Charset cs, String icuCanonicalName) { in newInstance()
73 private CharsetDecoderICU(Charset cs, float averageCharsPerByte, long address) { in CharsetDecoderICU()
DCharsetEncoderICU.java67 public static CharsetEncoderICU newInstance(Charset cs, String icuCanonicalName) { in newInstance()
100 …private CharsetEncoderICU(Charset cs, float averageBytesPerChar, float maxBytesPerChar, byte[] rep… in CharsetEncoderICU()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DInputStreamReaderTest.java183 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
DOutputStreamWriterTest.java351 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/
DZipCoder.java127 private Charset cs; field in ZipCoder
133 private ZipCoder(Charset cs) { in ZipCoder()
/libcore/luni/src/test/java/libcore/java/net/
DOldDatagramPacketTest.java46 DatagramSocket cs = new DatagramSocket(); in test_getPort() local
/libcore/benchmarks/src/benchmarks/regression/
DStringBuilderBenchmark.java57 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/
DSerializedLambdaTest.java312 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/
DStreamEncoder.java66 Charset cs) in forOutputStreamWriter()
161 private Charset cs; field in StreamEncoder
174 private StreamEncoder(OutputStream out, Object lock, Charset cs) { in StreamEncoder()
DStreamDecoder.java79 Charset cs) in forInputStreamReader()
225 private Charset cs; field in StreamDecoder
233 StreamDecoder(InputStream in, Object lock, Charset cs) { in StreamDecoder()

123