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

123

/freebsd-10.1-release/contrib/ntp/include/
H A Dsafecast.h30 #define UA_PTR(ptype,pval) ((ptype *)(void*)(pval))
31 #define UAC_PTR(ptype,pval) ((const ptype *)(const void*)(pval))
32 #define UAV_PTR(ptype,pval) ((volatile ptype *)(volatile void*)(pval))
/freebsd-10.1-release/crypto/openssl/crypto/asn1/
H A Dtasn_fre.c65 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it,
75 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
77 asn1_item_combine_free(pval, it, 0);
80 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, argument
89 if (!pval)
91 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval)
102 ASN1_template_free(pval, it->templates);
104 ASN1_primitive_free(pval, it);
108 ASN1_primitive_free(pval, it);
113 i = asn1_cb(ASN1_OP_FREE_PRE, pval, i
178 ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
195 ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
[all...]
H A Dx_bignum.c74 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
75 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
77 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype,
79 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
99 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
101 *pval = (ASN1_VALUE *)BN_new();
102 if (*pval)
108 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
110 if (!*pval)
113 BN_clear_free((BIGNUM *)*pval);
119 bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument
140 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
113 if (!ef->asn1_ex_new(pval, it))
121 *pval = cf->asn1_new();
122 if (!*pval)
220 asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
254 ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
295 asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
309 ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
362 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, argument
90 sel = offset2ptr(*pval, it->utype);
103 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) argument
113 lck = offset2ptr(*pval, aux->ref_offset);
129 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
132 if (!pval || !*pval)
137 return offset2ptr(*pval, au
140 asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
151 asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
164 asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it) argument
184 asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it) argument
201 asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument
219 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,
75 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len,
77 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it,
98 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
100 *(long *)pval = it->size;
104 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument
106 *(long *)pval = it->size;
109 static int long_i2c(ASN1_VALUE **pval, unsigne argument
155 long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument
192 long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument
[all...]
H A Dnsseq.c66 static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
71 nsseq = (NETSCAPE_CERT_SEQUENCE *)*pval;
H A Dtasn_enc.c67 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out,
72 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)
147 return asn1_template_ex_i2d(pval, out, it->templates,
149 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass);
153 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass);
156 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL))
158 i = asn1_get_choice_selector(pval, it);
163 pchval = asn1_get_field_ptr(pval, cht
256 ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt) argument
262 asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int tag, int iclass) argument
481 asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass) argument
541 asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype, const ASN1_ITEM *it) argument
[all...]
H A Dtasn_dec.c81 static int asn1_template_ex_d2i(ASN1_VALUE **pval,
89 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval,
137 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, argument
143 if (!pval)
144 pval = &ptmpval;
146 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0)
147 return *pval;
151 int ASN1_template_d2i(ASN1_VALUE **pval, argument
157 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c);
165 int ASN1_item_ex_d2i(ASN1_VALUE **pval, cons argument
711 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
847 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.c83 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
86 X509_REQ_INFO *rinf = (X509_REQ_INFO *)*pval;
H A Dp8_pkey.c66 static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
71 PKCS8_PRIV_KEY_INFO *key = (PKCS8_PRIV_KEY_INFO *)*pval;
91 int ptype, void *pval, unsigned char *penc, int penclen)
113 if (!X509_ALGOR_set0(priv->pkeyalg, aobj, ptype, pval)) {
H A Dasn1t.h658 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len,
662 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out,
664 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
665 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
667 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval,
671 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont,
673 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont,
676 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval,
929 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
930 void ASN1_item_ex_free(ASN1_VALUE **pval, cons
[all...]
H A Dx_algor.c81 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval)
104 ASN1_TYPE_set(alg->parameter, ptype, pval);
/freebsd-10.1-release/crypto/openssl/crypto/dh/
H A Ddh_asn1.c68 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
72 *pval = (ASN1_VALUE *)DH_new();
73 if (*pval)
77 DH_free((DH *)*pval);
78 *pval = NULL;
/freebsd-10.1-release/crypto/openssl/crypto/rsa/
H A Drsa_asn1.c68 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
72 *pval = (ASN1_VALUE *)RSA_new();
73 if (*pval)
77 RSA_free((RSA *)*pval);
78 *pval = NULL;
/freebsd-10.1-release/contrib/amd/amd/
H A Dinfo_hesiod.c66 int hesiod_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp);
94 hesiod_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
102 dlog("hesiod_search(m=%lx, map=%s, key=%s, pval=%lx tp=%lx)",
103 (unsigned long) m, map, key, (unsigned long) pval, (unsigned long) tp);
130 *pval = *rvec;
H A Dinfo_passwd.c60 int passwd_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp);
79 * Recognize the new format "PASSWD_MAP:pval-format"
95 passwd_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
101 *pval = strdup("type:=nfs");
183 *pval = strdup(val);
H A Dinfo_union.c62 int union_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp);
78 union_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
87 *pval = xmalloc(l);
88 xsnprintf(*pval, l, "fs:=%s", *p);
H A Dinfo_ndbm.c57 int ndbm_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp);
77 ndbm_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
98 error = search_ndbm(db, key, pval);
/freebsd-10.1-release/crypto/openssl/crypto/dsa/
H A Ddsa_asn1.c68 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)
103 DSA_free((DSA *)*pval);
104 *pval = NULL;
/freebsd-10.1-release/crypto/openssl/crypto/ec/
H A Dec_ameth.c104 void *pval = NULL; local
109 if (!eckey_param2type(&ptype, &pval, ec_key)) {
124 ptype, pval, penc, penclen))
128 ASN1_OBJECT_free(pval);
130 ASN1_STRING_free(pval);
136 static EC_KEY *eckey_type2param(int ptype, void *pval) argument
140 ASN1_STRING *pstr = pval;
150 ASN1_OBJECT *poid = pval;
183 void *pval; local
190 X509_ALGOR_get0(NULL, &ptype, &pval, pal
231 void *pval; local
301 void *pval; local
[all...]
/freebsd-10.1-release/contrib/binutils/gas/
H A Ditbl-ops.h87 int itbl_get_reg_val (char *name, unsigned long *pval);
89 unsigned long *pval);
/freebsd-10.1-release/contrib/ncurses/ncurses/trace/
H A Dvarargs.c49 #define VA_PTR(type) pval = (char *)va_arg(ap, type)
77 char *pval = 0; /* avoid const-cast */ local
158 sprintf(buffer, "%p", pval);
/freebsd-10.1-release/contrib/ncurses/ncurses/base/
H A Dsafe_sprintf.c46 #define VA_POINT(type) pval = (void *)va_arg(ap, type)
76 char *pval = dummy; /* avoid const-cast */ local
156 prec = strlen(pval);
194 sprintf(buffer, format, pval);
/freebsd-10.1-release/crypto/openssl/crypto/pkcs7/
H A Dpk7_asn1.c82 static int pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument
86 PKCS7 **pp7 = (PKCS7 **)pval;
132 static int si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
136 PKCS7_SIGNER_INFO *si = (PKCS7_SIGNER_INFO *)*pval;
175 static int ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it,
179 PKCS7_RECIP_INFO *ri = (PKCS7_RECIP_INFO *)*pval;

Completed in 172 milliseconds

123