Searched refs:tm (Results 151 - 175 of 472) sorted by relevance

1234567891011>>

/freebsd-current/crypto/openssh/openbsd-compat/
H A Dbsd-misc.c441 struct tm *
442 localtime_r(const time_t *timep, struct tm *result)
444 struct tm *tm = localtime(timep); local
445 *result = *tm;
H A Dopenbsd-compat.h143 char *strptime(const char *buf, const char *fmt, struct tm *tm);
349 struct tm *localtime_r(const time_t *, struct tm *);
354 time_t timegm(struct tm *);
/freebsd-current/contrib/ntp/ntpd/
H A Drefclock_dumbclock.c65 struct tm ymd; /* struct tm for y/m/d only */
105 struct tm *tm_time_p;
235 struct tm *gmtp;
236 struct tm *lt_p;
238 struct tm asserted_tm; /* the struct tm of the same */
/freebsd-current/contrib/tzcode/
H A Ddate.c44 static void timeout(FILE *, const char *, const struct tm *);
170 struct tm *tmp;
191 timeout(FILE *fp, char const *format, struct tm const *tmp)
/freebsd-current/usr.bin/rup/
H A Drup.c95 struct tm *tmp_time;
96 struct tm host_time;
97 struct tm host_uptime;
/freebsd-current/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c150 struct tm t, gm;
170 struct tm t;
190 struct tm t;
/freebsd-current/usr.bin/logins/
H A Dlogins.c296 struct tm *tm; local
316 tm = gmtime(&pwd->pw_change);
317 strftime(cbuf, sizeof(cbuf), pwd->pw_change ? "%F" : "0", tm);
318 tm = gmtime(&pwd->pw_expire);
319 strftime(ebuf, sizeof(ebuf), pwd->pw_expire ? "%F" : "0", tm);
/freebsd-current/bin/date/
H A Ddate.c58 static void printisodate(struct tm *, long);
61 const struct tm * __restrict, long);
90 struct tm *lt;
225 printisodate(struct tm *lt, long nsec)
252 struct tm *lt;
373 const struct tm * __restrict t, long nsec)
/freebsd-current/sys/kern/
H A Dsubr_fattime.c260 struct tm tm; local
280 gmtime_r(&ts.tv_sec, &tm);
281 strftime(buf, sizeof buf, "%Y %m %d %H %M %S", &tm);
299 gmtime_r(&ts.tv_sec, &tm);
300 strftime(buf, sizeof buf, "%Y %m %d %H %M %S", &tm);
/freebsd-current/contrib/sendmail/src/
H A Darpadate.c50 #define TZ_TM_NAME 1 /* use tm->tm_name */
51 #define TZ_TM_ZONE 2 /* use tm->tm_zone */
63 register struct tm *lt;
65 struct tm gmt;
/freebsd-current/crypto/openssl/ssl/
H A Dbio_ssl.c120 unsigned long tm; local
122 tm = (unsigned long)time(NULL);
123 if (tm > sb->last_time + sb->renegotiate_timeout) {
124 sb->last_time = tm;
189 unsigned long tm; local
191 tm = (unsigned long)time(NULL);
192 if (tm > bs->last_time + bs->renegotiate_timeout) {
193 bs->last_time = tm;
/freebsd-current/contrib/lua/src/
H A Dltm.h62 #define notm(tm) ttisnil(tm)
/freebsd-current/lib/libfetch/
H A Dftp.c404 struct tm tm; local
456 &tm.tm_year, &tm.tm_mon, &tm.tm_mday,
457 &tm.tm_hour, &tm.tm_min, &tm.tm_sec) != 6) {
461 tm.tm_mon--;
462 tm
[all...]
/freebsd-current/sys/dev/mpr/
H A Dmpr_sas.h63 struct mpr_command *tm; member in struct:mprsas_target
170 void mprsas_prepare_for_tm(struct mpr_softc *sc, struct mpr_command *tm,
/freebsd-current/sys/dev/mps/
H A Dmps_sas.h62 struct mps_command *tm; member in struct:mpssas_target
164 void mpssas_prepare_for_tm(struct mps_softc *sc, struct mps_command *tm,
/freebsd-current/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_snmp.h65 struct tm;
316 /* Make an SNMP DateAndTime from a struct tm. */
317 int make_date_time(u_char *, const struct tm *, u_int);
/freebsd-current/usr.bin/finger/
H A Dsprint.c59 struct tm *lc;
158 struct tm *delta;
/freebsd-current/usr.bin/chpass/
H A Dutil.c63 struct tm *tp;
79 static struct tm *lt;
/freebsd-current/lib/libc/stdtime/
H A Dstrftime.c35 static char * _fmt(const char *, const struct tm *, char *, const char *,
76 const struct tm * __restrict t, locale_t loc)
109 const struct tm * __restrict t)
115 _fmt(const char *format, const struct tm * const t, char *pt,
299 struct tm tm; local
304 tm = *t;
305 mkt = timeoff(&tm, t->tm_gmtoff);
/freebsd-current/contrib/openbsm/libbsm/
H A Dbsm_token.c654 au_to_file(const char *file, struct timeval tm) argument
669 timems = tm.tv_usec/1000;
672 ADD_U_INT32(dptr, tm.tv_sec);
1466 struct timeval tm)
1483 timems = tm.tv_usec/1000;
1485 ADD_U_INT32(dptr, tm.tv_sec);
1504 struct timeval tm, struct auditinfo_addr *aia)
1531 timems = tm.tv_usec/1000;
1533 ADD_U_INT32(dptr, tm.tv_sec);
1541 struct timeval tm)
1465 au_to_header32_tm(int rec_size, au_event_t e_type, au_emod_t e_mod, struct timeval tm) argument
1503 au_to_header32_ex_tm(int rec_size, au_event_t e_type, au_emod_t e_mod, struct timeval tm, struct auditinfo_addr *aia) argument
1540 au_to_header64_tm(int rec_size, au_event_t e_type, au_emod_t e_mod, struct timeval tm) argument
1571 struct timeval tm; local
1588 struct timeval tm; local
1599 struct timeval tm; local
[all...]
/freebsd-current/sys/security/audit/
H A Dbsm_token.c578 au_to_file(const char *file, struct timeval tm) argument
591 timems = tm.tv_usec/1000;
594 ADD_U_INT32(dptr, tm.tv_sec);
1436 struct timeval tm)
1451 timems = tm.tv_usec/1000;
1453 ADD_U_INT32(dptr, tm.tv_sec);
1472 struct timeval tm, struct auditinfo_addr *aia)
1498 timems = tm.tv_usec/1000;
1500 ADD_U_INT32(dptr, tm.tv_sec);
1508 struct timeval tm)
1435 au_to_header32_tm(int rec_size, au_event_t e_type, au_emod_t e_mod, struct timeval tm) argument
1471 au_to_header32_ex_tm(int rec_size, au_event_t e_type, au_emod_t e_mod, struct timeval tm, struct auditinfo_addr *aia) argument
1507 au_to_header64_tm(int rec_size, au_event_t e_type, au_emod_t e_mod, struct timeval tm) argument
1536 struct timeval tm; local
1553 struct timeval tm; local
1564 struct timeval tm; local
[all...]
/freebsd-current/contrib/diff/lib/
H A Dstrftime.c276 tm_diff (const struct tm *a, const struct tm *b)
378 const struct tm *tp extra_args_spec LOCALE_PARAM_PROTO)
388 expressions might not be valid in every situation. The `struct tm'
1041 struct tm ltm;
1251 struct tm gtm;
1252 struct tm ltm;
1263 struct tm tm; local
1265 if (! __localtime_r (&lt, &tm)
[all...]
/freebsd-current/contrib/tnftp/src/
H A Dextern.h94 struct tm;
191 const char *rfc2822time(const struct tm *);
/freebsd-current/crypto/heimdal/appl/ftp/ftp/
H A Dftp_locl.h120 struct tm *localtime(const time_t *);
/freebsd-current/crypto/heimdal/lib/roken/
H A Dstrptime.c189 set_week_number_sun (struct tm *timeptr, int wnum)
205 set_week_number_mon (struct tm *timeptr, int wnum)
221 set_week_number_mon4 (struct tm *timeptr, int wnum)
241 strptime (const char *buf, const char *format, struct tm *timeptr)

Completed in 159 milliseconds

1234567891011>>