Home
last modified time | relevance | path

Searched refs:day_nr (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/
Dcalendarspec.c402 } day_nr[] = { in parse_weekdays() local
429 for (i = 0; i < ELEMENTSOF(day_nr); i++) { in parse_weekdays()
432 if (!startswith_no_case(*p, day_nr[i].name)) in parse_weekdays()
435 skip = strlen(day_nr[i].name); in parse_weekdays()
440 c->weekdays_bits |= 1 << day_nr[i].nr; in parse_weekdays()
443 if (l > day_nr[i].nr) in parse_weekdays()
446 for (int j = l + 1; j < day_nr[i].nr; j++) in parse_weekdays()
457 if (i >= ELEMENTSOF(day_nr)) in parse_weekdays()
477 l = day_nr[i].nr; in parse_weekdays()
485 l = day_nr[i].nr; in parse_weekdays()
/systemd-251/src/basic/
Dtime-util.c611 } day_nr[] = { in parse_timestamp_impl() local
762 for (i = 0; i < ELEMENTSOF(day_nr); i++) { in parse_timestamp_impl()
765 if (!startswith_no_case(t, day_nr[i].name)) in parse_timestamp_impl()
768 skip = strlen(day_nr[i].name); in parse_timestamp_impl()
772 weekday = day_nr[i].nr; in parse_timestamp_impl()