Home
last modified time | relevance | path

Searched refs:newContext (Results 1 – 25 of 35) sorted by relevance

12

/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/
DOpenJdkEngineFactory.java55 private final SSLContext clientContext = initClientSslContext(newContext());
56 private final SSLContext serverContext = initServerSslContext(newContext());
74 private SSLContext newContext() { in newContext() method
104 private SSLContext newContext() { in newContext() method
137 private SSLContext newContext() { in newContext() method
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DClientSessionContextTest.java33 ClientSessionContext newContext() { in newContext() method in ClientSessionContextTest
58 ClientSessionContext context = newContext(); in testNoMixingOfSingleAndMultiUseSessions()
96 ClientSessionContext context = newContext(); in testCanRetrieveMultipleSingleUseSessions()
DAbstractSessionContextTest.java38 context = newContext(); in setup()
41 abstract T newContext(); in newContext() method in AbstractSessionContextTest
DServerSessionContextTest.java27 ServerSessionContext newContext() { in newContext() method in ServerSessionContextTest
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DClientSessionContextTest.java37 ClientSessionContext newContext() { in newContext() method in ClientSessionContextTest
62 ClientSessionContext context = newContext(); in testNoMixingOfSingleAndMultiUseSessions()
100 ClientSessionContext context = newContext(); in testCanRetrieveMultipleSingleUseSessions()
DAbstractSessionContextTest.java42 context = newContext(); in setup()
45 abstract T newContext(); in newContext() method in AbstractSessionContextTest
DServerSessionContextTest.java31 ServerSessionContext newContext() { in newContext() method in ServerSessionContextTest
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/
DTestUtils.java332 SSLContext clientContext = initClientSslContext(newContext(provider)); in getSocketFactory()
337 SSLContext serverContext = initServerSslContext(newContext(provider)); in getServerSocketFactory()
341 static SSLContext newContext(Provider provider) { in newContext() method in TestUtils
351 TestUtils.initSslContext(newContext(getJdkProvider()), TestKeyStore.getClient()); in getCommonCipherSuites()
353 newContext(getConscryptProvider()), TestKeyStore.getClient()); in getCommonCipherSuites()
410 SSLContext context = newContext(provider); in newClientSslContext()
415 SSLContext context = newContext(provider); in newServerSslContext()
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java330 SSLContext clientContext = initClientSslContext(newContext(provider)); in getSocketFactory()
335 SSLContext serverContext = initServerSslContext(newContext(provider)); in getServerSocketFactory()
339 static SSLContext newContext(Provider provider) { in newContext() method in TestUtils
349 TestUtils.initSslContext(newContext(getJdkProvider()), TestKeyStore.getClient()); in getCommonCipherSuites()
351 newContext(getConscryptProvider()), TestKeyStore.getClient()); in getCommonCipherSuites()
408 SSLContext context = newContext(provider); in newClientSslContext()
413 SSLContext context = newContext(provider); in newServerSslContext()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetEncoderICU.java182 …al void setFromUCallback(CoderResult err, CharsetCallback.Encoder newCallback, Object newContext) { in setFromUCallback() argument
191 if (fromUContext == null || !fromUContext.equals(newContext)) { in setFromUCallback()
192 setFromUContext(newContext); in setFromUCallback()
203 public final void setFromUContext(Object newContext) { in setFromUContext() argument
204 fromUContext = newContext; in setFromUContext()
DCharsetDecoderICU.java168 …inal void setToUCallback(CoderResult err, CharsetCallback.Decoder newCallback, Object newContext) { in setToUCallback() argument
177 if (toUContext == null || !toUContext.equals(newContext)) { in setToUCallback()
178 toUContext = newContext; in setToUCallback()
/external/icu/icu4c/source/test/cintltst/
Dtracetst.c227 const void *newContext = (const char *)originalTContext + 1; in TestTraceAPI() local
233 utrace_setFunctions(newContext, testTraceEntry, testTraceExit, testTraceData); in TestTraceAPI()
238 TEST_ASSERT(context == newContext); in TestTraceAPI()
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/
DSmaliCodeFragmentFactory.java270 final PsiElement newContext = codeFragment.findElementAt(offset);
271 if (newContext != null) {
272 newContext.putUserData(SMALI_LAZY_VALUES_KEY, lazyValues);
273 return newContext;
/external/skia/tools/
DDDLTileHelper.cpp58 GrContext* newContext = subCanvas->getGrContext(); in createDDL() local
62 gpuImage->resetContext(sk_ref_sp(newContext)); in createDDL()
/external/skqp/tools/
DDDLTileHelper.cpp58 GrContext* newContext = subCanvas->getGrContext(); in createDDL() local
62 gpuImage->resetContext(sk_ref_sp(newContext)); in createDDL()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLContextTest.java96 SSLContext newContext = SSLContext.getInstance(protocol); in test_SSLContext_setDefault() local
97 assertNotNull(newContext); in test_SSLContext_setDefault()
98 assertNotSame(oldContext, newContext); in test_SSLContext_setDefault()
99 SSLContext.setDefault(newContext); in test_SSLContext_setDefault()
100 assertSame(newContext, SSLContext.getDefault()); in test_SSLContext_setDefault()
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
DSSLContextTest.java100 SSLContext newContext = SSLContext.getInstance(protocol); in test_SSLContext_setDefault() local
101 assertNotNull(newContext); in test_SSLContext_setDefault()
102 assertNotSame(oldContext, newContext); in test_SSLContext_setDefault()
103 SSLContext.setDefault(newContext); in test_SSLContext_setDefault()
104 assertSame(newContext, SSLContext.getDefault()); in test_SSLContext_setDefault()
/external/replicaisland/src/com/replica/replicaisland/
DGameRenderer.java324 public void setContext(Context newContext) { in setContext() argument
325 mContext = newContext; in setContext()
/external/skia/src/image/
DSkImage_GpuBase.cpp37 void SkImage_GpuBase::resetContext(sk_sp<GrContext> newContext) { in resetContext() argument
38 SkASSERT(fContext->priv().matches(newContext.get())); in resetContext()
39 fContext = newContext; in resetContext()
DSkImage_GpuBase.h57 void resetContext(sk_sp<GrContext> newContext);
/external/skqp/src/image/
DSkImage_GpuBase.cpp35 void SkImage_GpuBase::resetContext(sk_sp<GrContext> newContext) { in resetContext() argument
36 SkASSERT(fContext->contextPriv().contextID() == newContext->contextPriv().contextID()); in resetContext()
37 fContext = newContext; in resetContext()
DSkImage_GpuBase.h56 void resetContext(sk_sp<GrContext> newContext);
/external/icu/libandroidicu/include/unicode/
Ducnv.h1056 const void* newContext,
1079 const void *newContext,
/external/icu/icu4c/source/common/unicode/
Ducnv.h1056 const void* newContext,
1079 const void *newContext,
/external/antlr/tool/src/main/java/org/antlr/analysis/
DNFAToDFAConverter.java677 NFAContext newContext = new NFAContext(context, p); in closure() local
682 closure(ruleTarget, alt, newContext, semanticContext, d, collectPredicates); in closure()
690 NFAContext newContext = context.parent; // "pop" invoking state in closure() local
691 closure(continueState, alt, newContext, semanticContext, d, collectPredicates); in closure()

12