| /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/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/lib/libutil/ |
| parsedate.y | 85 time_t yyDay; /* Day of month [1-31] */ 86 time_t yyHour; /* Hour of day [0-24] or [1-12] */ 140 | day { param->yyHaveDay++; } 339 day: label 489 /* Month and day table. */ 532 { "day", tMINUTE_UNIT, 1 * 24 * 60 }, 783 time_t Day, /* day of month [1-31] */ 785 time_t Hours, /* Hour of day [0-24] */ 803 tm.tm_mday = Day; [all...] |
| /src/sys/arch/landisk/stand/boot/ |
| getsecs.c | 196 uint32_t sec, min, hour, day; local 208 day = rtc_read(RS5C313_DAY1); 209 day += rtc_read(RS5C313_DAY10) * 10; 220 secs += day * 60 * 60 * 24;
|
| /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/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)
|
| /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/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)
|
| /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/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/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/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/sys/arch/playstation2/include/ |
| bootinfo.h | 51 u_int8_t day; member in struct:bootinfo_rtc
|
| /src/external/gpl2/xcvs/dist/lib/ |
| getdate.y | 149 /* Day of week; Sunday is 0. */ 161 /* Gregorian year, month, day, hour, minutes, seconds, and nanoseconds. */ 164 long int day; 169 /* Relative year, month, day, hour, minutes, seconds, and nanoseconds. */ 256 | day 286 pc->day = $3.tv_sec; 366 day: label 393 pc->day = $3.value; 406 pc->day = $5.value; 411 pc->day = $3.value [all...] |
| /src/sys/arch/mvme68k/stand/netboot/ |
| config.h | 47 u_char day; member in struct:brdid
|
| /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...] |
| refclock_chronolog.c | 65 int day; /* day-of-month */ member in struct:chronolog_unit 180 int hours; /* hour-of-day */ 221 if (sscanf(pp->a_lastcode, "Y %d/%d/%d", &up->year,&up->month,&up->day)) 249 local.tm_mday = up->day; 263 pp->day = ymd2yd (adjyear, adjmon, gmtp->tm_mday); 278 pp->day = ymd2yd(year+1900,month,day);
|
| /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, 166 day); 170 * arithmetic with day below). 172 RANGE(1, 31, day); 183 value = second + (60 * minute) + (3600 * hour) + ((day - 1) * 86400);
|
| /src/external/mpl/bind/dist/lib/isc/ |
| tm.c | 76 static const char *day[7] = { "Sunday", "Monday", "Tuesday", "Wednesday", variable 249 case 'A': /* The day of week, using the locale's form. */ 254 len = strlen(day[i]); 255 if (strncasecmp(day[i], bp, len) == 0) { 316 case 'd': /* The day of month. */ 347 case 'j': /* The day of year. */ 417 case 'w': /* The day of week, beginning on sunday. */
|
| /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, 167 day); 171 * arithmetic with day below). 173 RANGE(1, 31, day); 184 value = second + (60 * minute) + (3600 * hour) + ((day - 1) * 86400);
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/ |
| tm.c | 76 static const char *day[7] = { "Sunday", "Monday", "Tuesday", "Wednesday", variable 250 case 'A': /* The day of week, using the locale's form. */ 255 len = strlen(day[i]); 256 if (strncasecmp(day[i], bp, len) == 0) { 317 case 'd': /* The day of month. */ 348 case 'j': /* The day of year. */ 418 case 'w': /* The day of week, beginning on sunday. */
|
| /src/sys/arch/hp300/stand/common/ |
| clock.c | 103 int year, month, day, hour, min, sec; local 115 day = mc_read(MC_DOM); 151 day = bbc_to_decimal(8, 7); 161 year, month, day, hour, min, sec); 165 range_test(day, 1, 31); 178 tmp += (day - 1);
|
| /src/sys/dev/ |
| smbios_platform.c | 235 platform_scan_date(char *buf, unsigned int *month, unsigned int *day, 249 *day = strtoul(s, NULL, 10); 260 unsigned int month, day, year; local 265 if (platform_scan_date(tmpbuf, &month, &day, &year) != 3) 267 if (month == 0 || month > 12 || day == 0 || day > 31) 275 snprintf(datestr, sizeof(datestr), "%04u%02u%02u", year, month, day);
|
| /src/tests/lib/libc/time/ |
| t_strptime.c | 230 ATF_TC(day); variable 232 ATF_TC_HEAD(day, tc) 236 "Checks strptime(3) day name conversions [aA]"); 239 ATF_TC_BODY(day, tc) 595 ATF_TP_ADD_TC(tp, day);
|
| /src/sys/arch/powerpc/powerpc/ |
| rtas.c | 55 { "get-time-of-day", RTAS_FUNC_GET_TIME_OF_DAY }, 56 { "set-time-of-day", RTAS_FUNC_SET_TIME_OF_DAY }, 266 int status, year, month, day, hour, minute, second, nanosecond; local 272 &month, &day, &hour, &minute, &second, &nanosecond) < 0) 277 t->dt_day = day; 288 int status, year, month, day, hour, minute, second, nanosecond; local 295 day = t->dt_day; 302 day, hour, minute, second, nanosecond, &status) < 0)
|