Home
last modified time | relevance | path

Searched refs:strv_new (Results 1 – 25 of 45) sorted by relevance

12

/systemd-251/src/test/
Dtest-sleep.c88 **standby = strv_new("standby"), in TEST()
89 **mem = strv_new("mem"), in TEST()
90 **disk = strv_new("disk"), in TEST()
91 **suspend = strv_new("suspend"), in TEST()
92 **reboot = strv_new("reboot"), in TEST()
93 **platform = strv_new("platform"), in TEST()
94 **shutdown = strv_new("shutdown"), in TEST()
95 **freeze = strv_new("freeze"); in TEST()
Dtest-strv.c565 a = strv_new("without", "suffix"); in TEST()
566 b = strv_new("with", "suffix"); in TEST()
581 a = strv_new("abc", "def", "ghi"); in TEST()
582 b = strv_new("jkl", "mno", "abc", "pqr"); in TEST()
607 a = strv_new("test", "test1"); in TEST()
621 a = strv_new("test", "test1"); in TEST()
636 a = strv_new("one", "two", "three"); in TEST()
647 a = strv_new("one", "two", "three"); in TEST()
669 a = strv_new("pair_one", "pair_one", in TEST()
731 assert_se(a = strv_new("foo", "bar", "three")); in TEST()
[all …]
Dtest-env-util.c18 a = strv_new("FOO=BAR", "WALDO=WALDO", "WALDO=", "PIEP", "SCHLUMPF=SMURF"); in TEST()
21 b = strv_new("PIEP", "FOO"); in TEST()
24 c = strv_new("SCHLUMPF"); in TEST()
55 l = strv_new("PIEP", "SCHLUMPF=SMURFF", "NANANANA=YES"); in TEST()
285 _cleanup_strv_free_ char **e = strv_new("FOOBAR=WALDO", in TEST()
420 l = strv_new("FOO=BAR", "QUUX=PIFF", "ONE=TWO", "A=B"); in TEST()
Dtest-nss-users.c207 modules = strv_new(argv[1]); in parse_argv()
209 modules = strv_new( in parse_argv()
222 names = strv_new("root", in parse_argv()
Dtest-serialize.c139 assert_se(env = strv_new("A=1")); in TEST()
159 assert_se(env = strv_new("A=1", in TEST()
Dtest-nss-hosts.c416 modules = strv_new(argv[1]); in parse_argv()
418 modules = strv_new( in parse_argv()
452 … assert_se(names = strv_new("localhost", "_gateway", "_outbound", "foo_no_such_host", hostname)); in parse_argv()
Dtest-exec-util.c359 env = strv_new("PATH=" DEFAULT_PATH); in TEST()
/systemd-251/src/basic/
Dpath-lookup.c125 config_dirs = strv_new("/etc/xdg"); in xdg_user_dirs()
133 data_dirs = strv_new("/usr/local/share", in xdg_user_dirs()
610 add = strv_new( in lookup_paths_init()
633 add = strv_new( in lookup_paths_init()
809 add = strv_new("/run/systemd/system-generators", in generator_binary_paths()
817 add = strv_new("/run/systemd/user-generators", in generator_binary_paths()
856 add = strv_new("/run/systemd/system-environment-generators", in env_generator_binary_paths()
861 add = strv_new("/run/systemd/user-environment-generators", in env_generator_binary_paths()
Dconf-files.c270 dirs = strv_new(dir); in conf_files_list()
Dstrv.h64 #define strv_new(...) strv_new_internal(__VA_ARGS__, NULL) macro
Dstrv.c686 return strv_new(NULL); in strv_split_nulstr()
/systemd-251/src/shared/
Dsleep-config.c83 sc->states[SLEEP_SUSPEND] = strv_new("mem", "standby", "freeze"); in parse_sleep_config()
85 sc->modes[SLEEP_HIBERNATE] = strv_new("platform", "shutdown"); in parse_sleep_config()
87 sc->states[SLEEP_HIBERNATE] = strv_new("disk"); in parse_sleep_config()
89 sc->modes[SLEEP_HYBRID_SLEEP] = strv_new("suspend", "platform", "shutdown"); in parse_sleep_config()
91 sc->states[SLEEP_HYBRID_SLEEP] = strv_new("disk"); in parse_sleep_config()
Dextension-release.c111 l = strv_new("/usr", "/opt"); in parse_env_extension_hierarchies()
Duser-record-nss.c97 hr->hashed_password = strv_new(spwd->sp_pwdp); in nss_passwd_to_user_record()
353 g->hashed_password = strv_new(sgrp->sg_passwd); in nss_group_to_group_record()
/systemd-251/src/boot/
Dbless-boot.c125 a = strv_new(esp_path, xbootldr_path); in acquire_path()
127 a = strv_new(esp_path); in acquire_path()
129 a = strv_new(xbootldr_path); in acquire_path()
/systemd-251/src/environment-d-generator/
Denvironment-d-generator.c18 dirs = strv_new(CONF_PATHS_USR("environment.d"), NULL); in environment_dirs()
/systemd-251/src/core/
Dslice.c121 u->documentation = strv_new("man:systemd.special(7)"); in slice_load_root_slice()
144 u->documentation = strv_new("man:systemd.special(7)"); in slice_load_system_slice()
Dlocale-setup.c77 add = strv_new("LANG=" SYSTEMD_DEFAULT_LOCALE); in locale_setup()
/systemd-251/src/systemctl/
Dsystemctl-clean-or-freeze.c24 arg_clean_what = strv_new("cache", "runtime"); in verb_clean_or_freeze()
Dsystemctl-list-dependencies.c150 units = strv_new(SPECIAL_DEFAULT_TARGET); in verb_list_dependencies()
Dsystemctl-start-unit.c324 names = strv_new(one_name); in verb_start()
/systemd-251/src/cryptsetup/cryptsetup-tokens/
Dluks2-fido2.c37 pins = strv_new(pin); in acquire_luks2_key()
/systemd-251/src/analyze/
Danalyze-condition.c86 filenames = strv_new(unit); in verify_conditions()
/systemd-251/src/libsystemd/sd-bus/
Dtest-bus-objects.c209 assert_se(*nodes = strv_new("/value/a", "/value/b", "/value/c")); in enumerator_callback()
217 assert_se(*nodes = strv_new("/value/a/x", "/value/a/y", "/value/a/z")); in enumerator2_callback()
/systemd-251/src/cryptsetup/
Dcryptsetup-fido2.c73 pins = strv_new(envpw); in acquire_fido2_key()

12