/freebsd-current/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | weekday.h | 32 class weekday { class in namespace:chrono 38 weekday() = default; 39 _LIBCPP_HIDE_FROM_ABI inline explicit constexpr weekday(unsigned __val) noexcept 41 _LIBCPP_HIDE_FROM_ABI inline constexpr weekday(const sys_days& __sysd) noexcept 43 _LIBCPP_HIDE_FROM_ABI inline explicit constexpr weekday(const local_days& __locd) noexcept 46 _LIBCPP_HIDE_FROM_ABI inline constexpr weekday& operator++() noexcept { 50 _LIBCPP_HIDE_FROM_ABI inline constexpr weekday operator++(int) noexcept { 51 weekday __tmp = *this; 55 _LIBCPP_HIDE_FROM_ABI inline constexpr weekday& operator--() noexcept { 59 _LIBCPP_HIDE_FROM_ABI inline constexpr weekday operato [all...] |
H A D | year_month_weekday.h | 20 #include <__chrono/weekday.h> 57 _LIBCPP_HIDE_FROM_ABI inline constexpr chrono::weekday weekday() const noexcept { return __wdi_.weekday(); } 71 __wdi_.weekday() - chrono::weekday{static_cast<sys_days>(__y_ / __m_ / 1)} + days{(__wdi_.index() - 1) * 7 + 1}; 81 const chrono::weekday __wd = chrono::weekday(__sysd); 88 return (__sysd + (__wdi_.weekday() - chrono::weekday(__sys [all...] |
H A D | convert_to_tm.h | 25 #include <__chrono/weekday.h> 50 // Conerts a chrono date and weekday to a given _Tm type. 62 _LIBCPP_HIDE_FROM_ABI _Tm __convert_to_tm(const _Date& __date, chrono::weekday __weekday) { 84 _Tm __result = std::__convert_to_tm<_Tm>(chrono::year_month_day{__ymd}, chrono::weekday{__days}); 143 else if constexpr (same_as<_ChronoT, chrono::weekday>) 146 __result.tm_wday = __value.weekday().c_encoding(); 153 __result.tm_wday = __value.weekday_indexed().weekday().c_encoding(); 160 chrono::year_month_day{__value}, chrono::weekday{static_cast<chrono::sys_days>(__value)}); 163 return std::__convert_to_tm<_Tm>(chrono::year_month_day{static_cast<chrono::sys_days>(__value)}, __value.weekday());
|
H A D | formatter.h | 28 #include <__chrono/weekday.h> 63 /// output. For example weekday 8 can print 1 when the day is processed modulo 64 /// 7 since that handles the Sunday for 0-based weekday. It can also print 8 if 70 /// \pre When the (abbreviated) weekday or month name are used, the caller 342 else if constexpr (same_as<_Tp, chrono::weekday>) 363 return __value.weekday().ok(); 365 return __value.weekday().ok(); 382 else if constexpr (same_as<_Tp, chrono::weekday>) 385 return __value.weekday().ok(); 387 return __value.weekday() [all...] |
H A D | ostream.h | 23 #include <__chrono/weekday.h> 164 operator<<(basic_ostream<_CharT, _Traits>& __os, const weekday& __wd) { 167 _LIBCPP_STATICALLY_WIDEN(_CharT, "{} is not a valid weekday"), 176 ? std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L}[{}]"), __wdi.weekday(), __i) 179 __wdi.weekday(), 186 return __os << std::format(__os.getloc(), _LIBCPP_STATICALLY_WIDEN(_CharT, "{:L}[last]"), __wdl.weekday());
|
H A D | month_weekday.h | 14 #include <__chrono/weekday.h>
|
/freebsd-current/lib/libc/stdtime/ |
H A D | timelocal.h | 46 const char *weekday[7]; member in struct:lc_time_T
|
H A D | strptime.c | 328 for (i = 0; i < asizeof(tptr->weekday); i++) { 329 len = strlen(tptr->weekday[i]); 330 if (strncasecmp_l(buf, tptr->weekday[i], 338 if (i == asizeof(tptr->weekday))
|
/freebsd-current/lib/libcalendar/ |
H A D | calendar.h | 42 int weekday(int _nd);
|
H A D | Makefile | 12 calendar.3 week.3 calendar.3 weekday.3
|
H A D | easter.c | 83 /* Offset from a weekday to next sunday */ 100 return (dn + ns[weekday(dn)]);
|
H A D | calendar.c | 265 if ((wd = weekday(nd)) > 3) 271 /* return the weekday (Mo = 0 .. Su = 6) */ 273 weekday(int nd) function 282 /* return (nd - nmonday) modulo 7 which is the weekday */
|
/freebsd-current/contrib/ntp/libparse/ |
H A D | clk_hopf6021.c | 67 * A B - Status and weekday 103 #define HOPF_WMASK 0x07 /* mask for weekday code */ 145 unsigned char status,weekday; local 167 weekday = hexval(buffer[OFFS(O_WDAY)]); 169 if ((status == 0xFF) || (weekday == 0xFF)) 174 if (weekday & HOPF_UTC)
|
/freebsd-current/usr.bin/localedef/ |
H A D | time.c | 132 add_list(tm.weekday, str, 7); 172 if (tm.weekday[6] != NULL) 215 free((char *)tm.weekday[i]); 216 tm.weekday[i] = NULL; 254 if (putl_category(tm.weekday[i], f) == EOF) {
|
/freebsd-current/usr.sbin/pw/ |
H A D | psdate.c | 69 weekday(char const ** str) function 225 * Skip past any weekday prefix 227 weekday(&str);
|
/freebsd-current/contrib/ntp/include/ |
H A D | ntp_calendar.h | 20 uint8_t weekday; /* 0..7, 0=Sunday */ member in struct:calendar 29 uint8_t weekday; /* 1..7, 1=Monday */ member in struct:isodate
|
/freebsd-current/lib/libc/locale/ |
H A D | nl_langinfo.c | 99 ret = (char*) __get_current_time_locale(loc)->weekday[_REL(DAY_1)];
|
/freebsd-current/contrib/ntp/libntp/ |
H A D | prettydate.c | 195 daynames[jd.weekday], months[jd.month-1],
|
H A D | ntp_calendar.c | 1004 jd->weekday = i32mod7(rd); 1928 id->weekday = (uint8_t)ds.lo + 1; /* weekday result */ 1968 days = weeks * 7 + (int32_t)id->weekday; 2157 * 2) The weekday of the 1st day of a century shifts by 5 days 2162 * So we start with taking the weekday difference (mod 7) 2165 * weekday given.
|
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | LibCxx.cpp | 1190 const unsigned weekday = ptr_sp->GetValueAsUnsigned(0); local 1191 if (weekday >= 0 && weekday < 7) 1192 stream << "weekday=" << weekdays[weekday]; 1194 stream.Printf("weekday=%u", weekday);
|
/freebsd-current/contrib/tzcode/ |
H A D | strftime.c | 50 const char * weekday[DAYSPERWEEK]; member in struct:lc_time_T 179 "?" : Locale->weekday[t->tm_wday],
|
/freebsd-current/contrib/llvm-project/libcxx/modules/std/ |
H A D | chrono.inc | 146 // [time.cal.wd], class weekday 147 using std::chrono::weekday;
|
/freebsd-current/contrib/bmake/unit-tests/ |
H A D | varmod-gmtime.mk | 15 # month and weekday are always in English, independent from the locale.
|
/freebsd-current/sys/dev/iicbus/rtc/ |
H A D | rv3032.c | 162 uint8_t weekday; member in struct:rv3032_timeregs
|
/freebsd-current/contrib/ntp/ntpd/ |
H A D | ntp_filegen.c | 167 iso.weekday = 1;
|