/freebsd-9.3-release/contrib/tzdata/ |
H A D | leapseconds.awk | 53 month = $5 61 if (month == "Jan") { 63 month = "Dec"; 65 } else if (month == "Jul") { 66 month = "Jun"; 69 printf "Leap\t%s\t%s\t%s\t%s\tS\n", year, month, day, sign
|
/freebsd-9.3-release/contrib/cvs/doc/ |
H A D | mdate-sh | 85 # until we find a month. This cannot work with files whose owner is a 87 # will be owned by a user whose name is a month. So we first look at 94 # Find which argument is the month. 95 month= 97 until test $month 103 Jan) month=January; nummonth=1;; 104 Feb) month=February; nummonth=2;; 105 Mar) month=March; nummonth=3;; 106 Apr) month=April; nummonth=4;; 107 May) month [all...] |
/freebsd-9.3-release/contrib/cvs/ |
H A D | mdate-sh | 35 # The month is at least the fourth argument 41 # Find the month. Next argument is day, followed by the year or time. 42 month= 43 until test $month 47 Jan) month=January; nummonth=1;; 48 Feb) month=February; nummonth=2;; 49 Mar) month=March; nummonth=3;; 50 Apr) month=April; nummonth=4;; 51 May) month=May; nummonth=5;; 52 Jun) month [all...] |
/freebsd-9.3-release/crypto/heimdal/doc/ |
H A D | mdate-sh | 35 # The month is at least the fourth argument 41 # Find the month. Next argument is day, followed by the year or time. 42 month= 43 until test $month 47 Jan) month=January; nummonth=1;; 48 Feb) month=February; nummonth=2;; 49 Mar) month=March; nummonth=3;; 50 Apr) month=April; nummonth=4;; 51 May) month=May; nummonth=5;; 52 Jun) month [all...] |
/freebsd-9.3-release/lib/libc/stdtime/ |
H A D | timelocal.h | 44 const char *month[12]; member in struct:lc_time_T
|
/freebsd-9.3-release/usr.bin/calendar/ |
H A D | events.c | 41 event_add(int year, int month, int day, char *date, int var, char *txt, argument 49 * - Copy the machine readable day and month 56 e->month = month; 68 addtodate(e, year, month, day); 108 month, day);
|
H A D | dates.c | 49 int month; /* 01 .. 12 */ member in struct:cal_month 62 struct cal_month *month; /* points back */ member in struct:cal_day 70 /* 1-based month, 0-based days, cumulative */ 76 /* 1-based month, individual */ 128 if (pm->month == m) 137 pm->month = m; 157 pd->month = pm; 185 /* Same year, same month. Easy! */ 191 * Same year, different month. 207 * Different year, different month 445 addtodate(struct event *e, int year, int month, int day) argument [all...] |
H A D | parsedata.c | 43 static int checkmonth(char *s, size_t *len, size_t *offset, const char **month); 88 char *month, int *imonth, char *dayofmonth, int *idayofmonth, 98 *month = '\0'; 176 /* Assume month number only */ 179 strcpy(month, getmonthname(*imonth)); 212 /* Check if there is a month-string in the date */ 215 /* p2 is the non-month part */ 219 strcpy(month, getmonthname(offset)); 246 /* Check if there is an every-day or every-month in the string */ 271 strcpy(month, getmonthnam 87 determinestyle(char *date, int *flags, char *month, int *imonth, char *dayofmonth, int *idayofmonth, char *dayofweek, int *idayofweek, char *modifieroffset, char *modifierindex, char *specialday, char *year, int *iyear) argument 342 debug_determinestyle(int dateonly, char *date, int flags, char *month, int imonth, char *dayofmonth, int idayofmonth, char *dayofweek, int idayofweek, char *modifieroffset, char *modifierindex, char *specialday, char *year, int iyear) argument 394 char month[100], dayofmonth[100], dayofweek[100], modifieroffset[100]; local 829 checkmonth(char *s, size_t *len, size_t *offset, const char **month) argument [all...] |
H A D | calendar.h | 125 int month; member in struct:event 149 extern struct fixs nmonths[13]; /* short national month names */ 186 void addtodate(struct event *e, int year, int month, int day);
|
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | refclock_heath.c | 79 * dd/mm/yr = day, month, year 278 int month, day; local 304 &pp->minute, &pp->second, &dsec, a, &month, &day, 331 month = tm_time_p->tm_mon + 1; 358 if (month < 1 || month > 12 || day < 1) { 363 if (day > day1tab[month - 1]) { 367 for (i = 0; i < month - 1; i++) 370 if (day > day2tab[month - 1]) { 374 for (i = 0; i < month [all...] |
H A D | refclock_hpgps.c | 262 int month, day, lastday; local 416 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second, 463 if (month < 1 || month > 12 || day < 1) { 470 if (day > day1tab[month - 1]) { 474 for (i = 0; i < month - 1; i++) day += day1tab[i]; 478 if (day > day2tab[month - 1]) { 482 for (i = 0; i < month - 1; i++) day += day2tab[i]; 543 * Better would be to use :GPSTime? to find the month, 547 if ((month [all...] |
H A D | refclock_hopfser.c | 220 int day, month; /* ddd conversion */ local 253 &month, 265 (month < 1) || (month > 12) || 274 pp->day = ymd2yd(pp->year,month,day); 291 month,
|
H A D | check_y2k.c | 413 ct.month = 1; 520 || ot.month != 1 527 (int)ot.year, (int)ot.month, (int)ot.monthday ); 534 || ot.month != 2 541 (int)ot.year, (int)ot.month, (int)ot.monthday ); 546 int m; /* expected month */ 555 || ot.month != m 562 (int)ot.year, (int)ot.month, (int)ot.monthday ); 586 ot.month = ot.monthday = 1; /* unused, but set anyway JIC */ 607 || ot.month ! [all...] |
/freebsd-9.3-release/usr.bin/chpass/ |
H A D | util.c | 88 int day, month, year; local 102 month = atoi(t); 108 month = mp - months + 1; 119 if (day < 1 || day > 31 || month < 1 || month > 12) 129 lt->tm_mon = month - 1;
|
/freebsd-9.3-release/contrib/bind9/lib/dns/ |
H A D | time.c | 135 int year, month, day, hour, minute, second; local 157 &year, &month, &day, &hour, &minute, &second) != 6) 161 RANGE(1, 12, month); 162 RANGE(1, days[month - 1] + 163 ((month == 2 && is_leap(year)) ? 1 : 0), day); 173 for (i = 0; i < (month - 1); i++) 175 if (is_leap(year) && month > 2)
|
/freebsd-9.3-release/contrib/ntp/scripts/monitoring/ |
H A D | timelocal.pl | 9 ;# of any months we've seen before. If we know the start time of the month, 10 ;# we can always calculate any time within the month. The start times 16 ;# the month cache, of course, it doesn't call it at all. 62 $month = $_[4]; 70 while ($diff = $month - $g[4]) {
|
/freebsd-9.3-release/contrib/ntp/tests/libntp/ |
H A D | caljulian.c | 32 snprintf(buffer, 100, "%u", (u_int)cal.month); 57 || ( expected.month == actual.month
|
H A D | calendar.c | 85 cal->year, (u_int)cal->month, (u_int)cal->monthday, 111 expected->month == actual->month && 157 cal->year, (u_int)cal->month, (u_int)cal->monthday, 182 expected->month == actual->month && 217 /* days before month, with a full-year pad at the upper end */ 225 /* days in month, with one month wrap-around at both ends */ 331 dateIn.month [all...] |
/freebsd-9.3-release/contrib/wpa/src/utils/ |
H A D | os_win32.c | 55 int os_mktime(int year, int month, int day, int hour, int min, int sec, argument 62 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || 69 tm.tm_mon = month - 1;
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | caltontp.c | 16 * (that is, not zero) it will be used instead of month and day-of-month; 45 REQUIRE(jt->month <= 13); /* permit month 0..13! */ 55 * useable value and avoid all calculations involving month 56 * and day-of-month. Do a full evaluation otherwise.
|
/freebsd-9.3-release/contrib/dialog/ |
H A D | calendar.c | 31 #define MON_WIDE 4 /* width of a month-name */ 34 #define HDR_HIGH 1 /* height of cells with month/year */ 37 /* two more lines: titles for day-of-week and month/year boxes */ 150 int month = current->tm_mon + offset; local 153 while (month < 0) { 154 month += 12; 157 while (month >= 12) { 158 month -= 12; 161 result = nominal[month]; 162 if (month 293 int month; local 381 dialog_calendar(const char *title, const char *subtitle, int height, int width, int day, int month, int year) argument [all...] |
/freebsd-9.3-release/contrib/ntp/parseutil/ |
H A D | testdcf.c | 58 long month; member in struct:clocktime 249 clock_time->month = ext_bf(buffer, DCF_MO0); 250 clock_time->month = TIMES10(clock_time->month) + ext_bf(buffer, DCF_MO); 421 clock_time.month = 0; 462 clock_time.month = 0; 492 (int)clock_time.hour, (int)clock_time.minute, (int)i, (int)clock_time.day, (int)clock_time.month,
|
/freebsd-9.3-release/tools/tools/prstats/ |
H A D | prstats.pl | 56 [ 7, 30, 0 ], # One week to one month 73 my $month; 82 ($month, $day, $hour, $minute, $second, $year) = 87 defined($month = $MONTH{$month}) 88 or die("Invalid month: $month\n"); 89 return mktime($second, $minute, $hour, $day, $month - 1, $year - 1900); 344 graph_open_prs(&DATFILE, "month.png", $NOW - (86400 * 30) + 1, $NOW, 345 "Open FreeBSD problem reports (month vie [all...] |
/freebsd-9.3-release/usr.sbin/cron/cron/ |
H A D | cron.c | 195 register int minute, hour, dom, month, dow; local 204 month = tm->tm_mon +1 /* 0..11 -> 1..12 */ -FIRST_MONTH; 208 getpid(), minute, hour, dom, month, dow)) 284 && bit_test(e->month, otzmonth) 303 && bit_test(e->month, month)
|
/freebsd-9.3-release/contrib/cvs/lib/ |
H A D | test-getdate.sh | 55 # 1996-12-12 1 month 109 1996-12-12 1 month
|