/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
D | tasn_fre.c | 65 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine); 74 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_free() argument 76 asn1_item_combine_free(pval, it, 0); in ASN1_item_ex_free() 79 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) in asn1_item_combine_free() argument 87 if (!pval) in asn1_item_combine_free() 89 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) in asn1_item_combine_free() 101 ASN1_template_free(pval, it->templates); in asn1_item_combine_free() 103 ASN1_primitive_free(pval, it); in asn1_item_combine_free() 107 ASN1_primitive_free(pval, it); in asn1_item_combine_free() 113 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); in asn1_item_combine_free() [all …]
|
D | tasn_new.c | 67 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 69 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 70 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 71 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 83 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_new() argument 85 return asn1_item_ex_combine_new(pval, it, 0); in ASN1_item_ex_new() 88 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, in asn1_item_ex_combine_new() argument 103 if (!combine) *pval = NULL; in asn1_item_ex_combine_new() 117 if (!ef->asn1_ex_new(pval, it)) in asn1_item_ex_combine_new() 125 *pval = cf->asn1_new(); in asn1_item_ex_combine_new() [all …]
|
D | x_bignum.c | 72 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 73 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 75 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it); 76 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont… 95 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start() 97 *pval = (ASN1_VALUE *)BN_new(); in ASN1_ITEM_start() 98 if(*pval) return 1; in ASN1_ITEM_start() 102 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_free() argument 104 if(!*pval) return; in bn_free() 105 if(it->size & BN_SENSITIVE) BN_clear_free((BIGNUM *)*pval); in bn_free() [all …]
|
D | tasn_utl.c | 76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_choice_selector() argument 78 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector() 86 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it) in asn1_set_choice_selector() argument 89 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector() 101 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) in asn1_do_lock() argument 111 lck = offset2ptr(*pval, aux->ref_offset); in asn1_do_lock() 128 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_enc_ptr() argument 131 if (!pval || !*pval) in asn1_get_enc_ptr() 136 return offset2ptr(*pval, aux->enc_offset); in asn1_get_enc_ptr() 139 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_enc_init() argument [all …]
|
D | tasn_enc.c | 67 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, 73 static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, 130 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, in ASN1_item_ex_i2d() argument 141 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) in ASN1_item_ex_i2d() 152 return asn1_template_ex_i2d(pval, out, it->templates, in ASN1_item_ex_i2d() 154 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass); in ASN1_item_ex_i2d() 158 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass); in ASN1_item_ex_i2d() 161 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) in ASN1_item_ex_i2d() 163 i = asn1_get_choice_selector(pval, it); in ASN1_item_ex_i2d() 169 pchval = asn1_get_field_ptr(pval, chtt); in ASN1_item_ex_i2d() [all …]
|
D | x_long.c | 69 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 70 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 72 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it); 73 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_co… 74 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX… 94 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start() 96 *(long *)pval = it->size; in ASN1_ITEM_start() 100 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in long_free() argument 102 *(long *)pval = it->size; in long_free() 105 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) in long_i2c() argument [all …]
|
D | tasn_dec.c | 82 static int asn1_template_ex_d2i(ASN1_VALUE **pval, 90 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval, 128 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, in ASN1_item_d2i() argument 133 if (!pval) in ASN1_item_d2i() 134 pval = &ptmpval; in ASN1_item_d2i() 136 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0) in ASN1_item_d2i() 137 return *pval; in ASN1_item_d2i() 141 int ASN1_template_d2i(ASN1_VALUE **pval, in ASN1_template_d2i() argument 146 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c); in ASN1_template_d2i() 154 int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, in ASN1_item_ex_d2i() argument [all …]
|
D | asn1t.h | 659 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, 662 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int a… 663 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 664 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 666 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval, 670 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM… 671 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, ch… 672 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, cons… 926 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 927 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it); [all …]
|
/external/openssl/crypto/asn1/ |
D | tasn_fre.c | 65 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine); 74 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_free() argument 76 asn1_item_combine_free(pval, it, 0); in ASN1_item_ex_free() 79 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) in asn1_item_combine_free() argument 87 if (!pval) in asn1_item_combine_free() 89 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) in asn1_item_combine_free() 101 ASN1_template_free(pval, it->templates); in asn1_item_combine_free() 103 ASN1_primitive_free(pval, it); in asn1_item_combine_free() 107 ASN1_primitive_free(pval, it); in asn1_item_combine_free() 113 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); in asn1_item_combine_free() [all …]
|
D | tasn_new.c | 67 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 69 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 70 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 71 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 83 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_item_ex_new() argument 85 return asn1_item_ex_combine_new(pval, it, 0); in ASN1_item_ex_new() 88 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, in asn1_item_ex_combine_new() argument 103 if (!combine) *pval = NULL; in asn1_item_ex_combine_new() 117 if (!ef->asn1_ex_new(pval, it)) in asn1_item_ex_combine_new() 125 *pval = cf->asn1_new(); in asn1_item_ex_combine_new() [all …]
|
D | x_bignum.c | 72 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 73 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 75 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it); 76 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont… 95 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start() 97 *pval = (ASN1_VALUE *)BN_new(); in ASN1_ITEM_start() 98 if(*pval) return 1; in ASN1_ITEM_start() 102 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_free() argument 104 if(!*pval) return; in bn_free() 105 if(it->size & BN_SENSITIVE) BN_clear_free((BIGNUM *)*pval); in bn_free() [all …]
|
D | tasn_utl.c | 76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_choice_selector() argument 78 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector() 86 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it) in asn1_set_choice_selector() argument 89 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector() 101 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) in asn1_do_lock() argument 111 lck = offset2ptr(*pval, aux->ref_offset); in asn1_do_lock() 128 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_get_enc_ptr() argument 131 if (!pval || !*pval) in asn1_get_enc_ptr() 136 return offset2ptr(*pval, aux->enc_offset); in asn1_get_enc_ptr() 139 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) in asn1_enc_init() argument [all …]
|
D | tasn_enc.c | 67 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, 73 static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, 130 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, in ASN1_item_ex_i2d() argument 141 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) in ASN1_item_ex_i2d() 152 return asn1_template_ex_i2d(pval, out, it->templates, in ASN1_item_ex_i2d() 154 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass); in ASN1_item_ex_i2d() 158 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass); in ASN1_item_ex_i2d() 161 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) in ASN1_item_ex_i2d() 163 i = asn1_get_choice_selector(pval, it); in ASN1_item_ex_i2d() 169 pchval = asn1_get_field_ptr(pval, chtt); in ASN1_item_ex_i2d() [all …]
|
D | x_long.c | 69 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 70 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 72 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it); 73 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_co… 74 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX… 94 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start() 96 *(long *)pval = it->size; in ASN1_ITEM_start() 100 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in long_free() argument 102 *(long *)pval = it->size; in long_free() 105 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) in long_i2c() argument [all …]
|
D | tasn_dec.c | 82 static int asn1_template_ex_d2i(ASN1_VALUE **pval, 90 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval, 128 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, in ASN1_item_d2i() argument 133 if (!pval) in ASN1_item_d2i() 134 pval = &ptmpval; in ASN1_item_d2i() 136 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0) in ASN1_item_d2i() 137 return *pval; in ASN1_item_d2i() 141 int ASN1_template_d2i(ASN1_VALUE **pval, in ASN1_template_d2i() argument 146 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c); in ASN1_template_d2i() 154 int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, in ASN1_item_ex_d2i() argument [all …]
|
D | asn1t.h | 659 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, 662 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int a… 663 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 664 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 666 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval, 670 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM… 671 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, ch… 672 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, cons… 926 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 927 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it); [all …]
|
/external/srec/srec/clib/ |
D | swimodel.c | 413 prdata pval; in Gaussian_Grand_Density_Swimodel() local 421 pval = 0; in Gaussian_Grand_Density_Swimodel() 427 pval -= diff * diff; in Gaussian_Grand_Density_Swimodel() 429 pval = data->mul.multable_factor_gaussian in Gaussian_Grand_Density_Swimodel() 430 * (pval - data->mul.grand_mod_cov_gaussian); in Gaussian_Grand_Density_Swimodel() 431 return (pval); in Gaussian_Grand_Density_Swimodel() 441 prdata pval, gval; in mixture_diagonal_gaussian_swimodel() local 450 pval = -(prdata) MAX_LOG; in mixture_diagonal_gaussian_swimodel() 462 if (pval > gval) in mixture_diagonal_gaussian_swimodel() 464 dval = pval - gval; in mixture_diagonal_gaussian_swimodel() [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/dh/ |
D | dh_asn1.c | 67 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in dh_cb() argument 71 *pval = (ASN1_VALUE *)DH_new(); in dh_cb() 72 if(*pval) return 2; in dh_cb() 75 DH_free((DH *)*pval); in dh_cb() 76 *pval = NULL; in dh_cb()
|
/external/openssl/crypto/dh/ |
D | dh_asn1.c | 67 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in dh_cb() argument 71 *pval = (ASN1_VALUE *)DH_new(); in dh_cb() 72 if(*pval) return 2; in dh_cb() 75 DH_free((DH *)*pval); in dh_cb() 76 *pval = NULL; in dh_cb()
|
/external/openssl/include/openssl/ |
D | asn1t.h | 659 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, 662 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int a… 663 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 664 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 666 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval, 670 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM… 671 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, ch… 672 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, cons… 926 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 927 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it); [all …]
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | asn1t.h | 659 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, 662 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int a… 663 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 664 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 666 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval, 670 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM… 671 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, ch… 672 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, cons… 926 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 927 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it); [all …]
|
/external/chromium_org/third_party/openssl/openssl/crypto/dsa/ |
D | dsa_asn1.c | 67 static int sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in sig_cb() argument 80 *pval = (ASN1_VALUE *)sig; in sig_cb() 94 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 98 *pval = (ASN1_VALUE *)DSA_new(); 99 if(*pval) return 2; 102 DSA_free((DSA *)*pval); 103 *pval = NULL;
|
/external/openssl/crypto/dsa/ |
D | dsa_asn1.c | 67 static int sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in sig_cb() argument 80 *pval = (ASN1_VALUE *)sig; in sig_cb() 94 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 98 *pval = (ASN1_VALUE *)DSA_new(); 99 if(*pval) return 2; 102 DSA_free((DSA *)*pval); 103 *pval = NULL;
|
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
D | ec_ameth.c | 106 void *pval = NULL; in eckey_pub_encode() local 111 if (!eckey_param2type(&ptype, &pval, ec_key)) in eckey_pub_encode() 127 ptype, pval, penc, penclen)) in eckey_pub_encode() 131 ASN1_OBJECT_free(pval); in eckey_pub_encode() 133 ASN1_STRING_free(pval); in eckey_pub_encode() 139 static EC_KEY *eckey_type2param(int ptype, void *pval) in eckey_type2param() argument 144 ASN1_STRING *pstr = pval; in eckey_type2param() 157 ASN1_OBJECT *poid = pval; in eckey_type2param() 193 void *pval; in eckey_pub_decode() local 200 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in eckey_pub_decode() [all …]
|
/external/openssl/crypto/ec/ |
D | ec_ameth.c | 106 void *pval = NULL; in eckey_pub_encode() local 111 if (!eckey_param2type(&ptype, &pval, ec_key)) in eckey_pub_encode() 127 ptype, pval, penc, penclen)) in eckey_pub_encode() 131 ASN1_OBJECT_free(pval); in eckey_pub_encode() 133 ASN1_STRING_free(pval); in eckey_pub_encode() 139 static EC_KEY *eckey_type2param(int ptype, void *pval) in eckey_type2param() argument 144 ASN1_STRING *pstr = pval; in eckey_type2param() 157 ASN1_OBJECT *poid = pval; in eckey_type2param() 193 void *pval; in eckey_pub_decode() local 200 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in eckey_pub_decode() [all …]
|