Home
last modified time | relevance | path

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

12345678910>>...29

/freebsd-13.1/contrib/apr-util/misc/
H A Dapr_date.c160 if (!date) in apr_date_parse_http()
164 ++date; in apr_date_parse_http()
182 ds.tm_year += ((date[9] - '0') * 10) + (date[10] - '0'); in apr_date_parse_http()
184 ds.tm_mday = ((date[0] - '0') * 10) + (date[1] - '0'); in apr_date_parse_http()
191 ds.tm_year = ((date[7] - '0') * 10) + (date[8] - '0'); in apr_date_parse_http()
195 ds.tm_mday = ((date[0] - '0') * 10) + (date[1] - '0'); in apr_date_parse_http()
224 ds.tm_year += ((date[8] - '0') * 10) + (date[9] - '0'); in apr_date_parse_http()
334 if (!date) in apr_date_parse_rfc()
360 ds.tm_mday = ((date[0] - '0') * 10) + (date[1] - '0'); in apr_date_parse_rfc()
369 ds.tm_year = ((date[7] - '0') * 10) + (date[8] - '0'); in apr_date_parse_rfc()
[all …]
/freebsd-13.1/lib/libcalendar/
H A Dcalendar.c52 typedef struct date date; typedef
58 static date *date2idt(date *idt, date *dt);
59 static date *idt2date(date *dt, date *idt);
68 date *
132 date *
240 date dt; in week()
253 date idt; in firstweek()
297 static date *
298 date2idt(date *idt, date *dt) in date2idt()
316 static date *
[all …]
H A Dcalendar.h30 struct date { struct
36 struct date *easterg(int _year, struct date *_dt); argument
37 struct date *easterog(int _year, struct date *_dt);
38 struct date *easteroj(int _year, struct date *_dt);
39 struct date *gdate(int _nd, struct date *_dt);
40 struct date *jdate(int _nd, struct date *_dt);
41 int ndaysg(struct date *_dt);
42 int ndaysj(struct date *_dt);
H A Deaster.c34 typedef struct date date; typedef
39 date *
40 easterg(int y, date *dt) in easterg()
58 date *
59 easterog(int y, date *dt) in easterog()
66 date *
67 easteroj(int y, date * dt) in easteroj()
87 date dt; in easterodn()
/freebsd-13.1/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-13.1/contrib/libarchive/cpio/test/
H A Dtest_option_t.c37 char date[32]; in DEFINE_TEST() local
92 _snprintf(date, sizeof(date)-1, "%12.12s file", date2); in DEFINE_TEST()
95 snprintf(date, sizeof(date)-1, "%12.12s file", date2); in DEFINE_TEST()
97 assertEqualMem(p + 42, date, strlen(date)); in DEFINE_TEST()
/freebsd-13.1/contrib/subversion/subversion/libsvn_subr/
H A Dcompat.c49 commit_info->date, in commit_wrapper_callback()
99 const svn_string_t **date, in svn_compat_log_revprops_out_string() argument
103 *author = *date = *message = NULL; in svn_compat_log_revprops_out_string()
107 *date = svn_hash_gets(revprops, SVN_PROP_REVISION_DATE); in svn_compat_log_revprops_out_string()
113 svn_compat_log_revprops_out(const char **author, const char **date, in svn_compat_log_revprops_out() argument
121 *date = date_s ? date_s->data : NULL; in svn_compat_log_revprops_out()
141 const char *author, *date, *message; in log_wrapper_callback() local
142 svn_compat_log_revprops_out(&author, &date, &message, in log_wrapper_callback()
147 author, date, message, in log_wrapper_callback()
H A Dsubst.c158 apr_time_t date, in keyword_printf() argument
193 if (date) in keyword_printf()
212 if (date) in keyword_printf()
287 apr_time_t date, in build_keywords() argument
397 apr_time_t date, in svn_subst_build_keywords2() argument
770 && (b->date == NULL) in svn_subst_keywords_differ()
775 && (a->date == NULL) in svn_subst_keywords_differ()
781 && (b->date == NULL) in svn_subst_keywords_differ()
785 && (a->date == NULL) in svn_subst_keywords_differ()
802 if ((! a->date) != (! b->date)) in svn_subst_keywords_differ()
[all …]
/freebsd-13.1/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-13.1/usr.bin/calendar/
H A Dparsedata.c92 determinestyle(char *date, int *flags, in determinestyle() argument
131 if ((p = strchr(date, ' ')) == NULL) { in determinestyle()
136 CHECKSPECIAL(date, STRING_NEWMOON, in determinestyle()
140 CHECKSPECIAL(date, STRING_FULLMOON, in determinestyle()
144 CHECKSPECIAL(date, STRING_PASKHA, in determinestyle()
147 CHECKSPECIAL(date, STRING_EASTER, in determinestyle()
170 if (strlen(date) == len) { in determinestyle()
171 strlcpy(dayofweek, date, SLEN); in determinestyle()
174 strncpy(dayofweek, date, len); in determinestyle()
180 if (isonlydigits(date, 1)) { in determinestyle()
[all …]
/freebsd-13.1/contrib/subversion/subversion/svn/
H A Dlog-cmd.c140 const char *date, in match_search_pattern() argument
154 if (date && match(pattern, date, buf)) in match_search_pattern()
318 const char *date; in svn_cl__log_entry_receiver() local
343 if (date && date[0]) in svn_cl__log_entry_receiver()
345 SVN_ERR(svn_cl__time_cstring_to_human_cstring(&date, date, pool)); in svn_cl__log_entry_receiver()
347 date = _("(no date)"); in svn_cl__log_entry_receiver()
534 const char *date; in svn_cl__log_entry_receiver_xml() local
573 if (date) in svn_cl__log_entry_receiver_xml()
574 date = svn_xml_fuzzy_escape(date, pool); in svn_cl__log_entry_receiver_xml()
601 if (date && date[0] == '\0') in svn_cl__log_entry_receiver_xml()
[all …]
/freebsd-13.1/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-13.1/.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-13.1/bin/date/tests/
H A Dformat_string_test.sh29 date -r ${TEST1} +%${format_string}
31 date -r ${TEST2} +%${format_string}
61 date $flags -r ${TEST1} "-I${arg}"
63 date $flags -r ${TEST2} "-I${arg}"
143 iso8601_string_test date date "" "1970-02-07" "2001-11-12"
/freebsd-13.1/usr.bin/ncal/
H A Dncal.c58 typedef struct date date; typedef
184 static date *sdater(int ndays, struct date * d);
185 static date *sdateb(int ndays, struct date * d);
196 date dt; in main()
543 date dt; in printeaster()
769 date dt; /* handy date */ in mkmonthr()
982 date dt; in firstday()
1004 sndaysr(struct date *d) in sndaysr()
1021 sndaysb(struct date *d) in sndaysb()
1031 static struct date *
[all …]
/freebsd-13.1/contrib/subversion/subversion/libsvn_ra_serf/
H A Dgetlocks.c157 const char *date; in getlocks_closed() local
168 date = svn_hash_gets(attrs, SVN_DAV__CREATIONDATE); in getlocks_closed()
169 if (date) in getlocks_closed()
170 SVN_ERR(svn_time_from_cstring(&lock.creation_date, date, in getlocks_closed()
173 date = svn_hash_gets(attrs, "expirationdate"); in getlocks_closed()
174 if (date) in getlocks_closed()
175 SVN_ERR(svn_time_from_cstring(&lock.expiration_date, date, in getlocks_closed()
/freebsd-13.1/contrib/libxo/tests/gettext/
H A Dgt_01.c96 char date[64]; in main() local
97 strftime(date, sizeof(date), "%+", &tm); in main()
102 xo_emit("{G:}Version {:version} {:date}\n", "1.2.3", date); in main()
/freebsd-13.1/usr.sbin/bsdinstall/scripts/
H A Dtime44 --date-format '%Y%m%d%H%M.%S' \
46 2>&1 1>&3) && date $DATE
58 2>&1 1>&3) && date $TIME
/freebsd-13.1/tests/sys/cddl/zfs/tests/cli_root/zpool_destroy/
H A Dzpool_destroy_004_pos.ksh71 sndrcv_start=$(date '+%s')
78 destroy_start=$(date '+%s')
80 destroy_end=$(date '+%s')
92 wait_end=$(date '+%s')
/freebsd-13.1/tools/tools/intel-ucode-split/
H A Dintel-ucode-split.c45 uint32_t date; /* BCD mmddyyyy */ member
89 printf("date\t\t0x%x\t%04x-%02x-%02x\n", hdr->date, in dump_header()
90 hdr->date & 0xffff, (hdr->date & 0xff000000) >> 24, in dump_header()
91 (hdr->date & 0xff0000) >> 16); in dump_header()
/freebsd-13.1/usr.sbin/pw/tests/
H A Dpw_useradd_test.sh81 DATE=`date -j -v+1d "+%s"`
92 DATE=`date -j -v+1d "+%d-%m-%Y"`
93 EPOCH=`date -j -f "%d-%m-%Y %H:%M:%S" "${DATE} 00:00:00" "+%s"`
104 DATE=`date -j -v+1d "+%d-%b-%Y"`
105 EPOCH=`date -j -f "%d-%b-%Y %H:%M:%S" "${DATE} 00:00:00" "+%s"`
116 EPOCH=`date -j -v+13m "+%s"`
129 DATE=`date -j -v+1d "+%s"`
140 DATE=`date -j -v+1d "+%d-%m-%Y"`
141 EPOCH=`date -j -f "%d-%m-%Y %H:%M:%S" "${DATE} 00:00:00" "+%s"`
152 DATE=`date -j -v+1d "+%d-%b-%Y"`
[all …]

12345678910>>...29