Home
last modified time | relevance | path

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

/picolibc-3.5.0-3.4.0/newlib/libc/time/
Dstrftime.c365 #define PACK(yd, wd, lp) (((yd) << 4) + (wd << 1) + (lp)) in iso_year_adjust() macro
366 switch (PACK (tim_p->tm_yday, tim_p->tm_wday, leap)) in iso_year_adjust()
368 case PACK (0, 5, 0): /* Jan 1 is Fri, not leap. */ in iso_year_adjust()
369 case PACK (0, 6, 0): /* Jan 1 is Sat, not leap. */ in iso_year_adjust()
370 case PACK (0, 0, 0): /* Jan 1 is Sun, not leap. */ in iso_year_adjust()
371 case PACK (0, 5, 1): /* Jan 1 is Fri, leap year. */ in iso_year_adjust()
372 case PACK (0, 6, 1): /* Jan 1 is Sat, leap year. */ in iso_year_adjust()
373 case PACK (0, 0, 1): /* Jan 1 is Sun, leap year. */ in iso_year_adjust()
374 case PACK (1, 6, 0): /* Jan 2 is Sat, not leap. */ in iso_year_adjust()
375 case PACK (1, 0, 0): /* Jan 2 is Sun, not leap. */ in iso_year_adjust()
[all …]