Home
last modified time | relevance | path

Searched refs:tm_sec (Results 1 – 25 of 136) sorted by relevance

123456

/external/chromium_org/base/third_party/nspr/
Dprtime.cc120 st.wSecond = static_cast<WORD>(exploded->tm_sec); in PR_ImplodeTime()
148 gregorian_date.second = exploded->tm_sec; in PR_ImplodeTime()
164 exp_tm.tm_sec = exploded->tm_sec; in PR_ImplodeTime()
178 exploded->tm_min == 59 && exploded->tm_sec == 59)) { in PR_ImplodeTime()
268 time->tm_sec += secOffset; in ApplySecOffset()
271 if (time->tm_sec < 0 || time->tm_sec >= 60) { in ApplySecOffset()
272 time->tm_min += time->tm_sec / 60; in ApplySecOffset()
273 time->tm_sec %= 60; in ApplySecOffset()
274 if (time->tm_sec < 0) { in ApplySecOffset()
275 time->tm_sec += 60; in ApplySecOffset()
[all …]
/external/libcxx/test/localization/locale.categories/category.time/locale.time.get.byname/
Dget_one.pass.cpp47 assert(t.tm_sec == 59); in main()
63 assert(t.tm_sec == 59); in main()
75 assert(t.tm_sec == 59); in main()
91 assert(t.tm_sec == 59); in main()
110 assert(t.tm_sec == 59); in main()
126 assert(t.tm_sec == 59); in main()
139 assert(t.tm_sec == 59); in main()
155 assert(t.tm_sec == 59); in main()
Dget_one_wide.pass.cpp47 assert(t.tm_sec == 59); in main()
63 assert(t.tm_sec == 59); in main()
75 assert(t.tm_sec == 59); in main()
91 assert(t.tm_sec == 59); in main()
109 assert(t.tm_sec == 59); in main()
126 assert(t.tm_sec == 59); in main()
140 assert(t.tm_sec == 59); in main()
157 assert(t.tm_sec == 59); in main()
Dget_time.pass.cpp50 assert(t.tm_sec == 15); in main()
62 assert(t.tm_sec == 15); in main()
74 assert(t.tm_sec == 15); in main()
86 assert(t.tm_sec == 15); in main()
Dget_time_wide.pass.cpp50 assert(t.tm_sec == 15); in main()
62 assert(t.tm_sec == 15); in main()
74 assert(t.tm_sec == 15); in main()
86 assert(t.tm_sec == 15); in main()
/external/openssl/crypto/
Do_time.c202 result->tm_sec = time_values.second; in OPENSSL_gmtime()
249 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; in OPENSSL_gmtime_adj()
292 tm->tm_sec = offset_hms % 60; in OPENSSL_gmtime_adj()
360 (tm1.tm_sec == tm2.tm_sec)) in check_time()
365 tm2.tm_hour, tm2.tm_min, tm2.tm_sec); in check_time()
368 tm1.tm_hour, tm1.tm_min, tm1.tm_sec); in check_time()
/external/stlport/test/unit/
Dtime_facets_test.cpp88 CPPUNIT_ASSERT( yet_more.tm_sec != xmas.tm_sec ); in _time_put_get()
101 CPPUNIT_ASSERT( yet_more.tm_sec == xmas.tm_sec ); in _time_put_get()
171 CPPUNIT_ASSERT( yet_more.tm_sec != xmas.tm_sec ); in _time_put_get()
184 CPPUNIT_ASSERT( yet_more.tm_sec == xmas.tm_sec ); in _time_put_get()
/external/libcxx/test/localization/locale.categories/category.time/locale.time.get/locale.time.get.members/
Dget_time.pass.cpp48 assert(t.tm_sec == 0); in main()
59 assert(t.tm_sec == 60); in main()
70 assert(t.tm_sec == 0); in main()
103 assert(t.tm_sec == 22); in main()
Dget_time_wide.pass.cpp48 assert(t.tm_sec == 0); in main()
59 assert(t.tm_sec == 60); in main()
70 assert(t.tm_sec == 0); in main()
103 assert(t.tm_sec == 22); in main()
Dget_one.pass.cpp86 assert(t.tm_sec == 10); in main()
171 assert(t.tm_sec == 10); in main()
182 assert(t.tm_sec == 10); in main()
193 assert(t.tm_sec == 10); in main()
204 assert(t.tm_sec == 10); in main()
215 assert(t.tm_sec == 0); in main()
226 assert(t.tm_sec == 60); in main()
245 assert(t.tm_sec == 10); in main()
276 assert(t.tm_sec == 10); in main()
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
Da_utctm.c119 tm->tm_sec = 0; in asn1_utctime_to_tm()
151 tm->tm_sec = n; in asn1_utctime_to_tm()
266 ts->tm_mon+1,ts->tm_mday,ts->tm_hour,ts->tm_min,ts->tm_sec); in ASN1_UTCTIME_adj()
319 tm.tm_sec=g2(s->data+10);
Da_gentm.c87 tm->tm_sec = 0; in asn1_generalizedtime_to_tm()
122 tm->tm_sec = n; in asn1_generalizedtime_to_tm()
248 ts->tm_mon+1,ts->tm_mday,ts->tm_hour,ts->tm_min,ts->tm_sec); in ASN1_GENERALIZEDTIME_adj()
/external/libcxx/test/input.output/iostream.format/ext.manip/
Dget_time.pass.cpp47 assert(t.tm_sec == 59); in main()
63 assert(t.tm_sec == 59); in main()
Dput_time.pass.cpp58 t.tm_sec = 59; in main()
73 t.tm_sec = 59; in main()
/external/qemu/hw/timer/
Dmc146818rtc.c289 tm->tm_sec = rtc_from_bcd(s, s->cmos_data[RTC_SECONDS]); in rtc_set_time()
307 s->cmos_data[RTC_SECONDS] = rtc_to_bcd(s, tm->tm_sec); in rtc_copy_date()
349 tm->tm_sec++; in rtc_next_second()
350 if ((unsigned)tm->tm_sec >= 60) { in rtc_next_second()
351 tm->tm_sec = 0; in rtc_next_second()
418 s->cmos_data[RTC_SECONDS_ALARM] == s->current_tm.tm_sec) && in rtc_update_second2()
516 qemu_put_be32(f, s->current_tm.tm_sec); in rtc_save()
542 s->current_tm.tm_sec=qemu_get_be32(f); in rtc_load()
/external/chromium_org/third_party/boringssl/src/crypto/
Dtime_support.c111 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; in julian_adj()
163 tm->tm_sec = time_sec % 60; in OPENSSL_gmtime_adj()
/external/openssl/crypto/asn1/
Da_utctm.c238 ts->tm_mon+1,ts->tm_mday,ts->tm_hour,ts->tm_min,ts->tm_sec); in ASN1_UTCTIME_adj()
288 return_cmp(g2(s->data+10), tm->tm_sec); in ASN1_UTCTIME_cmp_time_t()
312 tm.tm_sec=g2(s->data+10);
/external/icu/icu4c/source/tools/tzcode/
Dlocaltime.c1552 tmp->tm_sec = (int) (rem % SECSPERMIN) + hit;
1670 result = atmp->tm_sec - btmp->tm_sec;
1697 if (normalize_overflow(&yourtm.tm_min, &yourtm.tm_sec,
1742 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN)
1753 if (increment_overflow(&yourtm.tm_sec, 1 - SECSPERMIN))
1755 saved_seconds = yourtm.tm_sec;
1756 yourtm.tm_sec = SECSPERMIN - 1;
1758 saved_seconds = yourtm.tm_sec;
1759 yourtm.tm_sec = 0;
1935 tmp->tm_sec += sp->ttis[otheri].tt_gmtoff -
[all …]
/external/chromium_org/third_party/icu/source/tools/tzcode/
Dlocaltime.c1552 tmp->tm_sec = (int) (rem % SECSPERMIN) + hit;
1670 result = atmp->tm_sec - btmp->tm_sec;
1697 if (normalize_overflow(&yourtm.tm_min, &yourtm.tm_sec,
1742 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN)
1753 if (increment_overflow(&yourtm.tm_sec, 1 - SECSPERMIN))
1755 saved_seconds = yourtm.tm_sec;
1756 yourtm.tm_sec = SECSPERMIN - 1;
1758 saved_seconds = yourtm.tm_sec;
1759 yourtm.tm_sec = 0;
1935 tmp->tm_sec += sp->ttis[otheri].tt_gmtoff -
[all …]
/external/compiler-rt/test/msan/
Dmktime.cc18 tm.tm_sec = 42; in main()
/external/chromium_org/third_party/zlib/contrib/minizip/
Dminizip.c117 tmzip->tm_sec = filedate->tm_sec;
393 zi.tmz_date.tm_sec = zi.tmz_date.tm_min = zi.tmz_date.tm_hour =
/external/wpa_supplicant_8/src/utils/
Dos_win32.c79 tm.tm_sec = sec; in os_mktime()
109 tm->sec = tm2->tm_sec; in os_gmtime()
/external/ipsec-tools/src/racoon/
Dbackupsa.c410 tm->tm_sec = str2num(p, len); in str2tmx()
411 if (tm->tm_sec == -1 || tm->tm_sec > 60) in str2tmx()
/external/zlib/src/contrib/minizip/
Dminizip.c130 tmzip->tm_sec = filedate->tm_sec;
406 zi.tmz_date.tm_sec = zi.tmz_date.tm_min = zi.tmz_date.tm_hour =
/external/skia/src/ports/
DSkTime_Unix.cpp30 dt->fSecond = SkToU8(tstruct->tm_sec); in GetDateTime()

123456