Home
last modified time | relevance | path

Searched refs:tm_min (Results 1 – 25 of 174) sorted by relevance

1234567

/external/libchrome/base/third_party/nspr/
Dprtime.cc153 numSecs = copy.tm_yday * 86400 + copy.tm_hour * 3600 + copy.tm_min * 60 + in PR_ImplodeTime()
206 time->tm_min += time->tm_sec / 60; in ApplySecOffset()
210 time->tm_min--; in ApplySecOffset()
214 if (time->tm_min < 0 || time->tm_min >= 60) { in ApplySecOffset()
215 time->tm_hour += time->tm_min / 60; in ApplySecOffset()
216 time->tm_min %= 60; in ApplySecOffset()
217 if (time->tm_min < 0) { in ApplySecOffset()
218 time->tm_min += 60; in ApplySecOffset()
289 time->tm_min += time->tm_sec / 60; in PR_NormalizeTime()
293 time->tm_min--; in PR_NormalizeTime()
[all …]
/external/libcxx/test/std/localization/locale.categories/category.time/locale.time.get.byname/
Dget_one.pass.cpp56 assert(t.tm_min == 55); in main()
72 assert(t.tm_min == 55); in main()
84 assert(t.tm_min == 55); in main()
100 assert(t.tm_min == 55); in main()
119 assert(t.tm_min == 55); in main()
135 assert(t.tm_min == 55); in main()
148 assert(t.tm_min == 55); in main()
164 assert(t.tm_min == 55); in main()
Dget_one_wide.pass.cpp56 assert(t.tm_min == 55); in main()
72 assert(t.tm_min == 55); in main()
84 assert(t.tm_min == 55); in main()
100 assert(t.tm_min == 55); in main()
118 assert(t.tm_min == 55); in main()
135 assert(t.tm_min == 55); in main()
149 assert(t.tm_min == 55); in main()
166 assert(t.tm_min == 55); in main()
Dget_time.pass.cpp54 assert(t.tm_min == 14); in main()
66 assert(t.tm_min == 14); in main()
78 assert(t.tm_min == 14); in main()
90 assert(t.tm_min == 14); in main()
Dget_time_wide.pass.cpp54 assert(t.tm_min == 14); in main()
66 assert(t.tm_min == 14); in main()
78 assert(t.tm_min == 14); in main()
90 assert(t.tm_min == 14); in main()
/external/ltp/testcases/kernel/device-drivers/rtc/
Drtc01.c81 rtc_tm.tm_hour, rtc_tm.tm_min, rtc_tm.tm_sec); in read_alarm_test()
89 rtc_tm.tm_min++; in read_alarm_test()
92 if (rtc_tm.tm_min == 60) { in read_alarm_test()
93 rtc_tm.tm_min = 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/
Drtctest.c87 a->tm_min != b->tm_min || in compare_dates()
201 rtc_tm.tm_hour, rtc_tm.tm_min, rtc_tm.tm_sec); in main()
207 rtc_tm.tm_min++; in main()
209 if (rtc_tm.tm_min == 60) { in main()
210 rtc_tm.tm_min = 0; in main()
241 rtc_tm.tm_hour, rtc_tm.tm_min, rtc_tm.tm_sec); in main()
Drtctest_setdate.c59 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/
Drtctest.c132 rtc_tm.tm_hour, rtc_tm.tm_min, rtc_tm.tm_sec); in main()
138 rtc_tm.tm_min++; in main()
140 if (rtc_tm.tm_min == 60) { in main()
141 rtc_tm.tm_min = 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/
Dget_one.pass.cpp85 assert(t.tm_min == 49); in main()
152 assert(t.tm_min == 59); in main()
170 assert(t.tm_min == 49); in main()
181 assert(t.tm_min == 49); in main()
192 assert(t.tm_min == 49); in main()
203 assert(t.tm_min == 49); in main()
214 assert(t.tm_min == 49); in main()
225 assert(t.tm_min == 0); in main()
244 assert(t.tm_min == 49); in main()
275 assert(t.tm_min == 49); in main()
Dget_time.pass.cpp47 assert(t.tm_min == 0); in main()
58 assert(t.tm_min == 59); in main()
69 assert(t.tm_min == 0); in main()
102 assert(t.tm_min == 43); in main()
Dget_time_wide.pass.cpp47 assert(t.tm_min == 0); in main()
58 assert(t.tm_min == 59); in main()
69 assert(t.tm_min == 0); in main()
102 assert(t.tm_min == 43); in main()
Dget_many.pass.cpp51 assert(t.tm_min == 27); in main()
65 assert(t.tm_min == 27); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/gmtime/
D1-1.c37 if ((tm_ptr->tm_min >= 0) && (tm_ptr->tm_min <= 59)) { in main()
38 printf("min %02d\n", tm_ptr->tm_min); in main()
/external/tcpdump/
Dgmt2local.c53 (loc->tm_min - gmt->tm_min) * 60; in gmt2local()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/
D1-1.c46 time_ptr.tm_min = MINUTE; in main()
56 time_ptr.tm_min, time_ptr.tm_sec, 1900 + time_ptr.tm_year); in main()
/external/pdfium/core/fxcrt/
Dfx_system_unittest.cpp169 good_time.tm_min = 59; in TEST()
182 year_time.tm_min = 59; in TEST()
198 bad_time.tm_min = -1; in TEST()
209 feb_time.tm_min = 00; in TEST()
/external/libcxx/test/std/input.output/iostream.format/ext.manip/
Dget_time.pass.cpp50 assert(t.tm_min == 55); in main()
66 assert(t.tm_min == 55); in main()
Dput_time.pass.cpp61 t.tm_min = 55; in main()
77 t.tm_min = 55; in main()
/external/boringssl/src/crypto/asn1/
Da_utctm.c119 tm->tm_min = n; in asn1_utctime_to_tm()
230 ts->tm_mon + 1, ts->tm_mday, ts->tm_hour, ts->tm_min, in ASN1_UTCTIME_adj()
281 tm.tm_min = g2(s->data + 8);
Dtime_support.c114 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; in julian_adj()
168 tm->tm_min = (time_sec / 60) % 60; in OPENSSL_gmtime_adj()
/external/curl/lib/
Dparsedate.c275 int tm_min; member
315 + tm->tm_hour) * 60 + tm->tm_min) * 60 + tm->tm_sec; in my_timegm()
512 tm.tm_min = minnum; in parsedate()
/external/webrtc/webrtc/base/
Dtimeutils_unittest.cc201 tm.tm_min = rtc::CreateRandomId() % 60; in TestTmToSeconds()
230 tm.tm_min = -1; in TestTmToSeconds()
233 tm.tm_min = 60; in TestTmToSeconds()
/external/xmlrpcpp/src/
DXmlRpcValue.cpp144 return t1.tm_sec == t2.tm_sec && t1.tm_min == t2.tm_min && in tmEq()
408 …str(),"%4d%2d%2dT%2d:%2d:%2d",&t.tm_year,&t.tm_mon,&t.tm_mday,&t.tm_hour,&t.tm_min,&t.tm_sec) != 6) 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/
Ddate.c90 &tm->tm_min, &len);
204 check_range(tm.tm_min, 0, 59); in date_main()

1234567