Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 6 of 6) 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 …]
Dlibcore_icu_NativeConverter.cpp379 const EncoderCallbackContext* ctx = reinterpret_cast<const EncoderCallbackContext*>(rawContext); in CHARSET_ENCODER_CALLBACK() local
382 ctx->onUnmappableInput(ctx, args, codeUnits, length, codePoint, reason, status); in CHARSET_ENCODER_CALLBACK()
386 ctx->onMalformedInput(ctx, args, codeUnits, length, codePoint, reason, status); in CHARSET_ENCODER_CALLBACK()
389 delete ctx; in CHARSET_ENCODER_CALLBACK()
493 const DecoderCallbackContext* ctx = reinterpret_cast<const DecoderCallbackContext*>(rawContext); in CHARSET_DECODER_CALLBACK() local
496 ctx->onUnmappableInput(ctx, args, codeUnits, length, reason, status); in CHARSET_DECODER_CALLBACK()
500 ctx->onMalformedInput(ctx, args, codeUnits, length, reason, status); in CHARSET_DECODER_CALLBACK()
503 delete ctx; in CHARSET_DECODER_CALLBACK()
/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()
/libcore/luni/src/main/java/libcore/net/
Dmime.types585 chemical/x-ctx ctx