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/
Djava_math_NativeBN.cpp453 Unique_BN_CTX ctx(BN_CTX_new()); in NativeBN_BN_gcd() local
454 if (!BN_gcd(toBigNum(r), toBigNum(a), toBigNum(b), ctx.get())) { in NativeBN_BN_gcd()
461 Unique_BN_CTX ctx(BN_CTX_new()); in NativeBN_BN_mul() local
462 if (!BN_mul(toBigNum(r), toBigNum(a), toBigNum(b), ctx.get())) { in NativeBN_BN_mul()
469 Unique_BN_CTX ctx(BN_CTX_new()); in NativeBN_BN_exp() local
470 if (!BN_exp(toBigNum(r), toBigNum(a), toBigNum(p), ctx.get())) { in NativeBN_BN_exp()
477 Unique_BN_CTX ctx(BN_CTX_new()); in NativeBN_BN_div() local
478 if (!BN_div(toBigNum(dv), toBigNum(rem), toBigNum(m), toBigNum(d), ctx.get())) { in NativeBN_BN_div()
485 Unique_BN_CTX ctx(BN_CTX_new()); in NativeBN_BN_nnmod() local
486 if (!BN_nnmod(toBigNum(r), toBigNum(a), toBigNum(m), ctx.get())) { in NativeBN_BN_nnmod()
[all …]
/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()