| /trueos/crypto/heimdal/doc/ |
| HD | mdate-sh | 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=June; nummonth=6;; 53 Jul) month=July; nummonth=7;; 54 Aug) month=August; nummonth=8;; [all …]
|
| /trueos/contrib/ntp/libntp/ |
| HD | caljulian.c | 86 jt->month = 12; 101 for (jt->month=0;jt->month<11; jt->month++) 105 t = monthday - calmonthtab[jt->month]; 106 if (jt->month == 1 && is_leapyear(jt->year)) 114 jt->month++; 140 jt->month = (u_char) (tm->tm_mon + 1); in caljulian()
|
| /trueos/contrib/ntp/ntpd/ |
| HD | refclock_heath.c | 276 int month, day; in heath_receive() local 302 &pp->minute, &pp->second, &dsec, a, &month, &day, in heath_receive() 329 month = tm_time_p->tm_mon + 1; in heath_receive() 356 if (month < 1 || month > 12 || day < 1) { in heath_receive() 361 if (day > day1tab[month - 1]) { in heath_receive() 365 for (i = 0; i < month - 1; i++) in heath_receive() 368 if (day > day2tab[month - 1]) { in heath_receive() 372 for (i = 0; i < month - 1; i++) in heath_receive()
|
| HD | refclock_jjy.c | 172 int year, month, day, hour, minute, second, msecond ; member 517 pp->day = ymd2yd ( up->year, up->month, up->day ) ; in jjy_receive() 538 up->year, up->month, up->day, up->hour, up->minute, up->second, up->msecond/100 ) ; in jjy_receive() 550 up->year, up->month, up->day, up->hour, up->minute, up->second, up->msecond/100 ) ; in jjy_receive() 607 rc = sscanf ( pBuf, "%4d/%2d/%2d", &up->year, &up->month, &up->day ) ; in jjy_receive_tristate_jjy01() 608 …if ( rc != 3 || up->year < 2000 || up->month < 1 || up->month > 12 || up->day < 1 || up->day > 31 … in jjy_receive_tristate_jjy01() 742 … &up->year, &up->month, &up->day, &up->hour, &up->minute, &up->second, &up->msecond ) ; in jjy_receive_cdex_jst2000() 743 if ( rc != 7 || up->month < 1 || up->month > 12 || up->day < 1 || up->day > 31 in jjy_receive_cdex_jst2000() 748 rc, up->year, up->month, up->day, up->hour, up->minute, up->second, up->msecond ) ; in jjy_receive_cdex_jst2000() 843 &up->year, &up->month, &up->day, &up->hour, &up->minute, &up->second ) ; in jjy_receive_echokeisokuki_lt2000() [all …]
|
| HD | check_y2k.c | 414 ct.month = 1; in main() 521 || ot.month != 1 in main() 528 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main() 535 || ot.month != 2 in main() 542 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main() 556 || ot.month != m in main() 563 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main() 587 ot.month = ot.monthday = 1; /* unused, but set anyway JIC */ in main() 608 || ot.month != 1 in main() 615 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main()
|
| HD | refclock_nmea.c | 414 int month, day; in nmea_receive() local 606 month = dp[2] - '0'; in nmea_receive() 607 month = (month * 10) + dp[3] - '0'; in nmea_receive() 616 month = t->tm_mon + 1; in nmea_receive() 620 if (month < 1 || month > 12 || day < 1) { in nmea_receive() 629 if (day > day1tab[month - 1]) { in nmea_receive() 633 for (i = 0; i < month - 1; i++) in nmea_receive() 636 if (day > day2tab[month - 1]) { in nmea_receive() 640 for (i = 0; i < month - 1; i++) in nmea_receive()
|
| HD | refclock_hpgps.c | 262 int month, day, lastday; in hpgps_receive() local 416 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second, in hpgps_receive() 463 if (month < 1 || month > 12 || day < 1) { in hpgps_receive() 470 if (day > day1tab[month - 1]) { in hpgps_receive() 474 for (i = 0; i < month - 1; i++) day += day1tab[i]; in hpgps_receive() 478 if (day > day2tab[month - 1]) { in hpgps_receive() 482 for (i = 0; i < month - 1; i++) day += day2tab[i]; in hpgps_receive()
|
| HD | refclock_hopfser.c | 230 int day, month; /* ddd conversion */ in hopfserial_receive() local 262 &month, in hopfserial_receive() 274 (month < 1) || (month > 12) || in hopfserial_receive() 283 pp->day = ymd2yd(pp->year,month,day); in hopfserial_receive() 300 month, in hopfserial_receive()
|
| /trueos/usr.bin/chpass/ |
| HD | util.c | 88 int day, month, year; in atot() local 102 month = atoi(t); in atot() 108 month = mp - months + 1; in atot() 119 if (day < 1 || day > 31 || month < 1 || month > 12) in atot() 129 lt->tm_mon = month - 1; in atot()
|
| /trueos/usr.bin/calendar/ |
| HD | dates.c | 49 int month; /* 01 .. 12 */ member 62 struct cal_month *month; /* points back */ member 127 if (pm->month == m) in createdate() 136 pm->month = m; in createdate() 156 pd->month = pm; in createdate() 245 printf("-- %-5d (julian:%d, dow:%d)\n", m->month, in dumpdates() 277 if (m->month != mm) { in remember_ymd() 316 *rm = m->month; in remember_yd() 359 if (m->month == mm) in first_dayofweek_of_month() 425 if (m->month != mm) { in find_day() [all …]
|
| HD | events.c | 41 event_add(int year, int month, int day, char *date, int var, char *txt, in event_add() argument 56 e->month = month; in event_add() 68 addtodate(e, year, month, day); in event_add() 108 month, day); in event_print_all()
|
| HD | parsedata.c | 43 static int checkmonth(char *s, size_t *len, size_t *offset, const char **month); 50 static int wdayom (int day, int offset, int month, int year); 89 char *month, int *imonth, char *dayofmonth, int *idayofmonth, in determinestyle() argument 99 *month = '\0'; in determinestyle() 180 strcpy(month, getmonthname(*imonth)); in determinestyle() 214 strcpy(month, getmonthname(offset)); in determinestyle() 265 strcpy(month, getmonthname(d)); in determinestyle() 292 strcpy(month, getmonthname(d)); in determinestyle() 297 strcpy(month, getmonthname(m)); in determinestyle() 339 debug_determinestyle(int dateonly, char *date, int flags, char *month, in debug_determinestyle() argument [all …]
|
| /trueos/contrib/dialog/ |
| HD | calendar.c | 150 int month = current->tm_mon + offset; in days_in_month() local 153 while (month < 0) { in days_in_month() 154 month += 12; in days_in_month() 157 while (month >= 12) { in days_in_month() 158 month -= 12; in days_in_month() 161 result = nominal[month]; in days_in_month() 162 if (month == 1) in days_in_month() 295 int month; in draw_month() local 297 month = current->tm_mon + 1; in draw_month() 308 mvwprintw(data->window, 0, 0, "%s", nameOfMonth(month - 1)); in draw_month() [all …]
|
| /trueos/tools/tools/prstats/ |
| HD | prstats.pl | 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);
|
| /trueos/share/timedef/ |
| HD | cs_CZ.UTF-8.src | 1 # Czech month and day names 9 # Short month names 24 # Long month names (as in a date) 83 # Long month names (without case ending)
|
| HD | cs_CZ.ISO8859-2.src | 1 # Czech month and day names 9 # Short month names 24 # Long month names (as in a date) 83 # Long month names (without case ending)
|
| HD | sk_SK.UTF-8.src | 1 # Slovak month and day names 9 # Short month names 24 # Long month names (as in a date) 83 # Long month names (without case ending)
|
| HD | sk_SK.ISO8859-2.src | 1 # Slovak month and day names 9 # Short month names 24 # Long month names (as in a date) 83 # Long month names (without case ending)
|
| HD | uk_UA.KOI8-U.src | 6 # Short month names 21 # Long month names (as in a date) 80 # Long month names (without case ending)
|
| HD | uk_UA.UTF-8.src | 6 # Short month names 21 # Long month names (as in a date) 80 # Long month names (without case ending)
|
| HD | ru_RU.KOI8-R.src | 6 # Short month names 21 # Long month names (as in a date) 80 # Long month names (without case ending)
|
| HD | ru_RU.CP866.src | 6 # Short month names 21 # Long month names (as in a date) 80 # Long month names (without case ending)
|
| HD | uk_UA.ISO8859-5.src | 6 # Short month names 21 # Long month names (as in a date) 80 # Long month names (without case ending)
|
| HD | kk_KZ.PT154.src | 6 # Short month names 21 # Long month names (as in a date) 80 # Long month names (without case ending)
|
| /trueos/contrib/wpa/src/utils/ |
| HD | os_win32.c | 50 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument 57 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || in os_mktime() 64 tm.tm_mon = month - 1; in os_mktime() 102 tm->month = tm2->tm_mon + 1; in os_gmtime()
|