/freebsd-11-stable/contrib/ntp/include/ |
H A D | safecast.h | 30 #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-11-stable/crypto/openssl/crypto/asn1/ |
H A D | asn1_int.h | 62 void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it,
|
H A D | tasn_fre.c | 73 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 75 asn1_item_combine_free(pval, it, 0); 78 void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) argument 86 if (!pval) 88 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); 110 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); 114 i = asn1_get_choice_selector(pval, i 175 ASN1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 192 ASN1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument [all...] |
H A D | tasn_new.c | 68 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 70 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 71 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 72 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 84 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 86 return asn1_item_ex_combine_new(pval, it, 0); 89 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, argument 114 if (!ef->asn1_ex_new(pval, it)) 122 *pval = cf->asn1_new(); 123 if (!*pval) 224 asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 258 ASN1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 299 asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 313 ASN1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 366 asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument [all...] |
H A D | x_bignum.c | 74 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, 81 static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, 102 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 104 *pval = (ASN1_VALUE *)BN_new(); 105 if (*pval != NULL) 111 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 113 if (*pval 122 bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument 143 bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 158 bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument [all...] |
H A D | tasn_utl.c | 76 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 D | x_long.c | 70 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 214 long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument [all...] |
H A D | nsseq.c | 66 static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 71 nsseq = (NETSCAPE_CERT_SEQUENCE *)*pval;
|
H A D | tasn_enc.c | 68 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, 127 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, argument 138 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); 162 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass); 173 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) 175 i = asn1_get_choice_selector(pval, it); 180 pchval = asn1_get_field_ptr(pval, cht 275 ASN1_template_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt) argument 281 asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int tag, int iclass) argument 505 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 D | tasn_dec.c | 89 static int asn1_template_ex_d2i(ASN1_VALUE **pval, 97 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval, 145 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, argument 151 if (!pval) 152 pval = &ptmpval; 154 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0) 155 return *pval; 159 int ASN1_template_d2i(ASN1_VALUE **pval, argument 165 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c, 0); 172 static int asn1_item_ex_d2i(ASN1_VALUE **pval, cons argument 549 ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx) argument 753 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 887 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 D | x_req.c | 83 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 D | p8_pkey.c | 66 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 D | asn1t.h | 658 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 D | x_algor.c | 81 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval) 104 ASN1_TYPE_set(alg->parameter, ptype, pval);
|
/freebsd-11-stable/crypto/openssl/crypto/rsa/ |
H A D | rsa_asn1.c | 68 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-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_table_value.c | 79 struct table_value *pval; /* Pointer to real table value */ member in struct:table_val_link 86 struct table_value *pval; member in struct:vdump_args 102 return (memcmp(((struct table_val_link *)no)->pval, key, 56)); 130 struct table_value *pval; local 134 pval = (struct table_value *)ch->valuestate; 137 pval = NULL; 139 //pval = (struct table_value *)&tc->ti.data; 143 *ptv = pval; 149 * Update pointers to real vaues after @pval change. 156 struct table_value *pval; local 182 struct table_value *pval, *valuestate, *old_valuestate; local 253 unref_table_value(struct namedobj_instance *vi, struct table_value *pval, uint32_t kidx) argument 337 struct table_value *pval; local 422 struct table_value *pval; local 486 struct table_value tval, *pval; local [all...] |
/freebsd-11-stable/contrib/amd/amd/ |
H A D | info_passwd.c | 56 int passwd_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 75 * Recognize the new format "PASSWD_MAP:pval-format" 91 passwd_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 97 *pval = xstrdup("type:=nfs"); 179 *pval = xstrdup(val);
|
H A D | info_hesiod.c | 63 int hesiod_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 91 hesiod_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 99 dlog("hesiod_search(m=%lx, map=%s, key=%s, pval=%lx tp=%lx)", 100 (unsigned long) m, map, key, (unsigned long) pval, (unsigned long) tp); 128 *pval = sun_entry2amd(key, *rvec); 131 *pval = *rvec;
|
H A D | info_union.c | 58 int union_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 74 union_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 83 *pval = xmalloc(l); 84 xsnprintf(*pval, l, "fs:=%s", *p);
|
H A D | info_ndbm.c | 54 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(m, db, key, pval);
|
/freebsd-11-stable/crypto/openssl/crypto/dsa/ |
H A D | dsa_asn1.c | 68 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-11-stable/contrib/binutils/gas/ |
H A D | itbl-ops.h | 87 int itbl_get_reg_val (char *name, unsigned long *pval); 89 unsigned long *pval);
|
/freebsd-11-stable/crypto/openssl/crypto/dh/ |
H A D | dh_asn1.c | 68 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-11-stable/contrib/ncurses/ncurses/trace/ |
H A D | varargs.c | 49 #define VA_PTR(type) pval = (char *)va_arg(ap, type) 77 char *pval = 0; /* avoid const-cast */ local 161 "%p", pval);
|
/freebsd-11-stable/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_asn1.c | 82 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;
|