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

123

/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Dtasn_fre.c63 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine);
72 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
74 asn1_item_combine_free(pval, it, 0);
77 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) argument
85 if (!pval)
87 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval)
99 ASN1_template_free(pval, it->templates);
101 ASN1_primitive_free(pval, it);
105 ASN1_primitive_free(pval, it);
111 i = asn1_cb(ASN1_OP_FREE_PRE, pval, i
181 ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
202 ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
[all...]
H A Dx_bignum.c71 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
72 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
74 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
75 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
94 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
96 *pval = (ASN1_VALUE *)BN_new();
97 if(*pval) return 1;
101 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
103 if(!*pval) return;
104 if(it->size & BN_SENSITIVE) BN_clear_free((BIGNUM *)*pval);
109 bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument
125 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.c65 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it,
67 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
68 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt);
69 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it);
81 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
83 return asn1_item_ex_combine_new(pval, it, 0);
86 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, argument
101 if (!combine) *pval = NULL;
115 if (!ef->asn1_ex_new(pval, it))
123 *pval
228 asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
264 ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
309 asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
323 ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
375 asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
[all...]
H A Dtasn_utl.c71 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) { argument
72 int *sel = offset2ptr(*pval, it->utype);
77 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, argument
80 sel = offset2ptr(*pval, it->utype);
90 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) { argument
101 lck = offset2ptr(*pval, aux->ref_offset);
110 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) { argument
112 if (!pval || !*pval) {
119 return offset2ptr(*pval, au
122 asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
132 asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
145 asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it) argument
167 asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it) argument
185 asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
198 asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr) argument
[all...]
H A Dx_long.c70 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
71 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
73 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it);
74 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
75 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx);
95 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
97 *(long *)pval = it->size;
101 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
103 *(long *)pval = it->size;
106 static int long_i2c(ASN1_VALUE **pval, unsigne argument
143 long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument
176 long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument
[all...]
H A Dtasn_enc.c63 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out,
69 static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
126 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, argument
137 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval)
148 return asn1_template_ex_i2d(pval, out, it->templates,
150 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass);
154 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass);
157 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL))
159 i = asn1_get_choice_selector(pval, it);
165 pchval = asn1_get_field_ptr(pval, cht
260 ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt) argument
266 asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int tag, int iclass) argument
506 asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass) argument
567 asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype, const ASN1_ITEM *it) argument
[all...]
H A Dtasn_dec.c79 static int asn1_template_ex_d2i(ASN1_VALUE **pval,
87 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
125 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, argument
130 if (!pval)
131 pval = &ptmpval;
133 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0)
134 return *pval;
138 int ASN1_template_d2i(ASN1_VALUE **pval, argument
143 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c);
151 int ASN1_item_ex_d2i(ASN1_VALUE **pval, cons argument
736 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
884 asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument
[all...]
/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
509 asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass) argument
570 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...]
/external/chromium_org/third_party/boringssl/src/crypto/dh/
H A Ddh_asn1.c64 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
67 *pval = (ASN1_VALUE *)DH_new();
68 if (*pval) {
73 DH_free((DH *)*pval);
74 *pval = NULL;
/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;
/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/iproute2/include/linux/tc_act/
H A Dtc_gact.h19 __u16 pval; member in struct:tc_gact_p
/external/kernel-headers/original/uapi/linux/tc_act/
H A Dtc_gact.h19 __u16 pval; member in struct:tc_gact_p
/external/chromium_org/third_party/boringssl/src/crypto/dsa/
H A Ddsa_asn1.c65 static int dsa_sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
79 *pval = (ASN1_VALUE *)sig;
90 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
94 *pval = (ASN1_VALUE *)DSA_new();
95 if (*pval) {
101 DSA_free((DSA *)*pval);
102 *pval = NULL;
/external/chromium_org/third_party/boringssl/src/crypto/rsa/
H A Drsa_asn1.c65 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
68 *pval = (ASN1_VALUE *)RSA_new();
69 if (*pval) {
74 RSA_free((RSA *)*pval);
75 *pval = NULL;
/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/chromium_org/third_party/boringssl/src/crypto/pkcs8/
H A Dp8_pkey.c64 static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
68 PKCS8_PRIV_KEY_INFO *key = (PKCS8_PRIV_KEY_INFO *)*pval;
/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Dx_req.c81 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
84 X509_REQ_INFO *rinf = (X509_REQ_INFO *)*pval;

Completed in 474 milliseconds

123