Searched defs:date (Results 1 - 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/cmd/backup/lib/
H A Dgetdate.y133 | date {
204 date : tUNUMBER '/' tUNUMBER { label
722 char *name = "DATEMSK"; /* env variable for date format */
768 "%s: Bad date/time format\n"), p);
787 "%s: Invalid date specification\n"), p);
877 (void) fputs(gettext("Enter date as mmddhhmm[yy]: "), stdout);
970 (void) printf(gettext("Enter date, or blank line to exit.\n\t> "));
/illumos-gate/usr/src/cmd/krb5/kadmin/cli/
H A Dgetdate.y274 | date {
349 date : tUNUMBER '/' tUNUMBER { label
999 * date stamp.
1076 (void)printf(gettext("Enter date, or blank line to exit.\n\t> "));
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/
H A DSysloglikeFormatter.java50 * The date set for each published Record.
52 private Date date = new Date(); field in class:SysloglikeFormatter
66 * For published dates, the argument to date formatter.
68 private Object args[] = { date };
123 date.setTime(record.getMillis());
127 sb.append(dateFormatter.format(date));
/illumos-gate/usr/src/cmd/lp/include/
H A Dsecure.h61 time_t date; member in struct:SECURE
/illumos-gate/usr/src/cmd/valtools/
H A Dckdate.c60 "\t%%D #date as %%m/%%d/%%y or %%m-%%d-%%y (default)\n" \
122 char *date; local
234 date = (char *)malloc(len);
235 if (!date) {
240 n = ckdate(date, fmt, deflt, error, help, prompt);
246 (void) printf("%s", date);
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Ddate.c30 * date.c: support for the scadm date option (change/display service
31 * processor date)
56 static char date[40]; local
82 (void) cftime(date, "%m""%d""%H""%M""%Y", &currentTime);
86 largv[2] = date;
117 gettext("scadm: could not read date from SC"));
123 /* Print the date */
143 gettext("scadm: arguments error in set date"));
150 gettext("scadm: INTERNAL ERROR in set date"));
[all...]
/illumos-gate/usr/src/cmd/ast/msgcc/
H A Dmsggen.c89 " the newest date for a given \aidentification\a"
124 char* date; member in struct:Xl_s
158 if (strcoll(px->date, d) < 0)
160 free(px->date);
161 if (!(px->date = strdup(d)))
168 if (!(px = newof(0, Xl_t, 1, strlen(s))) || !(px->date = strdup(d)))
494 if (px->date && (!bp || strcoll(bp->date, px->date) < 0))
498 sfprintf(tp, "%s%s %s", t, bp->name, bp->date);
[all...]
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c115 time_t date = 0; local
140 date = get_date(argv[i]);
141 if (date == (time_t)(-1)) {
147 policyparams->maxtktlife = date - now;
154 date = get_date(argv[i]);
155 if (date == (time_t)(-1)) {
161 policyparams->maxrenewlife = date - now;
451 time_t date = 0; local
521 date = get_date(argv[i]);
522 if (date
[all...]
H A Dkdb5_ldap_realm.c155 time_t date; local
169 date = get_date(argv[*i]);
170 if (date == (time_t)(-1)) {
175 rparams->max_life = date-now;
184 date = get_date(argv[*i]);
185 if (date == (time_t)(-1)) {
190 rparams->max_renewable_life = date-now;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Drd_req_dec.c126 krb5_timestamp date,
136 skew = labs((date)-currenttime);
566 krb5int_check_clockskew(krb5_context context, krb5_timestamp date) argument
574 if (!(labs((date)-currenttime) < context->clockskew))
125 krb5int_check_clockskew2(krb5_context context, krb5_timestamp date, krb5_timestamp *ret_skew) argument
/illumos-gate/usr/src/cmd/date/
H A Ddate.c46 * date - with format capabilities and international flair
106 gettext("date: invalid argument -- %s\n"),
136 perror(gettext("date: Failed to obtain system time"));
143 perror(gettext("date: Failed to adjust date"));
181 setdate(struct tm *current_date, char *date) argument
195 /* Parse date string */
196 if ((secptr = strchr(date, '.')) != NULL && strlen(&secptr[1]) == 2 &&
201 len = strlen(date);
204 if (!isdigit(date[
[all...]
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpoptr.c384 char *date; local
411 date = (char *)ctime(&ddate);
412 date[16] = '\0'; /* blow away seconds and year */
440 date); local
/illumos-gate/usr/src/cmd/touch/
H A Dtouch.c270 char date[64]; local
285 * The date string has the format (defined by the touch(1) spec):
294 * Make a copy of the date string so it can be tokenized.
296 if (strlcpy(date, t, sizeof (date)) >= sizeof (date))
300 p = date + strlen(date) - 1;
307 p = date;
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Dlpsched-jobs.c471 size_t size, time_t date, short state, char *destination,
506 "time-at-creation", date);
470 job_status_to_attributes(job_t *job, char *req_id, char *user, char *slabel, size_t size, time_t date, short state, char *destination, char *form, char *charset, short rank, char *file) argument
H A Dprinter.c462 time_t date = 0; local
467 &owner, &slabel, &size, &date, &state, &dest,
495 date, state, dest, form, charset, rank, file);
/illumos-gate/usr/src/boot/lib/libstand/
H A Ddosfs.h65 u_char c_date[2]; /* created: date */
66 u_char a_date[2]; /* accessed: date */
76 u_char date[2]; /* modified: date */ member in struct:__anon60
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_util.c253 jobject date = NULL; local
277 date = (*env)->NewObject(
282 return (date);
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DDecisionHistory.java158 private Date date; field in class:DecisionHistory.Decision
183 date = new Date();
272 return date;
276 * Formatter for printing creation date.
281 * Format for printing creation date.
/illumos-gate/usr/src/cmd/cron/
H A Datq.c79 extern int creation(); /* sort jobs by date of creation */
80 extern int execution(); /* sort jobs by date of execution */
366 * Print the date that a job is to be executed. This takes some manipulation
374 char date[18]; /* reformatted execution date */ local
377 * Convert the file name to a date.
385 * Format the execution date of a job.
387 sprintf(date, "%3s %2d, %4d %02d:%02d", mthnames[unpackeddate->tm_mon],
392 * Print the date the job will be executed.
394 printf("%-21.18s", date);
[all...]
/illumos-gate/usr/src/cmd/mailx/
H A Dnames.c206 char *date, *fname, *shell; local
258 date = ctime(&now);
259 fprintf(fout, "From %s %s", myname, date);
/illumos-gate/usr/src/lib/libadm/common/
H A Dckdate.c42 #define PROMPT "Enter the date"
43 #define MESG "Please enter a date"
406 ckdate(char *date, char *fmt, char *defstr, char *error, char *help, argument
432 (void) strcpy(date, defstr);
446 (void) strcpy(date, input);
/illumos-gate/usr/src/lib/libbsm/common/
H A Dadt_token.c645 time_t date; local
659 * For now, a date is input as a time_t and output as
664 date = ((union convert *)p_data)->tlong;
666 localtime_r(&date, &tm)) > TEXT_LENGTH) {
668 (void) strncpy(buffer, "invalid date",
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/
H A Dlpstat.c249 "lpsched-reject-date", "lpsched-reject-reason", NULL };
278 "lpsched-reject-date", &curr);
370 "lpsched-disable-date", "printer-state-reasons",
489 "lpsched-disable-date", &curr);
794 char date[24]; local
959 (void) strftime(date, sizeof (date), "%b %d %R", localtime(&clock));
981 rank, request, User, size, date);
983 printf("%-23s %-14s %7ld %s", request, User, size, date);
/illumos-gate/usr/src/cmd/bnu/
H A Dperfstat.c579 * An address of a static character array containing the date.
586 static char date[] = "YYMMDDhhmmss"; local
593 (void) sprintf(date, "%02d%02d%02d%02d%02d%02d",
601 return date;
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_io32.h38 uint32_t date_len; /* Length of date buffer */
39 caddr32_t date; /* User-space buffer to hold date */ member in struct:drm_version_32

Completed in 165 milliseconds

123