Home
last modified time | relevance | path

Searched refs:dev_mode (Results 1 – 23 of 23) sorted by relevance

/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11screencapturedevice.cpp309 const MONITORINFOEXW * minfo, const DEVMODEW * dev_mode, in create_device() argument
324 left = (gint) dev_mode->dmPosition.x; in create_device()
325 top = (gint) dev_mode->dmPosition.y; in create_device()
326 width = dev_mode->dmPelsWidth; in create_device()
327 height = dev_mode->dmPelsHeight; in create_device()
407 DEVMODEW dev_mode; in gst_d3d11_screen_capture_device_provider_probe() local
427 dev_mode.dmSize = sizeof (DEVMODEW); in gst_d3d11_screen_capture_device_provider_probe()
428 dev_mode.dmDriverExtra = sizeof (POINTL); in gst_d3d11_screen_capture_device_provider_probe()
429 dev_mode.dmFields = DM_POSITION; in gst_d3d11_screen_capture_device_provider_probe()
431 ENUM_CURRENT_SETTINGS, &dev_mode)) { in gst_d3d11_screen_capture_device_provider_probe()
[all …]
Dgstd3d11screencapture.cpp1615 DEVMODEW dev_mode; in gst_d3d11_screen_capture_constructed() local
1623 dev_mode.dmSize = sizeof (DEVMODEW); in gst_d3d11_screen_capture_constructed()
1624 dev_mode.dmDriverExtra = sizeof (POINTL); in gst_d3d11_screen_capture_constructed()
1625 dev_mode.dmFields = DM_POSITION; in gst_d3d11_screen_capture_constructed()
1627 (monitor_info.szDevice, ENUM_CURRENT_SETTINGS, &dev_mode)) { in gst_d3d11_screen_capture_constructed()
1632 self->desktop_coordinates.left = dev_mode.dmPosition.x; in gst_d3d11_screen_capture_constructed()
1633 self->desktop_coordinates.top = dev_mode.dmPosition.y; in gst_d3d11_screen_capture_constructed()
1635 dev_mode.dmPosition.x + dev_mode.dmPelsWidth; in gst_d3d11_screen_capture_constructed()
1637 dev_mode.dmPosition.y + dev_mode.dmPelsHeight; in gst_d3d11_screen_capture_constructed()
/third_party/python/Python/
Dpreconfig.c138 COPY_ATTR(dev_mode); in precmdline_get_preconfig()
152 COPY_ATTR(dev_mode); in precmdline_set_preconfig()
171 COPY_ATTR(dev_mode); in _PyPreCmdline_SetConfig()
251 if ((cmdline->dev_mode < 0) in _PyPreCmdline_Read()
255 cmdline->dev_mode = 1; in _PyPreCmdline_Read()
257 if (cmdline->dev_mode < 0) { in _PyPreCmdline_Read()
258 cmdline->dev_mode = 0; in _PyPreCmdline_Read()
270 assert(cmdline->dev_mode >= 0); in _PyPreCmdline_Read()
300 config->dev_mode = -1; in _PyPreConfig_InitCompatConfig()
349 config->dev_mode = 0; in PyPreConfig_InitIsolatedConfig()
[all …]
Dinitconfig.c593 assert(config->dev_mode >= 0); in config_check_consistency()
695 config->dev_mode = -1; in _PyConfig_InitCompatConfig()
771 config->dev_mode = 0; in PyConfig_InitIsolatedConfig()
879 COPY_ATTR(dev_mode); in _PyConfig_Copy()
984 SET_ITEM_INT(dev_mode); in _PyConfig_AsDict()
1257 GET_UINT(dev_mode); in _PyConfig_FromDict()
2093 if (config->dev_mode) { in config_read()
2204 preconfig->dev_mode = config->dev_mode; in _PyConfig_Write()
2524 if (config->dev_mode) { in config_init_warnoptions()
Dsysmodule.c2563 SetFlagObj(PyBool_FromLong(config->dev_mode)); in set_flags_from_config()
/third_party/gstreamer/gstplugins_base/tests/examples/overlay/
Dwin32-videooverlay.c68 DEVMODE dev_mode; in get_monitor_size() local
75 dev_mode.dmSize = sizeof (dev_mode); in get_monitor_size()
76 dev_mode.dmDriverExtra = sizeof (POINTL); in get_monitor_size()
77 dev_mode.dmFields = DM_POSITION; in get_monitor_size()
79 (monitor_info.szDevice, ENUM_CURRENT_SETTINGS, &dev_mode)) { in get_monitor_size()
83 SetRect (rect, 0, 0, dev_mode.dmPelsWidth, dev_mode.dmPelsHeight); in get_monitor_size()
/third_party/python/Lib/test/
D_test_embed_set_config.py182 self.set_config(dev_mode=0)
183 self.assertEqual(sys.flags.dev_mode, False)
184 self.set_config(dev_mode=1)
185 self.assertEqual(sys.flags.dev_mode, True)
Dtest_embed.py358 dev_mode=0,
452 dev_mode=0,
918 config = dict(dev_mode=1,
926 config = dict(dev_mode=1,
Dtest_io.py82 IOBASE_EMITS_UNRAISABLE = (hasattr(sys, "gettotalrefcount") or sys.flags.dev_mode)
/third_party/python/Include/cpython/
Dinitconfig.h120 int dev_mode; member
139 int dev_mode; member
/third_party/python/Include/internal/
Dpycore_initconfig.h104 int dev_mode; /* -X dev and PYTHONDEVMODE */ member
112 .dev_mode = -1}
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Ddxgicapture.c1273 DEVMODEW dev_mode; in get_monitor_physical_size() local
1280 dev_mode.dmSize = sizeof (dev_mode); in get_monitor_physical_size()
1281 dev_mode.dmDriverExtra = sizeof (POINTL); in get_monitor_physical_size()
1282 dev_mode.dmFields = DM_POSITION; in get_monitor_physical_size()
1284 (monitor_info.szDevice, ENUM_CURRENT_SETTINGS, &dev_mode)) { in get_monitor_physical_size()
1288 SetRect (rect, 0, 0, dev_mode.dmPelsWidth, dev_mode.dmPelsHeight); in get_monitor_physical_size()
/third_party/python/Doc/library/
Ddevmode.rst84 * Set the :attr:`~sys.flags.dev_mode` attribute of :attr:`sys.flags` to
99 value can be read from :data:`sys.flags.dev_mode <sys.flags>`.
Dsys.rst481 :const:`dev_mode` :option:`-X dev <-X>` (:ref:`Python Development Mode <devmode>`)
498 Added the ``dev_mode`` attribute for the new :ref:`Python Development
/third_party/python/Lib/asyncio/
Dcoroutines.py29 return sys.flags.dev_mode or (not sys.flags.ignore_environment and
/third_party/python/Lib/
Dsubprocess.py310 dev_mode = ('dev' in xoptions)
316 if dev_mode:
322 if dev_mode:
D_pyio.py38 _IOBASE_EMITS_UNRAISABLE = (hasattr(sys, "gettotalrefcount") or sys.flags.dev_mode)
/third_party/python/Programs/
D_testembed.c1053 config.dev_mode = 1; in test_init_dev_mode()
1502 config.dev_mode = 1; in test_init_warnoptions()
/third_party/python/Modules/_io/
Diobase.c291 if (_Py_GetConfig()->dev_mode) { in iobase_finalize()
Dtextio.c1002 if (!_PyInterpreterState_GetConfig(interp)->dev_mode) { in io_check_errors()
/third_party/python/Doc/c-api/
Dinit_config.rst283 .. c:member:: int dev_mode
286 see :c:member:`PyConfig.dev_mode`.
506 * :c:member:`PyConfig.dev_mode`
629 .. c:member:: int dev_mode
/third_party/python/Misc/NEWS.d/
D3.7.0a3.rst296 Add :attr:`sys.flags.dev_mode` flag
/third_party/python/Objects/
Dunicodeobject.c466 if (!_PyInterpreterState_GetConfig(interp)->dev_mode) { in unicode_check_encoding_errors()