Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 3 of 3) 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()