Home
last modified time | relevance | path

Searched refs:contexts (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/external/grpc-grpc-java/context/src/jmh/java/io/grpc/
DReadBenchmark.java37 List<Context> contexts = new ArrayList<>(); field in ReadBenchmark.ContextState
44 contexts.add(Context.ROOT.withValue(keys.get(0), new Object())); in setup()
45 contexts.add(Context.ROOT.withValues(keys.get(0), new Object(), keys.get(1), new Object())); in setup()
46 contexts.add( in setup()
49 contexts.add( in setup()
59 contexts.add(contexts.get(0).withValue(keys.get(1), new Object())); in setup()
60 contexts.add( in setup()
61 contexts.get(1).withValues(keys.get(2), new Object(), keys.get(3), new Object())); in setup()
62 contexts.add( in setup()
63 contexts in setup()
[all …]
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp355 unsigned long long contexts = 0; in getContextsForContextKind() local
360 contexts = CXCompletionContext_MacroName; in getContextsForContextKind()
367 contexts = CXCompletionContext_AnyType | in getContextsForContextKind()
370 contexts |= CXCompletionContext_EnumTag | in getContextsForContextKind()
379 contexts = CXCompletionContext_AnyType | in getContextsForContextKind()
383 contexts |= CXCompletionContext_EnumTag | in getContextsForContextKind()
392 contexts = CXCompletionContext_AnyValue; in getContextsForContextKind()
394 contexts |= CXCompletionContext_AnyType | in getContextsForContextKind()
405 contexts = CXCompletionContext_ObjCObjectValue | in getContextsForContextKind()
409 contexts |= CXCompletionContext_CXXClassTypeValue | in getContextsForContextKind()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/text/
DLocaleDisplayNames.java102 public static LocaleDisplayNames getInstance(ULocale locale, DisplayContext... contexts) { in getInstance() argument
107 locale, contexts); in getInstance()
115 result = new LastResortLocaleDisplayNames(locale, contexts); in getInstance()
128 public static LocaleDisplayNames getInstance(Locale locale, DisplayContext... contexts) { in getInstance() argument
129 return getInstance(ULocale.forLocale(locale), contexts); in getInstance()
420 private DisplayContext[] contexts; field in LocaleDisplayNames.LastResortLocaleDisplayNames
426 this.contexts = new DisplayContext[] {context}; in LastResortLocaleDisplayNames()
429 private LastResortLocaleDisplayNames(ULocale locale, DisplayContext... contexts) { in LastResortLocaleDisplayNames() argument
431 this.contexts = new DisplayContext[contexts.length]; in LastResortLocaleDisplayNames()
432 System.arraycopy(contexts, 0, this.contexts, 0, contexts.length); in LastResortLocaleDisplayNames()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DLocaleDisplayNames.java109 public static LocaleDisplayNames getInstance(ULocale locale, DisplayContext... contexts) { in getInstance() argument
114 locale, contexts); in getInstance()
122 result = new LastResortLocaleDisplayNames(locale, contexts); in getInstance()
136 public static LocaleDisplayNames getInstance(Locale locale, DisplayContext... contexts) { in getInstance() argument
137 return getInstance(ULocale.forLocale(locale), contexts); in getInstance()
454 private DisplayContext[] contexts; field in LocaleDisplayNames.LastResortLocaleDisplayNames
460 this.contexts = new DisplayContext[] {context}; in LastResortLocaleDisplayNames()
463 private LastResortLocaleDisplayNames(ULocale locale, DisplayContext... contexts) { in LastResortLocaleDisplayNames() argument
465 this.contexts = new DisplayContext[contexts.length]; in LastResortLocaleDisplayNames()
466 System.arraycopy(contexts, 0, this.contexts, 0, contexts.length); in LastResortLocaleDisplayNames()
[all …]
/external/deqp/modules/gles2/stress/
Des2sLongRunningTests.cpp72 const std::vector<gls::ProgramContext> contexts(1, progLib.generateBufferContext(4)); in init() local
123 contexts, cases[caseNdx].probs, in init()
184 …const std::vector<gls::ProgramContext> contexts (1, progLib.generateTextureContext(numTextures, 5… in init() local
191 contexts, cases[caseNdx].probs, in init()
200 …const std::vector<gls::ProgramContext> contexts(1, progLib.generateTextureContext(1, 128, 128, 0.5… in init() local
241 contexts, cases[caseNdx].probs, in init()
249 std::vector<gls::ProgramContext> contexts; in init() local
250 contexts.push_back(progLib.generateFragmentPointLightContext(512, 512)); in init()
251 contexts.push_back(progLib.generateVertexUniformLoopLightContext(512, 512)); in init()
278 contexts, cases[caseNdx].probs, in init()
[all …]
/external/deqp/modules/gles3/stress/
Des3sLongRunningTests.cpp72 const std::vector<gls::ProgramContext> contexts(1, progLib.generateBufferContext(4)); in init() local
123 contexts, cases[caseNdx].probs, in init()
184 …const std::vector<gls::ProgramContext> contexts (1, progLib.generateTextureContext(numTextures, 5… in init() local
191 contexts, cases[caseNdx].probs, in init()
200 …const std::vector<gls::ProgramContext> contexts(1, progLib.generateTextureContext(1, 128, 128, 0.5… in init() local
241 contexts, cases[caseNdx].probs, in init()
249 std::vector<gls::ProgramContext> contexts; in init() local
250 contexts.push_back(progLib.generateFragmentPointLightContext(512, 512)); in init()
251 contexts.push_back(progLib.generateVertexUniformLoopLightContext(512, 512)); in init()
278 contexts, cases[caseNdx].probs, in init()
[all …]
/external/libchrome/mojo/core/
Dwatcher_set.cc40 if (!it->second.contexts.insert(context).second) in Add()
60 ContextSet& contexts = it->second.contexts; in Remove() local
61 auto context_it = contexts.find(context); in Remove()
62 if (context_it == contexts.end()) in Remove()
65 contexts.erase(context_it); in Remove()
66 if (contexts.empty()) in Remove()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_ClassOrInterfaceDeclarationContext.txt1 …Line 46) getDeclaration() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.ClassOrI…
3 …Line 57) this.getDeclaration() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.Cla…
6 …Line 58) this.getDeclaration() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.Cla…
8 …Line 62) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaP…
10 …Line 69) this.getDeclaration() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.Cla…
14 …Line 70) this.getDeclaration() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.Cla…
16 …Line 74) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaP…
23 …Line 84) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaP…
24 …ame, typeSolver) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.JavaParserTypeDec…
25 …nly, typeSolver) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.JavaParserTypeDec…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_EnumDeclarationContext.txt1 …Line 41) getDeclaration() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.EnumDecl…
8 …Line 55) this.getDeclaration() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.Enu…
11 …Line 56) this.getDeclaration() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.Enu…
13 …Line 60) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaP…
14 …ame, typeSolver) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.JavaParserTypeDec…
15 …nly, typeSolver) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.JavaParserTypeDec…
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_StatementContext.txt11 …eclarator, name) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParse…
26 …eclarator, name) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParse…
35 …ame, typeSolver) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParse…
39 …Line 112) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJava…
42 …Line 115) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJava…
45 …Line 118) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJava…
48 …Line 121) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJava…
58 …ame, typeSolver) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParse…
60 …Line 142) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJava…
63 …eclarator, name) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParse…
[all …]
Dcom_github_javaparser_symbolsolver_javaparsermodel_contexts_CatchClauseContext.txt3 …veWith(sb, name) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParse…
6 …Line 33) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaP…
9 …ame, typeSolver) ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaParse…
12 …Line 46) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaP…
14 …Line 52) getParent() ==> com.github.javaparser.symbolsolver.javaparsermodel.contexts.AbstractJavaP…
/external/libchrome/mojo/public/cpp/system/
Dwait.cc125 std::vector<scoped_refptr<TriggerContext>> contexts(num_handles); in WaitMany() local
128 contexts[i] = new TriggerContext(); in WaitMany()
132 contexts[i]->AddRef(); in WaitMany()
137 contexts[i]->context_value(), nullptr); in WaitMany()
143 contexts[i]->Release(); in WaitMany()
148 events[i] = &contexts[i]->event(); in WaitMany()
165 if (contexts[i]->context_value() == blocking_event.trigger_context) { in WaitMany()
177 ready_result = contexts[index]->wait_result(); in WaitMany()
178 ready_state = contexts[index]->wait_state(); in WaitMany()
/external/deqp/modules/egl/
DteglMultiContextTests.cpp135 std::vector<eglw::EGLContext> contexts; in iterate() local
138 contexts.reserve(maxContextCount); in iterate()
152 …text sharedContext = (m_sharing == SHARING_SHARED && contextCount > 0 ? contexts[rng.getUint32() %… in iterate()
177 contexts.push_back(context); in iterate()
202 for (size_t contextNdx = 0; contextNdx < contexts.size(); contextNdx++) in iterate()
204 EGLU_CHECK_CALL(egl, destroyContext(*display, contexts[contextNdx])); in iterate()
205 contexts[contextNdx] = EGL_NO_CONTEXT; in iterate()
213 for (size_t contextNdx = 0; contextNdx < contexts.size(); contextNdx++) in iterate()
215 if (contexts[contextNdx] != EGL_NO_CONTEXT) in iterate()
216 EGLU_CHECK_CALL(egl, destroyContext(*display, contexts[contextNdx])); in iterate()
DteglColorClearCase.cpp168 …Surface surface, const Config& config, const std::vector<std::pair<EGLint, EGLContext> >& contexts) in executeForContexts() argument
193 EGLint api = contexts[0].first; in executeForContexts()
194 EGLContext context = contexts[0].second; in executeForContexts()
208 …std::pair<EGLint, EGLContext> >::const_iterator ctxIter = contexts.begin(); ctxIter != contexts.en… in executeForContexts()
230 EGLint api = contexts[0].first; in executeForContexts()
231 EGLContext context = contexts[0].second; in executeForContexts()
331 …Surface surface, const Config& config, const std::vector<std::pair<EGLint, EGLContext> >& contexts) in executeForContexts() argument
353 int numThreads = (int)contexts.size(); in executeForContexts()
391 …ClearThreadSp(new ColorClearThread(egl, display, surface, contexts[threadNdx].second, contexts[thr… in executeForContexts()
401 EGLint api = contexts[0].first; in executeForContexts()
[all …]
DteglRenderCase.cpp312 vector<std::pair<EGLint, EGLContext> > contexts; in executeForSurface() local
313 contexts.reserve(3*m_numContextsPerApi); // 3 types of contexts at maximum. in executeForSurface()
329contexts.push_back(std::make_pair(EGL_OPENGL_ES2_BIT, egl.createContext(display, config.config, EG… in executeForSurface()
336contexts.push_back(std::make_pair(EGL_OPENGL_ES3_BIT_KHR, egl.createContext(display, config.config… in executeForSurface()
343contexts.push_back(std::make_pair(EGL_OPENGL_ES_BIT, egl.createContext(display, config.config, EGL… in executeForSurface()
350contexts.push_back(std::make_pair(EGL_OPENVG_BIT, egl.createContext(display, config.config, EGL_NO… in executeForSurface()
357 …teForContexts(display, surface, Config(config.config, config.surfaceTypeBit, m_apiMask), contexts); in executeForSurface()
364 …for (vector<std::pair<EGLint, EGLContext> >::iterator i = contexts.begin(); i != contexts.end(); i… in executeForSurface()
370 …for (vector<std::pair<EGLint, EGLContext> >::iterator i = contexts.begin(); i != contexts.end(); i… in executeForSurface()
DteglRenderTests.cpp713 …urface surface, const Config& config, const std::vector<std::pair<EGLint, EGLContext> >& contexts);
731 …Surface surface, const Config& config, const std::vector<std::pair<EGLint, EGLContext> >& contexts) in executeForContexts() argument
736 const int numContexts = (int)contexts.size(); in executeForContexts()
752 vector<ProgramSp> programs (contexts.size()); in executeForContexts()
772 EGLint api = contexts[ctxNdx].first; in executeForContexts()
773 EGLContext context = contexts[ctxNdx].second; in executeForContexts()
783 EGLint api = contexts[0].first; in executeForContexts()
784 EGLContext context = contexts[0].second; in executeForContexts()
797 EGLint api = contexts[ctxNdx].first; in executeForContexts()
798 EGLContext context = contexts[ctxNdx].second; in executeForContexts()
[all …]
/external/python/setuptools/setuptools/tests/
Dfixtures.py3 from . import contexts
12 with contexts.tempdir() as user_base:
14 with contexts.tempdir() as user_site:
16 with contexts.save_user_site_setting():
Dtest_easy_install.py36 from . import contexts
359 with contexts.tempdir(cd=os.chdir):
386 with contexts.quiet():
389 with contexts.tempdir() as temp_install_dir:
390 with contexts.environment(PYTHONPATH=temp_install_dir):
415 with contexts.tempdir() as dir:
450 with contexts.save_pkg_resources_state():
451 with contexts.tempdir() as temp_dir:
454 with contexts.quiet() as (stdout, stderr):
471 with contexts.save_pkg_resources_state():
[all …]
Dtest_bdist_egg.py11 from . import contexts
39 with contexts.quiet():
58 with contexts.quiet():
/external/llvm/tools/llvm-diff/
DDiffConsumer.cpp73 unsigned N = contexts.size(); in printValue()
76 DiffContext &ctxt = contexts[N]; in printValue()
95 if (contexts.empty()) return; in header()
97 I = contexts.begin(), E = contexts.end(); I != E; ++I) { in header()
144 contexts.push_back(DiffContext(L, R)); in enterContext()
149 Differences |= contexts.back().Differences; in exitContext()
150 contexts.pop_back(); in exitContext()
/external/swiftshader/third_party/LLVM/tools/llvm-diff/
DDiffConsumer.cpp68 unsigned N = contexts.size(); in printValue()
71 DiffContext &ctxt = contexts[N]; in printValue()
90 if (contexts.empty()) return; in header()
92 I = contexts.begin(), E = contexts.end(); I != E; ++I) { in header()
139 contexts.push_back(DiffContext(L, R)); in enterContext()
144 Differences |= contexts.back().Differences; in exitContext()
145 contexts.pop_back(); in exitContext()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-diff/
DDiffConsumer.cpp73 unsigned N = contexts.size(); in printValue()
76 DiffContext &ctxt = contexts[N]; in printValue()
95 if (contexts.empty()) return; in header()
97 I = contexts.begin(), E = contexts.end(); I != E; ++I) { in header()
144 contexts.push_back(DiffContext(L, R)); in enterContext()
149 Differences |= contexts.back().Differences; in exitContext()
150 contexts.pop_back(); in exitContext()
/external/testng/src/test/java/test/
DCommandLineTest.java76 List<ITestContext> contexts = tla.getTestContexts(); in suiteNameOverride() local
77 assertTrue(contexts.size()>0); in suiteNameOverride()
78 for (ITestContext context:contexts) { in suiteNameOverride()
99 List<ITestContext> contexts = tla.getTestContexts(); in testNameOverride() local
100 assertTrue(contexts.size()>0); in testNameOverride()
101 for (ITestContext context:contexts) { in testNameOverride()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DTailoredSet.java107 comparePrefixes(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
109 addPrefixes(data, c, data.contexts, dataIndex + 2); in compare()
114 addPrefixes(baseData, c, baseData.contexts, baseIndex + 2); in compare()
131 … compareContractions(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
133 addContractions(c, data.contexts, dataIndex + 2); in compare()
138 addContractions(c, baseData.contexts, baseIndex + 2); in compare()
358 addContractions(c, d.contexts, idx + 2); in addPrefix()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DTailoredSet.java105 comparePrefixes(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
107 addPrefixes(data, c, data.contexts, dataIndex + 2); in compare()
112 addPrefixes(baseData, c, baseData.contexts, baseIndex + 2); in compare()
129 … compareContractions(c, data.contexts, dataIndex + 2, baseData.contexts, baseIndex + 2); in compare()
131 addContractions(c, data.contexts, dataIndex + 2); in compare()
136 addContractions(c, baseData.contexts, baseIndex + 2); in compare()
356 addContractions(c, d.contexts, idx + 2); in addPrefix()

12345678910>>...17