Searched refs:tm_hour (Results 1 - 14 of 14) sorted by relevance

/bionic/libc/tzcode/
H A Dstrptime.c275 if (!(_conv_num(&bp, &tm->tm_hour, 0, 23)))
284 if (!(_conv_num(&bp, &tm->tm_hour, 1, 12)))
313 if (tm->tm_hour > 12) /* i.e., 13:00 AM ?! */
315 else if (tm->tm_hour == 12)
316 tm->tm_hour = 0;
324 if (tm->tm_hour > 12) /* i.e., 13:00 PM ?! */
326 else if (tm->tm_hour < 12)
327 tm->tm_hour += 12;
H A Dasctime.c109 timeptr->tm_mday, timeptr->tm_hour,
H A Dstrftime.c283 pt = _conv(t->tm_hour, getformat(modifier, "%02d", "%2d", "%d", "%02d"), pt, ptlim);
286 pt = _conv((t->tm_hour % 12) ?
287 (t->tm_hour % 12) : 12,
296 ** _conv(t->tm_hour % 12 ?
297 ** t->tm_hour % 12 : 12, 2, ' ');
304 pt = _conv(t->tm_hour, getformat(modifier, "%2d", "%2d", "%d", "%02d"), pt, ptlim);
317 ** _conv(t->tm_hour, 2, ' ');
324 pt = _conv((t->tm_hour % 12) ?
325 (t->tm_hour % 12) : 12,
339 pt = _add((t->tm_hour >
[all...]
H A Dlocaltime.c1687 tmp->tm_hour = (int) (rem / SECSPERHOUR);
1826 (result = (atmp->tm_hour - btmp->tm_hour)) == 0 &&
1859 if (normalize_overflow(&yourtm.tm_hour, &yourtm.tm_min, MINSPERHOUR))
1861 if (normalize_overflow(&yourtm.tm_mday, &yourtm.tm_hour, HOURSPERDAY))
/bionic/libc/kernel/uapi/linux/
H A Drtc.h24 int tm_hour; member in struct:rtc_time
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Drtc.h24 int tm_hour; member in struct:rtc_time
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Drtc.h24 int tm_hour; member in struct:rtc_time
/bionic/libc/upstream-openbsd/lib/libc/time/
H A Dwcsftime.c225 pt = _conv(t->tm_hour, L"%02d", pt, ptlim);
228 pt = _conv((t->tm_hour % 12) ?
229 (t->tm_hour % 12) : 12,
238 ** _conv(t->tm_hour % 12 ?
239 ** t->tm_hour % 12 : 12, 2, ' ');
246 pt = _conv(t->tm_hour, L"%2d", pt, ptlim);
251 ** _conv(t->tm_hour, 2, ' ');
258 pt = _conv((t->tm_hour % 12) ?
259 (t->tm_hour % 12) : 12,
272 pt = _add((t->tm_hour >
[all...]
/bionic/libc/bionic/
H A Dtime64.c236 seconds += date->tm_hour * 60 * 60;
254 assert(tm->tm_hour >= 0);
255 assert(tm->tm_hour <= 23);
370 dest->tm_hour = src->tm_hour;
402 dest->tm_hour = src->tm_hour;
633 p->tm_hour = v_tm_hour;
771 date->tm_mday, date->tm_hour,
/bionic/tests/
H A Dtime_test.cpp65 ASSERT_EQ(0, broken_down->tm_hour);
78 ASSERT_EQ(0, broken_down->tm_hour);
785 EXPECT_EQ(15, tm.tm_hour);
790 EXPECT_EQ(23, tm.tm_hour);
795 EXPECT_EQ(13, tm.tm_hour);
800 EXPECT_EQ(12, tm.tm_hour);
805 EXPECT_EQ(12, tm.tm_hour);
810 EXPECT_EQ(9, tm.tm_hour);
832 EXPECT_EQ(15, tm_p->tm_hour);
843 EXPECT_EQ(15, tm.tm_hour);
[all...]
/bionic/libc/include/
H A Dtime.h49 int tm_hour; member in struct:tm
/bionic/tests/headers/posix/
H A Dtime_h.c50 STRUCT_MEMBER(struct tm, int, tm_hour);
/bionic/tools/versioner/current/
H A Dtime.h49 int tm_hour; member in struct:tm
/bionic/libc/dns/resolv/
H A Dres_debug.c1177 mytime->tm_hour, mytime->tm_min, mytime->tm_sec);

Completed in 279 milliseconds