Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dmain.c159 char *startup = Py_GETENV("PYTHONSTARTUP"); in RunStartupFile()
296 (p = Py_GETENV("PYTHONHASHSEED")) && *p != '\0') in Py_Main()
465 (p = Py_GETENV("PYTHONINSPECT")) && *p != '\0') in Py_Main()
468 (p = Py_GETENV("PYTHONUNBUFFERED")) && *p != '\0') in Py_Main()
472 (p = Py_GETENV("PYTHONNOUSERSITE")) && *p != '\0') in Py_Main()
475 if ((p = Py_GETENV("PYTHONWARNINGS")) && *p != '\0') { in Py_Main()
549 if ((p = Py_GETENV("PYTHONEXECUTABLE")) && *p != '\0') in Py_Main()
663 (p = Py_GETENV("PYTHONINSPECT")) && *p != '\0') in Py_Main()
Dgetpath.c375 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.c66 const char *p = Py_GETENV("PYTHONTHREADDEBUG"); in PyThread_init_thread()
Dsysmodule.c511 char *envar = Py_GETENV("PYTHONBREAKPOINT"); in sys_breakpointhook()
/external/python/cpython3/Include/
Dpydebug.h32 #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.c1251 const char *opt = Py_GETENV("PYTHONMALLOCSTATS"); in new_arena()
/external/python/cpython3/Doc/c-api/
Dintro.rst166 .. c:macro:: Py_GETENV(s)