/systemd-251/src/home/ |
D | homework-password-cache.c | 20 char **strv; in password_cache_load_keyring() local 45 strv = new(char*, 2); in password_cache_load_keyring() 46 if (!strv) in password_cache_load_keyring() 49 …strv[0] = TAKE_PTR(p); /* Note that keyring_read() will NUL terminate implicitly, hence we don't h… in password_cache_load_keyring() 51 strv[1] = NULL; in password_cache_load_keyring() 54 cache->keyring_passswords = strv; in password_cache_load_keyring()
|
/systemd-251/src/basic/ |
D | conf-files.c | 185 int conf_files_insert(char ***strv, const char *root, char **dirs, const char *path) { in conf_files_insert() argument 200 n = strv_length(*strv); in conf_files_insert() 204 c = base_cmp((char* const*) *strv + i, (char* const*) &path); in conf_files_insert() 215 p1 = path_startswith((*strv)[i], rdir); in conf_files_insert() 229 return free_and_replace((*strv)[i], t); in conf_files_insert() 246 r = strv_insert(strv, i, t); in conf_files_insert()
|
D | glob-util.c | 64 int glob_extend(char ***strv, const char *path, int flags) { in glob_extend() argument 72 return strv_extend_strv(strv, g.gl_pathv, false); in glob_extend()
|
D | glob-util.h | 14 int glob_extend(char ***strv, const char *path, int flags);
|
D | conf-files.h | 17 int conf_files_insert(char ***strv, const char *root, char **dirs, const char *path);
|
D | meson.build | 228 'strv.c', 229 'strv.h',
|
/systemd-251/src/analyze/ |
D | analyze-unit-files.c | 8 static bool strv_fnmatch_strv_or_empty(char* const* patterns, char **strv, int flags) { in strv_fnmatch_strv_or_empty() argument 9 STRV_FOREACH(s, strv) in strv_fnmatch_strv_or_empty()
|
D | analyze.c | 131 int bus_get_unit_property_strv(sd_bus *bus, const char *path, const char *property, char ***strv) { in bus_get_unit_property_strv() argument 138 assert(strv); in bus_get_unit_property_strv() 147 strv); in bus_get_unit_property_strv()
|
D | analyze.h | 42 int bus_get_unit_property_strv(sd_bus *bus, const char *path, const char *property, char ***strv);
|
/systemd-251/src/test/ |
D | test-conf-parser.c | 64 _cleanup_strv_free_ char **strv = NULL; in test_config_parse_strv_one() local 66 …assert_se(config_parse_strv("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &strv, NULL)… in test_config_parse_strv_one() 67 assert_se(strv_equal(expected, strv)); in test_config_parse_strv_one()
|
D | test-serialize.c | 96 char **strv = STRV_MAKE("a", "b", "foo foo", in TEST() local 110 assert_se(serialize_strv(f, "strv3", strv) == 1); in TEST() 133 assert_se(strv_equal(strv, strv2)); in TEST()
|
D | test-hashmap-plain.c | 88 char **strv; in TEST() local 107 strv = hashmap_get_strv(m); in TEST() 110 strv = strv_sort(strv); in TEST() 113 assert_se(streq(strv[0], "val1")); in TEST() 114 assert_se(streq(strv[1], "val2")); in TEST() 115 assert_se(streq(strv[2], "val3")); in TEST() 116 assert_se(streq(strv[3], "val4")); in TEST() 118 strv_free(strv); in TEST()
|
D | test-format-table.c | 148 TEST(strv) { in TEST() argument
|
D | meson.build | 540 [files('test-strv.c')],
|
/systemd-251/src/libsystemd-network/ |
D | test-dhcp6-client.c | 759 char **strv; in test_lease_common() local 768 assert_se(sd_dhcp6_lease_get_domains(lease, &strv) == 1); in test_lease_common() 769 assert_se(streq(strv[0], "lab.intra")); in test_lease_common() 770 assert_se(!strv[1]); in test_lease_common() 783 assert_se(sd_dhcp6_lease_get_ntp_fqdn(lease, &strv) == 1); in test_lease_common() 784 assert_se(streq(strv[0], "ntp.intra")); in test_lease_common() 785 assert_se(!strv[1]); in test_lease_common()
|
/systemd-251/src/libsystemd/sd-device/ |
D | device-private.h | 14 int device_new_from_strv(sd_device **ret, char **strv); 52 int device_get_properties_strv(sd_device *device, char ***strv);
|
D | device-private.c | 437 int device_new_from_strv(sd_device **ret, char **strv) { in device_new_from_strv() argument 443 assert(strv); in device_new_from_strv() 449 STRV_FOREACH(key, strv) { in device_new_from_strv() 581 int device_get_properties_strv(sd_device *device, char ***strv) { in device_get_properties_strv() argument 585 assert(strv); in device_get_properties_strv() 591 *strv = device->properties_strv; in device_get_properties_strv()
|
/systemd-251/src/shared/ |
D | format-table.c | 92 char **strv; member 226 strv_free(d->strv); in table_data_free() 406 d->strv = strv_copy(data); in table_data_new() 407 if (!d->strv) in table_data_new() 1236 return strv_compare(a->strv, b->strv); in cell_data_compare() 1357 static char* format_strv_width(char **strv, size_t column_width) { in format_strv_width() argument 1367 STRV_FOREACH(p, strv) { in format_strv_width() 1420 if (strv_isempty(d->strv)) in table_data_format() 1423 d->formatted = strv_join(d->strv, "\n"); in table_data_format() 1429 if (strv_isempty(d->strv)) in table_data_format() [all …]
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-message.h | 204 int bus_message_get_arg_strv(sd_bus_message *m, unsigned i, char ***strv);
|
D | bus-message.c | 5621 _cleanup_strv_free_ char **strv = NULL; in sd_bus_message_read_strv() local 5628 r = bus_message_read_strv_extend(m, &strv); in sd_bus_message_read_strv() 5632 *l = TAKE_PTR(strv); in sd_bus_message_read_strv() 5696 int bus_message_get_arg_strv(sd_bus_message *m, unsigned i, char ***strv) { in bus_message_get_arg_strv() argument 5702 assert(strv); in bus_message_get_arg_strv() 5713 return sd_bus_message_read_strv(m, strv); in bus_message_get_arg_strv()
|
/systemd-251/src/libsystemd/sd-journal/ |
D | journal-file.c | 381 const char* strv[5]; in warn_wrong_flags() local 387 strv[n++] = "sealed"; in warn_wrong_flags() 390 strv[n++] = "xz-compressed"; in warn_wrong_flags() 392 strv[n++] = "lz4-compressed"; in warn_wrong_flags() 394 strv[n++] = "zstd-compressed"; in warn_wrong_flags() 396 strv[n++] = "keyed-hash"; in warn_wrong_flags() 398 strv[n] = NULL; in warn_wrong_flags() 399 assert(n < ELEMENTSOF(strv)); in warn_wrong_flags() 401 t = strv_join((char**) strv, ", "); in warn_wrong_flags()
|
/systemd-251/src/resolve/ |
D | resolved-dns-rr.c | 753 _cleanup_strv_free_ char **strv = NULL; in format_types() local 760 r = strv_extend(&strv, dns_type_to_string(type)); in format_types() 770 r = strv_consume(&strv, t); in format_types() 776 str = strv_join(strv, " "); in format_types()
|
D | resolvectl.c | 1481 static int strv_extend_extended_bool(char ***strv, const char *name, const char *value) { in strv_extend_extended_bool() argument 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()
|
/systemd-251/src/core/ |
D | namespace.c | 317 static int append_access_mounts(MountEntry **p, char **strv, MountMode mode, bool forcibly_require_… in append_access_mounts() argument 322 STRV_FOREACH(i, strv) { in append_access_mounts() 351 static int append_empty_dir_mounts(MountEntry **p, char **strv) { in append_empty_dir_mounts() argument 357 STRV_FOREACH(i, strv) { in append_empty_dir_mounts()
|
D | execute.c | 5715 static void strv_dump(FILE* f, const char *prefix, const char *name, char **strv) { in strv_dump() argument 5720 if (!strv_isempty(strv)) { in strv_dump() 5722 strv_fprintf(f, strv); in strv_dump()
|