Home
last modified time | relevance | path

Searched refs:tm_mon (Results 1 – 25 of 240) sorted by relevance

12345678910

/third_party/musl/libc-test/src/functional/
Dstrptime.c28 tm.tm_mon != expected->tm_mon || in checkStrptime()
58 .tm_mon = 0,
67 .tm_mon = 8 - 1,
76 .tm_mon = 10 - 1,
85 .tm_mon = 7 - 1,
Dstrftime.c25 .tm_mon = 0,
37 .tm_mon = 0,
49 .tm_mon = 1,
61 .tm_mon = 0,
73 .tm_mon = 0,
Dtime.c19 tm1.tm_mon != tm2.tm_mon || in tm_cmp()
34 tm.tm_mday, tm.tm_mon, tm.tm_year, in tm_str()
41 .tm_mday = md, .tm_mon = mo, .tm_year = yr, \
/third_party/toybox/toys/posix/
Dcal.c46 if (tm->tm_mon == 1) { in calstrings()
50 } else if ((tm->tm_mon+(tm->tm_mon>6 ? 1 : 0)) & 1) len = 30; in calstrings()
86 tm->tm_mon = atolx_range(toys.optargs[--toys.optc], 1, 12); in cal_main()
87 tm->tm_mon--; in cal_main()
96 tm->tm_mon=i; in cal_main()
/third_party/nghttp2/src/
Dtimegm.c41 if (tm->tm_mon > 11) { in nghttp2_timegm()
70 if (tm->tm_mon > 11) { in nghttp2_timegm_without_yday()
74 days = (tm->tm_year - 70) * 365 + num_leap_year + daysum[tm->tm_mon] + in nghttp2_timegm_without_yday()
76 if (tm->tm_mon >= 2 && is_leap_year(tm->tm_year + 1900)) { in nghttp2_timegm_without_yday()
/third_party/ltp/testcases/kernel/device-drivers/rtc/
Drtc02.c33 tm->tm_mon + 1, in rtctime_to_str()
47 && (set_tm->tm_mon == read_tm->tm_mon) in rtc_tm_cmp()
61 .tm_mon = 9, in set_rtc_test()
/third_party/tzdata/
Dstrftime.c187 pt = _add((t->tm_mon < 0 || in _fmt()
188 t->tm_mon >= MONSPERYEAR) ? in _fmt()
189 "?" : Locale->month[t->tm_mon], in _fmt()
194 pt = _add((t->tm_mon < 0 || in _fmt()
195 t->tm_mon >= MONSPERYEAR) ? in _fmt()
196 "?" : Locale->mon[t->tm_mon], in _fmt()
295 pt = _conv(t->tm_mon + 1, "%02d", pt, ptlim); in _fmt()
440 t->tm_mon == TM_JANUARY) || in _fmt()
442 t->tm_mon == TM_DECEMBER)) in _fmt()
Dasctime.c91 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r()
93 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
/third_party/glib/glib/
Dgtimer.c339 if (tm->tm_mon < 0 || tm->tm_mon > 11) in mktime_utc()
344 retval += days_before[tm->tm_mon] + tm->tm_mday - 1; in mktime_utc()
346 if (tm->tm_year % 4 == 0 && tm->tm_mon < 2) in mktime_utc()
441 tm.tm_mon = mon - 1; in g_time_val_from_iso8601()
630 tm->tm_mon + 1, in g_time_val_to_iso8601()
644 tm->tm_mon + 1, in g_time_val_to_iso8601()
/third_party/skia/third_party/externals/icu/source/tools/tzcode/
Dasctime.c93 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r()
95 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
/third_party/flutter/skia/third_party/externals/icu/source/tools/tzcode/
Dasctime.c93 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r()
95 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
/third_party/icu/icu4c/source/tools/tzcode/
Dasctime.c93 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r()
95 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/
D1-1.c61 if ((tm_ptr->tm_mon >= 0) && (tm_ptr->tm_mon <= 11)) { in main()
62 printf("mon %02d\n", tm_ptr->tm_mon); in main()
/third_party/e2fsprogs/debugfs/
Dutil.c255 sscanf(arg, "%4d%2d%2d%2d%2d%2d", &ts.tm_year, &ts.tm_mon, in string_to_time()
258 ts.tm_mon -= 1; in string_to_time()
259 if (ts.tm_year < 0 || ts.tm_mon < 0 || ts.tm_mon > 11 || in string_to_time()
276 ts.tm_yday = (ts.tm_mon * 31) - in string_to_time()
277 ((ts.tm_mon - (ts.tm_mon > 7)) / 2) - in string_to_time()
278 2 * (ts.tm_mon > 1) + ts.tm_mday - 1; in string_to_time()
/third_party/openssl/crypto/asn1/
Da_time.c54 int m = tm->tm_mon; in determine_days()
161 tmp.tm_mon = n - 1; in asn1_time_to_tm()
165 if (tmp.tm_mon == 1) { in asn1_time_to_tm()
169 md = mdays[tmp.tm_mon]; in asn1_time_to_tm()
298 ts->tm_year + 1900, ts->tm_mon + 1, in asn1_time_from_tm()
303 ts->tm_year % 100, ts->tm_mon + 1, in asn1_time_from_tm()
502 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour, in ASN1_TIME_print()
507 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour, in ASN1_TIME_print()
/third_party/boost/libs/locale/src/util/
Dgregorian.cpp77 int month = t->tm_mon; in internal_timegm()
178 tm_updated_.tm_mon = value; in set_value()
345 return tm_.tm_mon; in get_value()
359 return days_in_month(tm_.tm_year + 1900,tm_.tm_mon + 1); in get_value()
518 … int end_of_month_days = days_in_month(tm_.tm_year + 1900,tm_.tm_mon + 1); in get_value()
542 if(tm_.tm_mon == 1 && !is_leap(tm_.tm_year + 1900)) { in get_value()
618 tm_updated_.tm_mon +=difference; in adjust_value()
719 + other->tm_.tm_mon - tm_.tm_mon; in difference()
/third_party/musl/porting/uniproton/kernel/src/time/
Dstrftime.c63 if (tm->tm_mon > 11U) goto string; in __strftime_fmt_1()
64 item = ABMON_1 + tm->tm_mon; in __strftime_fmt_1()
67 if (tm->tm_mon > 11U) goto string; in __strftime_fmt_1()
68 item = MON_1 + tm->tm_mon; in __strftime_fmt_1()
108 val = tm->tm_mon+1; in __strftime_fmt_1()
/third_party/musl/src/time/
Dstrftime.c63 if (tm->tm_mon > 11U) goto string; in __strftime_fmt_1()
64 item = ABMON_1 + tm->tm_mon; in __strftime_fmt_1()
67 if (tm->tm_mon > 11U) goto string; in __strftime_fmt_1()
68 item = MON_1 + tm->tm_mon; in __strftime_fmt_1()
108 val = tm->tm_mon+1; in __strftime_fmt_1()
/third_party/musl/porting/liteos_m/kernel/src/time/
Dstrftime.c63 if (tm->tm_mon > 11U) goto string; in __strftime_fmt_1()
64 item = ABMON_1 + tm->tm_mon; in __strftime_fmt_1()
67 if (tm->tm_mon > 11U) goto string; in __strftime_fmt_1()
68 item = MON_1 + tm->tm_mon; in __strftime_fmt_1()
108 val = tm->tm_mon+1; in __strftime_fmt_1()
/third_party/musl/porting/liteos_a/kernel/src/time/
Dstrftime.c63 if (tm->tm_mon > 11U) goto string; in __strftime_fmt_1()
64 item = ABMON_1 + tm->tm_mon; in __strftime_fmt_1()
67 if (tm->tm_mon > 11U) goto string; in __strftime_fmt_1()
68 item = MON_1 + tm->tm_mon; in __strftime_fmt_1()
108 val = tm->tm_mon+1; in __strftime_fmt_1()
/third_party/musl/porting/linux/user/src/time/
Dstrftime.c91 if (tm->tm_mon > 11U) { in __strftime_fmt_1()
94 item = ABMON_1 + tm->tm_mon; in __strftime_fmt_1()
97 if (tm->tm_mon > 11U) { in __strftime_fmt_1()
100 item = MON_1 + tm->tm_mon; in __strftime_fmt_1()
162 val = tm->tm_mon+1; in __strftime_fmt_1()
/third_party/musl/libc-test/src/functionalext/supplement/time/
Dclock_settime.c35 .tm_mon = 6, in clock_settime_0100()
58 .tm_mon = 6, in clock_settime64_0100()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/
D1-1.c43 time_ptr.tm_mon = MONTH; in main()
54 mon_name[time_ptr.tm_mon], in main()
/third_party/boost/boost/date_time/gregorian/
Dconversion.hpp49 datetm.tm_mon = ymd.month - 1; in to_tm()
62 static_cast<unsigned short>(datetm.tm_mon+1), in date_from_tm()
/third_party/boost/boost/date_time/
Ddate_clock_device.hpp40 static_cast<unsigned short>(curr->tm_mon + 1), in local_day_ymd()
49 static_cast<unsigned short>(curr->tm_mon + 1), in universal_day_ymd()

12345678910