| /src/lib/libc/time/ |
| leapseconds.awk | 29 print "# Leap YEAR MON DAY 23:59:60 + R/S" 31 print "# Leap YEAR MON DAY 23:59:59 - R/S" 36 print "# Leap YEAR MONTH DAY HH:MM:SS CORR R/S" 58 day = 31 61 day = 30 63 printf "Leap\t%s\t%s\t%s\t%s\tS\n", year, month, day, sign
|
| /src/sys/arch/mvme68k/stand/libsa/ |
| chiptotime.c | 21 chiptotime(int sec, int min, int hour, int day, int mon, int year) 28 day = bcdtobin(day); 35 if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31) 40 days += dayyr[mon - 1] + day - 1;
|
| clock.c | 24 chiptotime(int sec, int min, int hour, int day, int mon, int year) 31 day = bcdtobin(day); 38 if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31) 43 days += dayyr[mon - 1] + day - 1;
|
| /src/external/bsd/ntp/dist/conf/ |
| beauregard.conf | 14 filegen peerstats file peerstats type day enable 15 filegen loopstats file loopstats type day enable 16 filegen clockstats file clockstats type day enable
|
| malarky.conf | 15 filegen peerstats file peerstats type day enable 16 filegen loopstats file loopstats type day enable 17 filegen clockstats file clockstats type day enable
|
| pogo.conf | 43 filegen loopstats file loopstats type day enable 44 filegen cryptostats file cryptostats type day enable
|
| rackety.conf | 53 filegen peerstats file peerstats type day enable 54 filegen loopstats file loopstats type day enable 55 filegen clockstats file clockstats type day enable
|
| /src/tests/usr.bin/xlint/lint1/ |
| msg_155.c | 60 * XXX: The expressions 'day + 0' and '0 + day' should result in the same 66 enum Day { 68 } day = MONDAY; local 70 /* expect+1: ... passing 'enum Day' ... */ 71 sink(day); 73 /* expect+1: ... passing 'enum Day' ... */ 74 sink(day + 0); 77 sink(0 + day);
|
| /src/external/public-domain/tz/dist/ |
| leapseconds.awk | 15 # there will be more than 25 hours per day and so some other scheme 56 print "# Leap YEAR MON DAY 23:59:59 - S" 58 print "# Leap YEAR MON DAY 23:59:60 + S" 172 # ss_mday - day of the month (1-31) 176 # ss_wday - day of week (0-Sunday to 6-Saturday) 201 # Standard day epochs, suitable for epoch_days. 208 quadcentury, century, quadyear, year, month, day) 215 day = epoch_days + int(sstamp / (24 * 60 * 60)) 217 # Compute a year-month-day date with days of the month numbered 219 # start March 1 and end after the last day of February. A quad-yea [all...] |
| /src/sys/arch/mvme68k/stand/sboot/ |
| clock.c | 105 int sec, min, hour, day, mon, year; local 111 day = cl->cl_mday; 115 return chiptotime(sec, min, hour, day, mon, year);
|
| /src/external/bsd/ntp/dist/scripts/stats/ |
| ensemble.S | 1 ensemble <- scan(file1, list(day=0, sec=0, gps=0, gpsw=0, loran=0, loranw=0, ensemble=0, std=0)) 5 plot(ensemble$sec, ensemble$ensemble, type="l", xlab=paste("MJD", ensemble$day, "Time (s)"), ylab="Ensemble Offset (ns)", ylim=c(-400, 400))
|
| itf.S | 1 itf <- scan(file1, list(day=0, sec=0, offset=0, stab=0)) 5 plot(itf$sec, itf$offset, type="l", xlab=paste("MJD", itf$day, "Time (s)"), ylab="Internal Offset (ns)", ylim=c(-400, 400))
|
| tdata.S | 1 tdata <- scan(file1, list(day=0, sec=0, m=0, w=0, x=0, y=0, z=0)) 5 plot(tdata$sec, tdata$m, type="l", xlab=paste("MJD", tdata$day, "Time (s)"), ylab="LORAN-M SNR (dB)")
|
| loop.S | 2 loop <- scan(file1, list(day=0, sec=0, offset=0, freq=0, tc=0)) 7 plot(loop$sec, loop$offset, type="l", xlab=paste("MJD", loop$day, "Time (s)"), ylab="PLL Offset (us)", ylim=c(-400, 400))
|
| /src/sys/arch/mvmeppc/stand/libsa/ |
| clock.c | 27 chiptotime(int sec, int min, int hour, int day, int mon, int year) 34 day = bcdtobin(day); 41 if (year < 70 || mon < 1 || mon > 12 || day < 1 || day > 31) 46 days += dayyr[mon - 1] + day - 1;
|
| /src/external/bsd/flex/dist/examples/manual/ |
| dates.lex | 9 char month[20],dow[20],day[20],year[20]; 15 mon (mon(day)?) 19 fri (fri(day)?) 21 sun (sun(day)?) 50 %s DAY DAY_FIRST YEAR_FIRST YEAR_LAST YFMONTH YLMONTH 54 /* the default is month-day-year */ 57 <LONG>{month} strcpy(month,yytext); BEGIN(DAY); 59 /* handle the form: day-month-year */ 61 <LONG>{nday}{day_ext} strcpy(day,yytext); BEGIN(DAY_FIRST); 63 <DAY>{nday}{day_ext} strcpy(day,yytext); BEGIN(LONG); [all...] |
| /src/sys/arch/x68k/stand/libsa/ |
| clock.c | 48 int sec, min, hour, day, mon, year; local 55 day = (val & 0x000000ff); 63 if (mon < 1 || mon > 12 || day < 1 || day > 31) 71 days += yday[mon - 1] + day - 1;
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| time_offset_test.c | 71 int day, sec; local 78 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &the_asn1_time, &at))) { 82 if (day > 0) 84 else if (day < 0) 94 TEST_info("ASN1_TIME_diff() test failed for %s day=%d sec=%d\n", at.data, day, sec);
|
| /src/crypto/external/bsd/openssl/dist/test/ |
| time_offset_test.c | 72 int day, sec; local 79 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &the_asn1_time, &at))) { 83 if (day > 0) 85 else if (day < 0) 95 TEST_info("ASN1_TIME_diff() test failed for %s day=%d sec=%d\n", at.data, day, sec);
|
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| time_offset_test.c | 72 int day, sec; local 79 if (!TEST_true(ASN1_TIME_diff(&day, &sec, &the_asn1_time, &at))) { 83 if (day > 0) 85 else if (day < 0) 95 TEST_info("ASN1_TIME_diff() test failed for %s day=%d sec=%d\n", at.data, day, sec);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
| a_utctm.c | 75 int day, sec; local 83 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm)) 86 if (day > 0 || sec > 0) 88 if (day < 0 || sec < 0)
|
| /src/external/bsd/ntp/dist/ntpd/ |
| refclock_heath.c | 45 * transition. The timecode includes both the day of year and time of 46 * day. The GC-1001 II has a true bipolar output and a complement of 48 * day. 81 * dd/mm/yr = day, month, year 86 * then lost again for about a day. 280 int month, day; local 306 &pp->minute, &pp->second, &dsec, a, &month, &day, 334 day = tm_time_p->tm_mday; 349 * We determine the day of the year from the DIPswitches. This 355 * months of that year, add one to the day. Then, correct th [all...] |
| /src/external/bsd/pdisk/dist/ |
| pdisk.r | 44 VERSION, $$year, $$month, $$day,
|
| /src/sys/arch/mac68k/mac68k/ |
| pram.c | 64 long year, month, day, hour, minute, seconds, i, dayperyear; local 68 day = 1; 99 day++; 119 monstr[month], day, year, hour, minute, seconds);
|
| /src/crypto/external/apache2/openssl/dist/crypto/asn1/ |
| a_utctm.c | 78 int day, sec; local 86 if (!OPENSSL_gmtime_diff(&day, &sec, &ttm, &stm)) 89 if (day > 0 || sec > 0) 91 if (day < 0 || sec < 0)
|