Searched refs:strv (Results 1 - 16 of 16) sorted by relevance

/systemd/src/basic/
H A Dconf-files.c36 #include "strv.h"
91 static int conf_files_list_strv_internal(char ***strv, const char *suffix, const char *root, char **dirs) { argument
96 assert(strv);
120 *strv = files;
125 int conf_files_list_strv(char ***strv, const char *suffix, const char *root, const char* const* dirs) { argument
128 assert(strv);
135 return conf_files_list_strv_internal(strv, suffix, root, copy);
138 int conf_files_list(char ***strv, const char *suffix, const char *root, const char *dir, ...) { argument
142 assert(strv);
152 return conf_files_list_strv_internal(strv, suffi
155 conf_files_list_nulstr(char ***strv, const char *suffix, const char *root, const char *d) argument
[all...]
H A Dglob-util.h29 int glob_extend(char ***strv, const char *path);
H A Dglob-util.c25 #include "strv.h"
46 int glob_extend(char ***strv, const char *path) { argument
64 k = strv_extend(strv, *p);
/systemd/src/shared/
H A Ddropin.c39 #include "strv.h"
124 char ***strv) {
134 r = strv_extend(strv, path);
186 char ***strv) {
200 (void) iterate_dir(path, dependency, consumer, arg, strv);
215 (void) iterate_dir(p, dependency, consumer, arg, strv);
227 _cleanup_strv_free_ char **strv = NULL, **ans = NULL; local
238 unit_file_process_dir(unit_path_cache, *p, t, ".d", _UNIT_DEPENDENCY_INVALID, NULL, NULL, &strv);
241 if (strv_isempty(strv))
244 r = conf_files_list_strv(&ans, ".conf", NULL, (const char**) strv);
119 iterate_dir( const char *path, UnitDependency dependency, dependency_consumer_t consumer, void *arg, char ***strv) argument
178 unit_file_process_dir( Set *unit_path_cache, const char *unit_path, const char *name, const char *suffix, UnitDependency dependency, dependency_consumer_t consumer, void *arg, char ***strv) argument
[all...]
H A Ddropin.h55 char ***strv);
H A Dfstab-util.c34 #include "strv.h"
56 _cleanup_free_ char *v = NULL, **strv = NULL; local
101 strv = memdup(stor, sizeof(char*) * (strv_length(stor) + 1));
102 if (!strv)
105 for (s = t = strv; *s; s++) {
140 f = strv_join(strv, ",");
/systemd/src/libsystemd/sd-device/
H A Ddevice-private.h29 int device_new_from_strv(sd_device **ret, char **strv);
57 int device_get_properties_strv(sd_device *device, char ***strv);
H A Ddevice-private.c43 #include "strv.h"
546 log_debug("sd-device: device created from strv lacks devpath, subsystem, action or seqnum");
555 int device_new_from_strv(sd_device **ret, char **strv) { argument
564 assert(strv);
570 STRV_FOREACH(key, strv) {
708 int device_get_properties_strv(sd_device *device, char ***strv) { argument
712 assert(strv);
718 *strv = device->properties_strv;
/systemd/src/test/
H A Dtest-conf-parser.c24 #include "strv.h"
79 char **strv = 0; local
81 assert_se(config_parse_strv("unit", "filename", 1, "section", 1, "lvalue", 0, rvalue, &strv, NULL) >= 0);
82 assert_se(strv_equal(expected, strv));
84 strv_free(strv);
H A Dtest-hashmap-plain.c23 #include "strv.h"
103 char **strv; local
122 strv = hashmap_get_strv(m);
125 strv = strv_sort(strv);
128 assert_se(streq(strv[0], "val1"));
129 assert_se(streq(strv[1], "val2"));
130 assert_se(streq(strv[2], "val3"));
131 assert_se(streq(strv[3], "val4"));
133 strv_free(strv);
[all...]
/systemd/src/bus-proxyd/
H A Dproxy.c44 #include "strv.h"
307 _cleanup_strv_free_ char **strv = NULL; local
335 strv = strv_new("/usr/share/dbus-1/system.conf",
342 strv = strv_new("/usr/share/dbus-1/session.conf",
351 if (!strv)
354 configuration = strv;
/systemd/src/libsystemd/sd-bus/
H A Dbus-message.h221 int bus_message_get_arg_strv(sd_bus_message *m, unsigned i, char ***strv);
H A Dbus-message.c37 #include "strv.h"
5603 char **strv = NULL; local
5610 r = bus_message_read_strv_extend(m, &strv);
5612 strv_free(strv);
5616 *l = strv;
5680 int bus_message_get_arg_strv(sd_bus_message *m, unsigned i, char ***strv) { argument
5686 assert(strv);
5697 return sd_bus_message_read_strv(m, strv);
/systemd/src/core/
H A Dnamespace.c42 #include "strv.h"
65 static int append_mounts(BindMount **p, char **strv, MountMode mode) { argument
70 STRV_FOREACH(i, strv) {
/systemd/src/analyze/
H A Danalyze.c39 #include "strv.h"
161 static int bus_get_unit_property_strv(sd_bus *bus, const char *path, const char *property, char ***strv) { argument
168 assert(strv);
177 strv);
/systemd/src/resolve/
H A Dresolved-dns-rr.c31 #include "strv.h"
752 _cleanup_strv_free_ char **strv = NULL; local
760 r = strv_extend(&strv, dns_type_to_string(type));
770 r = strv_consume(&strv, t);
776 str = strv_join(strv, " ");

Completed in 85 milliseconds