Lines Matching refs:value
40 char *value; member
44 static void env_add(const char *name, const char *value) in env_add() argument
50 e->value = xstrdup(value); in env_add()
59 free(e->value); in env_del()
67 const char *value; in env_expand() local
74 return xstrdup(e->value); in env_expand()
77 value = getenv(name); in env_expand()
78 if (!value) in env_expand()
85 env_add(name, value); in env_expand()
87 return xstrdup(value); in env_expand()
95 fprintf(f, "ifneq \"$(%s)\" \"%s\"\n", e->name, e->value); in env_write_dep()
233 char *value; member
270 res = expand_string_with_args(v->value, argc, argv); in variable_expand()
272 res = xstrdup(v->value); in variable_expand()
279 void variable_add(const char *name, const char *value, in variable_add() argument
293 free(v->value); in variable_add()
309 new_value = expand_string(value); in variable_add()
311 new_value = xstrdup(value); in variable_add()
314 v->value = xrealloc(v->value, in variable_add()
315 strlen(v->value) + strlen(new_value) + 2); in variable_add()
316 strcat(v->value, " "); in variable_add()
317 strcat(v->value, new_value); in variable_add()
320 v->value = new_value; in variable_add()
328 free(v->value); in variable_del()