/external/openssl/crypto/asn1/ |
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) 76 asn1_item_combine_free(pval, it, 0); 79 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) 87 if (!pval) 89 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) 101 ASN1_template_free(pval, it->templates); 103 ASN1_primitive_free(pval, it); 107 ASN1_primitive_free(pval, it); 113 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL) [all...] |
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, const ASN1_ITEM *it); 95 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 97 *pval = (ASN1_VALUE *)BN_new(); 98 if(*pval) return 1; 102 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 104 if(!*pval) return; 105 if(it->size & BN_SENSITIVE) BN_clear_free((BIGNUM *)*pval); [all...] |
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) 85 return asn1_item_ex_combine_new(pval, it, 0); 88 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 103 if (!combine) *pval = NULL; 117 if (!ef->asn1_ex_new(pval, it)) 125 *pval = cf->asn1_new() [all...] |
tasn_utl.c | 76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) 78 int *sel = offset2ptr(*pval, it->utype); 86 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it) 89 sel = offset2ptr(*pval, it->utype); 101 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) 111 lck = offset2ptr(*pval, aux->ref_offset); 128 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) 131 if (!pval || !*pval) 136 return offset2ptr(*pval, aux->enc_offset) [all...] |
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_cont, const ASN1_ITEM *it); 74 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx); 94 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 96 *(long *)pval = it->size; 100 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 102 *(long *)pval = it->size; 105 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it [all...] |
nsseq.c | 65 static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 70 nsseq = (NETSCAPE_CERT_SEQUENCE *)*pval;
|
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, 141 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) 152 return asn1_template_ex_i2d(pval, out, it->templates, 154 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass); 158 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass); 161 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) 163 i = asn1_get_choice_selector(pval, it); 169 pchval = asn1_get_field_ptr(pval, chtt) [all...] |
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, 133 if (!pval) 134 pval = &ptmpval; 136 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0) 137 return *pval; 141 int ASN1_template_d2i(ASN1_VALUE **pval, 146 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c); 154 int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len [all...] |
x_req.c | 82 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 85 X509_REQ_INFO *rinf = (X509_REQ_INFO *)*pval;
|
p8_pkey.c | 65 static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 70 PKCS8_PRIV_KEY_INFO *key = (PKCS8_PRIV_KEY_INFO *)*pval; 89 int ptype, void *pval, 114 if (!X509_ALGOR_set0(priv->pkeyalg, aobj, ptype, pval))
|
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 aclass); 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 *it); 671 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it); 672 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx); 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...] |
x_algor.c | 80 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval) 108 ASN1_TYPE_set(alg->parameter, ptype, pval);
|
/external/openssl/crypto/dh/ |
dh_asn1.c | 67 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 71 *pval = (ASN1_VALUE *)DH_new(); 72 if(*pval) return 2; 75 DH_free((DH *)*pval); 76 *pval = NULL;
|
dh_ameth.c | 76 void *pval; local 85 X509_ALGOR_get0(NULL, &ptype, &pval, palg); 93 pstr = pval; 132 void *pval = NULL; local 148 pval = str; 166 ptype, pval, penc, penclen)) 172 if (pval) 173 ASN1_STRING_free(pval); 189 void *pval; local 199 X509_ALGOR_get0(NULL, &ptype, &pval, palg) [all...] |
/external/srec/srec/clib/ |
swimodel.c | 413 prdata pval; local 421 pval = 0; 427 pval -= diff * diff; 429 pval = data->mul.multable_factor_gaussian 430 * (pval - data->mul.grand_mod_cov_gaussian); 431 return (pval); 441 prdata pval, gval; local 450 pval = -(prdata) MAX_LOG; 462 if (pval > gval) 464 dval = pval - gval [all...] |
/external/clang/test/Analysis/ |
casts.c | 32 void f1(struct s **pval) { 34 struct s *t = *pval; 35 pval = &(t->value); 36 tbool = (int *)pval; // use the cast-to type 'int *' to create element region.
|
/external/openssl/crypto/rsa/ |
rsa_asn1.c | 66 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 70 *pval = (ASN1_VALUE *)RSA_new(); 71 if(*pval) return 2; 74 RSA_free((RSA *)*pval); 75 *pval = NULL;
|
/external/iproute2/include/linux/tc_act/ |
tc_gact.h | 19 __u16 pval; member in struct:tc_gact_p
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/tc_act/ |
tc_gact.h | 20 __u16 pval; member in struct:tc_gact_p
|
/external/openssl/crypto/dsa/ |
dsa_asn1.c | 66 static int sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 79 *pval = (ASN1_VALUE *)sig; 93 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 97 *pval = (ASN1_VALUE *)DSA_new(); 98 if(*pval) return 2; 101 DSA_free((DSA *)*pval); 102 *pval = NULL;
|
/external/openssl/crypto/ec/ |
ec_ameth.c | 106 void *pval = NULL; local 111 if (!eckey_param2type(&ptype, &pval, ec_key)) 127 ptype, pval, penc, penclen)) 131 ASN1_OBJECT_free(pval); 133 ASN1_STRING_free(pval); 139 static EC_KEY *eckey_type2param(int ptype, void *pval) 144 ASN1_STRING *pstr = pval; 157 ASN1_OBJECT *poid = pval; 193 void *pval; local 200 X509_ALGOR_get0(NULL, &ptype, &pval, palg) 243 void *pval; local 317 void *pval; local [all...] |
/external/iproute2/tc/ |
m_gact.c | 156 if (get_u16(&pp.pval, *argv, 10)) { 157 fprintf(stderr, "Illegal probability val 0x%x\n",pp.pval); 160 if (pp.pval > 10000) { 161 fprintf(stderr, "Illegal probability val 0x%x\n",pp.pval); 237 fprintf(f, "\n\t random type %s %s val %d",prob_n2a(pp->ptype), action_n2a(pp->paction, b2, sizeof (b2)), pp->pval);
|
/external/openssl/include/openssl/ |
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 aclass); 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 *it); 671 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it); 672 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx); 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/libvpx/vp8/encoder/ |
temporal_filter.c | 416 unsigned int pval = accumulator[k] + (count[k] >> 1); local 417 pval *= cpi->fixed_divide[count[k]]; 418 pval >>= 19; 420 dst1[byte] = (unsigned char)pval; 440 unsigned int pval = accumulator[k] + (count[k] >> 1); local 441 pval *= cpi->fixed_divide[count[k]]; 442 pval >>= 19; 443 dst1[byte] = (unsigned char)pval; 446 pval = accumulator[m] + (count[m] >> 1); 447 pval *= cpi->fixed_divide[count[m]] [all...] |
/external/openssl/crypto/pkcs7/ |
pk7_asn1.c | 81 static int pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 85 PKCS7 **pp7 = (PKCS7 **)pval; 130 static int si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 134 PKCS7_SIGNER_INFO *si = (PKCS7_SIGNER_INFO *)*pval; 173 static int ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 177 PKCS7_RECIP_INFO *ri = (PKCS7_RECIP_INFO *)*pval;
|