Home
last modified time | relevance | path

Searched refs:pval (Results 1 – 25 of 39) sorted by relevance

12

/external/boringssl/src/crypto/asn1/
Dtasn_fre.c63 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 …]
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) 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 …]
Dx_bignum.c71 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…
95 static int bn_new(ASN1_VALUE **pval, const ASN1_ITEM *it) in ASN1_ITEM_start()
97 *pval = (ASN1_VALUE *)BN_new(); in ASN1_ITEM_start()
98 if(*pval) return 1; in ASN1_ITEM_start()
102 static void bn_free(ASN1_VALUE **pval, const ASN1_ITEM *it) in bn_free() argument
104 if(!*pval) return; in bn_free()
105 if(it->size & BN_SENSITIVE) BN_clear_free((BIGNUM *)*pval); in bn_free()
[all …]
Dtasn_utl.c76 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 …]
Dtasn_enc.c65 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 …]
Dx_long.c72 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 …]
Dtasn_dec.c83 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/
Datt6.sax29pval...', 47, schemeAgencyID='pval...', 53, schemeVersionID='pval...', 54, schemeAgencySchemeID='p…
/external/libvpx/libvpx/vp9/encoder/
Dvp9_temporal_filter.c450 unsigned int pval = accumulator[k] + (count[k] >> 1); in temporal_filter_iterate_c() local
451 pval *= fixed_divide[count[k]]; in temporal_filter_iterate_c()
452 pval >>= 19; in temporal_filter_iterate_c()
454 dst1_16[byte] = (uint16_t)pval; in temporal_filter_iterate_c()
474 unsigned int pval = accumulator[k] + (count[k] >> 1); in temporal_filter_iterate_c() local
475 pval *= fixed_divide[count[k]]; in temporal_filter_iterate_c()
476 pval >>= 19; in temporal_filter_iterate_c()
477 dst1_16[byte] = (uint16_t)pval; in temporal_filter_iterate_c()
480 pval = accumulator[m] + (count[m] >> 1); in temporal_filter_iterate_c()
481 pval *= fixed_divide[count[m]]; in temporal_filter_iterate_c()
[all …]
/external/boringssl/src/include/openssl/
Dasn1t.h605 typedef int ASN1_ex_d2i(ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it,
608 typedef int ASN1_ex_i2d(ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int a…
609 typedef int ASN1_ex_new_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
610 typedef void ASN1_ex_free_func(ASN1_VALUE **pval, const ASN1_ITEM *it);
612 typedef int ASN1_ex_print_func(BIO *out, ASN1_VALUE **pval,
616 typedef int ASN1_primitive_i2c(ASN1_VALUE **pval, unsigned char *cont, int *putype, const ASN1_ITEM…
617 typedef int ASN1_primitive_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, ch…
618 typedef int ASN1_primitive_print(BIO *out, ASN1_VALUE **pval, const ASN1_ITEM *it, int indent, cons…
871 int ASN1_item_ex_new(ASN1_VALUE **pval, const ASN1_ITEM *it);
872 void ASN1_item_ex_free(ASN1_VALUE **pval, const ASN1_ITEM *it);
[all …]
/external/boringssl/src/crypto/dh/
Ddh_asn1.c64 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/dsa/
Ddsa_asn1.c67 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/evp/
Dp_ec_asn1.c91 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 …]
Dp_dsa_asn1.c75 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 ASN1_STRING *pval = NULL; in dsa_pub_encode() local
141 pval = ASN1_STRING_new(); in dsa_pub_encode()
142 if (!pval) { in dsa_pub_encode()
146 pval->length = i2d_DSAparams(dsa, &pval->data); in dsa_pub_encode()
147 if (pval->length <= 0) { in dsa_pub_encode()
162 if (X509_PUBKEY_set0_param(pk, OBJ_nid2obj(EVP_PKEY_DSA), ptype, pval, in dsa_pub_encode()
169 ASN1_STRING_free(pval); in dsa_pub_encode()
[all …]
/external/libvpx/libvpx/vp8/encoder/
Dtemporal_filter.c374 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c() local
375 pval *= cpi->fixed_divide[count[k]]; in vp8_temporal_filter_iterate_c()
376 pval >>= 19; in vp8_temporal_filter_iterate_c()
378 dst1[byte] = (unsigned char)pval; in vp8_temporal_filter_iterate_c()
398 unsigned int pval = accumulator[k] + (count[k] >> 1); in vp8_temporal_filter_iterate_c() local
399 pval *= cpi->fixed_divide[count[k]]; in vp8_temporal_filter_iterate_c()
400 pval >>= 19; in vp8_temporal_filter_iterate_c()
401 dst1[byte] = (unsigned char)pval; in vp8_temporal_filter_iterate_c()
404 pval = accumulator[m] + (count[m] >> 1); in vp8_temporal_filter_iterate_c()
405 pval *= cpi->fixed_divide[count[m]]; in vp8_temporal_filter_iterate_c()
[all …]
/external/clang/test/Analysis/
Dcasts.c34 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/iproute2/tc/
Dm_gact.c157 if (get_u16(&pp.pval, *argv, 10)) { in parse_gact()
158 fprintf(stderr, "Illegal probability val 0x%x\n",pp.pval); in parse_gact()
161 if (pp.pval > 10000) { in parse_gact()
162 fprintf(stderr, "Illegal probability val 0x%x\n",pp.pval); in parse_gact()
238 …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/
Dpacketmath.cpp306 …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/
Davpair.c34 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/
Dx_name.c92 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()
Dx_req.c81 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()
/external/tlsdate/src/
Dplatform-cros.c192 const char *pval; in handle_service_change() local
216 dbus_message_iter_get_basic (&subiter, &pval); in handle_service_change()
234 const char *pval; in handle_manager_change() local
252 dbus_message_iter_get_basic (&subiter, &pval); in handle_manager_change()
255 __func__, pval); in handle_manager_change()
283 const char *pval; in handle_proxy_change() local
321 dbus_message_iter_get_basic (&iter, &pval); in handle_proxy_change()
323 canonicalize_pac (pval, ctx->state->dynamic_proxy, sizeof (ctx->state->dynamic_proxy)); in handle_proxy_change()
/external/boringssl/src/crypto/pkcs8/
Dp8_pkey.c64 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/llvm/test/Analysis/Delinearization/
Dparameter_addrec_product.ll9 ; CHECK: ArrayDecl[UnknownSize][%pval] with elements of 4 bytes.
34 %pval = load i64, i64* %p, align 8
35 %tmp8 = mul nsw i64 %i.0, %pval
/external/valgrind/memcheck/tests/
Dunit_oset.c134 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()

12