Home
last modified time | relevance | path

Searched refs:tm_hour (Results 1 – 25 of 242) sorted by relevance

12345678910

/third_party/musl/libc-test/src/functional/
Dstrptime.c26 tm.tm_hour != expected->tm_hour || in checkStrptime()
56 .tm_hour = 20,
65 .tm_hour = 0,
74 .tm_hour = 0,
83 .tm_hour = 0,
Dstrftime.c23 .tm_hour = 13,
35 .tm_hour = 5,
47 .tm_hour = 12,
59 .tm_hour = 0,
71 .tm_hour = 0,
Dtime.c17 tm1.tm_hour != tm2.tm_hour || in tm_cmp()
33 tm.tm_sec, tm.tm_min, tm.tm_hour, in tm_str()
40 .tm_sec = ss, .tm_min = mm, .tm_hour = hh, \
/third_party/ltp/testcases/kernel/device-drivers/rtc/
Drtc02.c35 tm->tm_hour, in rtctime_to_str()
45 && (set_tm->tm_hour == read_tm->tm_hour) in rtc_tm_cmp()
59 .tm_hour = 13, in set_rtc_test()
Drtc01.c81 rtc_tm.tm_hour, rtc_tm.tm_min, rtc_tm.tm_sec); in read_alarm_test()
94 rtc_tm.tm_hour++; in read_alarm_test()
97 if (rtc_tm.tm_hour == 24) in read_alarm_test()
98 rtc_tm.tm_hour = 0; in read_alarm_test()
120 rtc_tm.tm_hour, rtc_tm.tm_min, rtc_tm.tm_sec); in read_alarm_test()
/third_party/tzdata/
Dstrftime.c246 pt = _conv(t->tm_hour, "%02d", pt, ptlim); in _fmt()
249 pt = _conv((t->tm_hour % 12) ? in _fmt()
250 (t->tm_hour % 12) : 12, in _fmt()
267 pt = _conv(t->tm_hour, "%2d", pt, ptlim); in _fmt()
287 pt = _conv((t->tm_hour % 12) ? in _fmt()
288 (t->tm_hour % 12) : 12, in _fmt()
301 pt = _add((t->tm_hour >= (HOURSPERDAY / 2)) ? in _fmt()
333 && tm.tm_hour == tm_1.tm_hour in _fmt()
/third_party/musl/src/time/
Dstrptime.c63 dest = &tm->tm_hour; in strptime()
68 dest = &tm->tm_hour; in strptime()
96 tm->tm_hour %= 12; in strptime()
103 tm->tm_hour %= 12; in strptime()
104 tm->tm_hour += 12; in strptime()
/third_party/musl/porting/uniproton/kernel/src/time/
Dstrptime.c63 dest = &tm->tm_hour; in strptime()
68 dest = &tm->tm_hour; in strptime()
96 tm->tm_hour %= 12; in strptime()
103 tm->tm_hour %= 12; in strptime()
104 tm->tm_hour += 12; in strptime()
/third_party/musl/porting/liteos_a/kernel/src/time/
Dstrptime.c63 dest = &tm->tm_hour; in strptime()
68 dest = &tm->tm_hour; in strptime()
96 tm->tm_hour %= 12; in strptime()
103 tm->tm_hour %= 12; in strptime()
104 tm->tm_hour += 12; in strptime()
/third_party/musl/porting/liteos_m/kernel/src/time/
Dstrptime.c63 dest = &tm->tm_hour; in strptime()
68 dest = &tm->tm_hour; in strptime()
96 tm->tm_hour %= 12; in strptime()
103 tm->tm_hour %= 12; in strptime()
104 tm->tm_hour += 12; in strptime()
/third_party/musl/porting/linux/user/src/time/
Dstrftime.c134 val = tm->tm_hour; in __strftime_fmt_1()
137 val = tm->tm_hour; in __strftime_fmt_1()
150 val = tm->tm_hour; in __strftime_fmt_1()
154 val = tm->tm_hour; in __strftime_fmt_1()
171 item = tm->tm_hour >= __HALF_HOUR__ ? PM_STR : AM_STR; in __strftime_fmt_1()
174 item = tm->tm_hour >= __HALF_HOUR__ ? PM_STR_LOWER : AM_STR_LOWER; in __strftime_fmt_1()
Dstrptime.c216 dest = &tm->tm_hour; in strptime()
222 dest = &tm->tm_hour; in strptime()
251 tm->tm_hour %= __STRPTIME_HOUR_CLOCK_12; in strptime()
258 tm->tm_hour %= __STRPTIME_HOUR_CLOCK_12; in strptime()
259 tm->tm_hour += __STRPTIME_HOUR_CLOCK_12; in strptime()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/
D1-1.c45 if ((tm_ptr->tm_hour >= 0) && (tm_ptr->tm_hour <= 23)) { in main()
46 printf("hour %02d\n", tm_ptr->tm_hour); in main()
/third_party/ffmpeg/libavutil/
Dparseutils.c511 dt->tm_hour = val; in av_small_strptime()
582 t += 3600 * tm->tm_hour + 60 * tm->tm_min + tm->tm_sec; in av_timegm()
659 dt.tm_hour = 0; in av_parse_time()
672 t = dt.tm_hour * 3600 + dt.tm_min * 60 + dt.tm_sec; in av_parse_time()
720 tzoffset = sign * (tz.tm_hour * 60 + tz.tm_min) * 60; in av_parse_time()
725 dt2.tm_hour = dt.tm_hour; in av_parse_time()
/third_party/ltp/lib/
Dtst_rtctime.c92 tm->tm_hour = secs / 3600; in tst_rtc_time_to_tm()
93 secs -= tm->tm_hour * 3600; in tst_rtc_time_to_tm()
107 tm->tm_mday, tm->tm_hour, tm->tm_min, tm->tm_sec); in tst_rtc_tm_to_time()
/third_party/musl/libc-test/src/functionalext/time/
Dstrptime_ext.c94 (tmTime.tm_year+gYearBase), tmTime.tm_mon, tmTime.tm_mday, tmTime.tm_hour, in strptime_0200()
149 int cnt = sprintf(buffResult, "%d", tmTime.tm_hour); in strptime_0500()
166 int cnt = sprintf(buffResult, "%d", tmTime.tm_hour); in strptime_0600()
290 int cnt = sprintf(buffResult, "%d", timeptr->tm_hour); in strptime_1200()
319 int cnt = sprintf(buffResult, "%d", timeptr->tm_hour); in strptime_1300()
546 int cnt = sprintf(buffResult, "%d:%d:%d", tmTime.tm_hour, tmTime.tm_min, tmTime.tm_sec); in strptime_2700()
678 int cnt = sprintf(buffResult, "%d:%d:%d", tmTime.tm_hour, tmTime.tm_min, tmTime.tm_sec); in strptime_3600()
Dtime_ext.c69 EXPECT_EQ("time_0100", __TEST_DATA_HOUR__, localtm->tm_hour); in time_0100()
102 EXPECT_EQ("time64_0100", __TEST_DATA_HOUR__, localtm->tm_hour); in time64_0100()
Dlocaltime.c48 (localtm->tm_year+gYearBase), localtm->tm_mon, localtm->tm_mday, localtm->tm_hour, in localtime_0100()
77 (localtm->tm_year+gYearBase), localtm->tm_mon, localtm->tm_mday, localtm->tm_hour, in localtime64_0100()
Dlocaltime_r.c49 (localtm->tm_year+gYearBase), localtm->tm_mon, localtm->tm_mday, localtm->tm_hour, in localtime_r_0100()
79 (localtm->tm_year+gYearBase), localtm->tm_mon, localtm->tm_mday, localtm->tm_hour, in localtime64_r_0100()
/third_party/openssl/crypto/asn1/
Da_time.c179 tmp.tm_hour = n; in ossl_asn1_time_to_tm()
301 ts->tm_mday, ts->tm_hour, ts->tm_min, in ossl_asn1_time_from_tm()
306 ts->tm_mday, ts->tm_hour, ts->tm_min, in ossl_asn1_time_from_tm()
522 stm.tm_mday, stm.tm_hour, in ossl_asn1_time_print_ex()
528 _asn1_mon[stm.tm_mon], stm.tm_mday, stm.tm_hour, in ossl_asn1_time_print_ex()
536 stm.tm_mday, stm.tm_hour, 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/musl/libc-test/src/functionalext/supplement/time/
Dclock_settime.c34 .tm_hour = 18, in clock_settime_0100()
57 .tm_hour = 18, in clock_settime64_0100()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/
D1-1.c45 time_ptr.tm_hour = HOUR; in main()
55 time_ptr.tm_mday, time_ptr.tm_hour, in main()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/
Dtime_benchmark.cc206 tm.tm_hour = 20; in BM_Time_FromCivil_Libc()
213 tm.tm_hour = 18; in BM_Time_FromCivil_Libc()
256 tm.tm_hour = 20; in BM_Time_FromCivilDay0_Libc()
263 tm.tm_hour = 18; in BM_Time_FromCivilDay0_Libc()
/third_party/nghttp2/src/
Dtimegm.c46 t = ((int64_t)days * 24 + tm->tm_hour) * 3600 + tm->tm_min * 60 + tm->tm_sec; in nghttp2_timegm()
79 t = ((int64_t)days * 24 + tm->tm_hour) * 3600 + tm->tm_min * 60 + tm->tm_sec; in nghttp2_timegm_without_yday()
/third_party/openssl/test/
Dgmdifftest.c39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()

12345678910