Home
last modified time | relevance | path

Searched refs:strv_extend (Results 1 – 25 of 88) sorted by relevance

1234

/systemd-251/src/busctl/
Dtest-busctl-introspect.c349 assert_se(strv_extend(&expected, "/") >= 0); in TEST()
350 assert_se(strv_extend(&expected, "/org") >= 0); in TEST()
351 assert_se(strv_extend(&expected, "/org/freedesktop") >= 0); in TEST()
352 assert_se(strv_extend(&expected, "/org/freedesktop/LogControl1") >= 0); in TEST()
353 assert_se(strv_extend(&expected, "/org/freedesktop/network1") >= 0); in TEST()
354 assert_se(strv_extend(&expected, "/org/freedesktop/network1/network") >= 0); in TEST()
/systemd-251/src/basic/
Dpath-lookup.c170 if (strv_extend(&res, persistent_control) < 0) in user_dirs()
173 if (strv_extend(&res, runtime_control) < 0) in user_dirs()
176 if (strv_extend(&res, transient) < 0) in user_dirs()
179 if (strv_extend(&res, generator_early) < 0) in user_dirs()
182 if (strv_extend(&res, persistent_config) < 0) in user_dirs()
189 if (strv_extend(&res, global_persistent_config) < 0) in user_dirs()
195 if (strv_extend(&res, runtime_config) < 0) in user_dirs()
198 if (strv_extend(&res, global_runtime_config) < 0) in user_dirs()
201 if (strv_extend(&res, generator) < 0) in user_dirs()
204 if (strv_extend(&res, data_home) < 0) in user_dirs()
[all …]
Dstrv.c532 int strv_extend(char ***l, const char *value) { in strv_extend() function
680 if (strv_extend(&r, i) < 0) { in strv_split_nulstr()
916 r = strv_extend(&l, value); in string_strv_hashmap_put_internal()
930 r = strv_extend(&l2, value); in string_strv_hashmap_put_internal()
Denv-file.c419 r = strv_extend(m, key); in load_env_file_push_pairs()
426 return strv_extend(m, ""); in load_env_file_push_pairs()
/systemd-251/src/sysv-generator/
Dsysv-generator.c350 r = strv_extend(&s->before, m); in handle_provides()
354 r = strv_extend(&s->wants, m); in handle_provides()
359 r = strv_extend(&s->before, SPECIAL_NETWORK_TARGET); in handle_provides()
362 r = strv_extend(&s->wants, SPECIAL_NETWORK_TARGET); in handle_provides()
406 r = strv_extend(&s->after, m); in handle_dependencies()
410 r = strv_extend(&s->wants, m); in handle_dependencies()
412 r = strv_extend(is_before ? &s->before : &s->after, m); in handle_dependencies()
659 r = strv_extend(&s->after, other->name); in fix_order()
664 r = strv_extend(&s->before, other->name); in fix_order()
865 r = strv_extend(&service->before, rcnd_table[i].target); in set_dependencies_from_rcnd()
[all …]
/systemd-251/src/network/
Dnetworkd-state-file.c285 if (strv_extend(&p, "OperationalState") < 0) in manager_save()
291 if (strv_extend(&p, "CarrierState") < 0) in manager_save()
297 if (strv_extend(&p, "AddressState") < 0) in manager_save()
303 if (strv_extend(&p, "IPv4AddressState") < 0) in manager_save()
309 if (strv_extend(&p, "IPv6AddressState") < 0) in manager_save()
315 if (strv_extend(&p, "OnlineState") < 0) in manager_save()
/systemd-251/src/home/
Dhomectl-recovery-key.c57 r = strv_extend(&types, "modhex64"); in add_public()
83 r = strv_extend(&passwords, password); in add_secret()
Dhomectl-pkcs11.c84 r = strv_extend(&l, uri); in add_pkcs11_token_uri()
120 r = strv_extend(&pins, pin); in identity_add_token_pin()
Dhomework.c168 r = strv_extend(&cache->pkcs11_passwords, data.decrypted_password); in user_record_authenticate()
220 r = strv_extend(&cache->fido2_passwords, decrypted_password); in user_record_authenticate()
1122 r = strv_extend(&effective, *j); in user_record_compile_effective_passwords()
1163 r = strv_extend(&effective, p); in user_record_compile_effective_passwords()
1199 r = strv_extend(&effective, data.decrypted_password); in user_record_compile_effective_passwords()
1204 r = strv_extend(&cache->pkcs11_passwords, data.decrypted_password); in user_record_compile_effective_passwords()
1227 r = strv_extend(&effective, decrypted_password); in user_record_compile_effective_passwords()
1232 r = strv_extend(&cache->fido2_passwords, decrypted_password); in user_record_compile_effective_passwords()
Dhomectl-fido2.c48 r = strv_extend(&l, escaped); in add_fido2_credential_id()
/systemd-251/src/test/
Dtest-recurse-dir.c25 assert_se(strv_extend(&list_nftw, fpath) >= 0); in nftw_cb()
79 assert_se(strv_extend(l, path) >= 0); in recurse_dir_callback()
Dtest-strv.c604 TEST(strv_extend) { in TEST() argument
609 assert_se(strv_extend(&a, "test2") >= 0); in TEST()
610 assert_se(strv_extend(&b, "test3") >= 0); in TEST()
/systemd-251/src/activate/
Dactivate.c139 r = strv_extend(&envp, n); in exec_process()
176 r = strv_extend(&arg_fdnames, arg_fdnames[0]); in exec_process()
356 r = strv_extend(&arg_listen, optarg); in parse_argv()
/systemd-251/src/analyze/
Danalyze-dot.c92 if (strv_extend(&expanded_patterns, *pattern) < 0) in expand_patterns()
114 if (strv_extend(&expanded_patterns, unit_id) < 0) in expand_patterns()
Danalyze.c374 if (strv_extend(&arg_dot_from_patterns, optarg) < 0) in parse_argv()
380 if (strv_extend(&arg_dot_to_patterns, optarg) < 0) in parse_argv()
/systemd-251/src/shared/
Djournal-util.c53 r = strv_extend(&g, "systemd-journal"); in access_check_var_log_journal()
Dfstab-util.c148 r = strv_extend(&values, x + 1); in fstab_filter_options()
/systemd-251/src/run-generator/
Drun-generator.c33 r = strv_extend(&arg_commands, value); in parse()
/systemd-251/src/login/
Dlogind-seat-dbus.c349 r = strv_extend(&l, "/org/freedesktop/login1/seat/self"); in seat_node_enumerator()
370 r = strv_extend(&l, "/org/freedesktop/login1/seat/auto"); in seat_node_enumerator()
/systemd-251/src/xdg-autostart-generator/
Dxdg-autostart-generator.c32 r = strv_extend(&autostart_dirs, user_config_autostart_dir); in enumerate_xdg_autostart()
/systemd-251/src/debug-generator/
Ddebug-generator.c177 r = strv_extend(&arg_wants, "debug-shell.service"); in run()
/systemd-251/src/resolve/
Dresolvconf-compat.c264 r = strv_extend(&arg_set_domain, "~."); in resolvconf_parse_argv()
/systemd-251/src/systemctl/
Dsystemctl-list-dependencies.c72 r = strv_extend(units, name); in list_dependencies_one()
/systemd-251/src/network/wait-online/
Dwait-online.c151 if (strv_extend(&arg_ignore, optarg) < 0) in parse_argv()
/systemd-251/src/run/
Drun.c332 if (strv_extend(&arg_property, optarg) < 0) in parse_argv()
439 if (strv_extend(&arg_timer_property, optarg) < 0) in parse_argv()
454 if (strv_extend(&arg_path_property, optarg) < 0) in parse_argv()
461 if (strv_extend(&arg_socket_property, optarg) < 0) in parse_argv()

1234