/systemd-251/src/test/ |
D | test-recurse-dir.c | 30 assert_se(strv_extendf(&list_nftw, "%s→", fpath) >= 0); in nftw_cb() 35 assert_se(strv_extendf(&list_nftw, "%s/", fpath) >= 0); in nftw_cb() 77 assert_se(strv_extendf(l, "%s→", path) >= 0); in recurse_dir_callback() 86 assert_se(strv_extendf(l, "%s/", path) >= 0); in recurse_dir_callback()
|
D | test-strv.c | 618 TEST(strv_extendf) { in TEST() argument 623 assert_se(strv_extendf(&a, "test2 %s %d %s", "foo", 128, "bar") >= 0); in TEST() 624 assert_se(strv_extendf(&b, "test3 %s %s %d", "bar", "foo", 128) >= 0); in TEST()
|
/systemd-251/src/busctl/ |
D | test-busctl-introspect.c | 356 assert_se(strv_extendf(&expected, "/org/freedesktop/network1/network/%u", i) >= 0); in TEST() 357 … assert_se(strv_extendf(&expected, "/org/freedesktop/network1/network/%u/hoge", i) >= 0); in TEST()
|
/systemd-251/src/activate/ |
D | activate.c | 161 r = strv_extendf(&envp, "LISTEN_FDS=%zu", n_fds); in exec_process() 165 r = strv_extendf(&envp, "LISTEN_PID=" PID_FMT, getpid_cached()); in exec_process()
|
/systemd-251/src/run/ |
D | run.c | 1479 …r = strv_extendf(&user_env, "INVOCATION_ID=" SD_ID128_FORMAT_STR, SD_ID128_FORMAT_VAL(invocation_i… in start_transient_scope() 1509 r = strv_extendf(&user_env, "HOME=%s", home); in start_transient_scope() 1515 r = strv_extendf(&user_env, "SHELL=%s", shell); in start_transient_scope() 1520 r = strv_extendf(&user_env, "USER=%s", arg_exec_user); in start_transient_scope() 1524 r = strv_extendf(&user_env, "LOGNAME=%s", arg_exec_user); in start_transient_scope()
|
/systemd-251/src/shared/ |
D | pretty-print.c | 299 r = strv_extendf(&dirs, "%s%s%s", *prefix, name, in conf_files_cat()
|
/systemd-251/src/basic/ |
D | strv.h | 39 int strv_extendf(char ***l, const char *format, ...) _printf_(2,0);
|
D | strv.c | 779 int strv_extendf(char ***l, const char *format, ...) { in strv_extendf() function
|
/systemd-251/src/resolve/ |
D | resolvectl.c | 1487 return strv_extendf(strv, "%s%s", plus_minus(r), name); in strv_extend_extended_bool() 1490 return strv_extendf(strv, "%s=%s", name, value ?: "???"); in strv_extend_extended_bool() 1496 if (strv_extendf(&s, "%sDefaultRoute", plus_minus(info->default_route)) < 0) in link_protocol_status() 1508 if (strv_extendf(&s, "DNSSEC=%s/%s", in link_protocol_status() 1528 if (strv_extendf(&s, "DNSSEC=%s/%s", in global_protocol_status()
|
/systemd-251/src/network/ |
D | networkctl.c | 1059 r = strv_extendf(&buf, "%s%s%s", in dump_gateways() 1113 r = strv_extendf(&buf, "%s%s%s", in dump_addresses() 1296 r = strv_extendf(&buf, "%s on port %s%s%s%s", in dump_lldp_neighbors() 1371 r = strv_extendf(&buf, "%s (to %s)", ip, id); in dump_dhcp_leases() 1391 r = strv_extendf(&buf, "none"); in dump_dhcp_leases()
|
/systemd-251/src/core/ |
D | main.c | 189 r = strv_extendf(&files, "%s/user.conf", base); in manager_find_user_config_paths() 1514 (void) strv_extendf(&env_block, "WATCHDOG_USEC="USEC_FMT, watchdog_timer); in become_shutdown() 1517 (void) strv_extendf(&env_block, "WATCHDOG_DEVICE=%s", arg_watchdog_device); in become_shutdown()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | test-bus-objects.c | 229 assert_se(strv_extendf(&v, "/value/b/%u", i) >= 0); in enumerator3_callback()
|
/systemd-251/src/analyze/ |
D | analyze-security.c | 2288 r = strv_extendf(&info->device_allow, "%s:%s", name, policy); in property_read_device_allow() 2633 if (strv_extendf(&info->device_allow, in get_security_info()
|