Searched refs:spec (Results 1 - 12 of 12) sorted by relevance
/systemd/src/basic/ |
H A D | calendarspec.h | 52 int calendar_spec_normalize(CalendarSpec *spec); 53 bool calendar_spec_valid(CalendarSpec *spec); 55 int calendar_spec_to_string(const CalendarSpec *spec, char **p); 56 int calendar_spec_from_string(const char *p, CalendarSpec **spec); 58 int calendar_spec_next_usec(const CalendarSpec *spec, usec_t usec, usec_t *next);
|
H A D | calendarspec.c | 391 /* We reached the end of the weekday spec part */ 711 int calendar_spec_from_string(const char *p, CalendarSpec **spec) { argument 717 assert(spec); 883 *spec = c; 968 static int find_next(const CalendarSpec *spec, struct tm *tm, usec_t *usec) { argument 973 assert(spec); 981 mktime_or_timegm(&c, spec->utc); 985 r = find_matching_component(spec->year, &c.tm_year); 993 if (r < 0 || tm_out_of_bounds(&c, spec->utc)) 997 r = find_matching_component(spec 1063 calendar_spec_next_usec(const CalendarSpec *spec, usec_t usec, usec_t *next) argument [all...] |
H A D | cgroup-util.c | 1059 int cg_split_spec(const char *spec, char **controller, char **path) { argument 1063 assert(spec); 1065 if (*spec == '/') { 1066 if (!path_is_safe(spec)) 1070 t = strdup(spec); 1083 e = strchr(spec, ':'); 1085 if (!cg_controller_is_valid(spec)) 1089 t = strdup(spec); 1102 t = strndup(spec, e-spec); [all...] |
H A D | cgroup-util.h | 110 int cg_split_spec(const char *spec, char **controller, char **path);
|
/systemd/src/shared/ |
H A D | cgroup-show.h | 31 int show_cgroup_and_extra_by_spec(const char *spec, const char *prefix, unsigned n_columns, bool kernel_threads, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags);
|
H A D | cgroup-show.c | 267 int show_cgroup_and_extra_by_spec(const char *spec, const char *prefix, unsigned n_columns, bool kernel_threads, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags) { argument 271 assert(spec); 273 r = cg_split_spec(spec, &controller, &path);
|
/systemd/src/core/ |
H A D | dbus-path.c | 49 LIST_FOREACH(spec, k, p->specs) {
|
H A D | path.h | 44 LIST_FIELDS(struct PathSpec, spec);
|
H A D | path.c | 268 LIST_REMOVE(spec, p->specs, s); 288 LIST_FOREACH(spec, s, p->specs) { 391 LIST_FOREACH(spec, s, p->specs) 400 LIST_FOREACH(spec, s, p->specs) 410 LIST_FOREACH(spec, s, p->specs) { 507 LIST_FOREACH(spec, s, p->specs) { 558 LIST_FOREACH(spec, s, p->specs) 667 LIST_FOREACH(spec, s, p->specs)
|
H A D | load-fragment.c | 1527 LIST_PREPEND(spec, p->specs, s);
|
/systemd/src/run/ |
H A D | run.c | 340 CalendarSpec *spec = NULL; local 342 r = calendar_spec_from_string(optarg, &spec); 344 log_error("Invalid calendar spec: %s", optarg); 348 calendar_spec_free(spec);
|
/systemd/src/journal-remote/ |
H A D | journal-remote.c | 810 static int negative_fd(const char *spec) { argument 815 r = safe_atoi(spec, &fd);
|
Completed in 92 milliseconds