crypto/libressl/apps/openssl/version.c
140
int date;
crypto/libressl/apps/openssl/version.c
151
version_config.date = 1;
crypto/libressl/apps/openssl/version.c
171
.opt.flag = &version_config.date,
crypto/libressl/apps/openssl/version.c
242
if (version_config.date)
crypto/libressl/crypto/cms/cms_asn1.c
550
.offset = offsetof(CMS_RecipientKeyIdentifier, date),
crypto/libressl/crypto/cms/cms_asn1.c
790
.offset = offsetof(CMS_KEKIdentifier, date),
crypto/libressl/crypto/cms/cms_env.c
548
size_t keylen, unsigned char *id, size_t idlen, ASN1_GENERALIZEDTIME *date,
crypto/libressl/crypto/cms/cms_env.c
624
kekri->kekid->date = date;
crypto/libressl/crypto/cms/cms_env.c
660
*pdate = rkid->date;
crypto/libressl/crypto/cms/cms_kari.c
178
*tm = rid->d.rKeyId->date;
crypto/libressl/crypto/cms/cms_lcl.h
245
ASN1_GENERALIZEDTIME *date;
crypto/libressl/crypto/cms/cms_lcl.h
261
ASN1_GENERALIZEDTIME *date;
crypto/libressl/include/openssl/cms.h
217
ASN1_GENERALIZEDTIME *date, ASN1_OBJECT *otherTypeId, ASN1_TYPE *otherType);
games/hack/hack.end.c
314
char date[7];/* yymmdd */
games/hack/hack.end.c
364
(void) strcpy(t0->date, getdatestr());
games/hack/hack.end.c
375
t1->date, &t1->uid,
games/hack/hack.end.c
446
t1->date, t1->uid,
games/hack/hack.end.c
735
t1->date, &t1->uid,
games/hack/hack.unix.c
106
time_t date;
games/hack/hack.unix.c
108
(void) time(&date);
games/hack/hack.unix.c
109
return (localtime(&date));
games/hack/hack.unix.c
229
time_t date;
games/hack/hack.unix.c
235
(void) time(&date);
games/hack/hack.unix.c
236
if (date - buf.st_mtime < 3L * 24L * 60L * 60L) { /* recent */
games/trek/attack.c
107
Now.date);
games/trek/damage.c
84
reschedule(e, e->date - Now.date + dam);
games/trek/dcrept.c
82
x = e->date - Now.date;
games/trek/dock.c
108
reschedule(e, (e->date - Now.date) * Param.dockfac);
games/trek/dock.c
140
reschedule(e, (e->date - Now.date) / Param.dockfac);
games/trek/dumpme.c
76
reschedule(e, (e->date - Now.date) + x);
games/trek/dumpme.c
80
Ship.quadx, Ship.quady, Now.date);
games/trek/events.c
103
rtime = xdate - Now.date;
games/trek/events.c
111
Now.date = xdate;
games/trek/events.c
76
idate = Now.date;
games/trek/events.c
94
if (e->date < xdate) {
games/trek/events.c
95
xdate = e->date;
games/trek/move.c
111
evtime = Now.eventptr[E_LRTB]->date - Now.date;
games/trek/move.c
117
Now.eventptr[E_LRTB]->date, evtime);
games/trek/rest.c
72
t = Now.eventptr[E_LRTB]->date - Now.date;
games/trek/schedule.c
100
e->evcode, e->x, e->y, e->systemname, date);
games/trek/schedule.c
122
e->evcode, e->date, e->x, e->y, e->systemname);
games/trek/schedule.c
125
e->date = TOOLARGE;
games/trek/schedule.c
54
double date;
games/trek/schedule.c
56
date = Now.date + offset;
games/trek/schedule.c
66
type, date, i, x, y, z);
games/trek/schedule.c
69
e->date = date;
games/trek/schedule.c
90
double date;
games/trek/schedule.c
95
date = Now.date + offset;
games/trek/schedule.c
96
e->date = date;
games/trek/score.c
74
r = Now.date - Param.date;
games/trek/setup.c
133
Param.date = Now.date = (ranf(20) + 20) * 100;
games/trek/setup.c
201
e->date = TOOLARGE;
games/trek/srscan.c
107
printf("stardate %.2f", Now.date);
games/trek/trek.h
155
double date; /* trap stardate */
games/trek/trek.h
279
double date; /* stardate */
games/trek/trek.h
315
double date; /* stardate */
games/trek/warp.c
154
Now.date += time;
games/trek/warp.c
157
Now.date);
games/trek/warp.c
161
Event[i].date += time;
games/trek/warp.c
167
time = Now.date;
games/trek/warp.c
176
Now.date);
games/trek/warp.c
179
reschedule(&Event[i], Event[i].date - time);
lib/libcalendar/calendar.c
100
ndaysj(date *dt)
lib/libcalendar/calendar.c
102
date idt; /* Internal date representation */
lib/libcalendar/calendar.c
115
ndaysji(date * idt)
lib/libcalendar/calendar.c
126
date *
lib/libcalendar/calendar.c
127
gdate(int ndays, date *dt)
lib/libcalendar/calendar.c
130
date idt; /* for internal date representation */
lib/libcalendar/calendar.c
179
ndaysg(date *dt)
lib/libcalendar/calendar.c
181
date idt; /* Internal date representation */
lib/libcalendar/calendar.c
193
ndaysgi(date *idt)
lib/libcalendar/calendar.c
234
date dt;
lib/libcalendar/calendar.c
247
date idt;
lib/libcalendar/calendar.c
271
date dmondaygi = {1997, 8, 16}; /* Internal repr. of 1997-11-17 */
lib/libcalendar/calendar.c
291
static date *
lib/libcalendar/calendar.c
292
date2idt(date *idt, date *dt)
lib/libcalendar/calendar.c
310
static date *
lib/libcalendar/calendar.c
311
idt2date(date *dt, date *idt)
lib/libcalendar/calendar.c
46
typedef struct date date;
lib/libcalendar/calendar.c
50
static date jiswitch = {1582, 7, 3};
lib/libcalendar/calendar.c
52
static date *date2idt(date *idt, date *dt);
lib/libcalendar/calendar.c
53
static date *idt2date(date *dt, date *idt);
lib/libcalendar/calendar.c
54
static int ndaysji(date *idt);
lib/libcalendar/calendar.c
55
static int ndaysgi(date *idt);
lib/libcalendar/calendar.c
62
date *
lib/libcalendar/calendar.c
63
jdate(int ndays, date *dt)
lib/libcalendar/calendar.c
65
date idt; /* Internal date representation */
lib/libcalendar/calendar.h
35
struct date *easterg(int _year, struct date *_dt);
lib/libcalendar/calendar.h
36
struct date *easterog(int _year, struct date *_dt);
lib/libcalendar/calendar.h
37
struct date *easteroj(int _year, struct date *_dt);
lib/libcalendar/calendar.h
38
struct date *gdate(int _nd, struct date *_dt);
lib/libcalendar/calendar.h
39
struct date *jdate(int _nd, struct date *_dt);
lib/libcalendar/calendar.h
40
int ndaysg(struct date *_dt);
lib/libcalendar/calendar.h
41
int ndaysj(struct date *_dt);
lib/libcalendar/easter.c
32
typedef struct date date;
lib/libcalendar/easter.c
37
date *
lib/libcalendar/easter.c
38
easterg(int y, date *dt)
lib/libcalendar/easter.c
56
date *
lib/libcalendar/easter.c
57
easterog(int y, date *dt)
lib/libcalendar/easter.c
64
date *
lib/libcalendar/easter.c
65
easteroj(int y, date * dt)
lib/libcalendar/easter.c
85
date dt;
sbin/dump/optr.c
357
char *date;
sbin/dump/optr.c
376
date = (char *)ctime(&dtwalk->dd_ddate);
sbin/dump/optr.c
377
date[16] = '\0'; /* blast away seconds and year */
sbin/dump/optr.c
394
date);
sbin/vinum/v.c
858
struct tm *date;
sbin/vinum/v.c
868
date = localtime(&sec);
sbin/vinum/v.c
869
strftime(datetext, MAXDATETEXT, dateformat, date);
stand/lib/dosfs.h
74
u_char date[2]; /* modified: date */
sys/bus/u4b/wlan/if_urtwn.c
3906
hdr->month, hdr->date, hdr->hour, hdr->minute);
sys/bus/u4b/wlan/if_urtwnreg.h
924
uint8_t date;
sys/dev/drm/amd/amdgpu/amdgpu_drv.c
1338
.date = DRIVER_DATE,
sys/dev/drm/amd/display/dc/dc.h
51
unsigned int date;
sys/dev/drm/amd/display/dc/dce/dce_dmcu.c
366
dmcu->dmcu_version.date = REG_READ(DMCU_IRAM_RD_DATA);
sys/dev/drm/drm_drv.c
911
driver->patchlevel, driver->date,
sys/dev/drm/drm_ioctl.c
514
err = drm_copy_field(version->date, &version->date_len,
sys/dev/drm/drm_ioctl.c
515
dev->driver->date);
sys/dev/drm/i915/i915_drv.c
3307
.date = DRIVER_DATE,
sys/dev/drm/i915/intel_csr.c
84
uint32_t date;
sys/dev/drm/i915/intel_guc_fwif.h
190
u32 date;
sys/dev/drm/include/drm/drm_drv.h
580
char *date;
sys/dev/drm/include/uapi/drm/drm.h
140
char __user *date; /**< User-space buffer to hold date */
sys/dev/drm/radeon/radeon_drv.c
710
.date = DRIVER_DATE,
sys/dev/netif/bwn/bwn/if_bwn.c
4225
uint16_t date, fwcaps, time;
sys/dev/netif/bwn/bwn/if_bwn.c
4310
date = bwn_shm_read_2(mac, BWN_SHARED, BWN_SHARED_UCODE_DATE);
sys/dev/netif/bwn/bwn/if_bwn.c
4311
mac->mac_fw.opensource = (date == 0xffff);
sys/dev/netif/bwn/bwn/if_bwn.c
4320
mac->mac_fw.rev, mac->mac_fw.patch, date, time);
sys/dev/raid/ciss/cissreg.h
381
u_int16_t date;
sys/vfs/isofs/cd9660/cd9660_lookup.c
206
&ep->date[6]: ep->flags);
sys/vfs/isofs/cd9660/cd9660_node.c
252
&isodir->date[6]: isodir->flags)&2) {
sys/vfs/isofs/cd9660/cd9660_node.c
334
cd9660_tstamp_conv7(isodir->date,&inop->inode.iso_ctime,ftype);
sys/vfs/isofs/cd9660/iso.h
184
char date [ISODCL (19, 25)]; /* 7 by 711 */
sys/vfs/smbfs/smbfs_smb.c
1055
u_int16_t date, time, wattr;
sys/vfs/smbfs/smbfs_smb.c
1075
md_get_uint16le(mbp, &date);
sys/vfs/smbfs/smbfs_smb.c
1077
md_get_uint16le(mbp, &date);
sys/vfs/smbfs/smbfs_smb.c
1079
smb_dos2unixtime(date, time, 0, svtz, &ctx->f_attr.fa_atime);
sys/vfs/smbfs/smbfs_smb.c
1080
md_get_uint16le(mbp, &date);
sys/vfs/smbfs/smbfs_smb.c
1082
smb_dos2unixtime(date, time, 0, svtz, &ctx->f_attr.fa_mtime);
sys/vfs/smbfs/smbfs_smb.c
305
u_int16_t date, time;
sys/vfs/smbfs/smbfs_smb.c
326
smb_time_unix2dos(atime, tzoff, &date, &time, NULL);
sys/vfs/smbfs/smbfs_smb.c
328
time = date = 0;
sys/vfs/smbfs/smbfs_smb.c
329
mb_put_uint16le(mbp, date);
sys/vfs/smbfs/smbfs_smb.c
332
smb_time_unix2dos(mtime, tzoff, &date, &time, NULL);
sys/vfs/smbfs/smbfs_smb.c
334
time = date = 0;
sys/vfs/smbfs/smbfs_smb.c
335
mb_put_uint16le(mbp, date);
sys/vfs/smbfs/smbfs_smb.c
408
u_int16_t date, time;
sys/vfs/smbfs/smbfs_smb.c
421
smb_time_unix2dos(atime, tzoff, &date, &time, NULL);
sys/vfs/smbfs/smbfs_smb.c
423
time = date = 0;
sys/vfs/smbfs/smbfs_smb.c
424
mb_put_uint16le(mbp, date);
sys/vfs/smbfs/smbfs_smb.c
427
smb_time_unix2dos(mtime, tzoff, &date, &time, NULL);
sys/vfs/smbfs/smbfs_smb.c
429
time = date = 0;
sys/vfs/smbfs/smbfs_smb.c
430
mb_put_uint16le(mbp, date);
sys/vfs/smbfs/smbfs_smb.c
860
u_int16_t date, time;
sys/vfs/smbfs/smbfs_smb.c
877
md_get_uint16le(mbp, &date);
sys/vfs/smbfs/smbfs_smb.c
886
smb_dos2unixtime(date, time, 0, rqp->sr_vc->vc_sopt.sv_tz,
usr.bin/calendar/basics.c
100
nth_kday(int n, int dow, struct date *date)
usr.bin/calendar/basics.c
105
int rd = fixed_from_gregorian(date);
usr.bin/calendar/basics.c
148
struct date date1 = { 1900, 1, 1 };
usr.bin/calendar/basics.c
149
struct date date2 = { year, 7, 1 };
usr.bin/calendar/basics.c
352
struct date date = { year - 1, 12, 31 };
usr.bin/calendar/basics.c
354
return rd - fixed_from_gregorian(&date);
usr.bin/calendar/basics.h
49
date_set(struct date *date, int y, int m, int d)
usr.bin/calendar/basics.h
51
date->year = y;
usr.bin/calendar/basics.h
52
date->month = m;
usr.bin/calendar/basics.h
53
date->day = d;
usr.bin/calendar/basics.h
77
int nth_kday(int n, int dow, struct date *date);
usr.bin/calendar/calendar.c
490
struct date gdate;
usr.bin/calendar/calendar.c
538
struct date date;
usr.bin/calendar/calendar.c
541
gregorian_from_fixed(floor(t), &date);
usr.bin/calendar/calendar.c
543
date.year, date.month, date.day);
usr.bin/calendar/chinese.c
242
struct date date = { year, 7, 1 };
usr.bin/calendar/chinese.c
243
int july1 = fixed_from_gregorian(&date);
usr.bin/calendar/chinese.c
253
chinese_from_fixed(int rd, struct chinese_date *date)
usr.bin/calendar/chinese.c
279
date->cycle = div_floor(elapsed_years - 1, 60) + 1;
usr.bin/calendar/chinese.c
280
date->year = mod1(elapsed_years, 60);
usr.bin/calendar/chinese.c
281
date->month = month;
usr.bin/calendar/chinese.c
282
date->leap = leap_month;
usr.bin/calendar/chinese.c
283
date->day = rd - m + 1;
usr.bin/calendar/chinese.c
292
fixed_from_chinese(const struct chinese_date *date)
usr.bin/calendar/chinese.c
295
((date->cycle - 1) * 60 + date->year - 0.5));
usr.bin/calendar/chinese.c
300
newyear + (date->month - 1) * 29);
usr.bin/calendar/chinese.c
303
if (date->month != date2.month || date->leap != date2.leap) {
usr.bin/calendar/chinese.c
308
return newmoon + date->day - 1;
usr.bin/calendar/chinese.c
319
struct date date = { g_year, 4, 1 }; /* QÄ«ngmÃng is around April 5 */
usr.bin/calendar/chinese.c
320
int rd = fixed_from_gregorian(&date);
usr.bin/calendar/chinese.c
520
struct chinese_date date;
usr.bin/calendar/chinese.c
521
chinese_from_fixed(rd, &date);
usr.bin/calendar/chinese.c
523
struct stem stem = STEMS[mod1(date.year, 10) - 1];
usr.bin/calendar/chinese.c
524
struct branch branch = BRANCHES[mod1(date.year, 12) - 1];
usr.bin/calendar/chinese.c
526
struct date gdate;
usr.bin/calendar/chinese.c
534
date.leap ? "é—°" : "", months[date.month - 1],
usr.bin/calendar/chinese.c
535
mdays[date.day - 1]);
usr.bin/calendar/chinese.c
538
date.leap ? "leap " : "", date.month, date.day);
usr.bin/calendar/chinese.h
63
void chinese_from_fixed(int rd, struct chinese_date *date);
usr.bin/calendar/chinese.h
64
int fixed_from_chinese(const struct chinese_date *date);
usr.bin/calendar/dates.c
104
date_set(&date, year, month, day);
usr.bin/calendar/dates.c
105
if (date.month == 12) {
usr.bin/calendar/dates.c
106
date_set(&date, date.year+1, 1, 1);
usr.bin/calendar/dates.c
107
rd_nextmonth = fixed_from_gregorian(&date);
usr.bin/calendar/dates.c
110
date.month++;
usr.bin/calendar/dates.c
111
rd_nextmonth = fixed_from_gregorian(&date);
usr.bin/calendar/dates.c
112
date_set(&date, date.year+1, 1, 1);
usr.bin/calendar/dates.c
113
rd_nextyear = fixed_from_gregorian(&date);
usr.bin/calendar/dates.c
180
struct date gdate;
usr.bin/calendar/dates.c
189
strftime(e->date, sizeof(e->date),
usr.bin/calendar/dates.c
217
fprintf(fp, "%s%c\t", e->date, e->variable ? '*' : ' ');
usr.bin/calendar/dates.c
51
char date[32]; /* Date in Gregorian calendar */
usr.bin/calendar/dates.c
65
struct date date;
usr.bin/calendar/dates.c
73
gregorian_from_fixed(Options.day_begin, &date);
usr.bin/calendar/dates.c
74
year = date.year;
usr.bin/calendar/dates.c
75
month = date.month;
usr.bin/calendar/dates.c
76
day = date.day;
usr.bin/calendar/dates.c
78
date.day = 1;
usr.bin/calendar/dates.c
79
rd_month1 = fixed_from_gregorian(&date);
usr.bin/calendar/dates.c
80
if (date.month == 12) {
usr.bin/calendar/dates.c
81
date_set(&date, date.year+1, 1, 1);
usr.bin/calendar/dates.c
82
rd_nextmonth = fixed_from_gregorian(&date);
usr.bin/calendar/dates.c
85
date.month++;
usr.bin/calendar/dates.c
86
rd_nextmonth = fixed_from_gregorian(&date);
usr.bin/calendar/dates.c
87
date_set(&date, date.year+1, 1, 1);
usr.bin/calendar/dates.c
88
rd_nextyear = fixed_from_gregorian(&date);
usr.bin/calendar/days.c
155
struct date date;
usr.bin/calendar/days.c
200
date_set(&date, y, month, 1);
usr.bin/calendar/days.c
201
approx = fixed_from_gregorian(&date);
usr.bin/calendar/days.c
235
struct date date;
usr.bin/calendar/days.c
244
date_set(&date, y, 1, 1);
usr.bin/calendar/days.c
245
rd_begin = fixed_from_gregorian(&date);
usr.bin/calendar/days.c
246
date.year++;
usr.bin/calendar/days.c
247
rd_end = fixed_from_gregorian(&date);
usr.bin/calendar/days.c
292
struct date date;
usr.bin/calendar/days.c
301
date_set(&date, y, 1, 1);
usr.bin/calendar/days.c
302
t_begin = fixed_from_gregorian(&date) - Options.location->zone;
usr.bin/calendar/days.c
303
date.year++;
usr.bin/calendar/days.c
304
t_end = fixed_from_gregorian(&date) - Options.location->zone;
usr.bin/calendar/ecclesiastical.c
101
struct date date = { g_year, 11, 30 };
usr.bin/calendar/ecclesiastical.c
105
rd = fixed_from_julian(&date);
usr.bin/calendar/ecclesiastical.c
107
rd = fixed_from_gregorian(&date);
usr.bin/calendar/ecclesiastical.c
64
struct date april19 = { j_year, 4, 19 };
usr.bin/calendar/ecclesiastical.c
86
struct date april19 = { g_year, 4, 19 };
usr.bin/calendar/gregorian.c
100
struct date date = { year, 1, 1 };
usr.bin/calendar/gregorian.c
101
return fixed_from_gregorian(&date);
usr.bin/calendar/gregorian.c
133
gregorian_date_difference(const struct date *date1,
usr.bin/calendar/gregorian.c
134
const struct date *date2)
usr.bin/calendar/gregorian.c
145
gregorian_from_fixed(int rd, struct date *date)
usr.bin/calendar/gregorian.c
149
date->year = gregorian_year_from_fixed(rd);
usr.bin/calendar/gregorian.c
151
struct date d = { date->year, 3, 1 };
usr.bin/calendar/gregorian.c
154
else if (gregorian_leap_year(date->year))
usr.bin/calendar/gregorian.c
161
date->month = div_floor(12 * (pdays + correction) + 373, 367);
usr.bin/calendar/gregorian.c
163
d.month = date->month;
usr.bin/calendar/gregorian.c
164
date->day = rd - fixed_from_gregorian(&d) + 1;
usr.bin/calendar/gregorian.c
77
fixed_from_gregorian(const struct date *date)
usr.bin/calendar/gregorian.c
79
int rd = ((epoch - 1) + 365 * (date->year - 1) +
usr.bin/calendar/gregorian.c
80
div_floor(date->year - 1, 4) -
usr.bin/calendar/gregorian.c
81
div_floor(date->year - 1, 100) +
usr.bin/calendar/gregorian.c
82
div_floor(date->year - 1, 400) +
usr.bin/calendar/gregorian.c
83
div_floor(date->month * 367 - 362, 12));
usr.bin/calendar/gregorian.c
85
if (date->month <= 2)
usr.bin/calendar/gregorian.c
86
return rd + date->day;
usr.bin/calendar/gregorian.c
87
else if (gregorian_leap_year(date->year))
usr.bin/calendar/gregorian.c
88
return rd + date->day - 1;
usr.bin/calendar/gregorian.c
90
return rd + date->day - 2;
usr.bin/calendar/gregorian.h
42
struct date;
usr.bin/calendar/gregorian.h
44
int fixed_from_gregorian(const struct date *date);
usr.bin/calendar/gregorian.h
45
int gregorian_date_difference(const struct date *date1,
usr.bin/calendar/gregorian.h
46
const struct date *date2);
usr.bin/calendar/gregorian.h
47
void gregorian_from_fixed(int rd, struct date *date);
usr.bin/calendar/io.c
364
__func__, entry.date);
usr.bin/calendar/io.c
368
count = parse_cal_date(entry.date, &flags, cdays,
usr.bin/calendar/io.c
372
entry.date, desc->firstline->str);
usr.bin/calendar/io.c
377
entry.date, desc->firstline->str);
usr.bin/calendar/io.c
389
free(entry.date);
usr.bin/calendar/io.c
469
entry->date = xstrdup(p);
usr.bin/calendar/io.c
708
struct date date;
usr.bin/calendar/io.c
712
gregorian_from_fixed(Options.today, &date);
usr.bin/calendar/io.c
715
dow_names[dow].f_name, date.day,
usr.bin/calendar/io.c
716
month_names[date.month-1].f_name, date.year);
usr.bin/calendar/io.c
74
char *date; /* event date (T_DATE) */
usr.bin/calendar/julian.c
100
date->year = div_floor(4 * (rd - epoch) + 1464, 1461);
usr.bin/calendar/julian.c
101
if (date->year <= 0)
usr.bin/calendar/julian.c
102
date->year--;
usr.bin/calendar/julian.c
104
struct date d = { date->year, 3, 1 };
usr.bin/calendar/julian.c
107
else if (julian_leap_year(date->year))
usr.bin/calendar/julian.c
114
date->month = div_floor(12 * (pdays + correction) + 373, 367);
usr.bin/calendar/julian.c
116
d.month = date->month;
usr.bin/calendar/julian.c
117
date->day = rd - fixed_from_julian(&d) + 1;
usr.bin/calendar/julian.c
133
struct date jdate;
usr.bin/calendar/julian.c
146
struct date jdate;
usr.bin/calendar/julian.c
161
struct date date;
usr.bin/calendar/julian.c
170
date_set(&date, y, month, day);
usr.bin/calendar/julian.c
171
rd = fixed_from_julian(&date);
usr.bin/calendar/julian.c
191
struct date date;
usr.bin/calendar/julian.c
199
date_set(&date, y, 1, 1);
usr.bin/calendar/julian.c
200
rd_begin = fixed_from_julian(&date);
usr.bin/calendar/julian.c
201
date.year++;
usr.bin/calendar/julian.c
202
rd_end = fixed_from_julian(&date);
usr.bin/calendar/julian.c
207
date_set(&date, y, m, dom);
usr.bin/calendar/julian.c
208
rd = fixed_from_julian(&date);
usr.bin/calendar/julian.c
230
struct date date;
usr.bin/calendar/julian.c
238
date_set(&date, y, month, 1);
usr.bin/calendar/julian.c
239
rd_begin = fixed_from_julian(&date);
usr.bin/calendar/julian.c
240
date.month++;
usr.bin/calendar/julian.c
241
if (date.month > 12)
usr.bin/calendar/julian.c
242
date_set(&date, y+1, 1, 1);
usr.bin/calendar/julian.c
243
rd_end = fixed_from_julian(&date);
usr.bin/calendar/julian.c
269
struct date gdate, jdate;
usr.bin/calendar/julian.c
75
fixed_from_julian(const struct date *date)
usr.bin/calendar/julian.c
77
int y = (date->year >= 0) ? date->year : (date->year + 1);
usr.bin/calendar/julian.c
80
div_floor(date->month * 367 - 362, 12));
usr.bin/calendar/julian.c
82
if (date->month <= 2)
usr.bin/calendar/julian.c
83
return rd + date->day;
usr.bin/calendar/julian.c
84
else if (julian_leap_year(date->year))
usr.bin/calendar/julian.c
85
return rd + date->day - 1;
usr.bin/calendar/julian.c
87
return rd + date->day - 2;
usr.bin/calendar/julian.c
96
julian_from_fixed(int rd, struct date *date)
usr.bin/calendar/julian.h
44
int fixed_from_julian(const struct date *date);
usr.bin/calendar/julian.h
45
void julian_from_fixed(int rd, struct date *date);
usr.bin/calendar/moon.c
887
struct date date = { year, 1, 1 };
usr.bin/calendar/moon.c
888
double t_begin = fixed_from_gregorian(&date) - loc->zone;
usr.bin/calendar/moon.c
889
date.year++;
usr.bin/calendar/moon.c
890
double t_end = fixed_from_gregorian(&date) - loc->zone;
usr.bin/calendar/moon.c
899
gregorian_from_fixed((int)floor(t_newmoon), &date);
usr.bin/calendar/moon.c
902
date.year, date.month, date.day, buf);
usr.bin/calendar/moon.c
912
gregorian_from_fixed((int)floor(t_event), &date);
usr.bin/calendar/moon.c
915
date.year, date.month, date.day, buf);
usr.bin/calendar/parsedata.c
132
determine_style(const char *date, struct dateinfo *di)
usr.bin/calendar/parsedata.c
139
snprintf(date2, sizeof(date2), "%s", date);
usr.bin/calendar/parsedata.c
202
__func__, m, date);
usr.bin/calendar/parsedata.c
235
__func__, p2, date);
usr.bin/calendar/parsedata.c
271
__func__, p2, date);
usr.bin/calendar/parsedata.c
276
warnx("%s: unrecognized date: |%s|", __func__, date);
usr.bin/calendar/parsedata.c
321
parse_cal_date(const char *date, int *flags, struct cal_day **dayp, char **edp)
usr.bin/calendar/parsedata.c
330
if (!determine_style(date, &di)) {
usr.bin/calendar/parsedata.c
399
__func__, date, Calendar->name);
usr.bin/calendar/parsedata.c
64
static bool determine_style(const char *date, struct dateinfo *di);
usr.bin/calendar/parsedata.c
688
parse_date(const char *date, int *rd_out)
usr.bin/calendar/parsedata.c
693
struct date gdate;
usr.bin/calendar/parsedata.c
700
len = strlen(date);
usr.bin/calendar/parsedata.c
704
if (!parse_int_ranged(date+len-2, 2, 1, 31, &gdate.day))
usr.bin/calendar/parsedata.c
708
if (!parse_int_ranged(date+len-4, 2, 1, 12, &gdate.month))
usr.bin/calendar/parsedata.c
713
if (!parse_int_ranged(date, len-4, 0, 9999, &gdate.year))
usr.bin/calendar/parsedata.c
724
__func__, date, gdate.year, gdate.month, gdate.day);
usr.bin/calendar/parsedata.h
56
int parse_cal_date(const char *date, int *flags, struct cal_day **dayp,
usr.bin/calendar/parsedata.h
62
bool parse_date(const char *date, int *rd_out);
usr.bin/calendar/sun.c
399
struct date date = { year, 1, 1 };
usr.bin/calendar/sun.c
405
date.month = event->month;
usr.bin/calendar/sun.c
406
date.day = 1;
usr.bin/calendar/sun.c
407
day_approx = fixed_from_gregorian(&date);
usr.bin/calendar/sun.c
409
gregorian_from_fixed((int)floor(t), &date);
usr.bin/calendar/sun.c
413
date.year, date.month, date.day, buf);
usr.bin/find/getdate.y
153
| date {
usr.bin/find/getdate.y
229
date : tUNUMBER '/' tUNUMBER {
usr.bin/gzip/gzip.c
1968
char *date = ctime(&ts);
usr.bin/gzip/gzip.c
1971
date += 4;
usr.bin/gzip/gzip.c
1972
date[12] = 0;
usr.bin/gzip/gzip.c
1973
printf("%5s %08x %11s ", "defla"/*XXX*/, crc, date);
usr.bin/mail/head.c
175
isdate(char *date)
usr.bin/mail/head.c
180
if (cmatch(date, date_formats[i]))
usr.bin/mail/names.c
282
char *date, *fname;
usr.bin/mail/names.c
288
date = ctime(&now);
usr.bin/mail/names.c
326
fprintf(fout, "From %s %s", myname, date);
usr.bin/msgs/msgs.c
104
char date[128];
usr.bin/msgs/msgs.c
481
printf("Message %d:\nFrom %s %s", msg, from, date);
usr.bin/msgs/msgs.c
807
subj[0] = from[0] = date[0] = '\0';
usr.bin/msgs/msgs.c
832
strncpy(date, in, sizeof date);
usr.bin/msgs/msgs.c
834
date[0] = '\n';
usr.bin/msgs/msgs.c
835
date[1] = '\0';
usr.bin/ncal/ncal.c
1011
sndaysr(struct date *d)
usr.bin/ncal/ncal.c
1028
sndaysb(struct date *d)
usr.bin/ncal/ncal.c
1038
static struct date *
usr.bin/ncal/ncal.c
1039
sdater(int nd, struct date *d)
usr.bin/ncal/ncal.c
1049
static struct date *
usr.bin/ncal/ncal.c
1050
sdateb(int nd, struct date *d)
usr.bin/ncal/ncal.c
182
static date *sdater(int ndays, struct date * d);
usr.bin/ncal/ncal.c
183
static date *sdateb(int ndays, struct date * d);
usr.bin/ncal/ncal.c
184
static int sndaysr(struct date * d);
usr.bin/ncal/ncal.c
185
static int sndaysb(struct date * d);
usr.bin/ncal/ncal.c
192
date never = {10000, 1, 1}; /* outside valid range of dates */
usr.bin/ncal/ncal.c
193
date ukswitch = {1752, 9, 2};/* switch date for Great Britain */
usr.bin/ncal/ncal.c
194
date dt;
usr.bin/ncal/ncal.c
55
typedef struct date date;
usr.bin/ncal/ncal.c
550
date dt;
usr.bin/ncal/ncal.c
72
date dt; /* Last day of Julian calendar */
usr.bin/ncal/ncal.c
776
date dt; /* handy date */
usr.bin/ncal/ncal.c
867
date dt; /* handy date */
usr.bin/ncal/ncal.c
989
date dt;
usr.bin/rusers/rusers.c
118
strncpy(date,
usr.bin/rusers/rusers.c
120
sizeof(date) - 1);
usr.bin/rusers/rusers.c
156
up->utmpidlearr_val[x].ui_utmp.ut_line, date,
usr.bin/rusers/rusers.c
93
char date[32], idle_time[64], remote[64];
usr.sbin/ac/ac.c
285
char date[64];
usr.sbin/ac/ac.c
292
strftime(date, sizeof(date),
usr.sbin/ac/ac.c
308
printf("%s %11.2f\n", date, (double)total.tv_sec / 3600);
usr.sbin/cpucontrol/amd.h
42
uint32_t date; /* Update creation date. */
usr.sbin/cpucontrol/intel.h
42
uint32_t date; /* Date of creation in BCD. */
usr.sbin/cpucontrol/via.h
42
uint32_t date; /* Date of creation in BCD. */
usr.sbin/makefs/cd9660.c
1240
cd9660_time_915(diskStructure->rr_moved_dir->isoDirRecord->date,
usr.sbin/makefs/cd9660.c
698
cd9660_time_915(diskStructure->rootNode->dot_record->isoDirRecord->date,
usr.sbin/makefs/cd9660.c
710
cd9660_time_915(record->date, tstamp);
usr.sbin/makefs/cd9660.c
851
cd9660_time_915(newnode->isoDirRecord->date,
usr.sbin/makefs/cd9660.h
114
u_char date [ISODCL (19, 25)]; /* 7 by 711 */