Home
last modified time | relevance | path

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

12345678910>>...34

/openbsd/gnu/usr.bin/perl/Porting/
H A Dtimecheck2.c18 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/games/trek/
H A Dschedule.c54 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()
H A Dwarp.c153 Now.date += time; in warp()
155 Now.date); in warp()
160 Event[i].date += time; in warp()
166 time = Now.date; in warp()
174 Now.date); in warp()
177 reschedule(&Event[i], Event[i].date - time); in warp()
H A Ddock.c113 reschedule(e, (e->date - Now.date) * Param.dockfac); in dock()
145 reschedule(e, (e->date - Now.date) / Param.dockfac); in undock()
H A Ddumpme.c78 reschedule(e, (e->date - Now.date) + x); in dumpme()
82 Ship.quadx, Ship.quady, Now.date); in dumpme()
/openbsd/gnu/lib/libstdc++/libstdc++/testsuite/22_locale/
H A Dtime_put_members_char.cc62 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 …]
H A Dtime_put_members_wchar_t.cc64 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 …]
/openbsd/gnu/usr.bin/cvs/src/
H A Dvers_ts.c19 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,
401 if ((*versp)->date)
[all …]
H A Dclassify.c19 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,
55 if (!force_tag_match || !(vers->tag || vers->date))
68 if (!force_tag_match || !(vers->tag || vers->date))
382 if (aflag || vers->tag || vers->date)
385 char *entdate = vers->entdata->date;
389 (entdate && vers->date && strcmp (entdate, vers->date)) ||
390 ((entdate && !vers->date) || (!entdate && vers->date)))
393 vers->options, vers->tag, vers->date, vers->ts_conflict);
H A Dentries.c43 const char *date;
56 ent->date = xstrdup (date);
77 if (ent->date)
78 free (ent->date);
217 char *date;
236 options, tag ? tag : "", date ? date : "");
278 if (sdtp->date)
279 free (sdtp->date);
439 else if (p->date)
643 char *date;
[all …]
H A Dcheckout.c93 static char *date = NULL; variable
210 date = Make_Date (optarg);
244 if (!tag && !date)
315 if (date)
316 client_senddate (date);
363 if (tag && date)
366 sprintf (history_name, "%s:%s", tag, date);
371 history_name = date;
477 sticky ? date : (char *) NULL,
1046 vers = Version_TS (&finfo, options, tag, date,
[all …]
H A Dadd.c200 char *date; local
243 ParseTag (&tag, &date, &nonbranch);
260 if (date)
261 free (date);
681 char *tag, *date; local
699 ParseTag (&tag, &date, &nonbranch);
738 + (date == NULL ? 0 : strlen (date) + 80));
746 if (date)
749 (void) strcat (message, date);
813 if (date)
[all …]
H A Dcreate_adm.c25 Create_Admin (dir, update_dir, repository, tag, date, nonbranch, warn, in Create_Admin() argument
31 char *date;
46 date ? date : "", nonbranch, warn);
169 WriteTag (dir, tag, date, nonbranch, update_dir, repository);
/openbsd/usr.bin/rcs/
H A Dco.c52 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()
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()
518 date ? "a date before " : "", in checkout_err_nobranch()
519 date ? date : "", in checkout_err_nobranch()
[all …]
H A Dci.c69 time_t date; member
119 pb.date = DATE_NOW; in checkin_main()
135 pb.date = DATE_MTIME; in checkin_main()
463 if (pb->date == DATE_MTIME) in checkin_update()
467 if (pb->date != DATE_NOW) { in checkin_update()
469 if (pb->date <= head_date) { in checkin_update()
474 t = gmtime(&pb->date); in checkin_update()
617 &pb->date, &pb->state, &pb->author); in checkin_init()
645 if (pb->date == DATE_MTIME) in checkin_init()
652 pb->date, pb->author) != 0) { in checkin_init()
[all …]
/openbsd/gnu/usr.bin/cvs/contrib/
H A Dmfpipe.in43 $date = `date`;
44 chop $date;
69 print FILE "$whoami $date--------BEGIN LOG ENTRY-------------\n" if ($logfile);
H A Drcs2sccs.sh58 date=`rlog -r$rev $file | grep "^date: " | awk '{print $2; exit}' | sed -e 's/^19//'`
61 date="$date $time"
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
/openbsd/sys/arch/powerpc64/dev/
H A Dopal.c281 uint32_t date; in opal_gettime() local
296 dt.dt_day = FROMBCD((date >> 0) & 0xff); in opal_gettime()
297 dt.dt_mon = FROMBCD((date >> 8) & 0xff); in opal_gettime()
298 dt.dt_year = FROMBCD((date >> 16) & 0xff); in opal_gettime()
299 dt.dt_year += 100 * FROMBCD((date >> 24) & 0xff); in opal_gettime()
312 uint32_t date = 0; in opal_settime() local
320 date |= (uint32_t)TOBCD(dt.dt_day); in opal_settime()
321 date |= (uint32_t)TOBCD(dt.dt_mon) << 8; in opal_settime()
322 date |= (uint32_t)TOBCD(dt.dt_year) << 16; in opal_settime()
323 date |= (uint32_t)TOBCD(dt.dt_year / 100) << 24; in opal_settime()
[all …]
/openbsd/gnu/usr.bin/perl/t/op/
H A Dtime.t182 my $date = gmtime($big_time);
186 $date = localtime($big_time);
190 $date = gmtime($small_time);
194 $date = localtime($small_time);
222 my $date = gmtime($big_time);
227 $date = localtime($big_time);
232 $date = gmtime($small_time);
237 $date = localtime($small_time);
/openbsd/gnu/usr.bin/perl/
H A Dtime64.c154 static Time64_T S_timegm64(const struct TM *date) { in S_timegm64() argument
158 if( date->tm_year > 70 ) { in S_timegm64()
160 while( year < date->tm_year ) { in S_timegm64()
165 else if ( date->tm_year < 70 ) { in S_timegm64()
170 } while( year >= date->tm_year ); in S_timegm64()
173 days += julian_days_by_month[IS_LEAP(date->tm_year)][date->tm_mon]; in S_timegm64()
174 days += date->tm_mday - 1; in S_timegm64()
180 seconds += date->tm_hour * 60 * 60; in S_timegm64()
181 seconds += date->tm_min * 60; in S_timegm64()
182 seconds += date->tm_sec; in S_timegm64()
/openbsd/distrib/special/date/
H A DMakefile3 .PATH: ${.CURDIR}/../../../bin/date
5 PROG= date
7 SRCS= date.c
/openbsd/regress/usr.bin/mandoc/mdoc/Dd/
H A Dbadarg.out_lint1 mandoc: badarg.in:2:5: WARNING: cannot parse date, using it verbatim: Dd bad date
2 mandoc: badarg.in:2:5: STYLE: Mdocdate missing: Dd bad date (OpenBSD)
/openbsd/usr.bin/openssl/
H A Dversion.c140 int date; member
151 cfg.date = 1; in version_all_opts()
171 .opt.flag = &cfg.date,
239 if (cfg.date) in version_main()
/openbsd/regress/usr.bin/rcs/
H A Drlog-rflag2.out15 date: 2006/01/01 00:00:00; author: foo; state: Exp; lines: +1 -0;
19 date: 2006/01/01 00:00:00; author: foo; state: Exp; lines: +1 -0;
23 date: 2006/01/01 00:00:00; author: foo; state: Exp;
/openbsd/usr.bin/lock/
H A Dlock.c68 char hostname[HOST_NAME_MAX+1], s[BUFSIZ], s1[BUFSIZ], date[256]; in main() local
138 strftime(date, sizeof(date), "%c", timp); in main()
176 getprogname(), ttynam, hostname, date); in main()
180 getprogname(), ttynam, hostname, sectimeout, date); in main()

12345678910>>...34