Home
last modified time | relevance | path

Searched refs:tm_mon (Results 1 – 25 of 233) 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/musl/libc-test/src/functionalext/supplement/time/time_gtest/
Dtime_test.cpp70 time.tm_mon = 10;
79 time.tm_mon = 10;
99 time.tm_mon = 10;
131 time.tm_mon = 9;
175 const struct tm tim = { .tm_year = 2023 - 1900, .tm_mon = 9, .tm_mday = 16 };
195 EXPECT_EQ(9, tm.tm_mon);
217 EXPECT_EQ(4, time->tm_mon);
299 tp.tm_mon = 9;
328 EXPECT_EQ(4, time->tm_mon);
525 EXPECT_EQ(9, tim.tm_mon);
[all …]
/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/tzdata/
Dstrftime.c189 pt = _add((t->tm_mon < 0 || in _fmt()
190 t->tm_mon >= MONSPERYEAR) ? in _fmt()
191 "?" : Locale->month[t->tm_mon], in _fmt()
196 pt = _add((t->tm_mon < 0 || in _fmt()
197 t->tm_mon >= MONSPERYEAR) ? in _fmt()
198 "?" : Locale->mon[t->tm_mon], in _fmt()
297 pt = _conv(t->tm_mon + 1, "%02d", pt, ptlim); in _fmt()
328 tm.tm_mon = t->tm_mon; in _fmt()
443 t->tm_mon == TM_JANUARY) || in _fmt()
445 t->tm_mon == TM_DECEMBER)) in _fmt()
Dasctime.c85 if (timeptr->tm_mon < 0 || timeptr->tm_mon >= MONSPERYEAR) in asctime_r()
87 else mn = mon_name[timeptr->tm_mon]; in asctime_r()
/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/node/deps/openssl/openssl/crypto/asn1/
Da_time.c56 int m = tm->tm_mon; in determine_days()
163 tmp.tm_mon = n - 1; in ossl_asn1_time_to_tm()
167 if (tmp.tm_mon == 1) { in ossl_asn1_time_to_tm()
171 md = mdays[tmp.tm_mon]; in ossl_asn1_time_to_tm()
300 ts->tm_year + 1900, ts->tm_mon + 1, in ossl_asn1_time_from_tm()
305 ts->tm_year % 100, ts->tm_mon + 1, in ossl_asn1_time_from_tm()
521 stm.tm_year + 1900, stm.tm_mon + 1, in ossl_asn1_time_print_ex()
528 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour, in ossl_asn1_time_print_ex()
535 stm.tm_year + 1900, stm.tm_mon + 1, in ossl_asn1_time_print_ex()
542 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour, in ossl_asn1_time_print_ex()
/third_party/openssl/crypto/asn1/
Da_time.c56 int m = tm->tm_mon; in determine_days()
163 tmp.tm_mon = n - 1; in ossl_asn1_time_to_tm()
167 if (tmp.tm_mon == 1) { in ossl_asn1_time_to_tm()
171 md = mdays[tmp.tm_mon]; in ossl_asn1_time_to_tm()
300 ts->tm_year + 1900, ts->tm_mon + 1, in ossl_asn1_time_from_tm()
305 ts->tm_year % 100, ts->tm_mon + 1, in ossl_asn1_time_from_tm()
521 stm.tm_year + 1900, stm.tm_mon + 1, in ossl_asn1_time_print_ex()
528 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour, in ossl_asn1_time_print_ex()
535 stm.tm_year + 1900, stm.tm_mon + 1, in ossl_asn1_time_print_ex()
542 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour, in ossl_asn1_time_print_ex()
/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/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/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/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/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/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/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/musl/libc-test/src/functionalext/time/
Dstrftime_ext.c284 timeptr->tm_mon = 11; in strftime_1000()
330 timeptr->tm_mon = 12; in strftime_1200()
362 timeptr->tm_mon = 12; in strftime_1300()
394 timeptr->tm_mon = 12; in strftime_1400()
452 timeptr->tm_mon = 12; in strftime_1600()
/third_party/openssl/test/
Dgmdifftest.c37 || !TEST_int_eq(tm1.tm_mon, tm2.tm_mon) in check_time()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dtime_benchmark.cc204 tm.tm_mon = 12 - 1; in BM_Time_FromCivil_Libc()
211 tm.tm_mon = 11 - 1; in BM_Time_FromCivil_Libc()
254 tm.tm_mon = 12 - 1; in BM_Time_FromCivilDay0_Libc()
261 tm.tm_mon = 11 - 1; in BM_Time_FromCivilDay0_Libc()
/third_party/libsnd/programs/
Dsndfile-metadata-set.c132 …snprintf (date, sizeof (date), "%04d-%02d-%02d", timedata.tm_year + 1900, timedata.tm_mon + 1, tim… in main()
144 …{ snprintf (date, sizeof (date), "%04d-%02d-%02d", timedata.tm_year + 1900, timedata.tm_mon + 1, t… in main()
150 …{ snprintf (date, sizeof (date), "%04d-%02d-%02d", timedata.tm_year + 1900, timedata.tm_mon + 1, t… in main()

12345678910