Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java129 SSLContext ctx = getContext(); in testHttpsConnection() local
136 MockWebServer webServer = createWebServer(ctx, dispatcher); in testHttpsConnection()
141 connection.setSSLSocketFactory(ctx.getSocketFactory()); in testHttpsConnection()
161 SSLContext ctx = getContext(); in testHttpsConnection_Not_Found_Response() local
169 MockWebServer webServer = createWebServer(ctx, dispatcher); in testHttpsConnection_Not_Found_Response()
174 connection.setSSLSocketFactory(ctx.getSocketFactory()); in testHttpsConnection_Not_Found_Response()
199 SSLContext ctx = getContext(); in testSetDefaultSSLSocketFactory() local
201 SSLSocketFactory socketFactory = ctx.getSocketFactory(); in testSetDefaultSSLSocketFactory()
214 MockWebServer webServer = createWebServer(ctx, dispatcher); in testSetDefaultSSLSocketFactory()
246 SSLContext ctx = getContext(); in testSetSSLSocketFactory() local
[all …]
/libcore/luni/src/main/native/
Dlibcore_math_NativeBN.cpp144 Unique_BN_CTX ctx(BN_CTX_new()); in NativeBN_BN_mul() local
145 BN_CTX* ctxp = ctx.get(); in NativeBN_BN_mul()
152 Unique_BN_CTX ctx(BN_CTX_new()); in NativeBN_BN_div() local
153 BN_CTX* ctxp = ctx.get(); in NativeBN_BN_div()
160 Unique_BN_CTX ctx(BN_CTX_new()); in NativeBN_BN_mod_exp() local
161 BN_CTX* ctxp = ctx.get(); in NativeBN_BN_mod_exp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLTest.java483 URL ctx = null; in test_ConstructorLjava_net_URLLjava_lang_String() local
484 u = new URL(ctx, spec); in test_ConstructorLjava_net_URLLjava_lang_String()
489 ctx = new URL("jar:file:/a!/b"); in test_ConstructorLjava_net_URLLjava_lang_String()
490 u = new URL(ctx, spec); in test_ConstructorLjava_net_URLLjava_lang_String()
495 ctx = new URL("jar:file:/a!/b/c"); in test_ConstructorLjava_net_URLLjava_lang_String()
496 u = new URL(ctx, spec); in test_ConstructorLjava_net_URLLjava_lang_String()
501 ctx = new URL("jar:file:/a!/b/c/d"); in test_ConstructorLjava_net_URLLjava_lang_String()
502 u = new URL(ctx, spec); in test_ConstructorLjava_net_URLLjava_lang_String()
508 ctx = new URL( in test_ConstructorLjava_net_URLLjava_lang_String()
510 u = new URL(ctx, spec); in test_ConstructorLjava_net_URLLjava_lang_String()
/libcore/ojluni/src/main/java/java/io/
DObjectOutputStream.java456 SerialCallbackContext ctx = curContext; in defaultWriteObject() local
457 if (ctx == null) { in defaultWriteObject()
460 Object curObj = ctx.getObj(); in defaultWriteObject()
461 ObjectStreamClass curDesc = ctx.getDesc(); in defaultWriteObject()
479 SerialCallbackContext ctx = curContext; in putFields() local
480 if (ctx == null) { in putFields()
483 Object curObj = ctx.getObj(); in putFields()
484 ObjectStreamClass curDesc = ctx.getDesc(); in putFields()
DObjectInputStream.java550 SerialCallbackContext ctx = curContext; in defaultReadObject() local
551 if (ctx == null) { in defaultReadObject()
554 Object curObj = ctx.getObj(); in defaultReadObject()
555 ObjectStreamClass curDesc = ctx.getDesc(); in defaultReadObject()
589 SerialCallbackContext ctx = curContext; in readFields() local
590 if (ctx == null) { in readFields()
593 Object curObj = ctx.getObj(); in readFields()
594 ObjectStreamClass curDesc = ctx.getDesc(); in readFields()