/freebsd/lib/libcalendar/ |
H A D | calendar.c | 50 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 D | calendar.h | 28 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 D | easter.c | 32 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 D | invoke-summary.texi | 23 * 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 D | summary-opts | 33 '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 D | summary.in | 41 $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 D | summary-opts.def | 26 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 D | leap_second.h | 46 …_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 D | test_option_t.c | 18 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 D | freeze.sh | 32 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 D | freeze2.sh | 32 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 D | parsedata.c | 90 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 D | opt-query.mk | 24 _!= 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 D | meteorological | 10 >>&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 D | gnop10.sh | 77 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 D | gnop12.sh | 56 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 D | tmpfs2.sh | 48 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 D | nullfs24.sh | 47 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 D | all.sh | 150 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 D | results.y2kfixes | 2 [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 D | flock-build | 89 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 D | lockf_test.sh | 133 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 D | format_string_test.sh | 28 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 D | pkg-install.sh | 4 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 D | ncal.c | 57 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 …]
|