Home
last modified time | relevance | path

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

/third_party/boost/boost/wave/util/
Dcpp_macromap_predef.hpp128 tm first_day; in reset_version() local
131 memset (&first_day, 0, sizeof(tm)); in reset_version()
132 first_day.tm_mon = 11; // Dec in reset_version()
133 first_day.tm_mday = 13; // 13 in reset_version()
134 first_day.tm_year = 101; // 2001 in reset_version()
136 long seconds = long(difftime(compilation_time_.get_time(), mktime(&first_day))); in reset_version()
153 tm first_day; in reset_versionstr() local
155 memset (&first_day, 0, sizeof(tm)); in reset_versionstr()
156 first_day.tm_mon = 11; // Dec in reset_versionstr()
157 first_day.tm_mday = 13; // 13 in reset_versionstr()
[all …]
/third_party/boost/libs/wave/samples/token_statistics/
Dtoken_statistics.cpp71 std::tm first_day; in print_version() local
73 std::memset (&first_day, 0, sizeof(std::tm)); in print_version()
74 first_day.tm_mon = 4; // May in print_version()
75 first_day.tm_mday = 9; // 09 in print_version()
76 first_day.tm_year = 105; // 2005 in print_version()
79 std::mktime(&first_day))); in print_version()
/third_party/boost/libs/wave/samples/list_includes/
Dlist_includes.cpp87 std::tm first_day; in print_version() local
89 std::memset (&first_day, 0, sizeof(std::tm)); in print_version()
90 first_day.tm_mon = 0; // Jan in print_version()
91 first_day.tm_mday = 29; // 29 in print_version()
92 first_day.tm_year = 103; // 2003 in print_version()
95 std::mktime(&first_day))); in print_version()
/third_party/boost/libs/wave/test/testwave/
Dtestwave_app.cpp625 std::tm first_day; in print_version() local
628 memset (&first_day, 0, sizeof(std::tm)); in print_version()
629 first_day.tm_mon = 1; // Feb in print_version()
630 first_day.tm_mday = 12; // 12 in print_version()
631 first_day.tm_year = 105; // 2005 in print_version()
634 std::mktime(&first_day))); in print_version()
/third_party/python/Lib/zoneinfo/
D_zoneinfo.py596 first_day, days_in_month = calendar.monthrange(year, self.m)
605 month_day = (self.d - (first_day + 1)) % 7 + 1
/third_party/python/Modules/
D_zoneinfo.c1175 int8_t first_day = (ymd_to_ord(year, self->month, 1) + 6) % 7; in calendarrule_year_to_timestamp() local
1188 int8_t month_day = ((int8_t)(self->day) - (first_day + 1)) % 7; in calendarrule_year_to_timestamp()
D_datetimemodule.c382 int first_day = ymd_to_ord(year, 1, 1); /* ord of 1/1 */ in iso_week1_monday() local
384 int first_weekday = (first_day + 6) % 7; in iso_week1_monday()
386 int week1_monday = first_day - first_weekday; in iso_week1_monday()