/systemd-251/src/test/ |
D | test-specifier.c | 57 TEST(specifier_printf) { in TEST() argument 69 r = specifier_printf("xxx a=%X b=%Y e=%e yyy", SIZE_MAX, table, NULL, NULL, &w); in TEST() 77 …r = specifier_printf("machine=%m, boot=%b, host=%H, pretty=%q, version=%v, arch=%a, empty=%e", SIZ… in TEST() 83 …specifier_printf("os=%o, os-version=%w, build=%B, variant=%W, empty=%e%e%e", SIZE_MAX, table, NULL… in TEST() 101 r = specifier_printf("p=%p y=%y Y=%Y w=%w W=%W", SIZE_MAX, table, NULL, NULL, &w); in TEST() 122 r = specifier_printf("p=%p y=%y", SIZE_MAX, table, NULL, NULL, &w); in TEST() 125 r = specifier_printf("p=%p Y=%Y", SIZE_MAX, table, NULL, NULL, &w); in TEST() 136 … assert_se(specifier_printf(spec, SIZE_MAX, specifier_table, NULL, NULL, &resolved) >= 0); in TEST() 146 …assert_se(specifier_printf("%A-%B-%M-%o-%w-%W", SIZE_MAX, specifier_table, NULL, NULL, &resolved) … in TEST() 150 …assert_se(specifier_printf("%A-%B-%M-%o-%w-%W", SIZE_MAX, specifier_table, NULL, NULL, &resolved) … in TEST()
|
/systemd-251/src/core/ |
D | unit-printf.c | 194 return specifier_printf(format, UNIT_NAME_MAX, table, NULL, u, ret); in unit_name_printf() 262 return specifier_printf(format, max_length, table, NULL, u, ret); in unit_full_printf_full()
|
D | load-fragment.c | 2811 … r = specifier_printf(word, sc_arg_max(), system_and_tmp_specifier_table, NULL, NULL, &resolved); in config_parse_environ()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-transfer.c | 110 r = specifier_printf(rvalue, NAME_MAX, specifier_table, arg_root, NULL, &resolved); in config_parse_protect_version() 149 r = specifier_printf(rvalue, NAME_MAX, specifier_table, arg_root, NULL, &resolved); in config_parse_min_version() 184 r = specifier_printf(rvalue, NAME_MAX, specifier_table, arg_root, NULL, &resolved); in config_parse_current_symlink() 273 r = specifier_printf(word, NAME_MAX, specifier_table, arg_root, NULL, &resolved); in config_parse_resource_pattern() 318 r = specifier_printf(rvalue, PATH_MAX-1, specifier_table, arg_root, NULL, &resolved); in config_parse_resource_path()
|
/systemd-251/src/shared/ |
D | install-printf.c | 124 return specifier_printf(format, UNIT_NAME_MAX, table, info->root, info, ret); in install_name_printf()
|
D | specifier.h | 14 int specifier_printf(const char *text, size_t max_length, const Specifier table[], const char *root…
|
D | specifier.c | 37 int specifier_printf(const char *text, size_t max_length, const Specifier table[], const char *root… in specifier_printf() function
|
/systemd-251/src/sysusers/ |
D | sysusers.c | 1541 …r = specifier_printf(name, NAME_MAX, system_and_tmp_specifier_table, arg_root, NULL, &resolved_nam… in parse_line() 1556 …r = specifier_printf(id, PATH_MAX-1, system_and_tmp_specifier_table, arg_root, NULL, &resolved_id); in parse_line() 1567 …r = specifier_printf(description, LONG_LINE_MAX, system_and_tmp_specifier_table, arg_root, NULL, &… in parse_line() 1583 …r = specifier_printf(home, PATH_MAX-1, system_and_tmp_specifier_table, arg_root, NULL, &resolved_h… in parse_line() 1599 …r = specifier_printf(shell, PATH_MAX-1, system_and_tmp_specifier_table, arg_root, NULL, &resolved_… in parse_line()
|
/systemd-251/src/resolve/ |
D | resolved-dnssd.c | 172 r = specifier_printf(s->name_template, DNS_LABEL_MAX, specifier_table, NULL, m, &name); in dnssd_render_instance_name()
|
D | resolved-conf.c | 250 r = specifier_printf(rvalue, DNS_LABEL_MAX, specifier_table, NULL, NULL, &name); in config_parse_dnssd_service_name()
|
/systemd-251/src/partition/ |
D | repart.c | 992 …r = specifier_printf(rvalue, GPT_LABEL_MAX, system_and_tmp_specifier_table, arg_root, NULL, &resol… in config_parse_label() 1157 …r = specifier_printf(source, PATH_MAX-1, system_and_tmp_specifier_table, arg_root, NULL, &resolved… in config_parse_copy_files() 1168 …r = specifier_printf(target, PATH_MAX-1, system_and_tmp_specifier_table, arg_root, NULL, &resolved… in config_parse_copy_files() 1217 … r = specifier_printf(rvalue, PATH_MAX-1, system_and_tmp_specifier_table, arg_root, NULL, &d); in config_parse_copy_blocks() 1265 … r = specifier_printf(word, PATH_MAX-1, system_and_tmp_specifier_table, arg_root, NULL, &d); in config_parse_make_dirs()
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 2736 … r = specifier_printf(unescaped, PATH_MAX-1, specifier_table, arg_root, NULL, &resolved); in specifier_expansion_from_arg() 2747 … r = specifier_printf(*xattr, SIZE_MAX, specifier_table, arg_root, NULL, &resolved); in specifier_expansion_from_arg() 3023 r = specifier_printf(path, PATH_MAX-1, specifier_table, arg_root, NULL, &i.path); in parse_line()
|