/external/boringssl/src/crypto/asn1/ |
D | tasn_fre.c | 63 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) in ASN1_item_ex_free() argument 74 asn1_item_combine_free(pval, it, 0); in ASN1_item_ex_free() 77 static void asn1_item_combine_free(ASN1_VALUE **pval, const ASN1_ITEM *it, int combine) in asn1_item_combine_free() argument 85 if (!pval) in asn1_item_combine_free() 87 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) in asn1_item_combine_free() 99 ASN1_template_free(pval, it->templates); in asn1_item_combine_free() 101 ASN1_primitive_free(pval, it); in asn1_item_combine_free() 105 ASN1_primitive_free(pval, it); in asn1_item_combine_free() 111 i = asn1_cb(ASN1_OP_FREE_PRE, pval, it, NULL); in asn1_item_combine_free() [all …]
|
D | tasn_new.c | 67 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) in ASN1_item_ex_new() argument 85 return asn1_item_ex_combine_new(pval, it, 0); in ASN1_item_ex_new() 88 static int asn1_item_ex_combine_new(ASN1_VALUE **pval, const ASN1_ITEM *it, in asn1_item_ex_combine_new() argument 115 if (!ef->asn1_ex_new(pval, it)) in asn1_item_ex_combine_new() 123 *pval = cf->asn1_new(); in asn1_item_ex_combine_new() 124 if (!*pval) in asn1_item_ex_combine_new() [all …]
|
D | x_bignum.c | 71 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… 94 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start() 96 *pval = (ASN1_VALUE *)BN_new(); in ASN1_ITEM_start() 97 if(*pval) return 1; in ASN1_ITEM_start() 101 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_free() argument 103 if(!*pval) return; in bn_free() 104 if(it->size & BN_SENSITIVE) BN_clear_free((BIGNUM *)*pval); in bn_free() [all …]
|
D | tasn_utl.c | 76 int asn1_get_choice_selector(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_get_choice_selector() argument 77 int *sel = offset2ptr(*pval, it->utype); in asn1_get_choice_selector() 82 int asn1_set_choice_selector(ASN1_VALUE **pval, int value, in asn1_set_choice_selector() argument 85 sel = offset2ptr(*pval, it->utype); in asn1_set_choice_selector() 91 static CRYPTO_refcount_t *asn1_get_references(ASN1_VALUE **pval, in asn1_get_references() argument 101 return offset2ptr(*pval, aux->ref_offset); in asn1_get_references() 104 void asn1_refcount_set_one(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_refcount_set_one() argument 105 CRYPTO_refcount_t *references = asn1_get_references(pval, it); in asn1_refcount_set_one() 111 int asn1_refcount_dec_and_test_zero(ASN1_VALUE **pval, const ASN1_ITEM *it) { in asn1_refcount_dec_and_test_zero() argument 112 CRYPTO_refcount_t *references = asn1_get_references(pval, it); in asn1_refcount_dec_and_test_zero() [all …]
|
D | tasn_enc.c | 65 static int asn1_i2d_ex_primitive(ASN1_VALUE **pval, unsigned char **out, 71 static int asn1_template_ex_i2d(ASN1_VALUE **pval, unsigned char **out, 128 int ASN1_item_ex_i2d(ASN1_VALUE **pval, unsigned char **out, in ASN1_item_ex_i2d() argument 139 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && !*pval) in ASN1_item_ex_i2d() 150 return asn1_template_ex_i2d(pval, out, it->templates, in ASN1_item_ex_i2d() 152 return asn1_i2d_ex_primitive(pval, out, it, tag, aclass); in ASN1_item_ex_i2d() 156 return asn1_i2d_ex_primitive(pval, out, it, -1, aclass); in ASN1_item_ex_i2d() 159 if (asn1_cb && !asn1_cb(ASN1_OP_I2D_PRE, pval, it, NULL)) in ASN1_item_ex_i2d() 161 i = asn1_get_choice_selector(pval, it); in ASN1_item_ex_i2d() 167 pchval = asn1_get_field_ptr(pval, chtt); in ASN1_item_ex_i2d() [all …]
|
D | x_long.c | 72 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 73 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it); 75 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it); 76 static int long_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_co… 77 static int long_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, const ASN1_PCTX… 97 static int long_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start() 99 *(long *)pval = it->size; in ASN1_ITEM_start() 103 static void long_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in long_free() argument 105 *(long *)pval = it->size; in long_free() 108 static int long_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM *it) in long_i2c() argument [all …]
|
D | tasn_dec.c | 83 static int asn1_template_ex_d2i(ASN1_VALUE **pval, 91 static int asn1_d2i_ex_primitive(ASN1_VALUE **pval, 129 ASN1_VALUE *ASN1_item_d2i(ASN1_VALUE **pval, in ASN1_item_d2i() argument 134 if (!pval) in ASN1_item_d2i() 135 pval = &ptmpval; in ASN1_item_d2i() 137 if (ASN1_item_ex_d2i(pval, in, len, it, -1, 0, 0, &c) > 0) in ASN1_item_d2i() 138 return *pval; in ASN1_item_d2i() 142 int ASN1_template_d2i(ASN1_VALUE **pval, in ASN1_template_d2i() argument 147 return asn1_template_ex_d2i(pval, in, len, tt, 0, &c); in ASN1_template_d2i() 155 int ASN1_item_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, in ASN1_item_ex_d2i() argument [all …]
|
/external/libxml2/result/ |
D | att6.sax2 | 9 …pval...', 47, schemeAgencyID='pval...', 53, schemeVersionID='pval...', 54, schemeAgencySchemeID='p…
|
/external/boringssl/src/include/openssl/ |
D | asn1t.h | 606 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, 609 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int a… 610 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 611 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it); 613 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval, 617 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM… 618 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, ch… 619 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, cons… 872 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it); 873 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it); [all …]
|
/external/boringssl/src/crypto/dsa/ |
D | dsa_asn1.c | 67 static int dsa_sig_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in dsa_sig_cb() argument 81 *pval = (ASN1_VALUE *)sig; in dsa_sig_cb() 92 static int dsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in dsa_cb() argument 96 *pval = (ASN1_VALUE *)DSA_new(); in dsa_cb() 97 if (*pval) { in dsa_cb() 103 DSA_free((DSA *)*pval); in dsa_cb() 104 *pval = NULL; in dsa_cb()
|
/external/boringssl/src/crypto/dh/ |
D | dh_asn1.c | 64 static int dh_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in dh_cb() argument 67 *pval = (ASN1_VALUE *)DH_new(); in dh_cb() 68 if (*pval) { in dh_cb() 73 DH_free((DH *)*pval); in dh_cb() 74 *pval = NULL; in dh_cb()
|
/external/boringssl/src/crypto/evp/ |
D | p_ec_asn1.c | 91 void *pval = NULL; in eckey_pub_encode() local 96 if (!eckey_param2type(&ptype, &pval, ec_key)) { in eckey_pub_encode() 113 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(EVP_PKEY_EC), ptype, pval, penc, in eckey_pub_encode() 120 ASN1_OBJECT_free(pval); in eckey_pub_encode() 122 ASN1_STRING_free(pval); in eckey_pub_encode() 130 static EC_KEY *eckey_type2param(int ptype, void *pval) { in eckey_type2param() argument 134 ASN1_STRING *pstr = pval; in eckey_type2param() 144 ASN1_OBJECT *poid = pval; in eckey_type2param() 168 void *pval; in eckey_pub_decode() local 176 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in eckey_pub_decode() [all …]
|
D | p_dsa_asn1.c | 75 void *pval; in dsa_pub_decode() local 85 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_pub_decode() 88 pstr = pval; in dsa_pub_decode() 132 void *pval = NULL; in dsa_pub_encode() local 146 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(EVP_PKEY_DSA), V_ASN1_UNDEF, pval, in dsa_pub_encode() 153 ASN1_STRING_free(pval); in dsa_pub_encode() 162 void *pval; in dsa_priv_decode() local 177 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_priv_decode() 198 pval = t1->value.ptr; in dsa_priv_decode() 229 pstr = pval; in dsa_priv_decode()
|
/external/boringssl/src/crypto/rsa/ |
D | rsa_asn1.c | 65 static int rsa_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in rsa_cb() argument 68 *pval = (ASN1_VALUE *)RSA_new(); in rsa_cb() 69 if (*pval) { in rsa_cb() 74 RSA_free((RSA *)*pval); in rsa_cb() 75 *pval = NULL; in rsa_cb()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | temporal_filter.c | 372 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c() local 373 pval *= cpi->fixed_divide[count[k]]; in vp8_temporal_filter_iterate_c() 374 pval >>= 19; in vp8_temporal_filter_iterate_c() 376 dst1[byte] = (unsigned char)pval; in vp8_temporal_filter_iterate_c() 396 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c() local 397 pval *= cpi->fixed_divide[count[k]]; in vp8_temporal_filter_iterate_c() 398 pval >>= 19; in vp8_temporal_filter_iterate_c() 399 dst1[byte] = (unsigned char)pval; in vp8_temporal_filter_iterate_c() 402 pval = accumulator[m] + (count[m] >> 1); in vp8_temporal_filter_iterate_c() 403 pval *= cpi->fixed_divide[count[m]]; in vp8_temporal_filter_iterate_c() [all …]
|
/external/clang/test/Analysis/ |
D | casts.c | 34 void f1(struct s **pval) { in f1() argument 36 struct s *t = *pval; in f1() 37 pval = &(t->value); in f1() 38 tbool = (int *)pval; // use the cast-to type 'int *' to create element region. in f1()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_temporal_filter.c | 309 unsigned int pval = accumulator[k] + (count[k] >> 1); in temporal_filter_iterate_c() local 310 pval *= fixed_divide[count[k]]; in temporal_filter_iterate_c() 311 pval >>= 19; in temporal_filter_iterate_c() 313 dst1[byte] = (uint8_t)pval; in temporal_filter_iterate_c() 330 unsigned int pval = accumulator[k] + (count[k] >> 1); in temporal_filter_iterate_c() local 331 pval *= fixed_divide[count[k]]; in temporal_filter_iterate_c() 332 pval >>= 19; in temporal_filter_iterate_c() 333 dst1[byte] = (uint8_t)pval; in temporal_filter_iterate_c() 336 pval = accumulator[m] + (count[m] >> 1); in temporal_filter_iterate_c() 337 pval *= fixed_divide[count[m]]; in temporal_filter_iterate_c() [all …]
|
/external/iproute2/tc/ |
D | m_gact.c | 156 if (get_u16(&pp.pval, *argv, 10)) { in parse_gact() 157 fprintf(stderr, "Illegal probability val 0x%x\n",pp.pval); in parse_gact() 160 if (pp.pval > 10000) { in parse_gact() 161 fprintf(stderr, "Illegal probability val 0x%x\n",pp.pval); in parse_gact() 237 …random type %s %s val %d",prob_n2a(pp->ptype), action_n2a(pp->paction, b2, sizeof (b2)), pp->pval); in print_gact()
|
/external/eigen/test/ |
D | packetmath.cpp | 306 …onjLhs,bool ConjRhs> void test_conj_helper(Scalar* data1, Scalar* data2, Scalar* ref, Scalar* pval) in test_conj_helper() argument 321 internal::pstore(pval,pcj.pmul(internal::pload<Packet>(data1),internal::pload<Packet>(data2))); in test_conj_helper() 322 VERIFY(areApprox(ref, pval, PacketSize) && "conj_helper pmul"); in test_conj_helper() 330 …internal::pstore(pval,pcj.pmadd(internal::pload<Packet>(data1),internal::pload<Packet>(data2),inte… in test_conj_helper() 331 VERIFY(areApprox(ref, pval, PacketSize) && "conj_helper pmadd"); in test_conj_helper() 343 EIGEN_ALIGN16 Scalar pval[PacketSize*4]; in packetmath_complex() local 351 test_conj_helper<Scalar,false,false> (data1,data2,ref,pval); in packetmath_complex() 352 test_conj_helper<Scalar,false,true> (data1,data2,ref,pval); in packetmath_complex() 353 test_conj_helper<Scalar,true,false> (data1,data2,ref,pval); in packetmath_complex() 354 test_conj_helper<Scalar,true,true> (data1,data2,ref,pval); in packetmath_complex() [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | avpair.c | 34 VALUE_PAIR *rc_avpair_add (VALUE_PAIR **list, int attrid, void *pval, int len, in rc_avpair_add() argument 39 vp = rc_avpair_new (attrid, pval, len, vendorcode); in rc_avpair_add() 60 int rc_avpair_assign (VALUE_PAIR *vp, void *pval, int len) in rc_avpair_assign() argument 68 if (((len == 0) && (strlen ((char *) pval)) > AUTH_STRING_LEN) in rc_avpair_assign() 75 memcpy(vp->strvalue, (char *)pval, len); in rc_avpair_assign() 79 strncpy (vp->strvalue, (char *) pval, AUTH_STRING_LEN); in rc_avpair_assign() 80 vp->lvalue = strlen((char *) pval); in rc_avpair_assign() 90 vp->lvalue = * (UINT4 *) pval; in rc_avpair_assign() 110 VALUE_PAIR *rc_avpair_new (int attrid, void *pval, int len, int vendorcode) in rc_avpair_new() argument 129 if (rc_avpair_assign (vp, pval, len) == 0) in rc_avpair_new()
|
/external/boringssl/src/crypto/x509/ |
D | x_name.c | 92 static int x509_name_ex_print(BIO *out, ASN1_VALUE **pval, 163 static void x509_name_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in x509_name_ex_free() argument 166 if(!pval || !*pval) in x509_name_ex_free() 168 a = (X509_NAME *)*pval; in x509_name_ex_free() 175 *pval = NULL; in x509_name_ex_free() 307 static int x509_name_ex_print(BIO *out, ASN1_VALUE **pval, in x509_name_ex_print() argument 312 if (X509_NAME_print_ex(out, (X509_NAME *)*pval, in x509_name_ex_print()
|
D | x_req.c | 81 static int rinf_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in rinf_cb() argument 84 X509_REQ_INFO *rinf = (X509_REQ_INFO *)*pval; in rinf_cb()
|
D | x_pubkey.c | 71 static int pubkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in pubkey_cb() argument 76 X509_PUBKEY *pubkey = (X509_PUBKEY *)*pval; in pubkey_cb() 351 int ptype, void *pval, in X509_PUBKEY_set0_param() argument 354 if (!X509_ALGOR_set0(pub->algor, aobj, ptype, pval)) in X509_PUBKEY_set0_param()
|
/external/boringssl/src/crypto/pkcs8/ |
D | p8_pkey.c | 64 static int pkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, in pkey_cb() argument 68 PKCS8_PRIV_KEY_INFO *key = (PKCS8_PRIV_KEY_INFO *)*pval; in pkey_cb()
|
/external/valgrind/memcheck/tests/ |
D | unit_oset.c | 134 UWord *pval; in example1singleset() local 142 pval = VG_(OSetGen_Next)(oset); in example1singleset() 143 assert (*pval == sorted_elts[j]); in example1singleset() 152 pval = VG_(OSetGen_Next)(oset); in example1singleset() 153 assert (*pval == sorted_elts[j]); in example1singleset() 163 pval = VG_(OSetGen_Next)(oset); in example1singleset() 164 assert (*pval == sorted_elts[j]); in example1singleset() 168 pval = VG_(OSetGen_Next)(oset); in example1singleset() 169 assert (pval == NULL); in example1singleset()
|