/freebsd/include/ |
H A D | time.h | 98 struct tm { struct 99 int tm_sec; /* seconds after the minute [0-60] */ argument 100 int tm_min; /* minutes after the hour [0-59] */ argument 101 int tm_hour; /* hours since midnight [0-23] */ argument 102 int tm_mday; /* day of the month [1-31] */ argument 103 int tm_mon; /* months since January [0-11] */ argument 104 int tm_year; /* years since 1900 */ argument 105 int tm_wday; /* days since Sunday [0-6] */ argument 106 int tm_yday; /* days since January 1 [0-365] */ argument 107 int tm_isdst; /* Daylight Savings Time flag */ argument [all …]
|
/freebsd/sys/kern/ |
H A D | subr_terminal.c | 55 #define TERMINAL_LOCK(tm) do { \ argument 61 #define TERMINAL_UNLOCK(tm) do { \ argument 67 #define TERMINAL_LOCK_TTY(tm) do { \ argument 71 #define TERMINAL_UNLOCK_TTY(tm) do { \ argument 75 #define TERMINAL_LOCK_CONS(tm) mtx_lock_spin(&(tm)->tm_mtx) argument 76 #define TERMINAL_UNLOCK_CONS(tm) mtx_unlock_spin(&(tm)->tm_mtx) argument 165 terminal_init(struct terminal *tm) in terminal_init() 201 struct terminal *tm; in terminal_alloc() local 213 terminal_sync_ttysize(struct terminal *tm) in terminal_sync_ttysize() 227 terminal_maketty(struct terminal *tm, const char *fmt, ...) in terminal_maketty() [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | strftime.c | 124 week_number_sun (const struct tm *tm) in week_number_sun() 135 week_number_mon (const struct tm *tm) in week_number_mon() 149 week_number_mon4 (const struct tm *tm) in week_number_mon4() 171 const struct tm *tm) in strftime()
|
H A D | strpftime-test.c | 236 struct tm *tm; in main() local 282 struct tm tm; in main() local
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_time.c | 50 static void determine_days(struct tm *tm) in determine_days() 76 int ossl_asn1_time_to_tm(struct tm *tm, const ASN1_TIME *d) in ossl_asn1_time_to_tm() 356 struct tm tm; in ASN1_TIME_to_generalizedtime() local 383 struct tm tm; in ASN1_TIME_set_string_X509() local 441 int ASN1_TIME_to_tm(const ASN1_TIME *s, struct tm *tm) in ASN1_TIME_to_tm() 474 int ASN1_TIME_print(BIO *bp, const ASN1_TIME *tm) in ASN1_TIME_print() 480 int ASN1_TIME_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags) in ASN1_TIME_print_ex() 488 int ossl_asn1_time_print_ex(BIO *bp, const ASN1_TIME *tm, unsigned long flags) in ossl_asn1_time_print_ex() 572 struct tm tm; in ASN1_TIME_normalize() local
|
/freebsd/sys/contrib/openzfs/lib/libspl/ |
H A D | timestamp.c | 57 struct tm tm; in print_timestamp() local 83 struct tm tm; in get_timestamp() local 94 struct tm tm; in format_timestamp() local
|
/freebsd/contrib/ntp/libntp/ |
H A D | humandate.c | 21 struct tm * tm; humanlogtime() local 48 struct tm * tm; humantime() local [all...] |
H A D | prettydate.c | 67 struct tm *tm = NULL; get_struct_tm() local 166 struct tm *tm; common_prettydate() local [all...] |
/freebsd/contrib/netbsd-tests/lib/libutil/ |
H A D | t_parsedate.c | 58 struct tm * time_to_tm(const time_t *, struct tm *), in parsecheck() 62 struct tm tm; in parsecheck() local 195 struct tm tm; in ATF_TC_BODY() local 238 struct tm tm; in ATF_TC_BODY() local 241 #define REL_CHECK(s, now, tm) do { \ in ATF_TC_BODY() argument
|
/freebsd/sys/dev/efidev/ |
H A D | efirtc.c | 64 struct efi_tm tm; in efirtc_probe() local 132 struct efi_tm tm; in efirtc_gettime() local 155 struct efi_tm tm; in efirtc_settime() local
|
H A D | efirt.c | 546 efi_get_time_locked(struct efi_tm *tm, struct efi_tmcap *tmcap) in efi_get_time_locked() 567 get_time(struct efi_tm *tm) in get_time() 587 get_waketime(uint8_t *enabled, uint8_t *pending, struct efi_tm *tm) in get_waketime() 624 set_waketime(uint8_t enable, struct efi_tm *tm) in set_waketime() 695 efi_set_time_locked(struct efi_tm *tm) in efi_set_time_locked() 711 set_time(struct efi_tm *tm) in set_time()
|
H A D | efidev.c | 78 struct efi_tm *tm = (struct efi_tm *)addr; in efidev_ioctl() local 85 struct efi_tm *tm = (struct efi_tm *)addr; in efidev_ioctl() local
|
/freebsd/usr.bin/at/ |
H A D | parsetime.c | 286 plus_or_minus(struct tm *tm, int delay) in plus_or_minus() 331 plus(struct tm *tm) in plus() 346 minus(struct tm *tm) in minus() 362 tod(struct tm *tm) in tod() 428 assign_date(struct tm *tm, long mday, long mon, long year) in assign_date() 477 month(struct tm *tm) in month()
|
/freebsd/sys/dev/mps/ |
H A D | mps_sas.c | 217 struct mps_command *tm; in mpssas_alloc_tm() local 229 mpssas_free_tm(struct mps_softc *sc, struct mps_command *tm) in mpssas_free_tm() 336 mpssas_remove_volume(struct mps_softc *sc, struct mps_command *tm) in mpssas_remove_volume() 403 struct mps_command *tm; in mpssas_prepare_volume_remove() local 521 mpssas_remove_device(struct mps_softc *sc, struct mps_command *tm) in mpssas_remove_device() 598 mpssas_remove_complete(struct mps_softc *sc, struct mps_command *tm) in mpssas_remove_complete() 1147 struct mps_command *tm = data; in mpssas_tm_timeout() local 1163 mpssas_logical_unit_reset_complete(struct mps_softc *sc, struct mps_command *tm) in mpssas_logical_unit_reset_complete() 1261 mpssas_target_reset_complete(struct mps_softc *sc, struct mps_command *tm) in mpssas_target_reset_complete() 1338 mpssas_send_reset(struct mps_softc *sc, struct mps_command *tm, uint8_t type) in mpssas_send_reset() [all …]
|
/freebsd/sys/dev/mpr/ |
H A D | mpr_sas.c | 223 struct mpr_command *tm; in mprsas_alloc_tm() local 236 mprsas_free_tm(struct mpr_softc *sc, struct mpr_command *tm) in mprsas_free_tm() 344 mprsas_remove_volume(struct mpr_softc *sc, struct mpr_command *tm) in mprsas_remove_volume() 509 struct mpr_command *tm; in mprsas_prepare_remove() local 556 mprsas_remove_device(struct mpr_softc *sc, struct mpr_command *tm) in mprsas_remove_device() 635 mprsas_remove_complete(struct mpr_softc *sc, struct mpr_command *tm) in mprsas_remove_complete() 1205 struct mpr_command *tm = data; in mprsas_tm_timeout() local 1221 mprsas_logical_unit_reset_complete(struct mpr_softc *sc, struct mpr_command *tm) in mprsas_logical_unit_reset_complete() 1320 mprsas_target_reset_complete(struct mpr_softc *sc, struct mpr_command *tm) in mprsas_target_reset_complete() 1399 mprsas_send_reset(struct mpr_softc *sc, struct mpr_command *tm, uint8_t type) in mprsas_send_reset() [all …]
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | timegm.c | 56 _der_timegm (struct tm *tm) in _der_timegm() 96 _der_gmtime(time_t t, struct tm *tm) in _der_gmtime()
|
/freebsd/sys/dev/vt/ |
H A D | vt_cpulogos.c | 121 struct terminal *tm = vd->vd_curwindow->vw_terminal; in vtterm_draw_cpu_logos() local 153 struct terminal *tm; in vt_fini_logos() local 210 struct terminal *tm; in vt_init_logos() local
|
H A D | vt_core.c | 1120 vtterm_bell(struct terminal *tm) in vtterm_bell() 1149 vtterm_beep(struct terminal *tm, u_int param) in vtterm_beep() 1175 vtterm_cursor(struct terminal *tm, const term_pos_t *p) in vtterm_cursor() 1183 vtterm_putchar(struct terminal *tm, const term_pos_t *p, term_char_t c) in vtterm_putchar() 1191 vtterm_fill(struct terminal *tm, const term_rect_t *r, term_char_t c) in vtterm_fill() 1199 vtterm_copy(struct terminal *tm, const term_rect_t *r, in vtterm_copy() 1208 vtterm_param(struct terminal *tm, int cmd, unsigned int arg) in vtterm_param() 1625 vtterm_pre_input(struct terminal *tm) in vtterm_pre_input() 1636 vtterm_post_input(struct terminal *tm) in vtterm_post_input() 1648 vtterm_done(struct terminal *tm) in vtterm_done() [all …]
|
/freebsd/contrib/file/src/ |
H A D | print.c | 309 struct tm *tm, tmz; in file_fmtdatetime() local 350 struct tm tm; in file_fmtdate() local 369 struct tm tm; in file_fmttime() local
|
H A D | cdf_time.c | 101 struct tm tm; in cdf_timestamp_to_timespec() local 154 struct tm tm; in cdf_timespec_to_timestamp() local
|
/freebsd/lib/libc/stdtime/ |
H A D | strptime.c | 79 _strptime(const char * buf,const char * fmt,struct tm * tm,int * GMTp,locale_t locale) _strptime() argument 693 strptime_l(const char * __restrict buf,const char * __restrict fmt,struct tm * __restrict tm,locale_t loc) strptime_l() argument 712 strptime(const char * __restrict buf,const char * __restrict fmt,struct tm * __restrict tm) strptime() argument [all...] |
/freebsd/crypto/openssl/crypto/x509/ |
H A D | x509cset.c | 37 int X509_CRL_set1_lastUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_lastUpdate() 44 int X509_CRL_set1_nextUpdate(X509_CRL *x, const ASN1_TIME *tm) in X509_CRL_set1_nextUpdate() 140 int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) in X509_REVOKED_set_revocationDate()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | strptime.c | 61 strptime(const char *buf, const char *fmt, struct tm *tm) in strptime() 67 _strptime(const char *buf, const char *fmt, struct tm *tm, int initialize) in _strptime()
|
/freebsd/usr.sbin/newsyslog/ |
H A D | ptimes.c | 73 struct tm tm; /* Time expanded into fields */ member 131 struct tm tm; in parse8601() local 231 struct tm tm; in parseDWM() local 503 struct tm tm; in ptimeget_ctime_rfc5424() local
|
/freebsd/contrib/mandoc/ |
H A D | mandoc.c | 103 struct tm tm; in a2time() local 123 struct tm *tm; in time2a() local
|