Home
last modified time | relevance | path

Searched refs:date (Results 1 – 25 of 878) sorted by relevance

12345678910>>...36

/freebsd/lib/libcalendar/
H A Dcalendar.c50 typedef struct date date; typedef
56 static date *date2idt(date *idt, date *dt);
57 static date *idt2date(date *dt, date *idt);
66 date *
130 date *
238 date dt; in week()
251 date idt; in firstweek()
295 static date *
296 date2idt(date *idt, date *dt) in date2idt()
314 static date *
[all …]
H A Dcalendar.h28 struct date { struct
34 struct date *easterg(int _year, struct date *_dt); argument
35 struct date *easterog(int _year, struct date *_dt);
36 struct date *easteroj(int _year, struct date *_dt);
37 struct date *gdate(int _nd, struct date *_dt);
38 struct date *jdate(int _nd, struct date *_dt);
39 int ndaysg(struct date *_dt);
40 int ndaysj(struct date *_dt);
H A Deaster.c32 typedef struct date date; typedef
37 date *
38 easterg(int y, date *dt) in easterg()
56 date *
57 easterog(int y, date *dt) in easterog()
64 date *
65 easteroj(int y, date * dt) in easteroj()
85 date dt; in easterodn()
/freebsd/contrib/ntp/scripts/
H A Dinvoke-summary.texi23 * summary end-date:: end-date option
25 * summary start-date:: start-date option
49 --end-date=num End date
53 --start-date=num Start date
70 @node summary end-date
71 @subsection end-date option
72 @cindex summary-end-date
74 This is the ``end date'' option.
86 @node summary start-date
87 @subsection start-date option
[all …]
H A Dsummary-opts33 'end-date' => '',
37 'start-date' => '19700101',
42 'directory=s', 'end-date=i', 'output-directory=s',
43 'peer-dist-limit=f', 'skip-time-steps=f', 'start-date=i',
51 --end-date=num End date
55 --start-date=num Start date
H A Dsummary.in43 $enddate = `date -u +%Y%m%d`;
80 my $date;
82 $date = $_; $date =~ s/.*($log_date_pattern)$/$1/;
83 if ($date ge $startdate && $date le $enddate) {
89 $date = $_; $date =~ s/.*($log_date_pattern)$/$1/;
90 if ($date ge $startdate && $date le $enddate) {
96 $date = $_; $date =~ s/.*($log_date_pattern)$/$1/;
97 if ($date ge $startdate && $date le $enddate) {
H A Dsummary-opts.def26 name = end-date;
28 descrip = 'End date';
30 Process all files with the date suffix less or equal to value of this
31 option. Defaults to today minus one day (Use @code{date -u +%Y%m%d})
67 name = start-date;
70 descrip = 'Start date';
72 Process all files with the date suffix more or equal to value of
/freebsd/contrib/libarchive/cpio/test/
H A Dtest_option_t.c36 char date[32]; in DEFINE_TEST() local
102 _snprintf(date, sizeof(date)-1, "%12.12s file", date2); in DEFINE_TEST()
105 snprintf(date, sizeof(date)-1, "%12.12s file", date2); in DEFINE_TEST()
107 assertEqualMem(p + 42, date, strlen(date)); in DEFINE_TEST()
/freebsd/tools/test/stress2/tools/
H A Dfreeze.sh32 t1=`date '+%s'`
34 t2=`date '+%s'`
37 d1=`date -j -f '%s' '+%T' $t1`
38 d2=`date -j -f '%s' '+%T' $t2`
39 e=` date -u -j -f '%s' '+%T' $delta`
H A Dfreeze2.sh32 t1=`date '+%s'`
35 t2=`date '+%s'`
38 d1=`date -j -f '%s' '+%T' $t1`
39 d2=`date -j -f '%s' '+%T' $t2`
40 e=` date -u -j -f '%s' '+%T' $delta`
/freebsd/contrib/file/magic/Magdir/
H A Dmeteorological10 >>&32 string x \b, date %15.15s
14 >>&32 string x \b, date %15.15s
18 >>&32 string x \b, date %15.15s
22 >>&32 string x \b, date %15.15s
26 >>&32 string x \b, date %15.15s
30 >>&32 string x \b, date %15.15s
34 >>&32 string x \b, date %15.15s
38 >>&32 string x \b, date %15.15s
42 >>&32 string x \b, date %15.15s
/freebsd/contrib/bmake/unit-tests/
H A Dopt-query.mk24 _!= touch -f opt-query-file.up-to-date
37 . for target in opt-query-file.out-of-date opt-query-file.up-to-date phony
57 @rm -f opt-query-file.up-to-date
79 opt-query-file.out-of-date: ${MAKEFILE}
80 opt-query-file.up-to-date: ${MAKEFILE}
/freebsd/usr.bin/calendar/
H A Dparsedata.c90 determinestyle(char *date, int *flags, in determinestyle() argument
129 if ((p = strchr(date, ' ')) == NULL) { in determinestyle()
134 CHECKSPECIAL(date, STRING_NEWMOON, in determinestyle()
138 CHECKSPECIAL(date, STRING_FULLMOON, in determinestyle()
142 CHECKSPECIAL(date, STRING_PASKHA, in determinestyle()
145 CHECKSPECIAL(date, STRING_EASTER, in determinestyle()
168 if (strlen(date) == len) { in determinestyle()
169 strlcpy(dayofweek, date, SLEN); in determinestyle()
172 strncpy(dayofweek, date, len); in determinestyle()
178 if (isonlydigits(date, 1)) { in determinestyle()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dgnop12.sh56 start=`date +%s`
57 while [ $((`date +%s` - start)) -lt 600 ]; do
79 s=`date +%s`
85 if [ $((`date +%s` - s)) -ge 180 ]; then
96 t=`date +%s`
98 t=$((`date +%s`- t))
H A Dgnop10.sh77 start=`date +%s`
78 while [ $((`date +%s` - start)) -lt 600 ]; do
102 s=`date +%s`
108 if [ $((`date +%s` - s)) -ge 180 ]; then
119 t=`date +%s`
121 t=$((`date +%s`- t))
H A Dnullfs24.sh47 start=`date '+%s'`
48 while [ `date '+%s'` -lt $((start + $runtime)) ]; do
57 start=`date '+%s'`
58 while [ `date '+%s'` -lt $((start + $runtime)) ]; do
H A Dall.sh150 s2=`date +%s`
166 s1=`date +%s`
213 ts=`date '+%Y%m%d %T'`
223 start=`date '+%s'`
235 ts=`date '+%Y%m%d %T'`
245 [ $((`date '+%s'` - start)) -gt 1980 ] &&
247 $(((`date '+%s'` - start) / 60)) >> $allexcess
254 [ $minutes ] && [ $((`date +%s` - s1)) -ge $minutes ] &&
H A Dgnop13.sh58 start=`date +%s`
59 while [ $((`date +%s` - start)) -lt $((15 * 60)) ]; do
69 st=`date +%s`
76 [ $((`date +%s` - st)) -ge $t ] && break
84 st=`date +%s`
89 if [ $((`date +%s` - st)) -ge 180 ]; then
H A Dnullfs28.sh57 start=`date '+%s'`
58 while [ `date '+%s'` -lt $((start + $runtime)) ]; do
64 start=`date '+%s'`
65 while [ `date '+%s'` -lt $((start + $runtime)) ]; do
/freebsd/usr.bin/lockf/tests/
H A Dlockf_test.sh131 start=$(date +"%s")
134 now=$(date +"%s")
175 start=$(date +"%s")
185 now=$(date +"%s")
200 start=$(date +"%s")
205 now=$(date +"%s")
/freebsd/contrib/ntp/
H A Dresults.y2kfixes2 [root@timetest ntpdate]# date
6 [root@timetest ntpdate]# date
13 [root@timetest ntpdate]# date
17 [root@timetest ntpdate]# date
24 [root@timetest ntpdate]# date
28 [root@timetest ntpdate]# date
35 [root@timetest ntpdate]# date
39 [root@timetest ntpdate]# date
H A Dflock-build101 echo \`date -u '+%H:%M:%S'\` $i started build \$COUNT of 4
109 echo \`date -u '+%H:%M:%S'\` $i started build \$COUNT of 4
115 echo \`date -u '+%H:%M:%S'\` $i started build \$COUNT of 4
121 echo \`date -u '+%H:%M:%S'\` $i started build \$COUNT of 4
124 echo \`date -u '+%H:%M:%S'\` $i flock-build $c_d done.
133 echo `date -u '+%H:%M:%S'` flock-build launched
/freebsd/.cirrus-ci/
H A Dpkg-install.sh4 start_time=$(date +%s)
8 pkg install failed after $(($(date +%s) - $start_time))s
16 start_time=$(date +%s)
20 second pkg install failed after $(($(date +%s) - $start_time))s
/freebsd/bin/date/tests/
H A Dformat_string_test.sh28 date -r ${TEST1} +%${format_string}
30 date -r ${TEST2} +%${format_string}
41 date -r "$file" +%s.%N
71 date $flags -r ${TEST1} "-I${arg}"
73 date $flags -r ${TEST2} "-I${arg}"
156 iso8601_string_test date date "" "1970-02-07" "2001-11-12"
/freebsd/usr.bin/ncal/
H A Dncal.c56 typedef struct date date; typedef
182 static date *sdater(int ndays, struct date * d);
183 static date *sdateb(int ndays, struct date * d);
194 date dt; in main()
543 date dt; in printeaster()
769 date dt; /* handy date */ in mkmonthr()
983 date dt; in firstday()
1005 sndaysr(struct date *d) in sndaysr()
1022 sndaysb(struct date *d) in sndaysb()
1032 static struct date *
[all …]

12345678910>>...36