Searched refs:pval (Results 1 - 25 of 35) sorted by relevance

12

/external/openssl/crypto/asn1/
H A Dtasn_fre.c65 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) argument
76 asn1_item_combine_free(pval, it, 0);
79 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) argument
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, i
183 ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
204 ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
[all...]
H A Dx_bignum.c72 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) argument
97 *pval = (ASN1_VALUE *)BN_new();
98 if(*pval) return 1;
102 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
104 if(!*pval) return;
105 if(it->size & BN_SENSITIVE) BN_clear_free((BIGNUM *)*pval);
110 bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument
126 bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument
[all...]
H A Dtasn_new.c67 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) argument
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, argument
103 if (!combine) *pval = NULL;
117 if (!ef->asn1_ex_new(pval, it))
125 *pval
230 asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
266 ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
311 asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
325 ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
377 asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
[all...]
H A Dtasn_utl.c76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
78 int *sel = offset2ptr(*pval, it->utype);
86 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, const ASN1_ITEM *it) argument
89 sel = offset2ptr(*pval, it->utype);
101 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) argument
111 lck = offset2ptr(*pval, aux->ref_offset);
128 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
131 if (!pval || !*pval)
136 return offset2ptr(*pval, au
139 asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
151 asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
165 asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it) argument
185 asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it) argument
203 asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
220 asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr) argument
[all...]
H A Dx_long.c69 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) argument
96 *(long *)pval = it->size;
100 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
102 *(long *)pval = it->size;
105 static int long_i2c(ASN1_VALUE **pval, unsigne argument
142 long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument
175 long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument
[all...]
H A Dnsseq.c65 static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
70 nsseq = (NETSCAPE_CERT_SEQUENCE *)*pval;
H A Dtasn_enc.c67 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, argument
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, cht
264 ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt) argument
270 asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int tag, int iclass) argument
504 asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass) argument
565 asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype, const ASN1_ITEM *it) argument
[all...]
H A Dtasn_dec.c82 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, argument
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, argument
146 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c);
154 int ASN1_item_ex_d2i(ASN1_VALUE **pval, cons argument
766 asn1_d2i_ex_primitive(ASN1_VALUE **pval, const unsigned char **in, long inlen, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) argument
919 asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument
[all...]
H A Dx_req.c82 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
85 X509_REQ_INFO *rinf = (X509_REQ_INFO *)*pval;
H A Dp8_pkey.c65 static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
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))
H A Dasn1t.h659 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, cons
[all...]
H A Dx_algor.c80 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/
H A Ddh_asn1.c67 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
71 *pval = (ASN1_VALUE *)DH_new();
72 if(*pval) return 2;
75 DH_free((DH *)*pval);
76 *pval = NULL;
H A Ddh_ameth.c76 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, pal
[all...]
/external/srec/srec/clib/
H A Dswimodel.c413 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
[all...]
/external/clang/test/Analysis/
H A Dcasts.c32 void f1(struct s **pval) { argument
34 struct s *t = *pval;
35 pval = &(t->value);
36 tbool = (int *)pval; // use the cast-to type 'int *' to create element region.
/external/iproute2/include/linux/tc_act/
H A Dtc_gact.h19 __u16 pval; member in struct:tc_gact_p
/external/openssl/crypto/rsa/
H A Drsa_asn1.c67 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
71 *pval = (ASN1_VALUE *)RSA_new();
72 if(*pval) return 2;
75 RSA_free((RSA *)*pval);
76 *pval = NULL;
/external/openssl/crypto/dsa/
H A Ddsa_asn1.c67 static int sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
80 *pval = (ASN1_VALUE *)sig;
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/ec/
H A Dec_ameth.c106 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) argument
144 ASN1_STRING *pstr = pval;
157 ASN1_OBJECT *poid = pval;
193 void *pval; local
200 X509_ALGOR_get0(NULL, &ptype, &pval, pal
243 void *pval; local
317 void *pval; local
[all...]
/external/iproute2/tc/
H A Dm_gact.c156 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/
H A Dasn1t.h659 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, cons
[all...]
/external/libvpx/vp8/encoder/
H A Dtemporal_filter.c416 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 *
[all...]
/external/openssl/crypto/pkcs7/
H A Dpk7_asn1.c81 static int pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
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;
/external/ppp/pppd/plugins/radius/
H A Davpair.c34 VALUE_PAIR *rc_avpair_add (VALUE_PAIR **list, int attrid, void *pval, int len, argument
39 vp = rc_avpair_new (attrid, pval, len, vendorcode);
60 int rc_avpair_assign (VALUE_PAIR *vp, void *pval, int len) argument
68 if (((len == 0) && (strlen ((char *) pval)) > AUTH_STRING_LEN)
75 memcpy(vp->strvalue, (char *)pval, len);
79 strncpy (vp->strvalue, (char *) pval, AUTH_STRING_LEN);
80 vp->lvalue = strlen((char *) pval);
90 vp->lvalue = * (UINT4 *) pval;
110 VALUE_PAIR *rc_avpair_new (int attrid, void *pval, int len, int vendorcode) argument
129 if (rc_avpair_assign (vp, pval, le
[all...]

Completed in 1350 milliseconds

12