Lines Matching refs:Getenv
29 virtual bool Getenv(const char* variable_name, std::string* result) {
30 const char* env_value = ::getenv(variable_name);
47 env_value = ::getenv(alternate_case_var.c_str());
186 if (env->Getenv("HOME", &home_dir) && !home_dir.empty())
240 if (env->Getenv(env_name, &env_value) && !env_value.empty())
263 if (env->Getenv("DESKTOP_SESSION", &desktop_session)) {
271 if (env->Getenv("KDE_SESSION_VERSION", &dummy))
280 if (env->Getenv("GNOME_DESKTOP_SESSION_ID", &dummy)) {
282 } else if (env->Getenv("KDE_FULL_SESSION", &dummy)) {
283 if (env->Getenv("KDE_SESSION_VERSION", &dummy))