| /src/external/bsd/ntp/dist/include/ |
| safecast.h | 32 #define UA_PTR(ptype,pval) ((ptype *)(void*)(pval)) 33 #define UAC_PTR(ptype,pval) ((const ptype *)(const void*)(pval)) 34 #define UAV_PTR(ptype,pval) ((volatile ptype *)(volatile void*)(pval))
|
| /src/crypto/external/apache2/openssl/dist/crypto/asn1/ |
| tasn_fre.c | 23 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 25 ossl_asn1_item_embed_free(pval, it, 0); 28 void ossl_asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) 36 if (pval == NULL) 38 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && *pval == NULL) 49 ossl_asn1_template_free(pval, it->templates); 51 ossl_asn1_primitive_free(pval, it, embed); 55 ossl_asn1_primitive_free(pval, it, embed); 60 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); 64 i = ossl_asn1_get_choice_selector(pval, it) [all...] |
| 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(const 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, const ASN1_VALUE **pval, const ASN1_ITEM *it, 64 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 66 *pval = (ASN1_VALUE *)BN_new(); 67 if (*pval != NULL [all...] |
| tasn_new.c | 18 static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 21 static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 23 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 24 static int asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, 26 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 27 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 48 int ossl_asn1_item_ex_new_intern(ASN1_VALUE **pval, const ASN1_ITEM *it, 51 return asn1_item_embed_new(pval, it, 0, libctx, propq); 54 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 56 return asn1_item_embed_new(pval, it, 0, NULL, NULL) [all...] |
| x_int64.c | 29 static int uint64_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 31 if ((*pval = (ASN1_VALUE *)OPENSSL_zalloc(sizeof(uint64_t))) == NULL) 36 static void uint64_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 38 OPENSSL_free(*pval); 39 *pval = NULL; 42 static void uint64_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) 44 **(uint64_t **)pval = 0; 47 static int uint64_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, 53 char *cp = (char *)*pval; 71 static int uint64_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len [all...] |
| asn1_local.h | 52 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it); 53 int ossl_asn1_get_choice_selector_const(const ASN1_VALUE **pval, 55 int ossl_asn1_set_choice_selector(ASN1_VALUE **pval, int value, 58 ASN1_VALUE **ossl_asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 59 const ASN1_VALUE **ossl_asn1_get_const_field_ptr(const ASN1_VALUE **pval, 66 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it); 68 void ossl_asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it); 69 void ossl_asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 70 int ossl_asn1_enc_restore(int *len, unsigned char **out, const ASN1_VALUE **pval, 72 int ossl_asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen [all...] |
| x_long.c | 21 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 22 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 24 static int long_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, 26 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 28 static int long_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, 48 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 50 memcpy(pval, &it->size, COPY_SIZE(*pval, it->size)); 54 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 56 memcpy(pval, &it->size, COPY_SIZE(*pval, it->size)) [all...] |
| tasn_utl.c | 29 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) 31 int *sel = offset2ptr(*pval, it->utype); 36 int ossl_asn1_get_choice_selector_const(const ASN1_VALUE **pval, 39 int *sel = offset2ptr(*pval, it->utype); 48 int ossl_asn1_set_choice_selector(ASN1_VALUE **pval, int value, 53 sel = offset2ptr(*pval, it->utype); 68 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) 81 lock = offset2ptr(*pval, aux->ref_lock); 82 refcnt = offset2ptr(*pval, aux->ref_offset); 116 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| tasn_fre.c | 23 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 25 ossl_asn1_item_embed_free(pval, it, 0); 28 void ossl_asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) 36 if (pval == NULL) 38 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && *pval == NULL) 49 ossl_asn1_template_free(pval, it->templates); 51 ossl_asn1_primitive_free(pval, it, embed); 55 ossl_asn1_primitive_free(pval, it, embed); 60 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); 64 i = ossl_asn1_get_choice_selector(pval, it) [all...] |
| 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(const 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, const ASN1_VALUE **pval, const ASN1_ITEM *it, 65 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 67 *pval = (ASN1_VALUE *)BN_new(); 68 if (*pval != NULL [all...] |
| tasn_new.c | 18 static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 21 static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, 23 static void asn1_item_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 24 static int asn1_template_new(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, 26 static void asn1_template_clear(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 27 static void asn1_primitive_clear(ASN1_VALUE **pval, const ASN1_ITEM *it); 49 int ossl_asn1_item_ex_new_intern(ASN1_VALUE **pval, const ASN1_ITEM *it, 52 return asn1_item_embed_new(pval, it, 0, libctx, propq); 55 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 57 return asn1_item_embed_new(pval, it, 0, NULL, NULL) [all...] |
| x_int64.c | 29 static int uint64_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 31 if ((*pval = (ASN1_VALUE *)OPENSSL_zalloc(sizeof(uint64_t))) == NULL) { 38 static void uint64_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 40 OPENSSL_free(*pval); 41 *pval = NULL; 44 static void uint64_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) 46 **(uint64_t **)pval = 0; 49 static int uint64_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, 55 char *cp = (char *)*pval; 73 static int uint64_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len [all...] |
| asn1_local.h | 50 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it); 51 int ossl_asn1_get_choice_selector_const(const ASN1_VALUE **pval, 53 int ossl_asn1_set_choice_selector(ASN1_VALUE **pval, int value, 56 ASN1_VALUE **ossl_asn1_get_field_ptr(ASN1_VALUE **pval, const ASN1_TEMPLATE *tt); 57 const ASN1_VALUE **ossl_asn1_get_const_field_ptr(const ASN1_VALUE **pval, 64 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it); 66 void ossl_asn1_enc_init(ASN1_VALUE **pval, const ASN1_ITEM *it); 67 void ossl_asn1_enc_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 68 int ossl_asn1_enc_restore(int *len, unsigned char **out, const ASN1_VALUE **pval, 70 int ossl_asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen [all...] |
| x_long.c | 21 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 22 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 24 static int long_i2c(const ASN1_VALUE **pval, unsigned char *cont, int *putype, 26 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, 28 static int long_print(BIO *out, const ASN1_VALUE **pval, const ASN1_ITEM *it, 49 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 51 memcpy(pval, &it->size, COPY_SIZE(*pval, it->size)); 55 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 57 memcpy(pval, &it->size, COPY_SIZE(*pval, it->size)) [all...] |
| tasn_utl.c | 29 int ossl_asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) 31 int *sel = offset2ptr(*pval, it->utype); 36 int ossl_asn1_get_choice_selector_const(const ASN1_VALUE **pval, 39 int *sel = offset2ptr(*pval, it->utype); 48 int ossl_asn1_set_choice_selector(ASN1_VALUE **pval, int value, 53 sel = offset2ptr(*pval, it->utype); 68 int ossl_asn1_do_lock(ASN1_VALUE **pval, int op, const ASN1_ITEM *it) 81 lck = offset2ptr(*pval, aux->ref_offset); 82 lock = offset2ptr(*pval, aux->ref_lock); 112 static ASN1_ENCODING *asn1_get_enc_ptr(ASN1_VALUE **pval, const ASN1_ITEM *it [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
| tasn_fre.c | 23 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 25 asn1_item_embed_free(pval, it, 0); 28 void asn1_item_embed_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) 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, it) [all...] |
| 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) 67 *pval = (ASN1_VALUE *)BN_new(); 68 if (*pval != NULL [all...] |
| 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) 39 return asn1_item_embed_new(pval, it, 0); 42 int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed) 64 if (!ef->asn1_ex_new(pval, it) [all...] |
| 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, const ASN1_ITEM *it, int embed) [all...] |
| x_int64.c | 29 static int uint64_new(ASN1_VALUE **pval, const ASN1_ITEM *it) 31 if ((*pval = (ASN1_VALUE *)OPENSSL_zalloc(sizeof(uint64_t))) == NULL) { 38 static void uint64_free(ASN1_VALUE **pval, const ASN1_ITEM *it) 40 OPENSSL_free(*pval); 41 *pval = NULL; 44 static void uint64_clear(ASN1_VALUE **pval, const ASN1_ITEM *it) 46 **(uint64_t **)pval = 0; 49 static int uint64_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, 55 char *cp = (char *)*pval; 73 static int uint64_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len [all...] |
| 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, &it->size, COPY_SIZE(*pval, it->size)) [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/rsa/ |
| rsa_asn1.c | 28 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 32 *pval = (ASN1_VALUE *)RSA_new(); 33 if (*pval != NULL) 37 RSA_free((RSA *)*pval); 38 *pval = NULL; 41 if (((RSA *)*pval)->version != RSA_ASN1_VERSION_MULTI) { 45 return (ossl_rsa_multip_calc_product((RSA *)*pval) == 1) ? 2 : 0; 76 static int rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 80 RSA_PSS_PARAMS *pss = (RSA_PSS_PARAMS *)*pval; 97 static int rsa_oaep_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/rsa/ |
| rsa_asn1.c | 28 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 32 *pval = (ASN1_VALUE *)RSA_new(); 33 if (*pval != NULL) 37 RSA_free((RSA *)*pval); 38 *pval = NULL; 41 if (((RSA *)*pval)->version != RSA_ASN1_VERSION_MULTI) { 45 return (ossl_rsa_multip_calc_product((RSA *)*pval) == 1) ? 2 : 0; 77 static int rsa_pss_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 81 RSA_PSS_PARAMS *pss = (RSA_PSS_PARAMS *)*pval; 98 static int rsa_oaep_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/rsa/ |
| rsa_asn1.c | 22 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, 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, const ASN1_ITEM *it [all...] |
| /src/external/mpl/bind/dist/tests/bench/ |
| qp-dump.c | 34 smallname_length(void *pval, uint32_t ival) { 35 UNUSED(pval); 40 smallname_labels(void *pval, uint32_t ival) { 41 UNUSED(pval); 46 smallname_refcount(void *pval, uint32_t ival) { 48 return pval; 52 smallname_ndata(void *pval, uint32_t ival) { 53 return (uint8_t *)(smallname_refcount(pval, ival) + 1); 57 smallname_offsets(void *pval, uint32_t ival) { 58 return smallname_ndata(pval, ival) + smallname_length(pval, ival) 195 void *pval = NULL; local [all...] |