Searched refs:res (Results 1 - 12 of 12) sorted by relevance

/systemd/src/shared/
H A Dpath-lookup.c83 char *res; local
91 res = strappend(e, suffix);
97 res = strjoin(home, "/.local/share", suffix, NULL);
101 if (!res)
104 *dir = res;
133 _cleanup_free_ char **res = NULL; local
175 if (strv_extend(&res, generator_early) < 0)
179 if (strv_extend(&res, config_home) < 0)
183 if (strv_extend_strv_concat(&res, config_dirs, "/systemd/user") < 0)
186 if (strv_extend_strv(&res, (cha
[all...]
H A Dfstab-util.c155 _cleanup_strv_free_ char **optsv = NULL, **res = NULL; local
173 r = strv_extend(&res, arg + 1);
178 *values = res;
179 res = NULL;
/systemd/src/libsystemd-network/
H A Dtest-dhcp-client.c221 int res; local
223 res = dhcp_option_parse(dhcp, size, check_options, NULL, NULL);
224 assert_se(res == DHCP_DISCOVER);
234 int res, r; local
253 res = sd_dhcp_client_start(client);
255 assert_se(res == 0 || res == -EINPROGRESS);
388 int res; local
390 res = dhcp_option_parse(request, size, check_options, NULL, NULL);
391 assert_se(res
418 int res; local
449 int res, r; local
[all...]
H A Dtest-dhcp-option.c241 int res; local
264 assert_se((res = dhcp_option_parse(message, buflen, test_options_cb, NULL, NULL)) == -ENOMSG);
266 assert_se((res = dhcp_option_parse(message, buflen, test_options_cb, desc, NULL)) >= 0);
269 assert_se((res = dhcp_option_parse(message, buflen, test_options_cb, desc, NULL)) < 0);
272 printf("DHCP type %s\n", dhcp_type(res));
/systemd/src/fstab-generator/
H A Dfstab-generator.c170 _cleanup_free_ char *res = NULL; local
195 res = strv_join(units, " ");
196 if (!res)
198 fprintf(f, "After=%1$s\nRequires=%1$s\n", res);
206 _cleanup_free_ char *res = NULL; local
218 res = strv_join(paths, " ");
219 if (!res)
222 fprintf(f, "RequiresMountsFor=%s\n", res);
/systemd/src/basic/
H A Dparse-util.h95 int parse_fractional_part_u(const char **s, size_t digits, unsigned *res);
H A Dparse-util.c500 int parse_fractional_part_u(const char **p, size_t digits, unsigned *res) { argument
531 *res = val;
H A Dcalendarspec.c410 static int parse_component_decimal(const char **p, bool usec, unsigned long *res) { argument
446 *res = value;
/systemd/src/bootchart/
H A Dbootchart.c390 int res; local
441 res = nanosleep(&req, NULL);
442 if (res) {
/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-benchmark.c69 uint64_t res; local
70 assert_se(sd_bus_message_read(m, "t", &res) > 0);
72 *result = res;
/systemd/src/sysv-generator/
H A Dsysv-generator.c251 char *res; local
257 res = endswith(c, ".sh");
258 if (res)
259 *res = 0;
261 if (unit_name_mangle(c, UNIT_NAME_NOGLOB, &res) < 0)
264 return res;
/systemd/src/journal/
H A Dmmap-cache.c470 static int mmap_try_harder(MMapCache *m, void *addr, int fd, int prot, int flags, uint64_t offset, size_t size, void **res) { argument
475 assert(res);
493 *res = ptr;

Completed in 798 milliseconds