/external/chromium_org/chrome/browser/renderer_context_menu/ |
D | render_view_context_menu_unittest.cc | 29 MenuItem::ContextList contexts, in ExtensionContextAndPatternMatch() argument 32 contexts, patterns); in ExtensionContextAndPatternMatch() 37 static content::ContextMenuParams CreateParams(int contexts) { in CreateParams() argument 44 if (contexts & MenuItem::SELECTION) in CreateParams() 47 if (contexts & MenuItem::LINK) in CreateParams() 50 if (contexts & MenuItem::EDITABLE) in CreateParams() 53 if (contexts & MenuItem::IMAGE) { in CreateParams() 58 if (contexts & MenuItem::VIDEO) { in CreateParams() 63 if (contexts & MenuItem::AUDIO) { in CreateParams() 68 if (contexts & MenuItem::FRAME) in CreateParams() [all …]
|
D | context_menu_content_type_unittest.cc | 27 content::ContextMenuParams CreateParams(int contexts) { in CreateParams() argument 34 if (contexts & MenuItem::SELECTION) in CreateParams() 37 if (contexts & MenuItem::LINK) { in CreateParams() 42 if (contexts & MenuItem::EDITABLE) in CreateParams() 45 if (contexts & MenuItem::IMAGE) { in CreateParams() 50 if (contexts & MenuItem::VIDEO) { in CreateParams() 55 if (contexts & MenuItem::AUDIO) { in CreateParams() 60 if (contexts & MenuItem::FRAME) in CreateParams()
|
/external/chromium_org/chrome/browser/extensions/api/context_menus/ |
D | context_menus_api_helpers.h | 59 MenuItem::ContextList contexts; in GetContexts() local 60 for (size_t i = 0; i < property.contexts->size(); ++i) { in GetContexts() 61 switch (property.contexts->at(i)) { in GetContexts() 63 contexts.Add(extensions::MenuItem::ALL); in GetContexts() 66 contexts.Add(extensions::MenuItem::PAGE); in GetContexts() 69 contexts.Add(extensions::MenuItem::SELECTION); in GetContexts() 72 contexts.Add(extensions::MenuItem::LINK); in GetContexts() 75 contexts.Add(extensions::MenuItem::EDITABLE); in GetContexts() 78 contexts.Add(extensions::MenuItem::IMAGE); in GetContexts() 81 contexts.Add(extensions::MenuItem::VIDEO); in GetContexts() [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/bindings/ |
D | ContentScriptProjectDecorator.js | 60 var contexts = []; 62 contexts = contexts.concat(targets[i].runtimeModel.executionContexts()); 63 contexts = contexts.filter(contextWithOriginAndName); 65 for (var i = 0; i < contexts.length; ++i) 66 … WebInspector.ContentScriptProjectDecorator._updateProjectWithExtensionName(project, contexts[i]);
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 355 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/deqp/modules/gles2/stress/ |
D | es2sLongRunningTests.cpp | 72 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/ |
D | es3sLongRunningTests.cpp | 72 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/chromium_org/extensions/common/features/ |
D | simple_feature_unittest.cc | 275 feature.contexts()->insert(Feature::BLESSED_EXTENSION_CONTEXT); in TEST() 314 feature.contexts()->clear(); in TEST() 315 feature.contexts()->insert(Feature::UNBLESSED_EXTENSION_CONTEXT); in TEST() 316 feature.contexts()->insert(Feature::CONTENT_SCRIPT_CONTEXT); in TEST() 327 feature.contexts()->insert(Feature::WEB_PAGE_CONTEXT); in TEST() 338 feature.contexts()->clear(); in TEST() 339 feature.contexts()->insert(Feature::BLESSED_EXTENSION_CONTEXT); in TEST() 482 EXPECT_TRUE(feature->contexts()->empty()); in TEST() 531 base::ListValue* contexts = new base::ListValue(); in TEST() local 532 contexts->Append(new base::StringValue("blessed_extension")); in TEST() [all …]
|
/external/chromium_org/third_party/WebKit/Source/platform/text/ |
D | BidiContext.cpp | 88 Vector<BidiContext*, 64> contexts; in copyStackRemovingUnicodeEmbeddingContexts() local 91 contexts.append(iter); in copyStackRemovingUnicodeEmbeddingContexts() 93 ASSERT(contexts.size()); in copyStackRemovingUnicodeEmbeddingContexts() 95 RefPtr<BidiContext> topContext = copyContextAndRebaselineLevel(contexts.last(), 0); in copyStackRemovingUnicodeEmbeddingContexts() 96 for (int i = contexts.size() - 1; i > 0; --i) in copyStackRemovingUnicodeEmbeddingContexts() 97 topContext = copyContextAndRebaselineLevel(contexts[i - 1], topContext.get()); in copyStackRemovingUnicodeEmbeddingContexts()
|
/external/chromium_org/extensions/renderer/ |
D | script_context_set.cc | 79 ContextSet contexts = GetAll(); in ForEach() local 81 for (ContextSet::iterator it = contexts.begin(); it != contexts.end(); ++it) { in ForEach() 107 ContextSet contexts = GetAll(); in OnExtensionUnloaded() local 113 for (ContextSet::iterator it = contexts.begin(); it != contexts.end(); ++it) { in OnExtensionUnloaded()
|
/external/llvm/tools/llvm-diff/ |
D | DiffConsumer.cpp | 73 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/deqp/modules/egl/ |
D | teglColorClearCase.cpp | 142 …ce& surface, EGLConfig config, const std::vector<std::pair<EGLint, tcu::egl::Context*> >& contexts) in executeForContexts() argument 163 EGLint api = contexts[0].first; in executeForContexts() 164 tcu::egl::Context* context = contexts[0].second; in executeForContexts() 177 …r<EGLint, tcu::egl::Context*> >::const_iterator ctxIter = contexts.begin(); ctxIter != contexts.en… in executeForContexts() 197 EGLint api = contexts[0].first; in executeForContexts() 198 tcu::egl::Context* context = contexts[0].second; in executeForContexts() 288 …ce& surface, EGLConfig config, const std::vector<std::pair<EGLint, tcu::egl::Context*> >& contexts) in executeForContexts() argument 306 int numThreads = (int)contexts.size(); in executeForContexts() 344 …olorClearThreadSp(new ColorClearThread(display, surface, *contexts[threadNdx].second, contexts[thr… in executeForContexts() 354 EGLint api = contexts[0].first; in executeForContexts() [all …]
|
D | teglRenderCase.cpp | 308 vector<std::pair<EGLint, tcu::egl::Context*> > contexts; in executeForSurface() local 309 contexts.reserve(3*m_numContextsPerApi); // 3 types of contexts at maximum. in executeForSurface() 319 …contexts.push_back(std::make_pair(EGL_OPENGL_ES2_BIT, new tcu::egl::Context(display, config, &attr… in executeForSurface() 325 …contexts.push_back(std::make_pair(EGL_OPENGL_ES3_BIT_KHR, new tcu::egl::Context(display, config, &… in executeForSurface() 331 …contexts.push_back(std::make_pair(EGL_OPENGL_ES_BIT, new tcu::egl::Context(display, config, &attri… in executeForSurface() 337 …contexts.push_back(std::make_pair(EGL_OPENVG_BIT, new tcu::egl::Context(display, config, &attribs[… in executeForSurface() 342 executeForContexts(display, surface, config, contexts); in executeForSurface() 347 …for (vector<std::pair<EGLint, tcu::egl::Context*> >::iterator i = contexts.begin(); i != contexts.… in executeForSurface() 353 …for (vector<std::pair<EGLint, tcu::egl::Context*> >::iterator i = contexts.begin(); i != contexts.… in executeForSurface()
|
D | teglRenderTests.cpp | 682 …e& surface, EGLConfig config, const std::vector<std::pair<EGLint, tcu::egl::Context*> >& contexts); 692 …ce& surface, EGLConfig config, const std::vector<std::pair<EGLint, tcu::egl::Context*> >& contexts) in executeForContexts() argument 696 const int numContexts = (int)contexts.size(); in executeForContexts() 712 vector<ProgramSp> programs (contexts.size()); in executeForContexts() 732 EGLint api = contexts[ctxNdx].first; in executeForContexts() 733 tcu::egl::Context* context = contexts[ctxNdx].second; in executeForContexts() 744 EGLint api = contexts[0].first; in executeForContexts() 745 tcu::egl::Context* context = contexts[0].second; in executeForContexts() 758 EGLint api = contexts[ctxNdx].first; in executeForContexts() 759 tcu::egl::Context* context = contexts[ctxNdx].second; in executeForContexts() [all …]
|
D | teglMultiThreadTests.cpp | 967 vector<EGLContext>& contexts = (thread.getId() == 0 ? m_contexts0 : m_contexts1); in createDestroyObjects() local 1003 else if (contexts.size() > 5 && ((m_types & TYPE_CONTEXT) != 0)) in createDestroyObjects() 1018 else if (contexts.size() < 3 && ((m_types & TYPE_CONTEXT) != 0)) in createDestroyObjects() 1157 contexts.push_back(context); in createDestroyObjects() 1217 const int contextNdx = rnd.getInt(0, (int)(contexts.size()-1)); in createDestroyObjects() 1219 TCU_CHECK_EGL_CALL(eglDestroyContext(m_display, contexts[contextNdx])); in createDestroyObjects() 1220 …ThreadLog::BeginMessage << "eglDestroyContext(" << m_display << ", " << contexts[contextNdx] << "… in createDestroyObjects() 1221 contexts.erase(contexts.begin() + contextNdx); in createDestroyObjects() 1239 vector<EGLContext>& contexts = (thread.getId() == 0 ? m_contexts0 : m_contexts1); in pushObjectsToShared() local 1256 for (int contextNdx = 0; contextNdx < (int)contexts.size(); contextNdx++) in pushObjectsToShared() [all …]
|
/external/chromium_org/third_party/motemplate/ |
D | motemplate.py | 239 def __init__(self, name, contexts, _stack=_Stack()): argument 241 self.contexts = contexts 254 self._name, self.contexts, _stack=self._stack) 259 self.contexts.CreateFromGlobals(), 495 value = render_state.contexts.Resolve(self._id.name) 515 value = render_state.contexts.Resolve(self._id.name) 547 value = render_state.contexts.Resolve(self._id.name) 551 render_state.contexts.Scope({self._bind_to.name: item}, 557 render_state.contexts.Scope({self._bind_to.name: value}, 560 render_state.contexts.Scope(value, self._content.Render, render_state) [all …]
|
/external/qemu/distrib/libselinux/src/ |
D | label.c | 46 struct selabel_lookup_rec *contexts) in selabel_validate() argument 50 if (!rec->validating || contexts->validated) in selabel_validate() 53 rc = selinux_validate(&contexts->ctx_raw); in selabel_validate() 57 contexts->validated = 1; in selabel_validate()
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
D | inspector_backend_list.py | 79 contexts = self._browser_backend.ListInspectableContexts() 80 context_ids = [context['id'] for context in contexts] 83 for context in contexts: 96 context = next(context for context in contexts
|
/external/libselinux/src/ |
D | label.c | 46 struct selabel_lookup_rec *contexts) in selabel_validate() argument 50 if (!rec->validating || contexts->validated) in selabel_validate() 53 rc = selinux_validate(&contexts->ctx_raw); in selabel_validate() 57 contexts->validated = 1; in selabel_validate()
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/event_page/ |
D | sample.js | 29 var contexts = ["page","selection","link","editable","image","video", 31 for (var i = 0; i < contexts.length; i++) { 32 var context = contexts[i];
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
D | sample.js | 13 var contexts = ["page","selection","link","editable","image","video", variable 15 for (var i = 0; i < contexts.length; i++) { 16 var context = contexts[i];
|
/external/valgrind/main/drd/tests/ |
D | threaded-fork.stderr.exp | 3 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) 6 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
/external/valgrind/main/memcheck/tests/ |
D | addressable.stderr.exp | 10 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) 39 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) 48 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) 62 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) 82 ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) 91 ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/ |
D | JsDocValidator.java | 39 List<ValidatorContext> contexts = new ArrayList<>(args.length); in runWithExecutor() local 44 contexts.add(context); in runWithExecutor() 52 for (ValidatorContext context : contexts) { in runWithExecutor() 56 for (ValidatorContext context : contexts) { in runWithExecutor()
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | x11_input_method_context_impl_gtk2.cc | 41 GtkIMContext* contexts[] = {gtk_context_simple_, gtk_multicontext_}; in X11InputMethodContextImplGtk2() local 42 for (size_t i = 0; i < arraysize(contexts); ++i) { in X11InputMethodContextImplGtk2() 43 g_signal_connect(contexts[i], "commit", in X11InputMethodContextImplGtk2() 45 g_signal_connect(contexts[i], "preedit-changed", in X11InputMethodContextImplGtk2() 47 g_signal_connect(contexts[i], "preedit-end", in X11InputMethodContextImplGtk2() 49 g_signal_connect(contexts[i], "preedit-start", in X11InputMethodContextImplGtk2()
|