Lines Matching defs:env
378 const char* env = PR_GetEnv("GRE_HOME");
379 if (env && *env) {
381 if (!realpath(env, sGRELocation))
382 strcpy(sGRELocation, env);
384 if (!_fullpath(sGRELocation, env, MAXPATHLEN))
385 strcpy(sGRELocation, env);
392 env = PR_GetEnv("USE_LOCAL_GRE");
393 if (env && *env)
398 env = PR_GetEnv("HOME");
399 if (env && *env) {
401 snprintf(buffer, sizeof(buffer), "%s" XPCOM_FILE_PATH_SEPARATOR GRE_CONF_NAME, env);
403 sprintf(buffer, "%s" XPCOM_FILE_PATH_SEPARATOR GRE_CONF_NAME, env);
412 env = PR_GetEnv("MOZ_GRE_CONF");
413 if (env) {
414 if (GRE_GetPathFromConfigFile(env, sGRELocation)) {