| /openbsd/src/bin/date/ |
| D | date.1 | 1 .\" $OpenBSD: date.1,v 1.72 2021/04/29 00:47:53 deraadt Exp $ 2 .\" $NetBSD: date.1,v 1.12 1996/03/12 04:32:37 phil Exp $ 34 .\" @(#)date.1 8.3 (Berkeley) 4/28/95 40 .Nm date 41 .Nd display or set date and time 43 .Nm date 63 utility displays the current date and time. 66 will set the date and time or print it in a user-defined way. 68 Changing the system date has some risks, as described in 70 Only the superuser may change the date. [all …]
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/ |
| D | crash1.C | 5 class Date 8 Date(const D_Interval*,const Date&); 16 Time_Interval(const Date& start,const Date& stop); 17 const Date& Start() const { return start; } in Start() 18 const Date& Stop() const { return stop; } in Stop() 20 Date start; 21 Date stop; 41 : Dated_Data(Time_Interval(Date(&period,source->Dates().Start()), in Raw_Data() 42 Date(&period,source->Dates().Stop()))) in Raw_Data()
|
| /openbsd/src/gnu/usr.bin/perl/Porting/ |
| D | timecheck2.c | 18 struct tm *date; in check_date_max() local 25 date = (*date_func)(&time); in check_date_max() 28 if(date == NULL || date->tm_year < 69) in check_date_max() 46 date = (*date_func)(&time); in check_date_max() 49 if(date == NULL || date->tm_year < 69 || time < last_time) { in check_date_max() 63 struct tm *date; in check_date_min() local 70 date = (*date_func)(&time); in check_date_min() 73 if(date == NULL || date->tm_year > 70) in check_date_min() 91 date = (*date_func)(&time); in check_date_min() 94 if(date == NULL || date->tm_year > 70 || time > last_time) { in check_date_min()
|
| /openbsd/src/games/trek/ |
| D | schedule.c | 54 double date; in schedule() local 56 date = Now.date + offset; in schedule() 66 type, date, i, x, y, z); in schedule() 69 e->date = date; in schedule() 90 double date; in reschedule() local 95 date = Now.date + offset; in reschedule() 96 e->date = date; in reschedule() 100 e->evcode, e->x, e->y, e->systemname, date); in reschedule() 122 e->evcode, e->date, e->x, e->y, e->systemname); in unschedule() 125 e->date = 1e50; in unschedule() [all …]
|
| /openbsd/src/usr.bin/cvs/ |
| D | cvs.1 | 360 the author's name, and the date of the revision. 362 usage: cvs annotate [-flR] [-D date | -r rev] [file ...] 369 .It Fl D Ar date 371 .Ar date . 374 tag or date is not found. 404 -D date | -r rev module ... 416 .It Fl D Ar date 418 .Ar date 429 tag or date is not found. 707 A date or a revision must be specified for the command to be valid, [all …]
|
| /openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/lib/Test/ |
| D | Tutorial.pod | 84 of testing a module. For our example, we'll be testing a date 85 library, L<Date::ICal>. It's on CPAN, so download a copy and follow 93 The best place to start is at the beginning. L<Date::ICal> is an 105 use Date::ICal; 107 my $ical = Date::ICal->new; # create an object 109 ok( $ical->isa('Date::ICal') ); # and it's the right class 131 ok( $ical->isa('Date::ICal'), " and it's the right class" ); 144 L<Date::ICal/SYNOPSIS> and test that all its bits work. 150 use Date::ICal; 152 $ical = Date::ICal->new( year => 1964, month => 10, day => 16, [all …]
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/22_locale/ |
| D | time_put_members_wchar_t.cc | 64 const wchar_t* date = L"%A, the second of %B"; in test01() local 151 date, date + traits::length(date)); in test01() 155 date_ex, date_ex + traits::length(date)); in test01() 162 date, date + traits::length(date)); in test01() 166 date_ex, date_ex + traits::length(date)); in test01() 173 date, date + traits::length(date)); in test01() 177 date_ex, date_ex + traits::length(date)); in test01() 184 date, date + traits::length(date)); in test01() 188 date_ex, date_ex + traits::length(date)); in test01() 210 const wchar_t* date = L"%X, %A, the second of %B, %Y"; in test02() local [all …]
|
| D | time_put_members_char.cc | 62 const char* date = "%A, the second of %B"; in test01() local 149 date, date + strlen(date)); in test01() 153 date_ex, date_ex + strlen(date)); in test01() 160 date, date + strlen(date)); in test01() 164 date_ex, date_ex + strlen(date)); in test01() 171 date, date + strlen(date)); in test01() 175 date_ex, date_ex + strlen(date)); in test01() 182 date, date + strlen(date)); in test01() 186 date_ex, date_ex + strlen(date)); in test01() 208 const char* date = "%X, %A, the second of %B, %Y"; in test02() local [all …]
|
| /openbsd/src/gnu/usr.bin/cvs/contrib/ |
| D | rcs2sccs.sh | 33 s,;Date;,%E%,g 38 s,;Date:.*;,%E%,g 58 date=`rlog -r$rev $file | grep "^date: " | awk '{print $2; exit}' | sed -e 's/^19//'` 59 time=`rlog -r$rev $file | grep "^date: " | awk '{print $3; exit}' | sed -e 's/;//'` 60 author=`rlog -r$rev $file | grep "^date: " | awk '{print $5; exit}' | sed -e 's/;//'` 61 date="$date $time" 63 …rlog -r$rev $file | sed -e '/^branches: /d' -e '1,/^date: /d' -e '/^===========/d' -e 's/$/\\/' | … 64 echo "==> file $file, rev=$rev, date=$date, author=$author" 118 sed -e "s;^d D $rev ../../.. ..:..:.. [^ ][^ ]*;d D $rev $date $author;" SCCS/s.$file > $tmpfile
|
| D | rcs2log.sh | 67 datearg= # rlog date option 166 # Since ChangeLog is only by date, some of these revisions may be duplicates of 174 # ISO 8601 date 179 # old-fashioned date and time (Emacs 19.31 and earlier) 360 output_authors='/^date: / { 536 if (line ~ /^date: [0-9][- +\/0-9:]*;/) { 537 date = $2 538 if (date ~ /\//) { 539 # This is a traditional RCS format date YYYY/MM/DD. 542 while ((i = index(date, "/")) != 0) { [all …]
|
| D | cvs2vendor.sh | 77 …newdate=`rlog -r$rev $file | grep "^date: " | awk '{printf("%s.%s\n",$2,$3); exit}' | sed -e 's~/~… 78 …olddate=`rlog -r1.1.1.1 $dstdir/$bfile | grep "^date: " | awk '{printf("%s.%s\n",$2,$3); exit}' | … 104 … date=`rlog -r$rev $file | grep "^date: " | awk '{printf("%s %s\n",$2,$3); exit}' | sed -e 's/;//'` 105 author=`rlog -r$rev $file | grep "^date: " | awk '{print $5; exit}' | sed -e 's/;//'` 109 …rlog -r$rev $file | sed -e '/^branches: /d' -e '1,/^date: /d' -e '/^===========/d' | awk '{if ((to… 111 echo "==> file $file, rev=$rev, date=$date, author=$author $symname" 120 ci -f -m"`cat $commentfile`" -d"$date" $symname -w"$author" $bfile $dstdir/$bfile,v 122 echo ERROR - ci -f -m"`cat $commentfile`" -d"$date" $symname -w"$author" $bfile $dstdir/$bfile,v
|
| D | mfpipe.in | 5 # Date: Fri, 28 Feb 92 09:54:21 MST 21 # Date: Wed Feb 26 18:34:53 MST 1992 43 $date = `date`; 44 chop $date; 69 print FILE "$whoami $date--------BEGIN LOG ENTRY-------------\n" if ($logfile);
|
| D | sccs2rcs.in | 20 # + Date, time, author, comments, branches, are all preserved. 31 # the date of a delta to be in sync, then run "sccs admin -z" 118 '$'Date'$'\ 119 '$'Date'$'\ 180 set year = `echo $date | cut -c3-4` 183 set date = `sccs prs -r$rev $file | grep "^D " | awk '{printf("20%s %s", $3, $4); exit}'` 185 set date = `sccs prs -r$rev $file | grep "^D " | awk '{printf("19%s %s", $3, $4); exit}'` 189 echo "==> file $file, rev=$rev, date=$date, author=$author" 205 echo ci -f -r$rev -d"$date" -w$author -t$emptyfile $file 206 ci -f -r$rev -d"$date" -w$author -t$emptyfile $file < $initialfile >>& $logfile [all …]
|
| /openbsd/src/usr.bin/rcs/ |
| D | rlog.1 | 62 .It <date or date> 64 .Ar date . 65 .It >date or date< 67 .Ar date . 68 .It date 70 .Ar date . 167 Specify the date output format.
|
| D | ci.1 | 27 .Op Fl d Ns Op Ar date 85 .It Fl d Ns Op Ar date 87 .Ar date 88 for check-in date and time. 90 .Ar date 105 creation date, state and author to the values found in these keywords 113 Set the modification time of the file to the date of the 175 Specify the date output format in keyword substitution, and the 177 .Ar date
|
| D | co.c | 52 const char *author, *date, *state; in checkout_main() local 60 author = date = state = NULL; in checkout_main() 65 date = rcs_optarg; in checkout_main() 200 username, author, state, date) < 0) { in checkout_main() 236 * Looks up revision based upon <lockname>, <author>, <state> and <date> 243 const char *date) in checkout_rev() argument 259 if (date != NULL && (givendate = date_parse(date)) == -1) { in checkout_rev() 260 warnx("invalid date: %s", date); in checkout_rev() 301 if (date != NULL) { in checkout_rev() 304 warnx("invalid date: %s", fdate); in checkout_rev() [all …]
|
| D | ci.c | 47 #define KW_DATE "Date" 69 time_t date; member 96 "usage: ci [-qV] [-d[date]] [-f[rev]] [-I[rev]] [-i[rev]]\n" in checkin_usage() 119 pb.date = DATE_NOW; in checkin_main() 135 pb.date = DATE_MTIME; in checkin_main() 136 else if ((pb.date = date_parse(rcs_optarg)) == -1) in checkin_main() 137 errx(1, "invalid date"); in checkin_main() 460 * Set the date of the revision to be the last modification in checkin_update() 463 if (pb->date == DATE_MTIME) in checkin_update() 466 /* Date from argv/mtime must be more recent than HEAD */ in checkin_update() [all …]
|
| /openbsd/src/gnu/usr.bin/cvs/src/ |
| D | vers_ts.c | 16 DATE are from the command line. */ 19 Version_TS (finfo, options, tag, date, force_tag_match, set_time) in Version_TS() argument 27 char *date; 90 if (!(tag || date) && !(sdtp && sdtp->aflag)) 93 vers_ts->date = xstrdup (entdata->date); 139 if (tag || date) 142 vers_ts->date = xstrdup (date); 151 if (!vers_ts->date) 152 vers_ts->date = xstrdup (sdtp->date); 181 vers_ts->date, force_tag_match, [all …]
|
| D | classify.c | 19 Classify_File (finfo, tag, date, options, force_tag_match, aflag, versp, in Classify_File() argument 23 char *date; 38 vers = Version_TS (finfo, options, tag, date, 51 vers->date is set? It causes "cvs update -r tag98 foo" 55 if (!force_tag_match || !(vers->tag || vers->date)) 64 vers->date is set? It causes "cvs update -r tag98 foo" 68 if (!force_tag_match || !(vers->tag || vers->date)) 316 * file already for us, using the new tag/date. This 382 if (aflag || vers->tag || vers->date) 385 char *entdate = vers->entdata->date; [all …]
|
| D | annotate.c | 22 static char *date = NULL; variable 33 "Usage: %s %s [-lRf] [-r rev] [-D date] [files...]\n", 36 "\t-f\tUse head revision if tag/date not found.\n", 38 "\t-D date\tAnnotate file as of specified date.\n", 43 /* Command to show the revision, date, and author where each line of a 75 date = Make_Date (optarg); 104 if (date) 105 client_senddate (date); 262 version = RCS_getversion (finfo->rcs, tag, date, force_tag_match,
|
| D | entries.c | 36 Entnode_Create(type, user, vn, ts, options, tag, date, ts_conflict) in Entnode_Create() argument 43 const char *date; 56 ent->date = xstrdup (date); 77 if (ent->date) 78 free (ent->date); 210 Register (list, fname, vn, ts, options, tag, date, ts_conflict) in Register() argument 217 char *date; 226 server_register (fname, vn, ts, options, tag, date, ts_conflict); 236 options, tag ? tag : "", date ? date : ""); 239 entnode = Entnode_Create (ENT_FILE, fname, vn, ts, options, tag, date, [all …]
|
| /openbsd/src/regress/usr.bin/cvs/ |
| D | setdate.pl | 4 # Sets "date x;" of specified revision in rcsfile to date. 9 # usage: setdate.pl rcsfile revision date 14 die "usage: setdate.pl file revision date\n" if ($#ARGV != 2); 24 if (m/^date\s+(.*?);/) {
|
| /openbsd/src/usr.bin/file/ |
| D | magic.5 | 107 .It Dv date 108 A four-byte value interpreted as a UNIX date. 110 An eight-byte value interpreted as a UNIX date. 112 A four-byte value interpreted as a UNIX-style date, but interpreted as 115 An eight-byte value interpreted as a UNIX-style date, but interpreted as 129 interpreted as a Unix date. 132 interpreted as a Unix date. 135 interpreted as a UNIX-style date, but interpreted as local time rather 139 interpreted as a UNIX-style date, but interpreted as local time rather 155 interpreted as a UNIX date. [all …]
|
| /openbsd/src/gnu/usr.bin/cvs/man/ |
| D | cvs.1 | 39 time based on either a symbolic revision tag, or a date in the past. 401 Bring your working directory up to date with changes from the 427 argument, date description specifying a date in the 428 past). A wide variety of date formats are supported, in particular 434 using \fB\-D\fP, \fBcvs\fP records the date you 436 same date (unless you explicitly override it; see the description of 444 Examples of valid date specifications include: 463 When you specify a particular date or tag to \fBcvs\fP commands, they 465 the date) that you specified. Use the \fB\-f\fP option if you want 466 files retrieved even when there is no match for the tag or date. (The [all …]
|
| /openbsd/src/lib/libc/time/ |
| D | strftime.3 | 42 .Nd format date and time 98 is replaced by the locale's appropriate date and time representation. 100 is replaced by the date in the format 108 is replaced by the date in the format 189 is replaced by the date in the format 200 is replaced by the locale's appropriate date representation. 219 is replaced by the date and time in 220 .Xr date 1 239 .Xr date 1 ,
|