| /src/external/bsd/ntp/dist/tests/libntp/ |
| clocktime.c | 60 const int yday=175, hour=12, minute=50, second=0, tzoff=0; local 65 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, 86 const int yday=175, hour=12, minute=0, second=0, tzoff=0; local 91 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, 110 const int yday=175, hour=4, minute=0, second=0, tzoff=8; local 115 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, 131 const int yday=2, hour=11, minute=0, second=0, tzoff=0; local 136 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp, 152 const int yday=365, hour=23, minute=0, second=0, tzoff=0; local 157 TEST_ASSERT_TRUE(clocktime(yday, hour, minute, second, tzoff, timestamp 173 const int yday=1, hour=1, minute=0, second=0, tzoff=0; local 190 const int yday=100, hour=12, minute=0, second=0, tzoff=0; local 222 int hour; local [all...] |
| caljulian.c | 31 cal.hour, cal.minute, cal.second); 42 && expected.hour == actual.hour
|
| /src/sys/arch/mvme68k/stand/sboot/ |
| clock.c | 105 int sec, min, hour, day, mon, year; local 110 hour = cl->cl_hour; 115 return chiptotime(sec, min, hour, day, mon, year);
|
| /src/sys/arch/mvme68k/stand/libsa/ |
| chiptotime.c | 21 chiptotime(int sec, int min, int hour, int day, int mon, int year) 27 hour = bcdtobin(hour); 44 return days * SECS_PER_DAY + hour * SECS_PER_HOUR
|
| clock.c | 24 chiptotime(int sec, int min, int hour, int day, int mon, int year) 30 hour = bcdtobin(hour); 47 return days * SECS_PER_DAY + hour * SECS_PER_HOUR
|
| /src/sys/arch/mvmeppc/stand/libsa/ |
| clock.c | 27 chiptotime(int sec, int min, int hour, int day, int mon, int year) 33 hour = bcdtobin(hour); 50 return days * SECS_PER_DAY + hour * SECS_PER_HOUR
|
| /src/sys/arch/x68k/stand/libsa/ |
| clock.c | 48 int sec, min, hour, day, mon, year; local 58 hour = ((val & 0x00ff0000) >> 16); 65 if (hour > 23 || min > 59 || sec > 59) 76 return (days * SECS_PER_DAY) + (hour * SECS_PER_HOUR)
|
| /src/external/bsd/less/dist/ |
| mkhelp.pl | 10 my ($sec,$min,$hour,$mday,$mon,$year) = gmtime(); 12 $hour, $min, $year+1900, $mon+1, $mday;
|
| /src/external/bsd/ntp/dist/libntp/ |
| caltontp.c | 53 || (jt->hour > 24) 71 ntpcal_etime_to_seconds(jt->hour, jt->minute,
|
| /src/sys/arch/mac68k/mac68k/ |
| pram.c | 64 long year, month, day, hour, minute, seconds, i, dayperyear; local 69 hour = 0; 105 hour++; 119 monstr[month], day, year, hour, minute, seconds);
|
| /src/usr.bin/at/ |
| parsetime.c | 93 {"hour", HOURS, false}, /* hours ... */ 362 int hour, minute; local 366 hour = atoi(sc_token); 378 minute = hour % 100; 379 hour = hour / 100; 389 if (hour > 12) 393 if (hour != 12) /* 12:xx PM is 12:xx, not 24:xx */ 394 hour += 12; 396 if (hour == 12) /* 12:xx AM is 00:xx, not 12:xx * [all...] |
| /src/sys/arch/hp300/stand/common/ |
| clock.c | 103 int year, month, day, hour, min, sec; local 114 hour = mc_read(MC_HOUR); 150 hour = ((bbc_registers[5] & 0x03) * 10) + bbc_registers[4]; 161 year, month, day, hour, min, sec); 164 range_test(hour, 0, 23); 179 tmp = ((tmp * 24 + hour) * 60 + min) * 60 + sec;
|
| /src/lib/libc/time/ |
| asctime.c | 97 int year, mday, hour, min, sec; local 118 hour = timeptr->tm_hour; 141 wn, mn, mday, hour, min, sec, 145 wn, mn, mday, hour, min, sec,
|
| /src/sys/arch/playstation2/include/ |
| bootinfo.h | 49 u_int8_t hour; member in struct:bootinfo_rtc
|
| /src/external/bsd/ntp/dist/scripts/build/ |
| updateBEDate | 26 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = 39 printf { $OFILE } "%s-%s-%s %02d:%02d", $mday,$m_abbr[$mon],$year,$hour,$min;
|
| /src/external/bsd/ntp/dist/util/ |
| tg.c | 34 * year, hh the hour of day and mm the minute of hour. For instance, 151 {COEF, 1}, /* 20 1 hour units */ 156 {COEF, 1}, /* 25 10 hour tens */ 265 int minute, hour, day, year; local 314 &hour, &minute); 357 hour = tm->tm_hour; 378 year, day, hour, minute, second, tone); 380 year / 10, day, hour, minute, year % 10); 395 0, year, day, hour, minute, second) [all...] |
| /src/sys/dev/i2c/ |
| r2025.c | 111 int hour; local 131 hour = bcdtobin(bcd[R2025_REG_HOUR] & R2025_REG_HOUR_MASK); 133 dt->dt_hour = hour; 135 if (hour == 12) { 137 } else if (hour == 32) { 139 } else if (hour > 13) { 140 dt->dt_hour = (hour - 8); 141 } else { /* (hour < 12) */ 142 dt->dt_hour = hour;
|
| /src/crypto/dist/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
| racoon.conf | 29 lifetime time 1 hour;
|
| /src/crypto/dist/ipsec-tools/src/racoon/samples/roadwarrior/server/ |
| racoon.conf | 37 lifetime time 1 hour;
|
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_fg.c | 281 and doubles min every hour at HH:10:ss for a minute. 286 pp->hour = BP1(6)*10 + BP2(6); 288 pp->hour = BP1(5)*10 + BP2(5); 290 if ((up->y2kwarn > 10) && (pp->hour == 10)) { 296 pp->hour = BP1(5)*10 + BP2(5); 303 if ((pp->hour == 10) && (pp->minute == 10)) { 308 "%d %d %d %d %d", pp->year, pp->day, pp->hour, 316 pp->year, pp->day, pp->hour, pp->minute, pp->second);
|
| /src/external/bsd/nsd/dist/simdzone/src/generic/ |
| time.h | 54 const uint64_t hour = (d[8] * 10) + d[9]; local 68 if (hour > 23 || min > 59 || sec > 59) 75 const uint64_t hours = days * 24 + hour;
|
| /src/sys/arch/landisk/stand/boot/ |
| getsecs.c | 196 uint32_t sec, min, hour, day; local 206 hour = rtc_read(RS5C313_HOUR1); 207 hour += rtc_read(RS5C313_HOUR10) * 10; 219 secs += hour * 60 * 60;
|
| /src/external/bsd/cron/dist/ |
| structs.h | 28 bitstr_t bit_decl(hour, HOUR_COUNT);
|
| /src/external/mpl/bind/dist/lib/dns/ |
| time.c | 134 int year, month, day, hour, minute, second; local 157 if (sscanf(source, "%4d%2d%2d%2d%2d%2d", &year, &month, &day, &hour, 175 RANGE(0, 23, hour); 183 value = second + (60 * minute) + (3600 * hour) + ((day - 1) * 86400);
|
| /src/external/mpl/dhcp/bind/dist/lib/dns/ |
| time.c | 135 int year, month, day, hour, minute, second; local 158 if (sscanf(source, "%4d%2d%2d%2d%2d%2d", &year, &month, &day, &hour, 176 RANGE(0, 23, hour); 184 value = second + (60 * minute) + (3600 * hour) + ((day - 1) * 86400);
|