/third_party/gstreamer/gstplugins_bad/sys/d3d11/ |
D | gstd3d11screencapturedevice.cpp | 309 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 …]
|
D | gstd3d11screencapture.cpp | 1615 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/ |
D | preconfig.c | 138 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 …]
|
D | initconfig.c | 593 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()
|
D | sysmodule.c | 2563 SetFlagObj(PyBool_FromLong(config->dev_mode)); in set_flags_from_config()
|
/third_party/gstreamer/gstplugins_base/tests/examples/overlay/ |
D | win32-videooverlay.c | 68 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.py | 182 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)
|
D | test_embed.py | 358 dev_mode=0, 452 dev_mode=0, 918 config = dict(dev_mode=1, 926 config = dict(dev_mode=1,
|
D | test_io.py | 82 IOBASE_EMITS_UNRAISABLE = (hasattr(sys, "gettotalrefcount") or sys.flags.dev_mode)
|
/third_party/python/Include/cpython/ |
D | initconfig.h | 120 int dev_mode; member 139 int dev_mode; member
|
/third_party/python/Include/internal/ |
D | pycore_initconfig.h | 104 int dev_mode; /* -X dev and PYTHONDEVMODE */ member 112 .dev_mode = -1}
|
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/ |
D | dxgicapture.c | 1273 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/ |
D | devmode.rst | 84 * 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>`.
|
D | sys.rst | 481 :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/ |
D | coroutines.py | 29 return sys.flags.dev_mode or (not sys.flags.ignore_environment and
|
/third_party/python/Lib/ |
D | subprocess.py | 310 dev_mode = ('dev' in xoptions) 316 if dev_mode: 322 if dev_mode:
|
D | _pyio.py | 38 _IOBASE_EMITS_UNRAISABLE = (hasattr(sys, "gettotalrefcount") or sys.flags.dev_mode)
|
/third_party/python/Programs/ |
D | _testembed.c | 1053 config.dev_mode = 1; in test_init_dev_mode() 1502 config.dev_mode = 1; in test_init_warnoptions()
|
/third_party/python/Modules/_io/ |
D | iobase.c | 291 if (_Py_GetConfig()->dev_mode) { in iobase_finalize()
|
D | textio.c | 1002 if (!_PyInterpreterState_GetConfig(interp)->dev_mode) { in io_check_errors()
|
/third_party/python/Doc/c-api/ |
D | init_config.rst | 283 .. 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/ |
D | 3.7.0a3.rst | 296 Add :attr:`sys.flags.dev_mode` flag
|
/third_party/python/Objects/ |
D | unicodeobject.c | 466 if (!_PyInterpreterState_GetConfig(interp)->dev_mode) { in unicode_check_encoding_errors()
|