| /netbsd/src/external/lgpl3/mpc/dist/doc/ |
| D | mdate-sh | 118 month= 120 until test $month 127 Jan) month=January; nummonth=1;; 128 Feb) month=February; nummonth=2;; 129 Mar) month=March; nummonth=3;; 130 Apr) month=April; nummonth=4;; 131 May) month=May; nummonth=5;; 132 Jun) month=June; nummonth=6;; 133 Jul) month=July; nummonth=7;; 134 Aug) month=August; nummonth=8;; [all …]
|
| /netbsd/src/external/bsd/am-utils/dist/doc/ |
| D | mdate-sh | 114 month= 116 until test $month 123 Jan) month=January; nummonth=1;; 124 Feb) month=February; nummonth=2;; 125 Mar) month=March; nummonth=3;; 126 Apr) month=April; nummonth=4;; 127 May) month=May; nummonth=5;; 128 Jun) month=June; nummonth=6;; 129 Jul) month=July; nummonth=7;; 130 Aug) month=August; nummonth=8;; [all …]
|
| /netbsd/src/external/lgpl3/gmp/dist/doc/ |
| D | mdate-sh | 114 month= 116 until test $month 123 Jan) month=January; nummonth=1;; 124 Feb) month=February; nummonth=2;; 125 Mar) month=March; nummonth=3;; 126 Apr) month=April; nummonth=4;; 127 May) month=May; nummonth=5;; 128 Jun) month=June; nummonth=6;; 129 Jul) month=July; nummonth=7;; 130 Aug) month=August; nummonth=8;; [all …]
|
| /netbsd/src/external/gpl2/xcvs/dist/doc/ |
| D | mdate-sh | 87 month= 89 until test $month 95 Jan) month=January; nummonth=1;; 96 Feb) month=February; nummonth=2;; 97 Mar) month=March; nummonth=3;; 98 Apr) month=April; nummonth=4;; 99 May) month=May; nummonth=5;; 100 Jun) month=June; nummonth=6;; 101 Jul) month=July; nummonth=7;; 102 Aug) month=August; nummonth=8;; [all …]
|
| /netbsd/src/external/gpl2/xcvs/dist/build-aux/ |
| D | mdate-sh | 98 month= 100 until test $month 106 Jan) month=January; nummonth=1;; 107 Feb) month=February; nummonth=2;; 108 Mar) month=March; nummonth=3;; 109 Apr) month=April; nummonth=4;; 110 May) month=May; nummonth=5;; 111 Jun) month=June; nummonth=6;; 112 Jul) month=July; nummonth=7;; 113 Aug) month=August; nummonth=8;; [all …]
|
| /netbsd/src/usr.bin/cal/ |
| D | cal.c | 157 int ambiguity, year, month, date; member 222 long month, year; in main() local 285 month = 0; in main() 288 month = strtol(*argv++, &eoi, 10); in main() 289 if (month < 1 || month > 12 || *eoi != '\0') in main() 300 month = strtol(eoi + 1, &eoi, 10); in main() 301 if (month < 1 || month > 12 || *eoi != '\0') in main() 314 month = reform->month; in main() 316 month = local_time->tm_mon + 1; in main() 323 if (!month) { in main() [all …]
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/doc/ |
| D | 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 …]
|
| /netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/std/ |
| D | chrono | 107 class month; 151 // weekday/month with a shift in [0, d - 1] and __y is a duration count. 276 operator/(const month& __m, const day& __d) noexcept; 282 operator/(const day& __d, const month& __m) noexcept; 295 class month 301 month() = default; 304 month(unsigned __m) noexcept 308 constexpr month& 315 constexpr month 323 constexpr month& [all …]
|
| /netbsd/src/external/bsd/flex/dist/examples/manual/ |
| D | dates.lex | 9 char month[20],dow[20],day[20],year[20]; variable 40 month {first_half}|{second_half} 57 <LONG>{month} strcpy(month,yytext); BEGIN(DAY); 62 <DAY_FIRST>{month} strcpy(month,yytext); BEGIN(LONG); 69 printf(" Month : %s \n",month); 73 strcpy(month,""); 79 <YEAR_LAST>{nmonth} strcpy(month,yytext);BEGIN(YLMONTH); 85 <YEAR_FIRST>{nmonth} strcpy(month,yytext);BEGIN(YFMONTH); 92 printf(" Month : %s \n",month); 96 strcpy(month,"");
|
| /netbsd/src/lib/libc/time/ |
| D | leapseconds.awk | 47 month = $5 55 if (month == "Jan") { 57 month = "Dec"; 59 } else if (month == "Jul") { 60 month = "Jun"; 63 printf "Leap\t%s\t%s\t%s\t%s\tS\n", year, month, day, sign
|
| /netbsd/src/external/bsd/ntp/dist/ntpd/ |
| D | refclock_heath.c | 280 int month, day; in heath_receive() local 306 &pp->minute, &pp->second, &dsec, a, &month, &day, in heath_receive() 333 month = tm_time_p->tm_mon + 1; in heath_receive() 360 if (month < 1 || month > 12 || day < 1) { in heath_receive() 365 if (day > day1tab[month - 1]) { in heath_receive() 369 for (i = 0; i < month - 1; i++) in heath_receive() 372 if (day > day2tab[month - 1]) { in heath_receive() 376 for (i = 0; i < month - 1; i++) in heath_receive()
|
| D | refclock_hpgps.c | 264 int month, day, lastday; in hpgps_receive() local 418 &pp->year, &month, &day, &pp->hour, &pp->minute, &pp->second, in hpgps_receive() 465 if (month < 1 || month > 12 || day < 1) { in hpgps_receive() 472 if (day > day1tab[month - 1]) { in hpgps_receive() 476 for (i = 0; i < month - 1; i++) day += day1tab[i]; in hpgps_receive() 480 if (day > day2tab[month - 1]) { in hpgps_receive() 484 for (i = 0; i < month - 1; i++) day += day2tab[i]; in hpgps_receive() 549 if ((month==6) || (month==12)) in hpgps_receive() 554 if ((month==6) || (month==12)) in hpgps_receive()
|
| D | check_y2k.c | 415 ct.month = 1; in main() 522 || ot.month != 1 in main() 529 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main() 536 || ot.month != 2 in main() 543 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main() 557 || ot.month != m in main() 564 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main() 588 ot.month = ot.monthday = 1; /* unused, but set anyway JIC */ in main() 609 || ot.month != 1 in main() 616 (int)ot.year, (int)ot.month, (int)ot.monthday ); in main()
|
| D | refclock_hopfser.c | 216 int day, month; /* ddd conversion */ in hopfserial_receive() local 249 &month, in hopfserial_receive() 261 (month < 1) || (month > 12) || in hopfserial_receive() 270 pp->day = ymd2yd(pp->year,month,day); in hopfserial_receive() 287 month, in hopfserial_receive()
|
| D | refclock_arc.c | 882 int i, wday, month, flags, status; in arc_receive() local 1176 || !get2(pp->a_lastcode + 10, &month) in arc_receive() 1202 (month < 1) || (month > 12) || in arc_receive() 1241 pp->day, month, pp->year, flags, status); in arc_receive() 1271 pp->day += moff[month - 1]; in arc_receive() 1273 if(isleap_4(pp->year) && month > 2) { pp->day++; }/* Y2KFixes */ in arc_receive() 1307 local.tm_mon = month-1; in arc_receive() 1369 month = gmtp->tm_mon+1; in arc_receive() 1370 pp->day = ymd2yd(pp->year,month,gmtp->tm_mday); in arc_receive() 1379 pp->year,month,gmtp->tm_mday,pp->hour,pp->minute, in arc_receive() [all …]
|
| /netbsd/src/sys/arch/hp300/stand/common/ |
| D | clock.c | 99 int year, month, day, hour, min, sec; in clock_to_gmt() local 109 month = mc_read(MC_MONTH); in clock_to_gmt() 123 month = bbc_to_decimal(10, 9); in clock_to_gmt() 132 year, month, day, hour, min, sec); in clock_to_gmt() 137 range_test(month, 1, 12); in clock_to_gmt() 143 if (is_leap_year(year) && month > FEBRUARY) in clock_to_gmt() 146 for (i = 1; i < month; i++) in clock_to_gmt()
|
| /netbsd/src/sys/arch/mac68k/mac68k/ |
| D | pram.c | 64 long year, month, day, hour, minute, seconds, i, dayperyear; in convtime() local 67 month = 0; /* Jan */ in convtime() 90 i = daypmon[month] * 60 * 60 * 24; in convtime() 93 month++; in convtime() 119 monstr[month], day, year, hour, minute, seconds); in convtime()
|
| /netbsd/src/usr.bin/calendar/ |
| D | calendar.c | 274 int month; in isnow() local 288 if ((month = getfield(endp, &endp, &flags)) == 0) { in isnow() 290 month = tp->tm_mon + 1; in isnow() 293 month = v1; in isnow() 301 month = v2; in isnow() 304 month = v1; in isnow() 310 if (month < 1 || month > 12) { in isnow() 312 month = tp->tm_mon + 1; in isnow() 324 if (flags & F_ISMONTH && flags & F_WILDDAY && month == tp->tm_mon + 1) in isnow() 327 if (flags & F_ISMONTH && flags & F_ISDOW && month == tp->tm_mon + 1 && in isnow() [all …]
|
| /netbsd/src/sys/dev/ |
| D | smbios_platform.c | 235 platform_scan_date(char *buf, unsigned int *month, unsigned int *day, in platform_scan_date() argument 243 *month = strtoul(s, NULL, 10); in platform_scan_date() 260 unsigned int month, day, year; in platform_add_date() local 265 if (platform_scan_date(tmpbuf, &month, &day, &year) != 3) in platform_add_date() 267 if (month == 0 || month > 12 || day == 0 || day > 31) in platform_add_date() 275 snprintf(datestr, sizeof(datestr), "%04u%02u%02u", year, month, day); in platform_add_date()
|
| /netbsd/src/external/bsd/kyua-cli/dist/utils/ |
| D | datetime.cpp | 221 datetime::timestamp::from_values(const int year, const int month, in from_values() argument 227 PRE(month >= 1 && month <= 12); in from_values() 252 timedata.tm_mon = month - 1; in from_values() 330 datetime::set_mock_now(const int year, const int month, in set_mock_now() argument 335 mock_now = timestamp::from_values(year, month, day, hour, minute, second, in set_mock_now()
|
| /netbsd/src/external/bsd/ntp/dist/parseutil/ |
| D | testdcf.c | 60 long month; member 251 clock_time->month = ext_bf(buffer, DCF_MO0); in convert_rawdcf() 252 clock_time->month = TIMES10(clock_time->month) + ext_bf(buffer, DCF_MO); in convert_rawdcf() 423 clock_time.month = 0; in main() 464 clock_time.month = 0; in main() 494 … (int)clock_time.hour, (int)clock_time.minute, (int)i, (int)clock_time.day, (int)clock_time.month, in main()
|
| /netbsd/src/sys/arch/powerpc/powerpc/ |
| D | rtas.c | 268 int status, year, month, day, hour, minute, second, nanosecond; in rtas_todr_gettime_ymdhms() local 274 &month, &day, &hour, &minute, &second, &nanosecond) < 0) in rtas_todr_gettime_ymdhms() 278 t->dt_mon = month; in rtas_todr_gettime_ymdhms() 290 int status, year, month, day, hour, minute, second, nanosecond; in rtas_todr_settime_ymdhms() local 296 month = t->dt_mon; in rtas_todr_settime_ymdhms() 303 if (rtas_call(RTAS_FUNC_SET_TIME_OF_DAY, 7, 1, year, month, in rtas_todr_settime_ymdhms()
|
| /netbsd/src/external/bsd/wpa/dist/src/utils/ |
| D | os_win32.c | 62 int os_mktime(int year, int month, int day, int hour, int min, int sec, in os_mktime() argument 69 if (year < 1970 || month < 1 || month > 12 || day < 1 || day > 31 || in os_mktime() 76 tm.tm_mon = month - 1; in os_mktime() 114 tm->month = tm2->tm_mon + 1; in os_gmtime()
|
| /netbsd/src/external/gpl2/xcvs/dist/lib/ |
| D | getdate.y | 163 long int month; member 285 pc->month = $1.tv_nsec / 10000000; 392 pc->month = $1.value; 405 pc->month = $3.value; 410 pc->month = $1.value; 419 pc->month = -$2.value; 426 pc->month = $2; 433 pc->month = $1; 440 pc->month = $1; 445 pc->month = $1; [all …]
|
| /netbsd/src/external/bsd/ntp/dist/tests/libntp/ |
| D | calendar.c | 106 cal->year, (u_int)cal->month, (u_int)cal->monthday, in CalendarFromCalToString() 132 expected->month == actual->month && in IsEqualCal() 178 cal->year, (u_int)cal->month, (u_int)cal->monthday, in DateFromCalToString() 203 expected->month == actual->month && in IsEqualDateCal() 243 jd->month = (uint8_t)m; in strToCal() 283 jdn.month = 1; in test_Constants() 289 jdn.month = 1; in test_Constants() 453 dateIn.month = 2; in test_LeapYears1() 472 dateIn.month = 3; in test_LeapYears2() 513 expDate.month = 0; in test_RoundTripDate() [all …]
|