Home
last modified time | relevance | path

Searched refs:time_string (Results 1 – 6 of 6) sorted by relevance

/freebsd/crypto/openssh/
H A Dsshlogin.c98 char *time_string; in store_lastlog_message() local
105 time_string = sys_auth_get_lastlogin_msg(user, uid); in store_lastlog_message()
106 if (time_string != NULL) { in store_lastlog_message()
108 time_string, strlen(time_string))) != 0) in store_lastlog_message()
110 free(time_string); in store_lastlog_message()
117 time_string = ctime(&last_login_time); in store_lastlog_message()
118 time_string[strcspn(time_string, "\n")] = '\0'; in store_lastlog_message()
121 time_string); in store_lastlog_message()
124 time_string, hostname); in store_lastlog_message()
/freebsd/crypto/krb5/src/kadmin/server/
H A Dmisc.c92 char *time_string, *ptr; in check_min_life() local
97 time_string = ctime(&until); in check_min_life()
98 if (time_string == NULL) in check_min_life()
99 time_string = "(error)"; in check_min_life()
102 if (strlen(errstr) + strlen(time_string) < msg_len) { in check_min_life()
103 if (*(ptr = &time_string[strlen(time_string)-1]) == '\n') in check_min_life()
105 snprintf(msg_ret, msg_len, errstr, time_string); in check_min_life()
/freebsd/crypto/krb5/src/lib/kadm5/
H A Dchpass_util.c215 char *time_string, *ptr; in _kadm5_chpass_principal_util() local
219 time_string = ctime(&until); in _kadm5_chpass_principal_util()
220 if (time_string == NULL) in _kadm5_chpass_principal_util()
221 time_string = "(error)"; in _kadm5_chpass_principal_util()
222 else if (*(ptr = &time_string[strlen(time_string)-1]) == '\n') in _kadm5_chpass_principal_util()
226 time_string); in _kadm5_chpass_principal_util()
/freebsd/contrib/tcpdump/
H A Dntp.c56 const char *time_string; in p_ntp_time() local
64 time_string = "[Time is too large to fit into a time_t]"; in p_ntp_time()
67 time_string = nd_format_time(time_buf, sizeof (time_buf), in p_ntp_time()
70 ND_PRINT(" (%s)", time_string); in p_ntp_time()
/freebsd/contrib/ntp/libntp/lib/isc/
H A Dlog.c1411 char time_string[64]; in isc_log_doit() local
1449 time_string[0] = '\0'; in isc_log_doit()
1512 time_string[0] == '\0') { in isc_log_doit()
1516 isc_time_formattimestamp(&isctime, time_string, in isc_log_doit()
1517 sizeof(time_string)); in isc_log_doit()
1702 printtime ? time_string : "", in isc_log_doit()
1745 printtime ? time_string : "", in isc_log_doit()
/freebsd/crypto/heimdal/lib/hx509/
H A Dhxtool.c889 if (opt->time_string) { in pcert_verify()
896 p = strptime (opt->time_string, "%Y-%m-%d", &tm); in pcert_verify()
899 opt->time_string); in pcert_verify()