Home
last modified time | relevance | path

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

12345678910>>...34

/external/libwebsockets/plugins/
Dserver-status.js80 if (parseInt(jso.i.contexts[0].deprecated, 10) === 0)
115 for (ci = 0; ci < jso.i.contexts.length; ci++) {
117 if (parseInt(jso.i.contexts[ci].deprecated, 10) === 0)
124 u = parseInt(san(jso.i.contexts[ci].context_uptime), 10);
132 …"<span class=n>Listening wsi:</span> <span class=v>" + san(jso.i.contexts[ci].listen_wsi) + "</spa…
133 …"<span class=n>Current wsi alive:</span> <span class=v>" + (parseInt(san(jso.i.contexts[ci].wsi_al…
134 parseInt(san(jso.i.contexts[ci].listen_wsi), 10)) + "</span><br>" +
135 …"<span class=n>Total Rx:</span> <span class=v>" + humanize(san(jso.i.contexts[ci].rx)) +"B</span>,…
136 …"<span class=n>Total Tx:</span> <span class=v>" + humanize(san(jso.i.contexts[ci].tx)) +"B</span><…
138 …"<span class=n>CONNECTIONS: HTTP/1.x:</span> <span class=v>" + san(jso.i.contexts[ci].h1_conn) +"<…
[all …]
/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/angle/src/tests/gl_tests/
DTimerQueriesTest.cpp338 ContextInfo contexts[2]; in TEST_P() local
359 contexts[0].context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
360 contexts[0].display = display; in TEST_P()
361 ASSERT_NE(contexts[0].context, EGL_NO_CONTEXT); in TEST_P()
362 eglMakeCurrent(display, surface, surface, contexts[0].context); in TEST_P()
363 contexts[0].program = CompileProgram(essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); in TEST_P()
364 glGenQueriesEXT(1, &contexts[0].query); in TEST_P()
368 contexts[1].context = eglCreateContext(display, config, EGL_NO_CONTEXT, contextAttributes); in TEST_P()
369 contexts[1].display = display; in TEST_P()
370 ASSERT_NE(contexts[1].context, EGL_NO_CONTEXT); in TEST_P()
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_ctx_switch.c121 uint32_t contexts[64]; in single() local
133 contexts[n] = gem_queue_create(fd); in single()
135 contexts[n] = gem_context_create(fd); in single()
138 gem_context_set_all_engines(fd, contexts[n]); in single()
158 execbuf.rsvd1 = contexts[0]; in single()
175 for (int i = 0; i < ARRAY_SIZE(contexts); i++) { in single()
176 execbuf.rsvd1 = contexts[i]; in single()
185 execbuf.rsvd1 = contexts[loop % 64]; in single()
222 gem_context_destroy(fd, contexts[n]); in single()
232 uint32_t contexts[65]; in all() local
[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/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/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/llvm-project/clang/tools/libclang/
DCIndexCodeCompletion.cpp387 unsigned long long contexts = 0; in getContextsForContextKind() local
392 contexts = CXCompletionContext_MacroName; in getContextsForContextKind()
399 contexts = CXCompletionContext_AnyType | in getContextsForContextKind()
402 contexts |= CXCompletionContext_EnumTag | in getContextsForContextKind()
411 contexts = CXCompletionContext_AnyType | in getContextsForContextKind()
415 contexts |= CXCompletionContext_EnumTag | in getContextsForContextKind()
424 contexts = CXCompletionContext_AnyValue; in getContextsForContextKind()
426 contexts |= CXCompletionContext_AnyType | in getContextsForContextKind()
437 contexts = CXCompletionContext_ObjCObjectValue | in getContextsForContextKind()
441 contexts |= CXCompletionContext_CXXClassTypeValue | in getContextsForContextKind()
[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/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/webrtc/modules/desktop_capture/win/
Ddxgi_adapter_duplicator.cc116 RTC_DCHECK(context->contexts.empty()); in Setup()
117 context->contexts.resize(duplicators_.size()); in Setup()
119 duplicators_[i].Setup(&context->contexts[i]); in Setup()
124 RTC_DCHECK_EQ(context->contexts.size(), duplicators_.size()); in Unregister()
126 duplicators_[i].Unregister(&context->contexts[i]); in Unregister()
132 RTC_DCHECK_EQ(context->contexts.size(), duplicators_.size()); in Duplicate()
134 if (!duplicators_[i].Duplicate(&context->contexts[i], in Duplicate()
148 RTC_DCHECK_EQ(context->contexts.size(), duplicators_.size()); in DuplicateMonitor()
149 return duplicators_[monitor_id].Duplicate(&context->contexts[monitor_id], in DuplicateMonitor()
/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/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/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 …]
/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()
/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 …]
/external/llvm-project/llvm/tools/llvm-diff/
DDiffConsumer.cpp72 unsigned N = contexts.size(); in printValue()
75 DiffContext &ctxt = contexts[N]; in printValue()
94 if (contexts.empty()) return; in header()
96 I = contexts.begin(), E = contexts.end(); I != E; ++I) { in header()
143 contexts.push_back(DiffContext(L, R)); in enterContext()
148 Differences |= contexts.back().Differences; in exitContext()
149 contexts.pop_back(); in exitContext()
/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/libiio/src/bindings/python/examples/
Diio_info.py25 contexts = iio.scan_contexts()
26 if len(contexts) > 1:
28 for index, each in enumerate(contexts):
29 print('\t%d: %s [%s]' % (index, contexts[each], each))
32 uri = next(iter(contexts), None)
/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()

12345678910>>...34