Home
last modified time | relevance | path

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

12345678910>>...36

/freebsd/lib/libcalendar/
H A Dcalendar.c50 typedef struct date date; typedef
54 static date jiswitch = {1582, 7, 3};
56 static date *date2idt(date *idt, date *dt);
57 static date *idt2date(date *dt, date *idt);
58 static int ndaysji(date *idt);
59 static int ndaysgi(date *idt);
66 date *
67 jdate(int ndays, date *dt) in jdate()
69 date idt; /* Internal date representation */ in jdate()
104 ndaysj(date *dt) in ndaysj()
[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 optio
[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.in41 $startdate = $opts->{'start-date'};
42 $enddate = $opts->{'end-date'};
44 $enddate = `date -u +%Y%m%d`;
55 die "$startdate: invalid start date|$`|$&|$'"
57 die "$enddate: invalid end date"
81 my $date;
83 $date = $_; $date =~ s/.*($log_date_pattern)$/$1/;
84 if ($date ge $startdate && $date l
[all...]
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/llvm-project/libcxx/include/__chrono/
H A Dleap_second.h46 …_LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI constexpr sys_seconds date() const noexcept { return __dat… in date() function
56 return __x.date() == __y.date();
60 return __x.date() <=> __y.date();
65 return __x.date() == __y;
70 return __x.date() < __y;
75 return __x < __y.date();
114 return __x.date() <=> __y;
/freebsd/contrib/libarchive/cpio/test/
H A Dtest_option_t.c18 char date[48]; in DEFINE_TEST() local
85 _snprintf(date, sizeof(date)-1, "%12s file", date2); in DEFINE_TEST()
88 snprintf(date, sizeof(date)-1, "%12s file", date2); in DEFINE_TEST()
90 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/usr.bin/calendar/
H A Dparsedata.c90 determinestyle(char *date, int *flags, in determinestyle() argument
129 if ((p = strchr(date, ' ')) == NULL) { in determinestyle()
130 if ((p = strchr(date, '/')) == NULL) { in determinestyle()
131 CHECKSPECIAL(date, STRING_CNY, strlen(STRING_CNY), in determinestyle()
133 CHECKSPECIAL(date, ncny.name, ncny.len, F_CNY); in determinestyle()
134 CHECKSPECIAL(date, STRING_NEWMOON, in determinestyle()
136 CHECKSPECIAL(date, nnewmoon.name, nnewmoon.len, in determinestyle()
138 CHECKSPECIAL(date, STRING_FULLMOON, in determinestyle()
140 CHECKSPECIAL(date, nfullmoon.name, nfullmoon.len, in determinestyle()
142 CHECKSPECIAL(date, STRING_PASKHA, in determinestyle()
[all …]
/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/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/tools/test/stress2/misc/
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 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 Dtmpfs2.sh48 start=`date +%s`
49 while [ $((`date +%s`- start)) -lt 300 ]; do
55 start=`date +%s`
56 while [ $((`date +%s`- start)) -lt 300 ]; do
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`
152 "`date -u -j -f '%s' '+%H:%M.%S' $((s2 - s1))`")
153 printf "`date '+%Y%m%d %T'` all.sh done, $r\n"
154 printf "`date '+%Y%m%d %T'` all.sh done, $r\r\n" > $console
166 s1=`date +%s`
213 ts=`date '+%Y%m%d %T'`
223 start=`date '+%s'`
235 ts=`date '+%Y%m%d %T'`
241 printf "$ts $rev $i $((`date '+%s'` - start))\n" >> \
245 [ $((`date '
[all...]
/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-build89 echo \`date -u '+%H:%M:%S'\` $i started build \$COUNT of 4
97 echo \`date -u '+%H:%M:%S'\` $i started build \$COUNT of 4
103 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
112 echo \`date -u '+%H:%M:%S'\` $i flock-build $c_d done.
121 echo `date -u '+%H:%M:%S'` flock-build launched
/freebsd/usr.bin/lockf/tests/
H A Dlockf_test.sh133 start=$(date +"%s")
136 now=$(date +"%s")
177 start=$(date +"%s")
187 now=$(date +"%s")
202 start=$(date +"%s")
207 now=$(date +"%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/.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/usr.bin/ncal/
H A Dncal.c57 typedef struct date date; typedef
74 date dt; /* Last day of Julian calendar */
184 static date *sdater(int ndays, struct date * d);
185 static date *sdateb(int ndays, struct date * d);
186 static int sndaysr(struct date * d);
187 static int sndaysb(struct date * d);
194 date never = {10000, 1, 1}; /* outside valid range of dates */ in main()
195 date ukswitch = {1752, 9, 2};/* switch date for Great Britain */ in main()
196 date dt; in main()
549 date dt; in printeaster()
[all …]

12345678910>>...36