Home
last modified time | relevance | path

Searched refs:Py_GETENV (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Modules/
Dmain.c154 char *startup = Py_GETENV("PYTHONSTARTUP"); in RunStartupFile()
291 (p = Py_GETENV("PYTHONHASHSEED")) && *p != '\0') in Py_Main()
460 (p = Py_GETENV("PYTHONINSPECT")) && *p != '\0') in Py_Main()
463 (p = Py_GETENV("PYTHONUNBUFFERED")) && *p != '\0') in Py_Main()
467 (p = Py_GETENV("PYTHONNOUSERSITE")) && *p != '\0') in Py_Main()
470 if ((p = Py_GETENV("PYTHONWARNINGS")) && *p != '\0') { in Py_Main()
544 if ((p = Py_GETENV("PYTHONEXECUTABLE")) && *p != '\0') in Py_Main()
658 (p = Py_GETENV("PYTHONINSPECT")) && *p != '\0') in Py_Main()
Dgetpath.c374 char *rtpypath = Py_GETENV("PYTHONPATH"); in calculate_path()
Dtimemodule.c957 p = Py_GETENV("PYTHONY2K"); in inittime()
/external/python/cpython2/Python/
Dfrozenmain.c24 if ((p = Py_GETENV("PYTHONINSPECT")) && *p != '\0') in Py_FrozenMain()
26 if ((p = Py_GETENV("PYTHONUNBUFFERED")) && *p != '\0') in Py_FrozenMain()
Dpythonrun.c105 if (!Py_GETENV("PYTHONSHOWREFCOUNT")) { in _PyDebug_PrintTotalRefs()
188 if ((p = Py_GETENV("PYTHONDEBUG")) && *p != '\0') in Py_InitializeEx()
190 if ((p = Py_GETENV("PYTHONVERBOSE")) && *p != '\0') in Py_InitializeEx()
192 if ((p = Py_GETENV("PYTHONOPTIMIZE")) && *p != '\0') in Py_InitializeEx()
194 if ((p = Py_GETENV("PYTHONDONTWRITEBYTECODE")) && *p != '\0') in Py_InitializeEx()
198 if ((p = Py_GETENV("PYTHONHASHSEED")) && *p != '\0') in Py_InitializeEx()
293 if ((p = Py_GETENV("PYTHONIOENCODING")) && *p != '\0') { in Py_InitializeEx()
491 if (Py_GETENV("PYTHONSHOWALLOCCOUNT")) { in Py_Finalize()
504 if (Py_GETENV("PYTHONDUMPREFS")) in Py_Finalize()
560 if (Py_GETENV("PYTHONDUMPREFS")) in Py_Finalize()
[all …]
Dthread.c85 char *p = Py_GETENV("PYTHONTHREADDEBUG"); in PyThread_init_thread()
Drandom.c388 env = Py_GETENV("PYTHONHASHSEED"); in _PyRandom_Init()
Dimport.c1717 if (Py_GETENV("PYTHONCASEOK") != NULL) in case_ok()
1735 if (Py_GETENV("PYTHONCASEOK") != NULL) in case_ok()
1754 if (Py_GETENV("PYTHONCASEOK") != NULL) in case_ok()
1796 if (Py_GETENV("PYTHONCASEOK") != NULL) in case_ok()
1820 if (Py_GETENV("PYTHONCASEOK") != NULL) in case_ok()
/external/python/cpython3/Python/
Dfrozenmain.c46 if ((p = Py_GETENV("PYTHONINSPECT")) && *p != '\0') in Py_FrozenMain()
48 if ((p = Py_GETENV("PYTHONUNBUFFERED")) && *p != '\0') in Py_FrozenMain()
Dthread.c64 const char *p = Py_GETENV("PYTHONTHREADDEBUG"); in PyThread_init_thread()
Dpylifecycle.c1867 char *opt = Py_GETENV("PYTHONIOENCODING"); in init_sys_streams()
Dsysmodule.c110 char *envar = Py_GETENV("PYTHONBREAKPOINT"); in sys_breakpointhook()
/external/python/cpython3/Include/
Dpydebug.h34 #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s)) macro
/external/python/cpython2/Include/
Dpydebug.h34 #define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s)) macro
/external/python/cpython2/PC/os2vacpp/
Dgetpathp.c303 char *envpath = Py_GETENV("PYTHONPATH"); in calculate_path()
/external/python/cpython2/PC/
Dgetpathp.c469 char *envpath = Py_GETENV("PYTHONPATH"); in calculate_path()
/external/python/cpython2/Objects/
Dobmalloc.c565 if (Py_GETENV("PYTHONMALLOCSTATS")) in new_arena()
/external/python/cpython3/Objects/
Dobmalloc.c1187 const char *opt = Py_GETENV("PYTHONMALLOCSTATS"); in new_arena()
/external/python/cpython3/Modules/
Dmain.c173 const char *var = Py_GETENV(name); in config_get_env_var()
/external/python/cpython3/Doc/c-api/
Dintro.rst147 .. c:macro:: Py_GETENV(s)