Home
last modified time | relevance | path

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

12345

/external/chromium/base/third_party/nspr/
Dprtime.cc111 st.wHour = exploded->tm_hour; in PR_ImplodeTime()
137 gregorian_date.hour = exploded->tm_hour; in PR_ImplodeTime()
157 exp_tm.tm_hour = exploded->tm_hour; in PR_ImplodeTime()
168 exploded->tm_mday == 31 && exploded->tm_hour == 23 && in PR_ImplodeTime()
272 time->tm_hour += time->tm_min / 60; in ApplySecOffset()
276 time->tm_hour--; in ApplySecOffset()
280 if (time->tm_hour < 0) { in ApplySecOffset()
282 time->tm_hour += 24; in ApplySecOffset()
300 } else if (time->tm_hour > 23) { in ApplySecOffset()
302 time->tm_hour -= 24; in ApplySecOffset()
[all …]
Dprtime.h128 PRInt32 tm_hour; /* hours past tm_day (0-23) */ member
/external/chromium_org/base/third_party/nspr/
Dprtime.cc116 st.wHour = exploded->tm_hour; in PR_ImplodeTime()
142 gregorian_date.hour = exploded->tm_hour; in PR_ImplodeTime()
162 exp_tm.tm_hour = exploded->tm_hour; in PR_ImplodeTime()
173 exploded->tm_mday == 31 && exploded->tm_hour == 23 && in PR_ImplodeTime()
277 time->tm_hour += time->tm_min / 60; in ApplySecOffset()
281 time->tm_hour--; in ApplySecOffset()
285 if (time->tm_hour < 0) { in ApplySecOffset()
287 time->tm_hour += 24; in ApplySecOffset()
305 } else if (time->tm_hour > 23) { in ApplySecOffset()
307 time->tm_hour -= 24; in ApplySecOffset()
[all …]
Dprtime.h128 PRInt32 tm_hour; /* hours past tm_day (0-23) */ member
/external/openssh/openbsd-compat/
Dstrptime.c238 if (!(_conv_num(&bp, &tm->tm_hour, 0, 23))) in _strptime()
247 if (!(_conv_num(&bp, &tm->tm_hour, 1, 12))) in _strptime()
277 if (tm->tm_hour > 12) /* i.e., 13:00 AM ?! */ in _strptime()
279 else if (tm->tm_hour == 12) in _strptime()
280 tm->tm_hour = 0; in _strptime()
288 if (tm->tm_hour > 12) /* i.e., 13:00 PM ?! */ in _strptime()
290 else if (tm->tm_hour < 12) in _strptime()
291 tm->tm_hour += 12; in _strptime()
/external/chromium_org/third_party/openssl/openssl/crypto/
Do_time.c204 result->tm_hour = time_values.hour; in OPENSSL_gmtime()
249 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; in OPENSSL_gmtime_adj()
290 tm->tm_hour = offset_hms / 3600; in OPENSSL_gmtime_adj()
358 (tm1.tm_hour == tm2.tm_hour) && 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/openssl/crypto/
Do_time.c204 result->tm_hour = time_values.hour; in OPENSSL_gmtime()
249 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; in OPENSSL_gmtime_adj()
290 tm->tm_hour = offset_hms / 3600; in OPENSSL_gmtime_adj()
358 (tm1.tm_hour == tm2.tm_hour) && 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.cpp90 CPPUNIT_ASSERT( yet_more.tm_hour != xmas.tm_hour ); in _time_put_get()
103 CPPUNIT_ASSERT( yet_more.tm_hour == xmas.tm_hour ); in _time_put_get()
173 CPPUNIT_ASSERT( yet_more.tm_hour != xmas.tm_hour ); in _time_put_get()
186 CPPUNIT_ASSERT( yet_more.tm_hour == xmas.tm_hour ); in _time_put_get()
/external/qemu/hw/
Dmc146818rtc.c291 tm->tm_hour = rtc_from_bcd(s, s->cmos_data[RTC_HOURS] & 0x7f); in rtc_set_time()
294 tm->tm_hour += 12; in rtc_set_time()
311 s->cmos_data[RTC_HOURS] = rtc_to_bcd(s, tm->tm_hour); in rtc_copy_date()
314 s->cmos_data[RTC_HOURS] = rtc_to_bcd(s, tm->tm_hour % 12); in rtc_copy_date()
315 if (tm->tm_hour >= 12) in rtc_copy_date()
355 tm->tm_hour++; in rtc_next_second()
356 if ((unsigned)tm->tm_hour >= 24) { in rtc_next_second()
357 tm->tm_hour = 0; in rtc_next_second()
422 s->cmos_data[RTC_HOURS_ALARM] == s->current_tm.tm_hour)) { in rtc_update_second2()
518 qemu_put_be32(f, s->current_tm.tm_hour); in rtc_save()
[all …]
/external/tcpdump/
Dgmt2local.c57 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 + in gmt2local()
/external/stlport/src/
Dtime_facets.cpp253 _STLP_SPRINTF(_buf, (modifier != '#') ? "%.2ld" : "%ld", (long)t->tm_hour); in __write_formatted_timeT()
254 __append(buf, _buf, ((long)t->tm_hour < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct); in __write_formatted_timeT()
258 _STLP_SPRINTF(_buf, (modifier != '#') ? "%.2ld" : "%ld", (long)__hour12(t->tm_hour)); in __write_formatted_timeT()
259 …__append(buf, _buf, ((long)__hour12(t->tm_hour) < 10L && modifier == '#') ? _buf + 1 : _buf + 2, c… in __write_formatted_timeT()
278 __append(buf, table._M_am_pm[t->tm_hour / 12]); in __write_formatted_timeT()
352 _STLP_SPRINTF(_buf, "%2ld", (long)t->tm_hour); in __write_formatted_timeT()
357 _STLP_SPRINTF(_buf, "%2ld", (long)t->tm_hour % 12); in __write_formatted_timeT()
/external/stlport/stlport/stl/
D_time_facets.c200 bool __pr = __get_decimal_integer(__first, __last, __t->tm_hour, __STATIC_CAST(_Ch*, 0)); in _STLP_WEAK()
236 if (__index == 1 && __t->tm_hour != 12 ) in _STLP_WEAK()
237 __t->tm_hour += 12; in _STLP_WEAK()
238 if (__index == 0 && __t->tm_hour == 12 ) in _STLP_WEAK()
239 __t->tm_hour = 0; in _STLP_WEAK()
/external/openssl/crypto/asn1/
Da_utctm.c233 ts->tm_mon+1,ts->tm_mday,ts->tm_hour,ts->tm_min,ts->tm_sec); in ASN1_UTCTIME_adj()
272 return_cmp(g2(s->data+6), tm->tm_hour); in ASN1_UTCTIME_cmp_time_t()
296 tm.tm_hour=g2(s->data+6);
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/
Da_utctm.c233 ts->tm_mon+1,ts->tm_mday,ts->tm_hour,ts->tm_min,ts->tm_sec); in ASN1_UTCTIME_adj()
272 return_cmp(g2(s->data+6), tm->tm_hour); in ASN1_UTCTIME_cmp_time_t()
296 tm.tm_hour=g2(s->data+6);
/external/chromium/base/
Dtime_posix.cc94 exploded->hour = timestruct.tm_hour; in Explode()
105 timestruct.tm_hour = exploded.hour; in FromExploded()
/external/wpa_supplicant_8/src/utils/
Dos_win32.c66 tm.tm_hour = hour; in os_mktime()
100 tm->hour = tm2->tm_hour; in os_gmtime()
/external/chromium_org/third_party/zlib/contrib/minizip/
Dminizip.c119 tmzip->tm_hour = filedate->tm_hour;
393 zi.tmz_date.tm_sec = zi.tmz_date.tm_min = zi.tmz_date.tm_hour =
/external/chromium_org/third_party/skia/src/ports/
DSkTime_Unix.cpp28 dt->fHour = SkToU8(tstruct->tm_hour); in GetDateTime()
/external/skia/src/ports/
DSkTime_Unix.cpp28 dt->fHour = SkToU8(tstruct->tm_hour); in GetDateTime()
/external/zlib/src/contrib/minizip/
Dminizip.c132 tmzip->tm_hour = filedate->tm_hour;
406 zi.tmz_date.tm_sec = zi.tmz_date.tm_min = zi.tmz_date.tm_hour =
/external/ipsec-tools/src/racoon/
Dbackupsa.c392 tm->tm_hour = str2num(p, len); in str2tmx()
393 if (tm->tm_hour == -1 || tm->tm_hour > 24) in str2tmx()
/external/chromium_org/crypto/
Dnss_util_unittest.cc27 prxtime.tm_hour = exploded.hour = 2; in TEST()
/external/iptables/extensions/
Dlibxt_time.c140 tm.tm_hour = hour; in time_parse_date()
314 t->tm_mday, t->tm_hour, t->tm_min, t->tm_sec); in time_print_date()
318 t->tm_hour, t->tm_min, t->tm_sec); in time_print_date()
/external/e2fsprogs/debugfs/
Dutil.c226 &ts.tm_mday, &ts.tm_hour, &ts.tm_min, &ts.tm_sec); in string_to_time()
230 ts.tm_mday < 0 || ts.tm_mday > 31 || ts.tm_hour > 23 || in string_to_time()
/external/chromium_org/third_party/icu/source/tools/tzcode/
Dasctime.c113 timeptr->tm_mday, timeptr->tm_hour,

12345