Lines Matching refs:pythonhome
16 * We attempt to locate the "Python Home" - if the PYTHONHOME env var
264 char *pythonhome = Py_GetPythonHome();
273 if (pythonhome == NULL || *pythonhome == '\0') {
275 pythonhome = prefix;
277 pythonhome = NULL;
280 strncpy(prefix, pythonhome, MAXPATHLEN);
302 * of each component replaced with pythonhome, if set;
308 if (pythonhome != NULL) {
315 bufsz *= strlen(pythonhome);
351 if (pythonhome == NULL) {
366 strcpy(buf, pythonhome);