/freebsd-12-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-12-stable/crypto/openssl/crypto/asn1/ |
H A D | tasn_fre.c | 23 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 25 asn1_item_embed_free(pval, it, 0); 28 void asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument 36 if (!pval) 38 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) 49 asn1_template_free(pval, it->templates); 51 asn1_primitive_free(pval, it, embed); 55 asn1_primitive_free(pval, it, embed); 60 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); 64 i = asn1_get_choice_selector(pval, i 122 asn1_template_free(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 146 asn1_primitive_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument [all...] |
H A D | x_bignum.c | 24 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 25 static int bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 26 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 28 static int bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, 30 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 32 static int bn_secure_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 34 static int bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, 65 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 67 *pval = (ASN1_VALUE *)BN_new(); 68 if (*pval ! 74 bn_secure_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 83 bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 94 bn_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument 115 bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 130 bn_secure_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 149 bn_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument [all...] |
H A D | tasn_new.c | 18 static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 20 static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 22 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 23 static int asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 24 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 25 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 37 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 39 return asn1_item_embed_new(pval, it, 0); 42 int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument 64 if (!ef->asn1_ex_new(pval, i 169 asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 202 asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 248 asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 262 asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) argument 330 asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument [all...] |
H A D | asn1_local.h | 48 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it); 49 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, 52 ASN1_VALUE **asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 54 const ASN1_TEMPLATE *asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, 57 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it); 59 void asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it); 60 void asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 61 int asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, 63 int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, 66 void asn1_item_embed_free(ASN1_VALUE **pval, cons [all...] |
H A D | x_int64.c | 29 static int uint64_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 31 if ((*pval = (ASN1_VALUE *)OPENSSL_zalloc(sizeof(uint64_t))) == NULL) { 38 static void uint64_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 40 OPENSSL_free(*pval); 41 *pval = NULL; 44 static void uint64_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 46 **(uint64_t **)pval = 0; 49 static int uint64_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, argument 55 char *cp = (char *)*pval; 73 static int uint64_c2i(ASN1_VALUE **pval, cons argument 114 uint64_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument 124 uint32_new(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 133 uint32_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 139 uint32_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 144 uint32_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) argument 175 uint32_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it) argument 223 uint32_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX *pctx) argument [all...] |
H A D | x_long.c | 25 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 26 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 28 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, 30 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 32 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, 53 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 55 memcpy(pval, &it->size, COPY_SIZE(*pval, it->size)); 59 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 61 memcpy(pval, [all...] |
H A D | tasn_utl.c | 29 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 31 int *sel = offset2ptr(*pval, it->utype); 39 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, argument 43 sel = offset2ptr(*pval, it->utype); 58 int asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) argument 71 lck = offset2ptr(*pval, aux->ref_offset); 72 lock = offset2ptr(*pval, aux->ref_lock); 104 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 107 if (!pval || !*pval) 115 asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 126 asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it) argument 138 asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it) argument 158 asn1_enc_restore(int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it) argument 175 asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt) argument 191 asn1_do_adb(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr) argument [all...] |
H A D | nsseq.c | 16 static int nsseq_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 21 nsseq = (NETSCAPE_CERT_SEQUENCE *)*pval;
|
H A D | tasn_enc.c | 19 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, 24 static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, 28 static int asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype, 82 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, argument 91 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) 101 return asn1_template_ex_i2d(pval, out, it->templates, 103 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass); 114 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass); 125 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) 127 i = asn1_get_choice_selector(pval, i 213 asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_TEMPLATE *tt, int tag, int iclass) argument 447 asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass) argument 507 asn1_ex_i2c(ASN1_VALUE **pval, unsigned char *cout, int *putype, const ASN1_ITEM *it) argument [all...] |
H A D | tasn_dec.c | 29 static int asn1_item_embed_d2i(ASN1_VALUE **pval, const unsigned char **in, 47 static int asn1_template_ex_d2i(ASN1_VALUE **pval, 55 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval, 60 static int asn1_ex_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 105 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, argument 111 if (!pval) 112 pval = &ptmpval; 114 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0) 115 return *pval; 119 int ASN1_item_ex_d2i(ASN1_VALUE **pval, cons argument 135 asn1_item_embed_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx, int depth) argument 659 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 793 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 | p8_pkey.c | 17 static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 22 PKCS8_PRIV_KEY_INFO *key = (PKCS8_PRIV_KEY_INFO *)*pval; 40 int ptype, void *pval, unsigned char *penc, int penclen) 46 if (!X509_ALGOR_set0(priv->pkeyalg, aobj, ptype, pval))
|
/freebsd-12-stable/crypto/openssl/crypto/rsa/ |
H A D | rsa_asn1.c | 22 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 26 *pval = (ASN1_VALUE *)RSA_new(); 27 if (*pval != NULL) 31 RSA_free((RSA *)*pval); 32 *pval = NULL; 35 if (((RSA *)*pval)->version != RSA_ASN1_VERSION_MULTI) { 39 return (rsa_multip_calc_product((RSA *)*pval) == 1) ? 2 : 0; 71 static int rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 75 RSA_PSS_PARAMS *pss = (RSA_PSS_PARAMS *)*pval; 91 static int rsa_oaep_cb(int operation, ASN1_VALUE **pval, cons [all...] |
/freebsd-12-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-12-stable/crypto/openssl/crypto/x509/ |
H A D | x_req.c | 35 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 38 X509_REQ_INFO *rinf = (X509_REQ_INFO *)*pval;
|
/freebsd-12-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);
|
H A D | info_exec.c | 56 int exec_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 164 exec_parse_qanswer(mnt_map *m, int fd, char *map, char *key, char **pval, time_t *tp) argument 210 *pval = dc; 398 exec_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 418 return exec_parse_qanswer(m, mapfd, map, key, pval, tp);
|
/freebsd-12-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-12-stable/crypto/openssl/crypto/dh/ |
H A D | dh_asn1.c | 18 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 22 *pval = (ASN1_VALUE *)DH_new(); 23 if (*pval != NULL) 27 DH_free((DH *)*pval); 28 *pval = NULL;
|
/freebsd-12-stable/crypto/openssl/crypto/dsa/ |
H A D | dsa_asn1.c | 61 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 65 *pval = (ASN1_VALUE *)DSA_new(); 66 if (*pval != NULL) 70 DSA_free((DSA *)*pval); 71 *pval = NULL;
|
/freebsd-12-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-12-stable/crypto/openssl/crypto/pkcs7/ |
H A D | pk7_asn1.c | 32 static int pk7_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, argument 36 PKCS7 **pp7 = (PKCS7 **)pval; 83 static int si_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 87 PKCS7_SIGNER_INFO *si = (PKCS7_SIGNER_INFO *)*pval; 126 static int ri_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 130 PKCS7_RECIP_INFO *ri = (PKCS7_RECIP_INFO *)*pval;
|