/external/libchrome/base/third_party/nspr/ |
D | prtime.cc | 153 numSecs = copy.tm_yday * 86400 + copy.tm_hour * 3600 + copy.tm_min * 60 + in PR_ImplodeTime() 215 time->tm_hour += time->tm_min / 60; in ApplySecOffset() 219 time->tm_hour--; in ApplySecOffset() 223 if (time->tm_hour < 0) { in ApplySecOffset() 225 time->tm_hour += 24; in ApplySecOffset() 243 } else if (time->tm_hour > 23) { in ApplySecOffset() 245 time->tm_hour -= 24; in ApplySecOffset() 298 time->tm_hour += time->tm_min / 60; in PR_NormalizeTime() 302 time->tm_hour--; in PR_NormalizeTime() 306 if (time->tm_hour < 0 || time->tm_hour >= 24) { in PR_NormalizeTime() [all …]
|
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/ |
D | get_one.pass.cpp | 57 assert(t.tm_hour == 23); in main() 73 assert(t.tm_hour == 23); in main() 85 assert(t.tm_hour == 23); in main() 101 assert(t.tm_hour == 23); in main() 120 assert(t.tm_hour == 23); in main() 136 assert(t.tm_hour == 23); in main() 149 assert(t.tm_hour == 23); in main() 165 assert(t.tm_hour == 23); in main()
|
D | get_one_wide.pass.cpp | 57 assert(t.tm_hour == 23); in main() 73 assert(t.tm_hour == 23); in main() 85 assert(t.tm_hour == 23); in main() 101 assert(t.tm_hour == 23); in main() 119 assert(t.tm_hour == 23); in main() 136 assert(t.tm_hour == 23); in main() 150 assert(t.tm_hour == 23); in main() 167 assert(t.tm_hour == 23); in main()
|
D | get_time.pass.cpp | 53 assert(t.tm_hour == 13); in main() 65 assert(t.tm_hour == 13); in main() 77 assert(t.tm_hour == 13); in main() 89 assert(t.tm_hour == 13); in main()
|
D | get_time_wide.pass.cpp | 53 assert(t.tm_hour == 13); in main() 65 assert(t.tm_hour == 13); in main() 77 assert(t.tm_hour == 13); in main() 89 assert(t.tm_hour == 13); in main()
|
/external/ltp/testcases/kernel/device-drivers/rtc/ |
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()
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
D | rtctest.c | 86 a->tm_hour != b->tm_hour || in compare_dates() 201 rtc_tm.tm_hour, rtc_tm.tm_min, rtc_tm.tm_sec); in main() 211 rtc_tm.tm_hour++; in main() 213 if (rtc_tm.tm_hour == 24) in main() 214 rtc_tm.tm_hour = 0; in main() 241 rtc_tm.tm_hour, rtc_tm.tm_min, rtc_tm.tm_sec); in main()
|
D | rtctest_setdate.c | 59 sscanf(time, "%d:%d:%d", &new.tm_hour, &new.tm_min, &new.tm_sec); in main() 63 new.tm_hour, new.tm_min, new.tm_sec); in main() 82 current.tm_hour, current.tm_min, current.tm_sec); in main()
|
/external/autotest/client/tests/rtc/src/ |
D | rtctest.c | 132 rtc_tm.tm_hour, rtc_tm.tm_min, rtc_tm.tm_sec); in main() 142 rtc_tm.tm_hour++; in main() 144 if (rtc_tm.tm_hour == 24) in main() 145 rtc_tm.tm_hour = 0; in main() 166 rtc_tm.tm_hour, rtc_tm.tm_min, rtc_tm.tm_sec); in main()
|
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/ |
D | get_one.pass.cpp | 84 assert(t.tm_hour == 9); in main() 134 assert(t.tm_hour == 19); in main() 169 assert(t.tm_hour == 21); in main() 180 assert(t.tm_hour == 9); in main() 191 assert(t.tm_hour == 0); in main() 202 assert(t.tm_hour == 12); in main() 213 assert(t.tm_hour == 9); in main() 224 assert(t.tm_hour == 0); in main() 243 assert(t.tm_hour == 21); in main() 274 assert(t.tm_hour == 21); in main()
|
D | get_time.pass.cpp | 46 assert(t.tm_hour == 0); in main() 57 assert(t.tm_hour == 23); in main() 68 assert(t.tm_hour == 0); in main() 101 assert(t.tm_hour == 2); in main()
|
D | get_time_wide.pass.cpp | 46 assert(t.tm_hour == 0); in main() 57 assert(t.tm_hour == 23); in main() 68 assert(t.tm_hour == 0); in main() 101 assert(t.tm_hour == 2); in main()
|
D | get_many.pass.cpp | 50 assert(t.tm_hour == 22); in main() 64 assert(t.tm_hour == 22); in main()
|
/external/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()
|
/external/tcpdump/ |
D | gmt2local.c | 52 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 + in gmt2local()
|
/external/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()
|
/external/pdfium/core/fxcrt/ |
D | fx_system_unittest.cpp | 168 good_time.tm_hour = 11; in TEST() 181 year_time.tm_hour = 11; in TEST() 197 bad_time.tm_hour = -1; in TEST() 208 feb_time.tm_hour = 12; in TEST()
|
/external/libcxx/test/std/input.output/iostream.format/ext.manip/ |
D | get_time.pass.cpp | 51 assert(t.tm_hour == 23); in main() 67 assert(t.tm_hour == 23); in main()
|
D | put_time.pass.cpp | 62 t.tm_hour = 23; in main() 78 t.tm_hour = 23; in main()
|
/external/boringssl/src/crypto/asn1/ |
D | a_utctm.c | 116 tm->tm_hour = n; in asn1_utctime_to_tm() 230 ts->tm_mon + 1, ts->tm_mday, ts->tm_hour, ts->tm_min, in ASN1_UTCTIME_adj() 280 tm.tm_hour = g2(s->data + 6);
|
D | time_support.c | 114 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; in julian_adj() 167 tm->tm_hour = time_sec / 3600; in OPENSSL_gmtime_adj()
|
/external/curl/lib/ |
D | parsedate.c | 276 int tm_hour; member 315 + tm->tm_hour) * 60 + tm->tm_min) * 60 + tm->tm_sec; in my_timegm() 513 tm.tm_hour = hournum; in parsedate()
|
/external/webrtc/webrtc/base/ |
D | timeutils_unittest.cc | 200 tm.tm_hour = rtc::CreateRandomId() % 24; in TestTmToSeconds() 224 tm.tm_hour = -1; in TestTmToSeconds() 227 tm.tm_hour = 24; in TestTmToSeconds()
|
/external/xmlrpcpp/src/ |
D | XmlRpcValue.cpp | 145 t1.tm_hour == t2.tm_hour && t1.tm_mday == t1.tm_mday && in tmEq() 408 …if (sscanf(stime.c_str(),"%4d%2d%2dT%2d:%2d:%2d",&t.tm_year,&t.tm_mon,&t.tm_mday,&t.tm_hour,&t.tm_… in timeFromXml() 423 t->tm_year,t->tm_mon,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec); in timeToXml() 575 t->tm_year,t->tm_mon,t->tm_mday,t->tm_hour,t->tm_min,t->tm_sec); in write()
|
/external/toybox/toys/posix/ |
D | date.c | 89 sscanf(str, "%2u%2u%2u%2u%n", &tm->tm_mon, &tm->tm_mday, &tm->tm_hour, 205 check_range(tm.tm_hour, 0, 23); in date_main()
|