/external/u-boot/drivers/rtc/ |
ds1337.c | 105 tmp->tm_hour = bcd2bin (hour & 0x3F); 115 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 130 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 139 rtc_write (RTC_HR_REG_ADDR, bin2bcd (tmp->tm_hour));
|
ds1556.c | 85 tmp->tm_hour = bcd2bin( hour & 0x3F ); 99 tmp->tm_hour, tmp->tm_min, tmp->tm_sec ); 110 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 120 rtc_write( RTC_HOURS, bin2bcd( tmp->tm_hour ));
|
ds164x.c | 84 tmp->tm_hour = bcd2bin( hour & 0x3F ); 97 tmp->tm_hour, tmp->tm_min, tmp->tm_sec ); 110 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 120 rtc_write( RTC_HOURS, bin2bcd( tmp->tm_hour ));
|
ds174x.c | 82 tmp->tm_hour = bcd2bin( hour & 0x3F ); 96 tmp->tm_hour, tmp->tm_min, tmp->tm_sec ); 107 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 117 rtc_write( RTC_HOURS, bin2bcd( tmp->tm_hour ));
|
ds3231.c | 91 tmp->tm_hour = bcd2bin (hour & 0x3F); 101 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 116 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 125 rtc_write (RTC_HR_REG_ADDR, bin2bcd (tmp->tm_hour));
|
isl1208.c | 81 tmp->tm_hour = bcd2bin(buf[RTC_HR_REG_ADDR] & 0x3F); 91 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 106 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 126 buf[RTC_HR_REG_ADDR] = bin2bcd(tmp->tm_hour) | 0x80; /* 24h clock */
|
m41t11.c | 87 tmp->tm_hour = bcd2bin (data[RTC_HOUR_ADDR] & 0x3F); 116 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 127 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 131 data[RTC_HOUR_ADDR] = bin2bcd(tmp->tm_hour) & 0x3F;/*handle cent stuff later*/
|
m48t35ax.c | 56 tmp->tm_hour = bcd2bin (hour & 0x3F); 66 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 78 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 92 rtc_write (0x03, bin2bcd(tmp->tm_hour));
|
mk48t59.c | 109 tmp->tm_hour = bcd2bin (hour & 0x3F); 123 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 136 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 148 rtc_write (RTC_HOURS, bin2bcd(tmp->tm_hour));
|
pcf8563.c | 55 tmp->tm_hour = bcd2bin (hour & 0x3F); 65 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 76 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 85 rtc_write (0x04, bin2bcd(tmp->tm_hour));
|
s3c24x0_rtc.c | 89 tmp->tm_hour = bcd2bin(hour & 0x3F); 103 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 117 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 123 hour = bin2bcd(tmp->tm_hour);
|
x1205.c | 103 tm->tm_hour = bcd2bin(buf[CCR_HOUR] & 0x3F); /* hr is 0-23 */ 113 tm->tm_sec, tm->tm_min, tm->tm_hour, 126 tm->tm_hour, tm->tm_min, tm->tm_sec); 132 buf[CCR_HOUR] = bin2bcd(tm->tm_hour) | X1205_HR_MIL;
|
date.c | 77 tm->tm_hour = hms / 3600; 138 hours = days * 24 + tm->tm_hour;
|
ds1307.c | 128 tmp->tm_hour = bcd2bin (hour & 0x3F); 138 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 151 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 165 rtc_write (RTC_HR_REG_ADDR, bin2bcd (tmp->tm_hour)); 220 tm->tm_hour, tm->tm_min, tm->tm_sec); 229 buf[RTC_HR_REG_ADDR] = bin2bcd(tm->tm_hour); 286 tm->tm_hour = bcd2bin(buf[RTC_HR_REG_ADDR] & 0x3F); 298 tm->tm_hour, tm->tm_min, tm->tm_sec);
|
s35392a.c | 145 if ((tm->tm_hour < 0) || (tm->tm_hour > 23)) 215 tm->tm_hour = bcd2bin(date[S35390A_BYTE_HOURS] & ~S35390A_FLAG_24H); 223 tm->tm_hour, tm->tm_min, tm->tm_sec); 237 tm->tm_hour, tm->tm_min, tm->tm_sec); 258 date[S35390A_BYTE_HOURS] = bin2bcd(tm->tm_hour);
|
ds1302.c | 274 tmp->tm_hour=10*bbclk.hr10+bbclk.hr; 285 tmp->tm_hour, tmp->tm_min, tmp->tm_sec ); 299 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); 311 bbclk.hr10=tmp->tm_hour/10; 312 bbclk.hr=tmp->tm_hour%10;
|
m41t94.c | 53 buf[M41T94_REG_HOURS] = bin2bcd(tm->tm_hour); 105 tm->tm_hour = bcd2bin(hour & 0x3f);
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
TimeEfi.c | 37 BT->tm_hour = ET->Hour;
76 ET->Hour = (UINT8)BT->tm_hour;
|
strptime.c | 216 bp = conv_num(bp, &tm->tm_hour, 0, 23);
224 bp = conv_num(bp, &tm->tm_hour, 1, 12);
225 if (tm->tm_hour == 12)
226 tm->tm_hour = 0;
251 if (tm->tm_hour > 11)
253 tm->tm_hour += i * 12;
|
strftime.c | 217 pt = _conv(t->tm_hour, "%02d", pt, ptlim);
220 pt = _conv((t->tm_hour % 12) ?
221 (t->tm_hour % 12) : 12,
230 ** _conv(t->tm_hour % 12 ?
231 ** t->tm_hour % 12 : 12, 2, ' ');
238 pt = _conv(t->tm_hour, "%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 >= (HOURSPERDAY / 2)) ? [all...] |
/external/libcxx/test/std/input.output/iostream.format/ext.manip/ |
get_time.pass.cpp | 52 assert(t.tm_hour == 23); 68 assert(t.tm_hour == 23);
|
put_time.pass.cpp | 63 t.tm_hour = 23; 79 t.tm_hour = 23;
|
/bionic/tests/ |
time_test.cpp | 65 ASSERT_EQ(0, broken_down->tm_hour); 78 ASSERT_EQ(0, broken_down->tm_hour); 314 struct tm tm = {.tm_hour = 12}; 316 EXPECT_EQ(0, tm.tm_hour); 318 tm = {.tm_hour = 12}; 320 EXPECT_EQ(0, tm.tm_hour); 322 tm = {.tm_hour = 12}; 324 EXPECT_EQ(0, tm.tm_hour); 326 tm = {.tm_hour = 12}; 328 EXPECT_EQ(0, tm.tm_hour); [all...] |
/external/libchrome/base/third_party/nspr/ |
prtime.cc | 153 numSecs = copy.tm_yday * 86400 + copy.tm_hour * 3600 + copy.tm_min * 60 + 215 time->tm_hour += time->tm_min / 60; 219 time->tm_hour--; 223 if (time->tm_hour < 0) { 225 time->tm_hour += 24; 243 } else if (time->tm_hour > 23) { 245 time->tm_hour -= 24; 298 time->tm_hour += time->tm_min / 60; 302 time->tm_hour--; 306 if (time->tm_hour < 0 || time->tm_hour >= 24) [all...] |
/external/boringssl/src/crypto/asn1/ |
time_support.c | 114 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec; 167 tm->tm_hour = time_sec / 3600;
|