/freebsd-9.3-release/contrib/ntp/util/ |
H A D | ntp-keygen.c | 2092 struct tm tm; /* time decode structure time */ 2104 tm.tm_year = (v[0] - '0') * 10 + v[1] - '0'; 2105 if (tm.tm_year < 50) 2106 tm.tm_year += 100; 2107 tm.tm_mon = (v[2] - '0') * 10 + v[3] - '0' - 1; 2108 tm.tm_mday = (v[4] - '0') * 10 + v[5] - '0'; 2109 tm.tm_hour = (v[6] - '0') * 10 + v[7] - '0'; 2110 tm.tm_min = (v[8] - '0') * 10 + v[9] - '0'; 2111 tm [all...] |
/freebsd-9.3-release/contrib/ntp/sntp/ |
H A D | configure | 10184 if ((struct tm *) 0) 24828 struct tm tm; 24829 tm.tm_sec = 36; /* seconds after the minute [0, 61] */ 24830 tm.tm_min = 44; /* minutes after the hour [0, 59] */ 24831 tm.tm_hour = 12; /* hour since midnight [0, 23] */ 24832 tm.tm_mday = 28; /* day of the month [1, 31] */ 24833 tm.tm_mon = 7; /* months since January [0, 11] */ 24834 tm.tm_year = 86; /* years since 1900 */ 24835 tm [all...] |
/freebsd-9.3-release/contrib/ntp/ntpd/ |
H A D | refclock_gpsdjson.c | 2073 struct tm gd;
|
H A D | ntp_control.c | 1694 struct tm *tm = NULL; local 1704 tm = gmtime(&fstamp); 1705 if (NULL == tm) 1709 "%04d%02d%02d%02d%02d", tm->tm_year + 1900, 1710 tm->tm_mon + 1, tm->tm_mday, tm->tm_hour, tm->tm_min);
|
H A D | refclock_jupiter.c | 719 struct tm *tm; local 806 tm = gmtime(&last_timecode); 807 cp = asctime(tm); 814 instance->peer->procptr->year = tm->tm_year + 1900; 815 instance->peer->procptr->day = tm->tm_yday + 1; 816 instance->peer->procptr->hour = tm->tm_hour; 817 instance->peer->procptr->minute = tm->tm_min; 818 instance->peer->procptr->second = tm->tm_sec; 843 struct tm *t local [all...] |
H A D | refclock_parse.c | 4250 struct tm *tm; local 4263 tm = gmtime( &t_ls ); 4264 if (tm == NULL) // gmtime() failed 4273 daynames[tm->tm_wday], tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday );
|
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | ntp_calendar.c | 942 * Convert a RD into the date part of a 'struct tm'. 947 struct tm *utm, 998 * 'struct tm'. 1003 struct tm *utm, 1042 * and convert it to a 'struct tm'. The seconds will be normalised 1051 struct tm *utm, 1333 * Convert the date part of a 'struct tm' (that is, year, month, 1339 const struct tm *utm 1430 * take a 'struct tm' and get the seconds-of-day from it. 1435 const struct tm *ut [all...] |
/freebsd-9.3-release/contrib/ntp/ |
H A D | configure | 22612 if ((struct tm *) 0) 30591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 30592 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 30604 struct tm tm; 30605 int *p = &tm.tm_sec; [all...] |
/freebsd-9.3-release/crypto/openssl/ssl/ |
H A D | ssl.h | 1447 void SSL_CTX_flush_sessions(SSL_CTX *ctx, long tm);
|
H A D | bio_ssl.c | 181 unsigned long tm; local 183 tm = (unsigned long)time(NULL); 184 if (tm > sb->last_time + sb->renegotiate_timeout) { 185 sb->last_time = tm; 254 unsigned long tm; local 256 tm = (unsigned long)time(NULL); 257 if (tm > bs->last_time + bs->renegotiate_timeout) { 258 bs->last_time = tm;
|
H A D | kssl.c | 1871 * Given pointers to KerberosTime and struct tm structs, convert the 1872 * KerberosTime string to struct tm. Note that KerberosTime is a 1875 * struct tm on success, return NULL on failure. 1877 struct tm *k_gmtime(ASN1_GENERALIZEDTIME *gtime, struct tm *k_tm) 2022 struct tm tm_time, *tm_l, *tm_g; 2129 memset(&tm_time, 0, sizeof(struct tm));
|
/freebsd-9.3-release/contrib/tzcode/zic/ |
H A D | zdump.c | 23 #include <time.h> /* for struct tm */ 156 static char * abbr(struct tm * tmp); 158 static long delta(struct tm * newp, struct tm * oldp); 159 static void dumptime(const struct tm * tmp); 169 static struct tm * 173 register struct tm * tmp; 177 struct tm tm; local 180 tm 250 struct tm tm; local 479 struct tm tm; local [all...] |
/freebsd-9.3-release/sys/compat/linux/ |
H A D | linux_misc.c | 646 l_time_t tm; local 655 tm = tv.tv_sec; 656 if (args->tm && (error = copyout(&tm, args->tm, sizeof(tm)))) 658 td->td_retval[0] = tm;
|
/freebsd-9.3-release/crypto/openssl/crypto/x509/ |
H A D | x509cset.c | 85 int X509_CRL_set_lastUpdate(X509_CRL *x, ASN1_TIME *tm) argument 92 if (in != tm) { 93 in = M_ASN1_TIME_dup(tm); 102 int X509_CRL_set_nextUpdate(X509_CRL *x, ASN1_TIME *tm) argument 109 if (in != tm) { 110 in = M_ASN1_TIME_dup(tm); 135 int X509_REVOKED_set_revocationDate(X509_REVOKED *x, ASN1_TIME *tm) argument 142 if (in != tm) { 143 in = M_ASN1_TIME_dup(tm);
|
H A D | x509_set.c | 108 int X509_set_notBefore(X509 *x, ASN1_TIME *tm) argument 115 if (in != tm) { 116 in = M_ASN1_TIME_dup(tm); 125 int X509_set_notAfter(X509 *x, ASN1_TIME *tm) argument 132 if (in != tm) { 133 in = M_ASN1_TIME_dup(tm);
|
H A D | x509.h | 992 int X509_set_notBefore(X509 *x, ASN1_TIME *tm); 993 int X509_set_notAfter(X509 *x, ASN1_TIME *tm); 1029 int X509_CRL_set_lastUpdate(X509_CRL *x, ASN1_TIME *tm); 1030 int X509_CRL_set_nextUpdate(X509_CRL *x, ASN1_TIME *tm); 1034 int X509_REVOKED_set_revocationDate(X509_REVOKED *r, ASN1_TIME *tm);
|
/freebsd-9.3-release/crypto/openssl/crypto/ |
H A D | mem_dbg.c | 568 struct tm *lcl = NULL;
|
H A D | tmdiff.c | 169 void ms_time_get(MS_TM * tm) argument 176 times(&tm->ms_tms); 179 GetThreadTimes(tm->thread_id, &tmpa, &tmpb, &tmpc, &(tm->ms_win32)); 181 tm->ms_clock = clock(); 184 tm->ticks = tickGet(); 186 ftime(&tm->ms_timeb);
|
H A D | o_time.c | 73 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result) 75 struct tm *ts = NULL; 89 memcpy(result, ts, sizeof(struct tm)); 202 /* Fill in the struct tm with the result */
|
H A D | o_time.h | 65 struct tm *OPENSSL_gmtime(const time_t *timer, struct tm *result);
|
/freebsd-9.3-release/crypto/openssl/crypto/des/ |
H A D | des_opts.c | 407 tm[index]=Time_F(STOP); \ 408 fprintf(stderr,"%ld %s's in %.2f second\n",count,name,tm[index]); \ 409 tm[index]=((double)COUNT(cb))/tm[index]; 413 tm[index]*8,1.0e6/tm[index]); 426 double d, tm[16], max = 0; local 435 tm[i] = 0.0; 505 max = tm[0]; 509 if (max < tm[ [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/asn1/ |
H A D | a_gentm.c | 221 struct tm *ts; 222 struct tm data;
|
H A D | a_utctm.c | 193 struct tm *ts; 194 struct tm data; 231 struct tm *tm; local 232 struct tm data; 248 tm = OPENSSL_gmtime(&t, &data); 254 return_cmp(year, tm->tm_year); 255 return_cmp(g2(s->data + 2) - 1, tm->tm_mon); 256 return_cmp(g2(s->data + 4), tm->tm_mday); 257 return_cmp(g2(s->data + 6), tm [all...] |
H A D | a_time.c | 103 struct tm *ts; 104 struct tm data;
|
/freebsd-9.3-release/crypto/openssl/crypto/bf/ |
H A D | bf_opts.c | 204 tm[index]=Time_F(STOP); \ 205 fprintf(stderr,"%ld %s's in %.2f second\n",count,name,tm[index]); \ 206 tm[index]=((double)COUNT(cb))/tm[index]; 210 tm[index]*8,1.0e6/tm[index]); 220 double d, tm[16], max = 0; local 229 tm[i] = 0.0; 275 max = tm[0]; 279 if (max < tm[ [all...] |