Home
last modified time | relevance | path

Searched refs:specifier_printf (Results 1 – 12 of 12) sorted by relevance

/systemd-251/src/test/
Dtest-specifier.c57 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()
83specifier_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/
Dunit-printf.c194 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()
Dload-fragment.c2811 … r = specifier_printf(word, sc_arg_max(), system_and_tmp_specifier_table, NULL, NULL, &resolved); in config_parse_environ()
/systemd-251/src/sysupdate/
Dsysupdate-transfer.c110 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/
Dinstall-printf.c124 return specifier_printf(format, UNIT_NAME_MAX, table, info->root, info, ret); in install_name_printf()
Dspecifier.h14 int specifier_printf(const char *text, size_t max_length, const Specifier table[], const char *root…
Dspecifier.c37 int specifier_printf(const char *text, size_t max_length, const Specifier table[], const char *root… in specifier_printf() function
/systemd-251/src/sysusers/
Dsysusers.c1541 …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/
Dresolved-dnssd.c172 r = specifier_printf(s->name_template, DNS_LABEL_MAX, specifier_table, NULL, m, &name); in dnssd_render_instance_name()
Dresolved-conf.c250 r = specifier_printf(rvalue, DNS_LABEL_MAX, specifier_table, NULL, NULL, &name); in config_parse_dnssd_service_name()
/systemd-251/src/partition/
Drepart.c992 …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/
Dtmpfiles.c2736 … 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()