Home
last modified time | relevance | path

Searched defs:s (Results 1 – 25 of 348) sorted by relevance

12345678910>>...14

/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSessionTest.java28 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSocket_TestSSLSessions_create() local
37 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getApplicationBufferSize() local
45 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getCipherSuite() local
62 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getCreationTime() local
79 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getId() local
95 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getLastAccessedTime() local
111 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getLocalCertificates() local
124 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getLocalPrincipal() local
135 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getPacketBufferSize() local
143 TestSSLSessions s = TestSSLSessions.create(); in test_SSLSession_getPeerCertificateChain() local
[all …]
DSSLSessionContextTest.java49 SSLSessionContext s, in assertSSLSessionContextSize()
64 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_getIds() local
98 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_getSession() local
122 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_getSessionCacheSize() local
142 SSLSessionContext s) { in assertNoConnectSetSessionCacheSizeBehavior()
154 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_setSessionCacheSize_oneConnect() local
254 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_getSessionTimeout() local
285 TestSSLSocketPair s = TestSSLSocketPair.create(); in test_SSLSessionContext_setSessionTimeout() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringTest.java95 String s = new String(new byte[] { 65, 66, 67, 68, 69 }, 0); in test_Constructor$BI() local
115 String s = new String(new byte[] { 65, 66, 67, 68, 69 }, 0, 1, 3); in test_Constructor$BIII() local
122 String s = new String(new byte[] { 65, 66, 67, 68, 69 }, 0, 5, "8859_1"); in test_Constructor$BIILjava_lang_String() local
134 String s = new String(new byte[] { 65, 66, 67, 68, 69 }, "8859_1"); in test_Constructor$BLjava_lang_String() local
145 String s = new String(buf, 0, buf.length); in test_Constructor$CII() local
156 String s = new String("Hello World"); in test_ConstructorLjava_lang_String() local
224 String s = "abc"; in test_contentEqualsLjava_lang_CharSequence() local
243 String s = "abc"; in test_boolean_contentEquals_StringBuffer() local
263 String s = "abcdefghijklmnopqrstuvwxyz"; in test_containsLjava_lang_CharSequence() local
337 String s = "abc"; in test_offsetByCodePoints_II() local
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSignatureTest.java60 MySignature1 s = new MySignature1(algorithms[i]); in testConstructor() local
81 MySignature1 s = new MySignature1("ABC"); in testClone() local
98 MySignature1 s = new MySignature1("ABC"); in testGetProvider() local
105 MySignature1 s = new MySignature1("ABC"); in testGetAlgorithm() local
115 MySignature1 s = new MySignature1("ABC"); in testInitVerifyPublicKey() local
135 MySignature1 s = new MySignature1("ABC"); in testInitVerifyCertificate() local
156 MySignature1 s = new MySignature1("ABC"); in testInitSignPrivateKey() local
190 MySignature1 s = new MySignature1("ABC"); in testInitSignPrivateKeySecureRandom() local
211 MySignature1 s = new MySignature1("ABC"); in testSign() local
236 MySignature1 s = new MySignature1("ABC"); in testSignbyteintint() local
[all …]
DSignerTest.java78 Signer s = new SignerStub(); in testSigner() local
88 Signer s = new SignerStub("sss3"); in testSignerString() local
102 Signer s = new SignerStub("sss4", IdentityScope.getSystemScope()); in testSignerStringIdentityScope() local
131 Signer s = new SignerStub("sss5"); in testGetPrivateKey() local
154 SignerStub s = new SignerStub("name"); in test_setKeyPairLjava_security_KeyPair() local
DProviderTest.java162 Set s = p.entrySet(); in testEntrySet() local
209 Set<Object> s = p.keySet(); in testKeySet() local
269 Provider.Service s = (Provider.Service)it.next(); in testPutObjectObject() local
302 Provider.Service s = p.getService("MessageDigest", "SHA-1"); in testService1() local
343 public void putService(Provider.Service s) { in putService()
349 public void removeService(Provider.Service s) { in removeService()
370 Provider.Service s = p2.getService("MessageDigest", "ASH-1"); in testService2() local
388 Provider.Service s[] = new Provider.Service[3]; in testGetServices() local
425 Provider.Service s[] = new Provider.Service[3]; in testPutService() local
483 Provider.Service s[] = new Provider.Service[3]; in testRemoveService() local
/libcore/luni/src/test/java/libcore/java/net/
DConcurrentCloseTest.java45 Socket s = ss.accept(); in test_accept() local
54 Socket s = new Socket(); in test_connect() local
69 Socket s = new Socket(); in test_connect_timeout() local
84 SocketChannel s = SocketChannel.open(); in test_connect_nonBlocking() local
108 Socket s = new Socket(); in test_read() local
123 final Socket s = new Socket(); in test_read_multiple() local
165 DatagramSocket s = new DatagramSocket(); in test_recv() local
180 Socket s = new Socket(); in test_write() local
248 private final T s; field in ConcurrentCloseTest.Killer
250 public Killer(T s) { in Killer()
DOldAndroidDatagramTest.java60 String s = stringFromPacket(packet); in run() local
109 static void stringToPacket(String s, DatagramPacket packet) { in stringToPacket()
135 String s = "Hello, Android world #" + i + "!"; in testDatagram() local
192 DatagramSocket s = new DatagramSocket(null); in test_54072_DatagramSocket() local
202 DatagramSocket s = ch.socket(); in test_54072_DatagramChannel() local
/libcore/luni/src/test/java/libcore/java/util/
DTreeSetTest.java28 String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" in testEmptySetSerialization() local
35 String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" in testSerializationWithComparator() local
42 new SerializationTester<NavigableSet<String>>(set, s) { in testSerializationWithComparator() argument
50 String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" in testSubSetSerialization() local
60 new SerializationTester<SortedSet<String>>(subSet, s) { in testSubSetSerialization() argument
68 String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" in testNavigableSubSetSerialization() local
78 new SerializationTester<SortedSet<String>>(subSet, s) { in testNavigableSubSetSerialization() argument
107 String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" in testDescendingSetSerialization() local
115 new SerializationTester<NavigableSet<String>>(descendingSet, s) { in testDescendingSetSerialization() argument
123 String s = "aced0005737200116a6176612e7574696c2e54726565536574dd98509395ed87" in testJava5SerializationWithComparator() local
[all …]
DBitSetTest.java36 private static void assertBitSet(BitSet bs, long[] longs, String s) { in assertBitSet()
54 private static void assertBitSet(long[] longs, String s) { in assertBitSet()
56 assertBitSet(BitSet.valueOf(longs), longs, s); in assertBitSet() local
58 assertBitSet(BitSet.valueOf(LongBuffer.wrap(longs)), longs, s); in assertBitSet() local
63 assertBitSet(BitSet.valueOf(LongBuffer.wrap(paddedLongs, 1, longs.length)), longs, s); in assertBitSet() local
80 private static void assertBitSet(BitSet bs, byte[] bytes, String s) { in assertBitSet()
102 private static void assertBitSet(byte[] bytes, String s) { in assertBitSet()
104 assertBitSet(BitSet.valueOf(bytes), bytes, s); in assertBitSet() local
106 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(bytes)), bytes, s); in assertBitSet() local
111 assertBitSet(BitSet.valueOf(ByteBuffer.wrap(paddedBytes, 1, bytes.length)), bytes, s); in assertBitSet() local
DTreeMapTest.java270 String s = "aced0005737200116a6176612e7574696c2e547265654d61700cc1f63e2d256a" in testEmptyMapSerialization() local
278 String s = "aced0005737200116a6176612e7574696c2e547265654d61700cc1f63e2d256a" in testSerializationWithComparator() local
287 new SerializationTester<NavigableMap<String, String>>(map, s) { in testSerializationWithComparator() argument
295 String s = "aced0005737200216a6176612e7574696c2e547265654d617024417363656e646" in testSubMapSerialization() local
315 new SerializationTester<SortedMap<String, String>>(subMap, s) { in testSubMapSerialization() argument
327 String s = "aced0005737200216a6176612e7574696c2e547265654d617024417363656e646" in testNavigableSubMapSerialization() local
347 new SerializationTester<SortedMap<String, String>>(subMap, s) { in testNavigableSubMapSerialization() argument
359 String s = "aced0005737200226a6176612e7574696c2e547265654d61702444657363656e6" in testDescendingMapSerialization() local
379 new SerializationTester<NavigableMap<String, String>>(descendingMap, s) { in testDescendingMapSerialization() argument
387 String s = "aced0005737200116a6176612e7574696c2e547265654d61700cc1f63e2d256a" in testJava5SerializationWithComparator() local
[all …]
DOldCollectionsTest.java604 String s = "aced0005737200276a6176612e7574696c2e436f6c6c656374696f6e73244368" in test_checkedCollectionSerializationCompatibility() local
613 Collections.<String>emptySet(), String.class), s, false); in test_checkedCollectionSerializationCompatibility() local
616 String s = "aced00057372002d6a6176612e7574696c2e436f6c6c656374696f6e73244368" in test_checkedListRandomAccessSerializationCompatibility() local
628 assertSerialized(Collections.checkedList(new ArrayList<String>(), String.class), s, true); in test_checkedListRandomAccessSerializationCompatibility() local
631 String s = "aced0005737200216a6176612e7574696c2e436f6c6c656374696f6e73244368" in test_checkedListSerializationCompatibility() local
641 assertSerialized(Collections.checkedList(new LinkedList<String>(), String.class), s, true); in test_checkedListSerializationCompatibility() local
644 String s = "aced0005737200206a6176612e7574696c2e436f6c6c656374696f6e73244368" in test_checkedSetSerializationCompatibility() local
654 assertSerialized(Collections.checkedSet(new HashSet<String>(), String.class), s, true); in test_checkedSetSerializationCompatibility() local
657 String s = "aced0005737200206a6176612e7574696c2e436f6c6c656374696f6e73244368" in test_checkedMapSerializationCompatibility() local
668 new HashMap<String, String>(), String.class, String.class), s); in test_checkedMapSerializationCompatibility() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DPrintWriterTest.java71 String s; in test_ConstructorLjava_io_OutputStream() local
93 String s; in test_ConstructorLjava_io_OutputStreamZ() local
247 String s = null; in test_print$C() local
377 String s; in test_println() local
400 String s = null; in test_println$C() local
422 String s = null; in test_printlnC() local
441 String s = null; in test_printlnD() local
462 String s; in test_printlnF() local
484 String s = null; in test_printlnI() local
503 String s = null; in test_printlnJ() local
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DSerializationTest.java43 String s = "aced0005737200346c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6e54657" in testSerializeFieldMadeTransient() local
63 String s = "aced0005737200316c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6e54657" in testSerializeFieldMadeStatic() local
83 String s = "aced0005737200376c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6e54657" in testDeserializeNullUnserializableField() local
129 String s = "aced0005737200376c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6e54657" in testDeserializeUnserializableField() local
149 String s = "aced0005737200396c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6e54657" in testSerialVersionUidChange() local
167 String s = "aced00057372002f6c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6e54657" in testMissingSerialVersionUid() local
195 final String s = "aced0005737200316c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6" in testDeserializeWasSerializableClass() local
239 final String s = "aced0005737200336c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6" in testDeserializeWasExternalizableClass() local
274 final String s = "aced00057e7200296c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6" in testDeserializeWasEnum() local
309 final String s = "aced00057372002b6c6962636f72652e6a6176612e696f2e53657269616c697a6174696f6" in testDeserializeWasObject() local
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
DX500PrincipalTest.java353 String s = principal.toString(); in testStreamPosition() local
374 String s = principal.toString(); in testStreamPosition_0() local
402 String s = principal.getName(X500Principal.RFC1779); in testStreamPosition_1() local
417 String s = principal.getName(X500Principal.RFC1779); in testStreamPosition_2() local
433 String s = principal.toString(); in testEncodingFromFile() local
467 String s = principal.toString(); in testToString() local
522 String s = principal.getName(X500Principal.RFC1779); in testKWAsOid_RFC1779() local
537 String s = principal.getName(X500Principal.RFC2253); in testKWAsOid_RFC2253() local
552 String s = principal.getName(X500Principal.CANONICAL); in testKWAsOid_CANONICAL() local
568 String s = principal.getName(X500Principal.RFC1779); in testOid_RFC1779() local
[all …]
/libcore/luni/src/test/java/libcore/java/math/
DOldBigIntegerToStringTest.java31 String s = "0000000000"; in test_toString1() local
38 String s = "1234567890987654321"; in test_toString2() local
45 String s = "-1234567890987654321"; in test_toString3() local
52 String s = "12345678901234"; in test_toString4() local
60 String s = "-12345678901234"; in test_toString5() local
71 String s = "247856948764430159964673417020251"; in test_toString() local
DOldBigIntegerConstructorsTest.java33 String s = "0"; in test_ConstrString1() local
43 String s = "-2147483648"; in test_ConstrString2() local
54 String s = "2147483647"; in test_ConstrString3() local
/libcore/jsr166-tests/src/test/java/jsr166/
DSemaphoreTest.java41 InterruptibleLockRunnable(Semaphore s) { lock = s; } in InterruptibleLockRunnable()
55 InterruptedLockRunnable(Semaphore s) { lock = s; } in InterruptedLockRunnable()
64 void waitForQueuedThread(PublicSemaphore s, Thread t) { in waitForQueuedThread()
78 void waitForQueuedThreads(Semaphore s) { in waitForQueuedThreads()
89 void acquire(Semaphore s) throws InterruptedException { in acquire()
94 void acquire(Semaphore s, int permits) throws InterruptedException { in acquireN()
99 void acquire(Semaphore s) { in acquireUninterruptibly()
104 void acquire(Semaphore s, int permits) { in acquireUninterruptiblyN()
109 void acquire(Semaphore s) { in tryAcquire()
114 void acquire(Semaphore s, int permits) { in tryAcquireN()
[all …]
DEntryTest.java32 Map.Entry s = new AbstractMap.SimpleImmutableEntry(k1, v1); in testConstructor2() local
52 Map.Entry s = new AbstractMap.SimpleImmutableEntry(s2); in testConstructor4() local
65 Map.Entry s = new AbstractMap.SimpleImmutableEntry(s2); in testEquals() local
89 Map.Entry s = new AbstractMap.SimpleImmutableEntry(k2, v1); in testNotEquals() local
115 Map.Entry s = new AbstractMap.SimpleImmutableEntry(s2); in testSetValue2() local
/libcore/luni/src/main/java/libcore/icu/
DNativeIDN.java20 public static String toASCII(String s, int flags) { in toASCII()
24 public static String toUnicode(String s, int flags) { in toUnicode()
35 private static String convert(String s, int flags, boolean toAscii) { in convert()
41 private static native String convertImpl(String s, int flags, boolean toAscii); in convertImpl()
/libcore/benchmarks/src/benchmarks/
DStringIterationBenchmark.java28 String s = "hello, world!"; in timeStringIteration0() local
37 String s = "hello, world!"; in timeStringIteration1() local
46 String s = "hello, world!"; in timeStringIteration2() local
56 String s = "hello, world!"; in timeStringToCharArray() local
/libcore/luni/src/main/java/libcore/net/
DUriCodec.java73 public static void validateSimple(String s, String legal) in validateSimple()
94 private void appendEncoded(StringBuilder builder, String s, Charset charset, in appendEncoded()
130 public final String encode(String s, Charset charset) { in encode()
137 public final void appendEncoded(StringBuilder builder, String s) { in appendEncoded()
141 public final void appendPartiallyEncoded(StringBuilder builder, String s) { in appendPartiallyEncoded()
151 public static String decode(String s, boolean convertPlus, Charset charset, in decode()
205 public static String decode(String s) { in decode()
209 private static void appendHex(StringBuilder builder, String s, Charset charset) { in appendHex()
/libcore/luni/src/main/java/java/lang/
DStringToReal.java28 String s; field in StringToReal.StringExponentPair
51 private static native double parseDblImpl(String s, int e); in parseDblImpl()
60 private static native float parseFltImpl(String s, int e); in parseFltImpl()
62 private static NumberFormatException invalidReal(String s, boolean isDouble) { in invalidReal()
73 private static StringExponentPair initialParse(String s, int length, boolean isDouble) { in initialParse()
262 public static double parseDouble(String s) { in parseDouble()
303 public static float parseFloat(String s) { in parseFloat()
/libcore/dex/src/main/java/com/android/dex/
DMutf8.java35 int s = 0; in decode() local
66 private static long countBytes(String s, boolean shortLength) throws UTFDataFormatException { in countBytes()
89 public static void encode(byte[] dst, int offset, String s) { in encode()
109 public static byte[] encode(String s) throws UTFDataFormatException { in encode()
/libcore/luni/src/main/java/java/util/concurrent/
DPhaser.java285 private static int unarrivedOf(long s) { in unarrivedOf()
290 private static int partiesOf(long s) { in partiesOf()
294 private static int phaseOf(long s) { in phaseOf()
298 private static int arrivedOf(long s) { in arrivedOf()
330 private String badArrive(long s) { in badArrive()
338 private String badRegister(long s) { in badRegister()
355 long s = (root == this) ? state : reconcileState(); in doArrive() local
404 long s = (parent == null) ? state : reconcileState(); in doRegister() local
462 long s = state; in reconcileState() local
650 long s = (root == this) ? state : reconcileState(); in arriveAndAwaitAdvance() local
[all …]

12345678910>>...14