/systemd/src/shared/ |
H A D | path-lookup.c | 83 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 D | fstab-util.c | 155 _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 D | test-dhcp-client.c | 221 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 D | test-dhcp-option.c | 241 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 D | fstab-generator.c | 170 _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 D | parse-util.h | 95 int parse_fractional_part_u(const char **s, size_t digits, unsigned *res);
|
H A D | parse-util.c | 500 int parse_fractional_part_u(const char **p, size_t digits, unsigned *res) { argument 531 *res = val;
|
H A D | calendarspec.c | 410 static int parse_component_decimal(const char **p, bool usec, unsigned long *res) { argument 446 *res = value;
|
/systemd/src/bootchart/ |
H A D | bootchart.c | 390 int res; local 441 res = nanosleep(&req, NULL); 442 if (res) {
|
/systemd/src/libsystemd/sd-bus/ |
H A D | test-bus-benchmark.c | 69 uint64_t res; local 70 assert_se(sd_bus_message_read(m, "t", &res) > 0); 72 *result = res;
|
/systemd/src/sysv-generator/ |
H A D | sysv-generator.c | 251 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 D | mmap-cache.c | 470 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;
|