Lines Matching defs:name
53 impl::get(const std::string& name)
55 const char* val = getenv(name.c_str());
61 impl::has(const std::string& name)
63 return getenv(name.c_str()) != NULL;
67 impl::set(const std::string& name, const std::string& val)
70 if (setenv(name.c_str(), val.c_str(), 1) == -1)
72 "Cannot set environment variable '" + name +
76 const std::string buf = name + "=" + val;
79 "Cannot set environment variable '" + name +
88 impl::unset(const std::string& name)
91 unsetenv(name.c_str());
93 const std::string buf = name + "=";
98 name + "'", errno);