Searched refs:strv_length (Results 1 - 25 of 36) sorted by relevance

12

/systemd/src/test/
H A Dtest-env-replace.c44 assert_se(strv_length(d) == 2);
57 assert_se(strv_length(l) == 2);
73 assert_se(strv_length(r) == 4);
93 assert_se(strv_length(r) == 6);
101 assert_se(strv_length(r) == 5);
139 assert_se(strv_length(r) == 11);
H A Dtest-verbs.c30 assert_se(dispatch_verb(strv_length(argv), argv, verbs, NULL) == expected);
H A Dtest-path-lookup.c51 assert_se(strv_length(lp_with_env.unit_path) == 1);
H A Dtest-strv.c169 assert_se(r == (int) strv_length(s));
186 assert_se(r == (int) strv_length(list));
228 assert_se(r == (int) strv_length(l));
357 assert_se(strv_length(a) == 6);
H A Dtest-unit-file.c85 n = strv_length(c->argv);
823 assert_se(strv_length(passenv) == 2);
837 assert_se(strv_length(passenv) == 1);
H A Dtest-fileio.c412 assert_se(strv_length(l) == 14);
/systemd/src/libsystemd/sd-login/
H A Dtest-login.c71 assert_se(r == (int) strv_length(sessions));
81 assert_se(r == (int) strv_length(seats));
163 assert_se(r == (int) strv_length(sessions));
183 assert_se(r == (int) strv_length(seats));
199 assert_se(r == (int) strv_length(sessions));
222 assert_se(r == (int) strv_length(machines));
/systemd/src/basic/
H A Dstrv.c106 k = r = new(char*, strv_length(l) + 1);
123 unsigned strv_length(char * const *l) { function
214 p = strv_length(*a);
215 q = strv_length(b);
314 n = strv_length(l);
440 n = strv_length(*l);
465 n = strv_length(*l);
493 n = strv_length(*l);
722 qsort(l, strv_length(l), sizeof(char*), str_compare);
766 n = strv_length(
[all...]
H A Denv-util.c221 n += strv_length(l);
284 n = strv_length(x);
394 r = new(char*, strv_length(x)+2);
555 l = strv_length(argv);
582 q = strv_length(m);
H A Dstrv.h47 unsigned strv_length(char * const *l) _pure_;
/systemd/src/notify/
H A Dnotify.c181 if (strv_length(final_env) <= 0) {
/systemd/src/libsystemd/sd-network/
H A Dsd-network.c80 r = strv_length(a);
154 r = strv_length(a);
/systemd/src/shared/
H A Dfstab-util.c101 strv = memdup(stor, sizeof(char*) * (strv_length(stor) + 1));
H A Dinstall.c974 (int) strv_length(info->aliases) +
975 (int) strv_length(info->wanted_by) +
976 (int) strv_length(info->required_by);
1891 l = strv_length(files);
/systemd/src/core/
H A Dnamespace.c442 strv_length(read_write_dirs) +
443 strv_length(read_only_dirs) +
444 strv_length(inaccessible_dirs) +
H A Dunit-printf.c288 n = strv_length(l);
/systemd/src/cryptsetup/
H A Dcryptsetup.c376 assert(strv_length(passwords) == 1);
387 assert(strv_length(passwords2) == 1);
431 .keyfiles_count = strv_length(arg_tcrypt_keyfiles)
/systemd/src/locale/
H A Dlocaled.c230 if (strv_length(a) == 3) {
256 if (strv_length(a) == 2 && streq(a[1], "InputClass"))
555 length = strv_length(b);
788 assert(strv_length(a) == 2);
/systemd/src/analyze/
H A Danalyze-verify.c245 Unit *units[strv_length(filenames)];
H A Danalyze.c830 qsort_safe(deps, strv_length(deps), sizeof (char*), list_dependencies_compare);
1238 if (strv_length(args) != 1) {
1265 if (strv_length(args) != 1) {
/systemd/src/libsystemd/sd-bus/
H A Dbusctl.c433 if (strv_length(argv) <= 1) {
879 n_args = strv_length(argv);
1189 if (strv_length(argv) > 2) {
1496 if (strv_length(argv) < 5) {
1584 n = strv_length(argv);
1643 n = strv_length(argv);
/systemd/src/firstboot/
H A Dfirstboot.c112 n = strv_length(x);
176 if (u <= 0 || u > strv_length(l)) {
/systemd/src/libsystemd/sd-path/
H A Dsd-path.c607 n = new(char*, strv_length(l)+1);
/systemd/src/activate/
H A Dactivate.c146 length = strv_length(arg_setenv);
/systemd/src/resolve/
H A Dresolved-etc-hosts.c378 r = dns_answer_reserve(answer, strv_length(item->names));

Completed in 5798 milliseconds

12