Home
last modified time | relevance | path

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

12345678910>>...29

/freebsd-13-stable/contrib/apr-util/misc/
HDapr_date.c145 APU_DECLARE(apr_time_t) apr_date_parse_http(const char *date) in apr_date_parse_http() argument
160 if (!date) in apr_date_parse_http()
163 while (*date && apr_isspace(*date)) /* Find first non-whitespace char */ in apr_date_parse_http()
164 ++date; in apr_date_parse_http()
166 if (*date == '\0') in apr_date_parse_http()
169 if ((date = strchr(date, ' ')) == NULL) /* Find space after weekday */ in apr_date_parse_http()
172 ++date; /* Now pointing to first char after space, which should be */ in apr_date_parse_http()
176 if (apr_date_checkmask(date, "## @$$ #### ##:##:## *")) { in apr_date_parse_http()
178 ds.tm_year = ((date[7] - '0') * 10 + (date[8] - '0') - 19) * 100; in apr_date_parse_http()
182 ds.tm_year += ((date[9] - '0') * 10) + (date[10] - '0'); in apr_date_parse_http()
[all …]
/freebsd-13-stable/lib/libcalendar/
HDcalendar.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 …]
HDcalendar.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);
HDeaster.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-13-stable/contrib/ntp/scripts/
HDinvoke-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.
76 Process all files with the date suffix less or equal to value of this
77 option. Defaults to today minus one day (Use @code{date -u +%Y%m%d})
[all …]
HDsummary-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
HDsummary.in44 $enddate = `date -u +%Y%m%d`;
81 my $date;
83 $date = $_; $date =~ s/.*($log_date_pattern)$/$1/;
84 if ($date ge $startdate && $date le $enddate) {
90 $date = $_; $date =~ s/.*($log_date_pattern)$/$1/;
91 if ($date ge $startdate && $date le $enddate) {
97 $date = $_; $date =~ s/.*($log_date_pattern)$/$1/;
98 if ($date ge $startdate && $date le $enddate) {
HDsummary-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-stable/contrib/subversion/subversion/libsvn_subr/
HDcompat.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()
/freebsd-13-stable/contrib/libarchive/cpio/test/
HDtest_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-13-stable/contrib/llvm-project/libcxx/include/__chrono/
HDleap_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-13-stable/usr.bin/calendar/
HDparsedata.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-13-stable/contrib/file/magic/Magdir/
HDmeteorological10 >>&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-stable/contrib/subversion/subversion/svn/
HDlog-cmd.c140 const char *date, in match_search_pattern() argument
154 if (date && match(pattern, date, buf)) in match_search_pattern()
194 const char *date, in match_search_patterns() argument
219 match = match_search_pattern(pattern, author, date, message, in match_search_patterns()
318 const char *date; in svn_cl__log_entry_receiver() local
324 svn_compat_log_revprops_out(&author, &date, &message, log_entry->revprops); in svn_cl__log_entry_receiver()
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()
353 ! match_search_patterns(lb->search_patterns, author, date, message, in svn_cl__log_entry_receiver()
[all …]
/freebsd-13-stable/usr.bin/lockf/tests/
HDlockf_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-13-stable/contrib/ntp/
HDresults.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
HDflock-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-13-stable/.cirrus-ci/
HDpkg-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-stable/bin/date/tests/
HDformat_string_test.sh28 date -r ${TEST1} +%${format_string}
30 date -r ${TEST2} +%${format_string}
60 date $flags -r ${TEST1} "-I${arg}"
62 date $flags -r ${TEST2} "-I${arg}"
142 iso8601_string_test date date "" "1970-02-07" "2001-11-12"
/freebsd-13-stable/usr.bin/ncal/
HDncal.c56 typedef struct date date; typedef
73 date dt; /* Last day of Julian calendar */
182 static date *sdater(int ndays, struct date * d);
183 static date *sdateb(int ndays, struct date * d);
184 static int sndaysr(struct date * d);
185 static int sndaysb(struct date * d);
192 date never = {10000, 1, 1}; /* outside valid range of dates */ in main()
193 date ukswitch = {1752, 9, 2};/* switch date for Great Britain */ in main()
194 date dt; in main()
543 date dt; in printeaster()
[all …]
/freebsd-13-stable/contrib/subversion/subversion/libsvn_ra_serf/
HDgetlocks.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-stable/contrib/libxo/tests/gettext/
HDgt_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-stable/contrib/tzdata/
HDMakefile579 DATEOBJS= date.o localtime.o strftime.o
584 NEWUCBSRCS= date.c
592 date.1.txt
597 DOCS= $(MANS) date.1 $(MANTXTS) $(WEB_PAGES)
634 date.1 date.c difftime.c \
648 ALL: all date $(ENCHILADA)
669 INSTALL: ALL install date.1
671 cp date '$(DESTDIR)$(BINDIR)/.'
672 cp -f date.1 '$(DESTDIR)$(MANDIR)/man1/.'
759 date=$$(TZ=$(leaplist_TZ) stat -c%y leap-seconds.list) && \
[all …]
/freebsd-13-stable/contrib/tzcode/
HDMakefile577 DATEOBJS= date.o localtime.o strftime.o
582 NEWUCBSRCS= date.c
590 date.1.txt
595 DOCS= $(MANS) date.1 $(MANTXTS) $(WEB_PAGES)
632 date.1 date.c difftime.c \
646 ALL: all date $(ENCHILADA)
667 INSTALL: ALL install date.1
669 cp date '$(DESTDIR)$(BINDIR)/.'
670 cp -f date.1 '$(DESTDIR)$(MANDIR)/man1/.'
757 date=$$(TZ=$(leaplist_TZ) stat -c%y leap-seconds.list) && \
[all …]
/freebsd-13-stable/usr.sbin/bsdinstall/scripts/
HDtime43 --date-format '%Y%m%d%H%M.%S' \
45 2>&1 1>&3) && date $DATE
57 2>&1 1>&3) && date $TIME

12345678910>>...29