Lines Matching refs:SET_SYS
2787 #define SET_SYS(key, value) \ macro
2801 SET_SYS(key, PyUnicode_FromString(value))
2812 SET_SYS(tokey, PyMapping_GetItemString(sysdict, fromkey)) in _PySys_InitCore()
2822 SET_SYS("hexversion", PyLong_FromLong(PY_VERSION_HEX)); in _PySys_InitCore()
2823 SET_SYS("_git", Py_BuildValue("(szz)", "CPython", _Py_gitidentifier(), in _PySys_InitCore()
2826 SET_SYS("api_version", PyLong_FromLong(PYTHON_API_VERSION)); in _PySys_InitCore()
2829 SET_SYS("maxsize", PyLong_FromSsize_t(PY_SSIZE_T_MAX)); in _PySys_InitCore()
2830 SET_SYS("float_info", PyFloat_GetInfo()); in _PySys_InitCore()
2831 SET_SYS("int_info", PyLong_GetInfo()); in _PySys_InitCore()
2838 SET_SYS("hash_info", get_hash_info(tstate)); in _PySys_InitCore()
2839 SET_SYS("maxunicode", PyLong_FromLong(0x10FFFF)); in _PySys_InitCore()
2840 SET_SYS("builtin_module_names", list_builtin_module_names()); in _PySys_InitCore()
2841 SET_SYS("stdlib_module_names", list_stdlib_module_names()); in _PySys_InitCore()
2849 SET_SYS("dllhandle", PyLong_FromVoidPtr(PyWin_DLLhModule)); in _PySys_InitCore()
2865 SET_SYS("version_info", version_info); in _PySys_InitCore()
2868 SET_SYS("implementation", make_impl_info(version_info)); in _PySys_InitCore()
2877 SET_SYS("flags", make_flags(tstate->interp)); in _PySys_InitCore()
2897 SET_SYS("thread_info", PyThread_GetInfo()); in _PySys_InitCore()
2908 SET_SYS("meta_path", PyList_New(0)); in _PySys_InitCore()
2909 SET_SYS("path_importer_cache", PyDict_New()); in _PySys_InitCore()
2910 SET_SYS("path_hooks", PyList_New(0)); in _PySys_InitCore()
2989 SET_SYS(KEY, _PyWideStringList_AsList(&(VALUE))); in _PySys_UpdateConfig()
2992 SET_SYS(KEY, PyUnicode_FromWideChar(VALUE, -1)); in _PySys_UpdateConfig()
3021 SET_SYS("_xoptions", sys_create_xoptions_dict(config)); in _PySys_UpdateConfig()
3036 SET_SYS("dont_write_bytecode", PyBool_FromLong(!config->write_bytecode)); in _PySys_UpdateConfig()
3048 #undef SET_SYS