Home
last modified time | relevance | path

Searched refs:CalendarSpec (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/shared/
Dcalendarspec.h20 typedef struct CalendarSpec { struct
34 } CalendarSpec; argument
36 CalendarSpec* calendar_spec_free(CalendarSpec *c);
38 bool calendar_spec_valid(CalendarSpec *spec);
40 int calendar_spec_to_string(const CalendarSpec *spec, char **p);
41 int calendar_spec_from_string(const char *p, CalendarSpec **spec);
43 int calendar_spec_next_usec(const CalendarSpec *spec, usec_t usec, usec_t *next);
45 DEFINE_TRIVIAL_CLEANUP_FUNC(CalendarSpec*, calendar_spec_free);
Dcalendarspec.c48 CalendarSpec* calendar_spec_free(CalendarSpec *c) { in calendar_spec_free()
148 static void calendar_spec_normalize(CalendarSpec *c) { in calendar_spec_normalize()
215 _pure_ bool calendar_spec_valid(CalendarSpec *c) { in calendar_spec_valid()
242 static void format_weekdays(FILE *f, const CalendarSpec *c) { in format_weekdays()
339 int calendar_spec_to_string(const CalendarSpec *c, char **p) { in calendar_spec_to_string()
398 static int parse_weekdays(const char **p, CalendarSpec *c) { in parse_weekdays()
582 static int calendarspec_from_time_t(CalendarSpec *c, time_t time) { in calendarspec_from_time_t()
730 static int parse_date(const char **p, CalendarSpec *c) { in parse_date()
813 static int parse_calendar_time(const char **p, CalendarSpec *c) { in parse_calendar_time()
881 int calendar_spec_from_string(const char *p, CalendarSpec **spec) { in calendar_spec_from_string()
[all …]
/systemd-251/src/test/
Dtest-calendarspec.c11 CalendarSpec *c; in _test_one()
42 CalendarSpec *c; in _test_next()
79 CalendarSpec *c; in TEST()
98 CalendarSpec *c; in TEST()
231 CalendarSpec *c; in TEST()
/systemd-251/src/fuzz/
Dfuzz-calendarspec.c11 _cleanup_(calendar_spec_freep) CalendarSpec *cspec = NULL; in LLVMFuzzerTestOneInput()
36 _cleanup_(calendar_spec_freep) CalendarSpec *cspec2 = NULL; in LLVMFuzzerTestOneInput()
/systemd-251/src/core/
Dtimer.h25 CalendarSpec *calendar_spec; /* only for calendar events */
Ddbus-timer.c178 _cleanup_(calendar_spec_freep) CalendarSpec *c = NULL; in timer_add_one_calendar_spec()
Dload-fragment.c2084 _cleanup_(calendar_spec_freep) CalendarSpec *c = NULL; in config_parse_timer()
/systemd-251/src/analyze/
Danalyze-calendar.c10 _cleanup_(calendar_spec_freep) CalendarSpec *spec = NULL; in test_calendar_one()
/systemd-251/src/run/
Drun.c396 _cleanup_(calendar_spec_freep) CalendarSpec *cs = NULL; in parse_argv()