Home
last modified time | relevance | path

Searched refs:sysmod (Results 1 – 25 of 71) sorted by relevance

123

/dports/sysutils/py-salt/salt-3004.1/tests/unit/modules/
H A Dtest_sysmod.py6 import salt.modules.sysmod as sysmod namespace
51 return sysmod.__salt__
68 return sysmod.__salt__
75 sysmod.__salt__
177 sysmod.state_doc("sys.doc"),
229 sysmod.list_functions("sys"),
235 sysmod.list_functions("sys*"),
247 sysmod.list_functions("sys.list*"),
275 self.assertTrue(sysmod.reload_modules())
325 sysmod.list_state_functions("sys"),
[all …]
/dports/science/py-pymol/pymol-open-source-2.4.0/layer0/
H A DFeedback.cpp41 int n, sysmod, mask; local
43 setMask(sysmod, mask);
70 if((sysmod > 0) && (sysmod < FB_Total)) { in setMask()
71 currentMask(sysmod) = mask; in setMask()
72 } else if(!sysmod) { in setMask()
81 return m_stack.back()[sysmod]; in currentMask()
91 if((sysmod > 0) && (sysmod < FB_Total)) { in disable()
94 } else if(!sysmod) { in disable()
106 if((sysmod > 0) && (sysmod < FB_Total)) { in enable()
109 } else if(!sysmod) { in enable()
[all …]
H A DFeedback.h230 void autoAdd(unsigned int sysmod, unsigned char mask, const char* str);
233 void setMask(unsigned int sysmod, unsigned char mask);
234 unsigned char& currentMask(unsigned int sysmod);
235 bool testMask(unsigned int sysmod, unsigned char mask);
236 void disable(unsigned int sysmod, unsigned char mask);
237 void enable(unsigned int sysmod, unsigned char mask);
246 bool Feedback(PyMOLGlobals* G, unsigned int sysmod, unsigned char mask) in Feedback() argument
248 return G->Feedback->testMask(sysmod, mask); in Feedback()
269 #define PRINTFB(G,sysmod,mask) \ argument
272 if(G->Feedback->testMask(sysmod,mask)) {\
[all …]
/dports/science/py-pymol/pymol-open-source-2.4.0/contrib/champ/
H A Dfeedback2.c73 void feedback_SetMask(unsigned int sysmod,unsigned char mask) in feedback_SetMask() argument
76 if((sysmod>0)&&(sysmod<FB_total)) { in feedback_SetMask()
77 feedback_Mask[sysmod] = mask; in feedback_SetMask()
78 } else if(!sysmod) { in feedback_SetMask()
92 if((sysmod>0)&&(sysmod<FB_total)) { in feedback_Disable()
93 feedback_Mask[sysmod] = feedback_Mask[sysmod] & (0xFF-mask); in feedback_Disable()
94 } else if(!sysmod) { in feedback_Disable()
105 void feedback_Enable(unsigned int sysmod,unsigned char mask) in feedback_Enable() argument
108 if((sysmod>0)&&(sysmod<FB_total)) { in feedback_Enable()
109 feedback_Mask[sysmod] = feedback_Mask[sysmod] | mask; in feedback_Enable()
[all …]
H A Dfeedback2.h95 void feedback_SetMask(unsigned int sysmod,unsigned char mask);
96 void feedback_Disable(unsigned int sysmod,unsigned char mask);
97 void feedback_Enable(unsigned int sysmod,unsigned char mask);
104 #define feedback_(sysmod,mask) (feedback_Mask[sysmod]&mask) argument
114 #define PRINTFB(sysmod,mask) { if(feedback_(sysmod,mask)) { printf( argument
122 #define PRINTFD(sysmod) {if(feedback_(sysmod,FB_debugging)) fprintf(stderr, argument
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_code_module.py28 self.sysmod = stack.enter_context(prepatch)
30 self.sysmod.excepthook = self.sysmod.__excepthook__
31 del self.sysmod.ps1
32 del self.sysmod.ps2
37 self.assertEqual(self.sysmod.ps1, '>>> ')
38 self.sysmod.ps1 = 'custom1> '
40 self.assertEqual(self.sysmod.ps1, 'custom1> ')
45 self.assertEqual(self.sysmod.ps2, '... ')
46 self.sysmod.ps1 = 'custom2> '
48 self.assertEqual(self.sysmod.ps1, 'custom2> ')
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_code_module.py28 self.sysmod = stack.enter_context(prepatch)
30 self.sysmod.excepthook = self.sysmod.__excepthook__
31 del self.sysmod.ps1
32 del self.sysmod.ps2
37 self.assertEqual(self.sysmod.ps1, '>>> ')
38 self.sysmod.ps1 = 'custom1> '
40 self.assertEqual(self.sysmod.ps1, 'custom1> ')
45 self.assertEqual(self.sysmod.ps2, '... ')
46 self.sysmod.ps1 = 'custom2> '
48 self.assertEqual(self.sysmod.ps1, 'custom2> ')
[all …]
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_code_module.py28 self.sysmod = stack.enter_context(prepatch)
30 self.sysmod.excepthook = self.sysmod.__excepthook__
31 del self.sysmod.ps1
32 del self.sysmod.ps2
37 self.assertEqual(self.sysmod.ps1, '>>> ')
38 self.sysmod.ps1 = 'custom1> '
40 self.assertEqual(self.sysmod.ps1, 'custom1> ')
45 self.assertEqual(self.sysmod.ps2, '... ')
46 self.sysmod.ps1 = 'custom2> '
48 self.assertEqual(self.sysmod.ps1, 'custom2> ')
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dtest_code_module.py29 self.sysmod = stack.enter_context(prepatch)
31 self.sysmod.excepthook = self.sysmod.__excepthook__
32 del self.sysmod.ps1
33 del self.sysmod.ps2
38 self.assertEqual(self.sysmod.ps1, '>>> ')
39 self.sysmod.ps1 = 'custom1> '
41 self.assertEqual(self.sysmod.ps1, 'custom1> ')
46 self.assertEqual(self.sysmod.ps2, '... ')
47 self.sysmod.ps1 = 'custom2> '
49 self.assertEqual(self.sysmod.ps1, 'custom2> ')
[all …]
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_code_module.py28 self.sysmod = stack.enter_context(prepatch)
30 self.sysmod.excepthook = self.sysmod.__excepthook__
31 del self.sysmod.ps1
32 del self.sysmod.ps2
37 self.assertEqual(self.sysmod.ps1, '>>> ')
38 self.sysmod.ps1 = 'custom1> '
40 self.assertEqual(self.sysmod.ps1, 'custom1> ')
45 self.assertEqual(self.sysmod.ps2, '... ')
46 self.sysmod.ps1 = 'custom2> '
48 self.assertEqual(self.sysmod.ps1, 'custom2> ')
[all …]
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_code_module.py28 self.sysmod = stack.enter_context(prepatch)
30 self.sysmod.excepthook = self.sysmod.__excepthook__
31 del self.sysmod.ps1
32 del self.sysmod.ps2
37 self.assertEqual(self.sysmod.ps1, '>>> ')
38 self.sysmod.ps1 = 'custom1> '
40 self.assertEqual(self.sysmod.ps1, 'custom1> ')
45 self.assertEqual(self.sysmod.ps2, '... ')
46 self.sysmod.ps1 = 'custom2> '
48 self.assertEqual(self.sysmod.ps1, 'custom2> ')
[all …]
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_code_module.py29 self.sysmod = stack.enter_context(prepatch)
31 self.sysmod.excepthook = self.sysmod.__excepthook__
32 del self.sysmod.ps1
33 del self.sysmod.ps2
38 self.assertEqual(self.sysmod.ps1, '>>> ')
39 self.sysmod.ps1 = 'custom1> '
41 self.assertEqual(self.sysmod.ps1, 'custom1> ')
46 self.assertEqual(self.sysmod.ps2, '... ')
47 self.sysmod.ps1 = 'custom2> '
49 self.assertEqual(self.sysmod.ps1, 'custom2> ')
[all …]
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_code_module.py28 self.sysmod = stack.enter_context(prepatch)
30 self.sysmod.excepthook = self.sysmod.__excepthook__
31 del self.sysmod.ps1
32 del self.sysmod.ps2
37 self.assertEqual(self.sysmod.ps1, '>>> ')
38 self.sysmod.ps1 = 'custom1> '
40 self.assertEqual(self.sysmod.ps1, 'custom1> ')
45 self.assertEqual(self.sysmod.ps2, '... ')
46 self.sysmod.ps1 = 'custom2> '
48 self.assertEqual(self.sysmod.ps1, 'custom2> ')
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_code_module.py28 self.sysmod = stack.enter_context(prepatch)
30 self.sysmod.excepthook = self.sysmod.__excepthook__
31 del self.sysmod.ps1
32 del self.sysmod.ps2
37 self.assertEqual(self.sysmod.ps1, '>>> ')
38 self.sysmod.ps1 = 'custom1> '
40 self.assertEqual(self.sysmod.ps1, 'custom1> ')
45 self.assertEqual(self.sysmod.ps2, '... ')
46 self.sysmod.ps1 = 'custom2> '
48 self.assertEqual(self.sysmod.ps1, 'custom2> ')
[all …]
/dports/sysutils/py-salt/salt-3004.1/doc/ref/modules/all/
H A Dsalt.modules.sysmod.rst1 salt.modules.sysmod
4 .. automodule:: salt.modules.sysmod
/dports/lang/python37/Python-3.7.12/Python/
H A Dpylifecycle.c755 PyObject *sysmod; in _Py_InitializeCore_impl() local
756 err = _PySys_BeginInit(&sysmod); in _Py_InitializeCore_impl()
761 interp->sysdict = PyModule_GetDict(sysmod); in _Py_InitializeCore_impl()
768 _PyImport_FixupBuiltin(sysmod, "sys", modules); in _Py_InitializeCore_impl()
818 err = initimport(interp, sysmod); in _Py_InitializeCore_impl()
1358 PyObject *bimod, *sysmod; in new_interpreter() local
1411 sysmod = _PyImport_FindBuiltin("sys", modules); in new_interpreter()
1412 if (sysmod != NULL) { in new_interpreter()
1413 interp->sysdict = PyModule_GetDict(sysmod); in new_interpreter()
1438 if (bimod != NULL && sysmod != NULL) { in new_interpreter()
[all …]
/dports/databases/py-gdbm/Python-3.8.12/Python/
H A Dpylifecycle.c148 init_importlib(PyInterpreterState *interp, PyObject *sysmod) in init_importlib() argument
623 pycore_init_import_warnings(PyInterpreterState *interp, PyObject *sysmod) in pycore_init_import_warnings() argument
651 status = init_importlib(interp, sysmod); in pycore_init_import_warnings()
686 PyObject *sysmod; in pyinit_config() local
687 status = _PySys_Create(runtime, interp, &sysmod); in pyinit_config()
697 status = pycore_init_import_warnings(interp, sysmod); in pyinit_config()
1461 PyObject *sysmod = _PyImport_FindBuiltin("sys", modules); in new_interpreter() local
1462 if (sysmod != NULL) { in new_interpreter()
1463 interp->sysdict = PyModule_GetDict(sysmod); in new_interpreter()
1488 if (bimod != NULL && sysmod != NULL) { in new_interpreter()
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Python/
H A Dpylifecycle.c148 init_importlib(PyInterpreterState *interp, PyObject *sysmod) in init_importlib() argument
623 pycore_init_import_warnings(PyInterpreterState *interp, PyObject *sysmod) in pycore_init_import_warnings() argument
651 status = init_importlib(interp, sysmod); in pycore_init_import_warnings()
686 PyObject *sysmod; in pyinit_config() local
687 status = _PySys_Create(runtime, interp, &sysmod); in pyinit_config()
697 status = pycore_init_import_warnings(interp, sysmod); in pyinit_config()
1461 PyObject *sysmod = _PyImport_FindBuiltin("sys", modules); in new_interpreter() local
1462 if (sysmod != NULL) { in new_interpreter()
1463 interp->sysdict = PyModule_GetDict(sysmod); in new_interpreter()
1488 if (bimod != NULL && sysmod != NULL) { in new_interpreter()
[all …]
/dports/lang/python-tools/Python-3.8.12/Python/
H A Dpylifecycle.c148 init_importlib(PyInterpreterState *interp, PyObject *sysmod) in init_importlib() argument
623 pycore_init_import_warnings(PyInterpreterState *interp, PyObject *sysmod) in pycore_init_import_warnings() argument
651 status = init_importlib(interp, sysmod); in pycore_init_import_warnings()
686 PyObject *sysmod; in pyinit_config() local
687 status = _PySys_Create(runtime, interp, &sysmod); in pyinit_config()
697 status = pycore_init_import_warnings(interp, sysmod); in pyinit_config()
1461 PyObject *sysmod = _PyImport_FindBuiltin("sys", modules); in new_interpreter() local
1462 if (sysmod != NULL) { in new_interpreter()
1463 interp->sysdict = PyModule_GetDict(sysmod); in new_interpreter()
1488 if (bimod != NULL && sysmod != NULL) { in new_interpreter()
[all …]
/dports/lang/python38/Python-3.8.12/Python/
H A Dpylifecycle.c148 init_importlib(PyInterpreterState *interp, PyObject *sysmod) in init_importlib() argument
623 pycore_init_import_warnings(PyInterpreterState *interp, PyObject *sysmod) in pycore_init_import_warnings() argument
651 status = init_importlib(interp, sysmod); in pycore_init_import_warnings()
686 PyObject *sysmod; in pyinit_config() local
687 status = _PySys_Create(runtime, interp, &sysmod); in pyinit_config()
697 status = pycore_init_import_warnings(interp, sysmod); in pyinit_config()
1461 PyObject *sysmod = _PyImport_FindBuiltin("sys", modules); in new_interpreter() local
1462 if (sysmod != NULL) { in new_interpreter()
1463 interp->sysdict = PyModule_GetDict(sysmod); in new_interpreter()
1488 if (bimod != NULL && sysmod != NULL) { in new_interpreter()
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Python/
H A Dpylifecycle.c148 init_importlib(PyInterpreterState *interp, PyObject *sysmod) in init_importlib() argument
623 pycore_init_import_warnings(PyInterpreterState *interp, PyObject *sysmod) in pycore_init_import_warnings() argument
651 status = init_importlib(interp, sysmod); in pycore_init_import_warnings()
686 PyObject *sysmod; in pyinit_config() local
687 status = _PySys_Create(runtime, interp, &sysmod); in pyinit_config()
697 status = pycore_init_import_warnings(interp, sysmod); in pyinit_config()
1461 PyObject *sysmod = _PyImport_FindBuiltin("sys", modules); in new_interpreter() local
1462 if (sysmod != NULL) { in new_interpreter()
1463 interp->sysdict = PyModule_GetDict(sysmod); in new_interpreter()
1488 if (bimod != NULL && sysmod != NULL) { in new_interpreter()
[all …]
/dports/math/qtiplot-doc/qtiplot-0.9.8.9/qtiplot/src/scripting/
H A DPythonScripting.cpp187 PyObject *mainmod=NULL, *qtimod=NULL, *sysmod=NULL; in PythonScripting() local
253 sysmod = PyImport_ImportModule("sys"); in PythonScripting()
254 if (sysmod) in PythonScripting()
256 sys = PyModule_GetDict(sysmod); in PythonScripting()
/dports/science/scidavis/scidavis-2.4.0/libscidavis/src/
H A DPythonScripting.cpp202 PyObject *mainmod = NULL, *scidavismod = NULL, *sysmod = NULL; in PythonScripting()
274 sysmod = PyImport_ImportModule("sys"); in PythonScripting()
275 if (sysmod) { in PythonScripting()
276 sys = PyModule_GetDict(sysmod); in PythonScripting()
/dports/lang/python-legacy/Python-2.7.18/Python/
H A Dpythonrun.c166 PyObject *bimod, *sysmod; in Py_InitializeEx() local
248 sysmod = _PySys_Init(); in Py_InitializeEx()
249 if (sysmod == NULL) in Py_InitializeEx()
251 interp->sysdict = PyModule_GetDict(sysmod); in Py_InitializeEx()
589 PyObject *bimod, *sysmod; in Py_NewInterpreter() local
618 sysmod = _PyImport_FindExtension("sys", "sys"); in Py_NewInterpreter()
619 if (bimod != NULL && sysmod != NULL) { in Py_NewInterpreter()
620 interp->sysdict = PyModule_GetDict(sysmod); in Py_NewInterpreter()
/dports/lang/python27/Python-2.7.18/Python/
H A Dpythonrun.c166 PyObject *bimod, *sysmod; in Py_InitializeEx() local
248 sysmod = _PySys_Init(); in Py_InitializeEx()
249 if (sysmod == NULL) in Py_InitializeEx()
251 interp->sysdict = PyModule_GetDict(sysmod); in Py_InitializeEx()
589 PyObject *bimod, *sysmod; in Py_NewInterpreter() local
618 sysmod = _PyImport_FindExtension("sys", "sys"); in Py_NewInterpreter()
619 if (bimod != NULL && sysmod != NULL) { in Py_NewInterpreter()
620 interp->sysdict = PyModule_GetDict(sysmod); in Py_NewInterpreter()

123