Searched refs:replace_env (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/test/ |
D | test-env-util.c | 178 t = replace_env("FOO=$FOO=${FOO}", (char**) env, flags); in test_replace_env1() 181 s = replace_env("BAR=$BAR=${BAR}", (char**) env, flags); in test_replace_env1() 184 q = replace_env("BARBAR=$BARBAR=${BARBAR}", (char**) env, flags); in test_replace_env1() 187 r = replace_env("BAR=$BAR$BAR${BAR}${BAR}", (char**) env, flags); in test_replace_env1() 190 p = replace_env("${BAR}$BAR$BAR", (char**) env, flags); in test_replace_env1() 205 t = replace_env("FOO=${FOO:-${BAR}}", (char**) env, flags); in test_replace_env2() 208 s = replace_env("BAR=${XXX:-${BAR}}", (char**) env, flags); in test_replace_env2() 211 q = replace_env("XXX=${XXX:+${BAR}}", (char**) env, flags); in test_replace_env2() 214 r = replace_env("FOO=${FOO:+${BAR}}", (char**) env, flags); in test_replace_env2() 217 p = replace_env("FOO=${FOO:-${BAR}post}", (char**) env, flags); in test_replace_env2() [all …]
|
/systemd-251/src/basic/ |
D | env-util.h | 31 static inline char *replace_env(const char *format, char **env, unsigned flags) { in replace_env() function
|
D | env-file.c | 462 expanded_value = replace_env(value, *env, in merge_env_file_push()
|
D | env-util.c | 747 ret[k] = replace_env(*i, env, 0); in replace_env_argv()
|