/third_party/musl/libc-test/src/functional/ |
D | strptime.c | 26 tm.tm_hour != expected->tm_hour || in checkStrptime() 56 .tm_hour = 20, 65 .tm_hour = 0, 74 .tm_hour = 0, 83 .tm_hour = 0,
|
D | strftime.c | 23 .tm_hour = 13, 35 .tm_hour = 5, 47 .tm_hour = 12, 59 .tm_hour = 0, 71 .tm_hour = 0,
|
D | time.c | 17 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/ |
D | rtc02.c | 35 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()
|
D | rtc01.c | 81 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/ |
D | strftime.c | 246 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/ |
D | strptime.c | 63 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/ |
D | strptime.c | 63 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/ |
D | strptime.c | 63 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/ |
D | strptime.c | 63 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/ |
D | gregorian.cpp | 93 …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/ |
D | po-time.c | 47 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/ |
D | 1-1.c | 45 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/ |
D | strftime.c | 134 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()
|
D | strptime.c | 216 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/ |
D | conversion.hpp | 44 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/ |
D | tst_rtctime.c | 92 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/ |
D | parseutils.c | 511 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/ |
D | clock_settime.c | 34 .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/ |
D | 1-1.c | 45 time_ptr.tm_hour = HOUR; in main() 55 time_ptr.tm_mday, time_ptr.tm_hour, in main()
|
/third_party/openssl/test/ |
D | gmdifftest.c | 39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour) in check_time()
|
/third_party/nghttp2/src/ |
D | timegm.c | 46 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/ |
D | strptime_ext.c | 94 (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/ |
D | time_benchmark.cc | 206 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/ |
D | time_benchmark.cc | 206 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()
|