Home
last modified time | relevance | path

Searched refs:strv_extendf (Results 1 – 13 of 13) sorted by relevance

/systemd-251/src/test/
Dtest-recurse-dir.c30 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()
Dtest-strv.c618 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/
Dtest-busctl-introspect.c356 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/
Dactivate.c161 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/
Drun.c1479 …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/
Dpretty-print.c299 r = strv_extendf(&dirs, "%s%s%s", *prefix, name, in conf_files_cat()
/systemd-251/src/basic/
Dstrv.h39 int strv_extendf(char ***l, const char *format, ...) _printf_(2,0);
Dstrv.c779 int strv_extendf(char ***l, const char *format, ...) { in strv_extendf() function
/systemd-251/src/resolve/
Dresolvectl.c1487 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/
Dnetworkctl.c1059 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/
Dmain.c189 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/
Dtest-bus-objects.c229 assert_se(strv_extendf(&v, "/value/b/%u", i) >= 0); in enumerator3_callback()
/systemd-251/src/analyze/
Danalyze-security.c2288 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()