Lines Matching refs:usec
240 static void format_chain(FILE *f, int space, const CalendarComponent *c, bool usec) {
249 if (!usec)
257 if (!usec)
267 format_chain(f, space, c->next, usec);
410 static int parse_component_decimal(const char **p, bool usec, unsigned long *res) {
426 if (usec) {
451 static int prepend_component(const char **p, bool usec, CalendarComponent **c) {
462 r = parse_component_decimal(&e, usec, &value);
468 r = parse_component_decimal(&e, usec, &repeat);
492 return prepend_component(p, usec, c);
516 static int parse_chain(const char **p, bool usec, CalendarComponent **c) {
527 if (usec) {
539 r = prepend_component(&t, usec, &cc);
968 static int find_next(const CalendarSpec *spec, struct tm *tm, usec_t *usec) {
977 tm_usec = *usec;
1058 *usec = tm_usec;
1063 int calendar_spec_next_usec(const CalendarSpec *spec, usec_t usec, usec_t *next) {
1072 usec++;
1073 t = (time_t) (usec / USEC_PER_SEC);
1075 tm_usec = usec % USEC_PER_SEC;