| /mirbsd/src/usr.sbin/httpd/src/main/ |
| D | util_date.c | 218 API_EXPORT(time_t) ap_parseHTTPdate(const char *date) in ap_parseHTTPdate() argument 232 if (!date) in ap_parseHTTPdate() 235 while (ap_isspace(*date)) /* Find first non-whitespace char */ in ap_parseHTTPdate() 236 ++date; in ap_parseHTTPdate() 238 if (*date == '\0') in ap_parseHTTPdate() 241 if ((date = strchr(date, ' ')) == NULL) /* Find space after weekday */ in ap_parseHTTPdate() 244 ++date; /* Now pointing to first char after space, which should be */ in ap_parseHTTPdate() 247 if (ap_checkmask(date, "## @$$ #### ##:##:## *")) { /* RFC 1123 format */ in ap_parseHTTPdate() 248 ds.tm_year = ((date[7] - '0') * 10 + (date[8] - '0') - 19) * 100; in ap_parseHTTPdate() 252 ds.tm_year += ((date[9] - '0') * 10) + (date[10] - '0'); in ap_parseHTTPdate() [all …]
|
| /mirbsd/src/gnu/usr.bin/rcs/src/ |
| D | rcsrev.c | 263 normalizeyear(date, year) in normalizeyear() argument 264 char const *date; in normalizeyear() 267 if (isdigit(date[0]) && isdigit(date[1]) && !isdigit(date[2])) { 270 year[2] = date[0]; 271 year[3] = date[1]; 275 return date; 280 cantfindbranch(revno, date, author, state) in cantfindbranch() argument 281 char const *revno, date[datesize], *author, *state; in cantfindbranch() 287 date ? " a date before " : "", 288 date ? date2str(date,datebuf) : "", [all …]
|
| D | rcstime.c | 42 time2date(time_t unixtime, char date[datesize]) in time2date() 47 snprintf(date, datesize, in time2date() 90 date2str(char const date[datesize], char datebuf[datesize + zonelenmax]) in date2str() 92 char const *p = date; in date2str() 98 if (date[2]=='.' && VERSION(5)<=RCSversion) { in date2str() 105 (int)(p-date-1), date, p, p+3, p+6, p+9, p+12); in date2str()
|
| /mirbsd/src/gnu/usr.bin/cvs/doc/ |
| D | getdate.texi | 1 @c GNU date syntax documentation 22 @cindex date input formats 51 This section describes the textual date representations that @sc{gnu} 57 * General date syntax:: Common rules. 58 * Calendar date items:: 19 Dec 1994. 62 * Relative items in date strings:: next tuesday, 2 years ago. 63 * Pure numbers in date strings:: 19931219, 1440. 69 @node General date syntax 70 @section General date syntax 72 @cindex general date syntax [all …]
|
| /mirbsd/src/gnu/usr.bin/cvs/src/ |
| D | classify.c | 40 Classify_File (struct file_info *finfo, char *tag, char *date, char *options, in Classify_File() argument 47 vers = Version_TS (finfo, options, tag, date, in Classify_File() 64 if (!force_tag_match || !(vers->tag || vers->date)) in Classify_File() 78 if (!force_tag_match || !(vers->tag || vers->date)) in Classify_File() 410 if (aflag || vers->tag || vers->date) in sticky_ck() 413 char *entdate = vers->entdata->date; in sticky_ck() 417 (entdate && vers->date && strcmp (entdate, vers->date)) || in sticky_ck() 418 ((entdate && !vers->date) || (!entdate && vers->date))) in sticky_ck() 421 vers->options, vers->tag, vers->date, vers->ts_conflict); in sticky_ck()
|
| D | vers_ts.c | 41 Version_TS (struct file_info *finfo, char *options, char *tag, char *date, in Version_TS() argument 104 if (!(tag || date) && !(sdtp && sdtp->aflag)) in Version_TS() 107 vers_ts->date = xstrdup (entdata->date); in Version_TS() 162 if (tag || date) in Version_TS() 165 vers_ts->date = xstrdup (date); in Version_TS() 174 if (!vers_ts->date) in Version_TS() 175 vers_ts->date = xstrdup (sdtp->date); in Version_TS() 204 vers_ts->date, force_tag_match, in Version_TS() 458 if ((*versp)->date) in freevers_ts() 459 free ((*versp)->date); in freevers_ts()
|
| D | entries.c | 40 const char *date, const char *ts_conflict) in Entnode_Create() argument 52 ent->date = xstrdup (date); in Entnode_Create() 72 if (ent->date) in Entnode_Destroy() 73 free (ent->date); in Entnode_Destroy() 201 const char *options, const char *tag, const char *date, in Register() argument 210 server_register (fname, vn, ts, options, tag, date, ts_conflict); in Register() 217 options, tag ? tag : "", date ? date : ""); in Register() 219 entnode = Entnode_Create (ENT_FILE, fname, vn, ts, options, tag, date, in Register() 256 if (sdtp->date) in freesdt() 257 free (sdtp->date); in freesdt() [all …]
|
| D | checkout.c | 95 static char *date; variable 125 tag = date = join_rev1 = join_date1 = join_rev2 = join_date2 = in checkout() 213 parse_tagdate (&tag, &date, optarg); in checkout() 217 if (date) free (date); in checkout() 218 date = Make_Date (optarg); in checkout() 260 if (!tag && !date) in checkout() 324 if (date) in checkout() 325 client_senddate (date); in checkout() 376 if (!date) in checkout() 379 history_name = date; in checkout() [all …]
|
| D | annotate.c | 31 static char *date = NULL; variable 84 parse_tagdate (&tag, &date, optarg); in annotate() 87 if (date) free (date); in annotate() 88 date = Make_Date (optarg); in annotate() 124 if (date) in annotate() 125 client_senddate (date); in annotate() 274 version = RCS_getversion (finfo->rcs, tag, date, force_tag_match, NULL); in annotate_fileproc()
|
| D | add.c | 197 char *date; in add() local 243 ParseTag (&tag, &date, &nonbranch); in add() 247 Create_Admin (p, argv[j], rcsdir, tag, date, in add() 261 if (date) in add() 262 free (date); in add() 536 vers->options, vers->tag, vers->date, NULL); in add() 636 vers->tag, vers->date, NULL); in add() 735 char *tag, *date; in add_directory() local 753 ParseTag (&tag, &date, &nonbranch); in add_directory() 791 date ? "--> Using per-directory sticky date `" : "", in add_directory() [all …]
|
| D | main.c | 1170 parse_tagdate (char **tag, char **date, const char *input) in parse_tagdate() argument 1175 *tag ? *tag : "(null)", *date ? *date : "(null)", in parse_tagdate() 1193 if (*date) free (*date); in parse_tagdate() 1194 *date = strcmp (p, "BASE") ? Make_Date (p) : xstrdup (p); in parse_tagdate() 1205 *tag ? *tag : "(null)", *date ? *date : "(null)"); in parse_tagdate() 1223 char date[MAXDATELEN]; in date_from_time_t() local 1234 (void) sprintf (date, DATEFORM, in date_from_time_t() 1238 ret = xstrdup (date); in date_from_time_t() 1254 struct tm date; in date_to_internet() local 1256 date_to_tm (&date, source); in date_to_internet() [all …]
|
| D | update.c | 86 static char *date = NULL; variable 208 parse_tagdate (&tag, &date, optarg); in update() 211 if (date) free (date); in update() 212 date = Make_Date (optarg); in update() 288 if (date) in update() 289 client_senddate (date); in update() 416 if (aflag || tag || date) in update() 419 WriteTag (NULL, tag, date, 0, ".", repos); in update() 431 if (tag || date || join_orig1) in update() 438 err = do_update (argc, argv, options, tag, date, force_tag_match, in update() [all …]
|
| D | create_adm.c | 33 const char *tag, const char *date, int nonbranch, int warn, in Create_Admin() argument 43 date ? date : "", nonbranch, warn, dotemplate); in Create_Admin() 164 WriteTag (dir, tag, date, nonbranch, update_dir, repository); in Create_Admin()
|
| D | cvs.h | 311 char *date; member 332 char *date; member 469 void parse_tagdate (char **tag, char **date, const char *input); 557 const char *repository, const char *tag, const char *date, 585 void WriteTag (const char *dir, const char *tag, const char *date, 631 const char *options, const char *tag, const char *date, 758 char *date; member 772 char *date, int force_tag_match, 812 Ctype Classify_File (struct file_info *finfo, char *tag, char *date, char *options,
|
| D | tag.c | 47 static char *date = NULL; variable 171 parse_tagdate (&numtag, &date, optarg); in cvstag() 174 if (date) free (date); in cvstag() 175 date = Make_Date (optarg); in cvstag() 192 if (date && delete_flag) in cvstag() 227 if (date) in cvstag() 228 client_senddate (date); in cvstag() 266 (date ? date : "A"))), symtag, argv[i], ""); in cvstag() 635 if (!is_rtag && numtag == NULL && date == NULL) in check_fileproc() 638 ti->rev = RCS_getversion (vers->srcfile, numtag, date, in check_fileproc() [all …]
|
| /mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/ |
| D | HTFTP.c | 162 NonNull(entry_info->date), \ 1452 char day[8], month[8], date[12]; in set_years_and_date() local 1470 sprintf(date, "9999%02d%.2s", i, day); in set_years_and_date() 1471 TheDate = atoi(date); in set_years_and_date() 1481 char *date; member 1498 FREE(entry_info->date); in free_entryinfo_struct_contents() 1614 StrAllocCopy(info->date, ct); in parse_eplf_line() 1650 StrAllocCopy(entry->date, &line[i - 12]); in parse_ls_line() 1652 if (entry->date[4] == ' ' || entry->date[4] == '0') in parse_ls_line() 1653 entry->date[4] = HT_NON_BREAK_SPACE; in parse_ls_line() [all …]
|
| /mirbsd/src/gnu/usr.bin/cvs/contrib/ |
| D | mfpipe.in | 73 $date = `date`; 74 chop $date; 99 print FILE "$whoami $date--------BEGIN LOG ENTRY-------------\n" if ($logfile);
|
| D | sccs2rcs.in | 223 set date = `sccs prs -r$rev $file | @AWK@ '/^D / {print (substr($3,1,2)+0<70?20:19) $3, $4; exit}'` 226 echo "==> file $file, rev=$rev, date=$date, author=$author" 251 echo ci -f -r$rev -d"$date" -w$author -t$emptyfile $file 252 ci -f -r$rev -d"$date" -w$author -t$emptyfile $file < $initialfile >>& $logfile 259 ci -f -r$rev -d"$date" -w$author -t$tmpfile $file < $initialfile >>& $logfile 284 ci -f -r$rev -d"$date" -w$author $file < $tmpfile >>& $logfile
|
| D | rcs2sccs.sh | 73 date=`rlog -r$rev $file | grep "^date: " | awk '{print $2; exit}' | sed -e 's/^19\|^20//'` 76 date="$date $time" 79 echo "==> file $file, rev=$rev, date=$date, author=$author" 133 sed -e "s;^d D $rev ../../.. ..:..:.. [^ ][^ ]*;d D $rev $date $author;" SCCS/s.$file > $tmpfile
|
| D | cvs2vendor.sh | 121 … date=`rlog -r$rev $file | grep "^date: " | awk '{printf("%s %s\n",$2,$3); exit}' | sed -e 's/;//'` 128 echo "==> file $file, rev=$rev, date=$date, author=$author $symname" 137 ci -f -m"`cat $commentfile`" -d"$date" $symname -w"$author" $bfile $dstdir/$bfile,v 139 echo ERROR - ci -f -m"`cat $commentfile`" -d"$date" $symname -w"$author" $bfile $dstdir/$bfile,v
|
| /mirbsd/src/lib/libssl/src/apps/ |
| D | version.c | 142 int cflags=0,version=0,date=0,options=0,platform=0,dir=0; in MAIN() local 156 date=1; in MAIN() 166 date=version=cflags=options=platform=dir=1; in MAIN() 176 if (date) printf("%s\n",SSLeay_version(SSLEAY_BUILT_ON)); in MAIN()
|
| /mirbsd/src/usr.bin/lock/ |
| D | lock.c | 88 char hostname[MAXHOSTNAMELEN], s[BUFSIZ], s1[BUFSIZ], date[256]; in main() local 154 strftime(date, sizeof(date), "%+", timp); in main() 188 __progname, ttynam, hostname, date); in main() 192 __progname, ttynam, hostname, sectimeout, date); in main()
|
| /mirbsd/src/usr.sbin/httpd/src/support/ |
| D | log_server_status | 102 $date = $year . `date +%m%d:%H%M%S`; 103 chomp($date); 104 ($day,$time)=split(/:/,$date);
|
| /mirbsd/src/gnu/usr.sbin/sendmail/contrib/ |
| D | mmuegel | 33 # 12339 -r--r--r-- libs/date.pl 150 # ============= libs/date.pl ============== 155 if test -f 'libs/date.pl' -a X"$1" != X"-c"; then 156 echo 'x - skipping libs/date.pl (File already exists)' 158 echo 'x - extracting libs/date.pl (Text)' 159 sed 's/^X//' << 'SHAR_EOF' > 'libs/date.pl' && 162 ;# date.pl - Perl emulation of (the output side of) date(1) 165 ;# require "date.pl"; 166 ;# $Date = &date(time); 167 ;# $Date = &date(time, $format); [all …]
|
| /mirbsd/src/usr.bin/cal/ |
| D | README | 1 The cal(1) date routines were written from scratch, basically from first 3 Gregorian date was "reverse engineered". This was necessary as most of 4 the documented algorithms have to do with date calculations for other 10 the day of week for any date. The algorithm for a zero based day of week: 32 to the date for which the leap year is being calculated. A year that occurs
|