Home
last modified time | relevance | path

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

1234567891011

/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/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/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/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/boost/libs/locale/src/util/
Dgregorian.cpp93 …std::time_t result = seconds_in_day * days_since_epoch + 3600 * t->tm_hour + 60 * t->tm_min + t->… in internal_timegm()
184 tm_updated_.tm_hour = value; in set_value()
187 tm_updated_.tm_hour = tm_updated_.tm_hour / 12 * 12 + value; in set_value()
190 tm_updated_.tm_hour = 12 * value + tm_updated_.tm_hour % 12; in set_value()
419 return tm_.tm_hour; in get_value()
433 return tm_.tm_hour % 12; in get_value()
447 return tm_.tm_hour >= 12 ? 1 : 0; in get_value()
628 tm_updated_.tm_hour += difference; in adjust_value()
631 tm_updated_.tm_hour += 12 * difference; in adjust_value()
/third_party/gettext/gettext-tools/src/
Dpo-time.c47 return 60l * (60l * (24l * days + (a->tm_hour - b->tm_hour)) in difftm()
72 local_time.tm_hour, in po_strftime()
/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/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/boost/boost/date_time/posix_time/
Dconversion.hpp44 timetm.tm_hour = static_cast<int>(td.hours()); in to_tm()
55 timetm.tm_hour = static_cast<int>(date_time::absolute_value(td.hours())); in to_tm()
66 return ptime(d, time_duration(timetm.tm_hour, timetm.tm_min, timetm.tm_sec)); in ptime_from_tm()
/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/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/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/openssl/test/
Dgmdifftest.c39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
/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/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()
/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/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()

1234567891011