Lines Matching defs:name
40 atf_env_get(const char *name)
42 const char* val = getenv(name);
48 atf_env_get_with_default(const char *name, const char *default_value)
50 const char* val = getenv(name);
58 atf_env_has(const char *name)
60 return getenv(name) != NULL;
64 atf_env_set(const char *name, const char *val)
69 if (setenv(name, val, 1) == -1)
71 "'%s' to '%s'", name, val);
77 err = atf_text_format(&buf, "%s=%s", name, val);
81 "'%s' to '%s'", name, val);
92 atf_env_unset(const char *name)
97 unsetenv(name);
102 err = atf_text_format(&buf, "%s=", name);
106 " '%s'", name);