| /netbsd/src/external/bsd/ntp/dist/libntp/ |
| D | mktime.c | 153 register struct tm * btmp in tmcomp() argument 160 if ((result = (atmp->tm_year - btmp->tm_year)) == 0 && in tmcomp() 161 (result = (atmp->tm_mon - btmp->tm_mon)) == 0) in tmcomp() 162 result = (atmp->tm_mday - btmp->tm_mday); in tmcomp() 169 if(atmp->tm_isdst == 1 && !btmp->tm_isdst) in tmcomp() 170 btmp = mkdst(btmp); in tmcomp() 171 else if(btmp->tm_isdst == 1 && !atmp->tm_isdst) in tmcomp() 176 if ((result = (atmp->tm_hour - btmp->tm_hour)) == 0 && in tmcomp() 177 (result = (atmp->tm_min - btmp->tm_min)) == 0) in tmcomp() 178 result = atmp->tm_sec - btmp->tm_sec; in tmcomp()
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/conf/ |
| 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 …]
|
| 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()
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/pkcs7/ |
| 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 …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/x509/ |
| 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 …]
|
| /netbsd/src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| 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()
|
| /netbsd/src/crypto/external/bsd/openssl/dist/engines/ |
| 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()
|
| /netbsd/src/external/bsd/openldap/dist/servers/slapd/ |
| D | backglue.c | 394 BackendDB *b1 = NULL, *btmp; in glue_op_search() local 471 btmp = b0; in glue_op_search() 474 btmp = gi->gi_n[i].gn_be; in glue_op_search() 477 if (!btmp || !btmp->be_search) in glue_op_search() 479 if (!dnIsSuffix(&btmp->be_nsuffix[0], &b1->be_nsuffix[0])) in glue_op_search() 481 if (get_no_subordinate_glue(op) && btmp != b1) in glue_op_search() 488 op->o_conn->c_pagedresults_state.ps_be != btmp ) in glue_op_search() 506 op->o_bd = btmp; in glue_op_search() 623 … if ( btmp == b0 ) { in glue_op_search()
|
| D | limits.c | 901 struct berval btmp; in limits_unparse() local 940 btmp.bv_val = ptr; in limits_unparse() 941 btmp.bv_len = 0; in limits_unparse() 944 &btmp, WHATSLEFT ); in limits_unparse() 946 bv->bv_len += btmp.bv_len; in limits_unparse()
|
| /netbsd/src/lib/libc/time/ |
| D | localtime.c | 2115 register const struct tm *const btmp) in tmcomp() argument 2119 if (atmp->tm_year != btmp->tm_year) in tmcomp() 2120 return atmp->tm_year < btmp->tm_year ? -1 : 1; in tmcomp() 2121 if ((result = (atmp->tm_mon - btmp->tm_mon)) == 0 && in tmcomp() 2122 (result = (atmp->tm_mday - btmp->tm_mday)) == 0 && in tmcomp() 2123 (result = (atmp->tm_hour - btmp->tm_hour)) == 0 && in tmcomp() 2124 (result = (atmp->tm_min - btmp->tm_min)) == 0) in tmcomp() 2125 result = atmp->tm_sec - btmp->tm_sec; in tmcomp()
|