Home
last modified time | relevance | path

Searched refs:createContext (Results 1 – 25 of 252) sorted by relevance

1234567891011

/third_party/node/test/parallel/
Dtest-vm-codegen.js6 const { createContext, runInContext, runInNewContext } = require('vm');
12 const ctx = createContext({ WASM_BYTES });
22 const ctx = createContext({}, {
35 const ctx = createContext({ WASM_BYTES }, {
68 createContext({}, {
88 createContext({}, {
96 createContext({}, {
Dtest-vm-create-context-arg.js28 vm.createContext('string is not supported');
35 vm.createContext({ a: 1 });
36 vm.createContext([0, 1, 2, 3]);
39 vm.createContext(sandbox);
40 vm.createContext(sandbox);
Dtest-vm-module-basic.js11 createContext
16 const context = createContext({
59 const context1 = createContext({ });
60 const context2 = createContext({ });
72 const context = createContext({ foo: 'bar' });
96 const context = createContext({ foo: 'bar' });
Dtest-vm-basic.js44 const context = vm.createContext(sandbox);
79 const context = vm.createContext(sandbox);
87 const context = vm.createContext();
101 vm.createContext({}, input);
112 vm.createContext({}, { [propertyName]: null });
291 parsingContext: vm.createContext({ varInContext: 'abc' })
312 parsingContext: vm.createContext({ global: {} })
Dtest-vm-is-context.js41 assert.strictEqual(vm.isContext(vm.createContext()), true);
42 assert.strictEqual(vm.isContext(vm.createContext([])), true);
45 vm.createContext(sandbox);
Dtest-vm-create-and-run-in-context.js30 let context = vm.createContext();
35 context = vm.createContext({ 'foo': 'bar', 'thing': 'lala' });
47 vm.createContext(sandbox);
Dtest-vm-context-property-forwarding.js29 const ctx = vm.createContext(sandbox);
39 const ctx2 = vm.createContext(x);
49 const ctx = vm.createContext();
Dtest-vm-context.js31 let context = vm.createContext();
36 context = vm.createContext({ 'foo': 'bar', 'thing': 'lala' });
102 ctx = vm.createContext(ctx);
Dtest-crypto-key-objects-messageport.js8 const { createContext } = require('vm');
72 const context = createContext();
Dtest-repl-context.js35 const context = r.createContext();
62 const context = server.createContext();
/third_party/flutter/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLSurfacelessContextTest.cpp75 EGLContext createContext() in createContext() function in __anon8240c9f60111::EGLSurfacelessContextTest
128 EGLContext context = createContext(); in TEST_P()
150 EGLContext context = createContext(); in TEST_P()
178 EGLContext context = createContext(); in TEST_P()
198 EGLContext context = createContext(); in TEST_P()
222 EGLContext context = createContext(); in TEST_P()
DEGLRobustnessTest.cpp86 void createContext(EGLint resetStrategy) in createContext() function in EGLRobustnessTest
165 createContext(EGL_NO_RESET_NOTIFICATION_EXT); in TEST_P()
191 createContext(EGL_LOSE_CONTEXT_ON_RESET_EXT); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLSurfacelessContextTest.cpp82 EGLContext createContext() in createContext() function in __anonae6a48810111::EGLSurfacelessContextTest
141 EGLContext context = createContext(); in TEST_P()
163 EGLContext context = createContext(); in TEST_P()
191 EGLContext context = createContext(); in TEST_P()
211 EGLContext context = createContext(); in TEST_P()
236 EGLContext context = createContext(); in TEST_P()
DEGLBufferAgeTest.cpp69 bool createContext(EGLConfig config, EGLContext *context) in createContext() function in EGLBufferAgeTest
115 EXPECT_TRUE(createContext(config, &context)); in TEST_P()
170 EXPECT_TRUE(createContext(config, &context)); in TEST_P()
238 EXPECT_TRUE(createContext(config, &context)); in TEST_P()
255 EXPECT_TRUE(createContext(config, &otherContext)); in TEST_P()
306 EXPECT_TRUE(createContext(config, &context)); in TEST_P()
DEGLMultiContextTest.cpp80 bool createContext(EGLDisplay dpy, EGLConfig config, EGLContext *context) in createContext() function in __anonf517de6c0111::EGLMultiContextTest
116 EGLContext context1 = window->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P()
117 EGLContext context2 = window->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P()
154 ctx[t] = window->createContext(EGL_NO_CONTEXT, nullptr); in TEST_P()
318 EXPECT_TRUE(createContext(dpy, config, &ctx)); in TEST_P()
DEGLRobustnessTest.cpp103 void createContext(EGLint resetStrategy) in createContext() function in EGLRobustnessTest
182 createContext(EGL_NO_RESET_NOTIFICATION_EXT); in TEST_P()
208 createContext(EGL_LOSE_CONTEXT_ON_RESET_EXT); in TEST_P()
DEGLProtectedContentTest.cpp77 bool createContext(EGLBoolean isProtected, EGLConfig config, EGLContext *context) in createContext() function in EGLProtectedContentTest
379 EXPECT_TRUE(createContext(isProtectedContext, config, &context)); in pbufferTest()
421 EXPECT_TRUE(createContext(isProtectedContext, config, &context)); in windowTest()
494 EXPECT_TRUE(createContext(isProtectedContext, config, &context)); in textureTest()
573 EXPECT_TRUE(createContext(isProtectedContext, config, &context)); in textureFromImageTest()
665 EXPECT_TRUE(createContext(isProtectedContext, config, &context)); in textureFromPbufferTest()
754 EXPECT_TRUE(createContext(isProtectedContext, config, &context)); in textureFromAndroidNativeBufferTest()
DEGLContextSharingTest.cpp126 bool createContext(EGLConfig config, EGLContext *context) in createContext() function in __anon7550d84d0111::EGLContextSharingTestNoFixture
487 ctx[t] = window->createContext(t == 0 ? EGL_NO_CONTEXT : ctx[0], nullptr); in TEST_P()
670 EXPECT_TRUE(createContext(config, &mContexts[0])); in TEST_P()
716 EXPECT_TRUE(createContext(config, &mContexts[1])); in TEST_P()
781 EXPECT_TRUE(createContext(config, &mContexts[0])); in TEST_P()
827 EXPECT_TRUE(createContext(config, &mContexts[1])); in TEST_P()
908 EXPECT_TRUE(createContext(config, &mContexts[0])); in TEST_P()
910 EXPECT_TRUE(createContext(config, &mContexts[1])); in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcContextFlagsTests.cpp42 void createContext();
61 void ContextFlagsCase::createContext() in createContext() function in glcts::ContextFlagsCase
90 createContext(); in iterate()
/third_party/node/lib/
Dvm.js148 const context = createContext(contextObject, getContextOptions(options));
220 function createContext(contextObject = {}, options = {}) { function
301 contextObject = createContext(contextObject, getContextOptions(options));
405 createContext, property
/third_party/node/deps/npm/node_modules/bluebird/js/release/
Dcontext.js31 function createContext() { function
43 Context.create = createContext;
/third_party/skia/experimental/skottiekit/
Dgpu.js38 var ctx = GL.createContext(canvas, contextAttributes);
43 ctx = GL.createContext(canvas, contextAttributes);
/third_party/vk-gl-cts/modules/egl/
DteglRenderCase.cpp283 …eglu::UniqueContext context (egl, display, egl.createContext(display, config.config, EGL_NO_CONTEX… in executeForSurface()
329 …contexts.push_back(std::make_pair(EGL_OPENGL_ES2_BIT, egl.createContext(display, config.config, EG… in executeForSurface()
336 …contexts.push_back(std::make_pair(EGL_OPENGL_ES3_BIT_KHR, egl.createContext(display, config.config… in executeForSurface()
343 …contexts.push_back(std::make_pair(EGL_OPENGL_ES_BIT, egl.createContext(display, config.config, EGL… in executeForSurface()
350 …contexts.push_back(std::make_pair(EGL_OPENVG_BIT, egl.createContext(display, config.config, EGL_NO… in executeForSurface()
/third_party/vk-gl-cts/framework/platform/win32/
DtcuWGL.cpp159 wglCreateContextFunc createContext; member
179 : createContext (DE_NULL) in Functions()
218 m_functions.createContext = (wglCreateContextFunc) m_library.getFunction("wglCreateContext"); in Library()
224 if (!m_functions.createContext || in Library()
247 HGLRC tmpCtx = m_functions.createContext(tmpWindow.getDeviceContext()); in Library()
/third_party/skia/third_party/externals/angle2/util/windows/
DWGLWindow.cpp200 mWGLContext = createContext(configParams, nullptr); in initializeGLWithResult()
228 HGLRC WGLWindow::createContext(const ConfigParameters &configParams, HGLRC shareContext) in createContext() function in WGLWindow
320 HGLRC newContext = createContext(mConfigParams, shareContext); in createContextGeneric()

1234567891011