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

/systemd/src/basic/
H A Dcalendarspec.h52 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 Dcalendarspec.c391 /* 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 Dcgroup-util.c1059 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 Dcgroup-util.h110 int cg_split_spec(const char *spec, char **controller, char **path);
/systemd/src/shared/
H A Dcgroup-show.h31 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 Dcgroup-show.c267 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 Ddbus-path.c49 LIST_FOREACH(spec, k, p->specs) {
H A Dpath.h44 LIST_FIELDS(struct PathSpec, spec);
H A Dpath.c268 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 Dload-fragment.c1527 LIST_PREPEND(spec, p->specs, s);
/systemd/src/run/
H A Drun.c340 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 Djournal-remote.c810 static int negative_fd(const char *spec) { argument
815 r = safe_atoi(spec, &fd);

Completed in 92 milliseconds