/freebsd/contrib/ntp/libntp/ |
H A D | mktime.c | 151 register struct tm * btmp in tmcomp() argument 158 if ((result = (atmp->tm_year - btmp->tm_year)) == 0 && in tmcomp() 159 (result = (atmp->tm_mon - btmp->tm_mon)) == 0) in tmcomp() 160 result = (atmp->tm_mday - btmp->tm_mday); in tmcomp() 167 if(atmp->tm_isdst == 1 && !btmp->tm_isdst) in tmcomp() 168 btmp = mkdst(btmp); in tmcomp() 169 else if(btmp->tm_isdst == 1 && !atmp->tm_isdst) in tmcomp() 174 if ((result = (atmp->tm_hour - btmp->tm_hour)) == 0 && in tmcomp() 175 (result = (atmp->tm_min - btmp->tm_min)) == 0) in tmcomp() 176 result = atmp->tm_sec - btmp->tm_sec; in tmcomp()
|
/freebsd/crypto/openssl/crypto/conf/ |
H A D | conf_lib.c | 72 BIO *btmp; in LHASH_OF() local 74 if ((btmp = BIO_new_fp(fp, BIO_NOCLOSE)) == NULL) { in LHASH_OF() 78 ltmp = CONF_load_bio(conf, btmp, eline); in LHASH_OF() 79 BIO_free(btmp); in LHASH_OF() 153 BIO *btmp; in CONF_dump_fp() local 156 if ((btmp = BIO_new_fp(out, BIO_NOCLOSE)) == NULL) { in CONF_dump_fp() 160 ret = CONF_dump_bio(conf, btmp); in CONF_dump_fp() 161 BIO_free(btmp); in CONF_dump_fp() 263 BIO *btmp; in NCONF_load_fp() local 265 if ((btmp = BIO_new_fp(fp, BIO_NOCLOSE)) == NULL) { in NCONF_load_fp() [all …]
|
H A D | conf_def.c | 218 char btmp[DECIMAL_SIZE(eline) + 1]; in def_load_bio() local 600 BIO_snprintf(btmp, sizeof(btmp), "%ld", eline); in def_load_bio() 601 ERR_add_error_data(2, "line ", btmp); in def_load_bio()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BIO_find_type.pod | 47 BIO *btmp; 49 btmp = in_bio; /* in_bio is chain to search through */ 51 btmp = BIO_find_type(btmp, BIO_TYPE_MD); 52 if (btmp == NULL) 54 /* btmp is a digest BIO, do something with it ...*/ 57 btmp = BIO_next(btmp); 58 } while (btmp);
|
/freebsd/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_doit.c | 60 BIO *btmp; in pkcs7_bio_add_digest() local 65 if ((btmp = BIO_new(BIO_f_md())) == NULL) { in pkcs7_bio_add_digest() 87 if (BIO_set_md(btmp, md) <= 0) { in pkcs7_bio_add_digest() 94 *pbio = btmp; in pkcs7_bio_add_digest() 95 else if (!BIO_push(*pbio, btmp)) { in pkcs7_bio_add_digest() 99 btmp = NULL; in pkcs7_bio_add_digest() 104 BIO_free(btmp); in pkcs7_bio_add_digest() 210 BIO *out = NULL, *btmp = NULL; in PKCS7_dataInit() local 298 if ((btmp = BIO_new(BIO_f_cipher())) == NULL) { in PKCS7_dataInit() 302 BIO_get_cipher_ctx(btmp, &ctx); in PKCS7_dataInit() [all …]
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_utl.c | 266 const char *btmp; in X509V3_get_value_bool() local 268 if ((btmp = value->value) == NULL) in X509V3_get_value_bool() 270 if (strcmp(btmp, "TRUE") == 0 in X509V3_get_value_bool() 271 || strcmp(btmp, "true") == 0 in X509V3_get_value_bool() 272 || strcmp(btmp, "Y") == 0 in X509V3_get_value_bool() 273 || strcmp(btmp, "y") == 0 in X509V3_get_value_bool() 274 || strcmp(btmp, "YES") == 0 in X509V3_get_value_bool() 275 || strcmp(btmp, "yes") == 0) { in X509V3_get_value_bool() 279 if (strcmp(btmp, "FALSE") == 0 in X509V3_get_value_bool() 280 || strcmp(btmp, "false") == 0 in X509V3_get_value_bool() [all …]
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_strex.c | 578 BIO *btmp; in X509_NAME_print_ex_fp() local 580 btmp = BIO_new_fp(fp, BIO_NOCLOSE); in X509_NAME_print_ex_fp() 581 if (!btmp) in X509_NAME_print_ex_fp() 583 ret = X509_NAME_print(btmp, nm, indent); in X509_NAME_print_ex_fp() 584 BIO_free(btmp); in X509_NAME_print_ex_fp()
|
/freebsd/usr.sbin/watch/ |
H A D | watch.c | 93 char btmp[1024]; in timestamp() local 98 strftime(btmp, 1024, "Time: %d %b %H:%M", localtime(&t)); in timestamp() 99 printf("%s\n", btmp); in timestamp()
|
/freebsd/crypto/openssl/engines/ |
H A D | e_capi.c | 720 unsigned char *btmp; in capi_get_pkey() local 732 btmp = (unsigned char *)(dp + 1); in capi_get_pkey() 749 if (!lend_tobn(p, btmp, dsa_plen)) in capi_get_pkey() 751 btmp += dsa_plen; in capi_get_pkey() 752 if (!lend_tobn(q, btmp, 20)) in capi_get_pkey() 754 btmp += 20; in capi_get_pkey() 755 if (!lend_tobn(g, btmp, dsa_plen)) in capi_get_pkey() 757 btmp += dsa_plen; in capi_get_pkey() 758 if (!lend_tobn(pub_key, btmp, dsa_plen)) in capi_get_pkey() 760 btmp += dsa_plen; in capi_get_pkey()
|
/freebsd/contrib/tzcode/ |
H A D | localtime.c | 2061 register const struct tm *const btmp) in increment_overflow32() 2065 if (atmp->tm_year != btmp->tm_year) in increment_overflow32() 2066 return atmp->tm_year < btmp->tm_year ? -1 : 1; in increment_overflow32() 2067 if ((result = (atmp->tm_mon - btmp->tm_mon)) == 0 && in increment_overflow32() 2068 (result = (atmp->tm_mday - btmp->tm_mday)) == 0 && in increment_overflow32() 2069 (result = (atmp->tm_hour - btmp->tm_hour)) == 0 && in increment_overflow32() 2070 (result = (atmp->tm_min - btmp->tm_min)) == 0) in increment_overflow32() 2071 result = atmp->tm_sec - btmp->tm_sec; in increment_overflow32() 2120 tmcomp(register const struct tm * const atmp,register const struct tm * const btmp) tmcomp() argument
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | apps.c | 290 BIO *btmp; in app_get_pass() local 301 btmp = BIO_new(BIO_f_buffer()); in app_get_pass() 302 if (btmp == NULL) { in app_get_pass() 308 pwdbio = BIO_push(btmp, pwdbio); in app_get_pass() 1614 BIGNUM *btmp; in rand_serial() local 1617 btmp = b == NULL ? BN_new() : b; in rand_serial() 1618 if (btmp == NULL) in rand_serial() 1621 if (!BN_rand(btmp, SERIAL_RAND_BITS, BN_RAND_TOP_ANY, BN_RAND_BOTTOM_ANY)) in rand_serial() 1623 if (ai && !BN_to_ASN1_INTEGER(btmp, ai)) in rand_serial() 1630 if (btmp != b) in rand_serial() [all …]
|
/freebsd/crypto/openssh/ |
H A D | configure.ac | 842 AC_DEFINE([USE_BTMP], [1], [Use btmp to log bad logins]) 895 AC_DEFINE([_PATH_BTMP], ["/var/log/btmp"], [log for bad login attempts]) 896 AC_DEFINE([USE_BTMP], [1], [Use btmp to log bad logins]) 915 AC_DEFINE([_PATH_BTMP], ["/var/log/btmp"], [log for bad login attempts])
|