Home
last modified time | relevance | path

Searched refs:meth (Results 1 – 25 of 182) sorted by relevance

12345678

/external/chromium_org/third_party/boringssl/src/crypto/ec/
Dec.c227 EC_GROUP *ec_group_new(const EC_METHOD *meth) { in ec_group_new() argument
230 if (meth == NULL) { in ec_group_new()
235 if (meth->group_init == 0) { in ec_group_new()
247 ret->meth = meth; in ec_group_new()
252 if (!meth->group_init(ret)) { in ec_group_new()
262 const EC_METHOD *meth = EC_GFp_mont_method(); in ec_group_new_curve_GFp() local
265 ret = ec_group_new(meth); in ec_group_new_curve_GFp()
270 if (ret->meth->group_set_curve == 0) { in ec_group_new_curve_GFp()
275 if (!ret->meth->group_set_curve(ret, p, a, b, ctx)) { in ec_group_new_curve_GFp()
289 const EC_METHOD *meth; in ec_group_new_from_data() local
[all …]
Doct.c298 if (group->meth->oct2point == 0 && in EC_POINT_oct2point()
299 !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) { in EC_POINT_oct2point()
304 if (group->meth != point->meth) { in EC_POINT_oct2point()
308 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) { in EC_POINT_oct2point()
312 return group->meth->oct2point(group, point, buf, len, ctx); in EC_POINT_oct2point()
318 if (group->meth->point2oct == 0 && in EC_POINT_point2oct()
319 !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) { in EC_POINT_point2oct()
324 if (group->meth != point->meth) { in EC_POINT_point2oct()
328 if (group->meth->flags & EC_FLAGS_DEFAULT_OCT) { in EC_POINT_point2oct()
332 return group->meth->point2oct(group, point, form, buf, len, ctx); in EC_POINT_point2oct()
[all …]
Dsimple.c196 if (group->meth->field_encode) { in ec_GFp_simple_group_set_curve()
197 if (!group->meth->field_encode(group, &group->a, tmp_a, ctx)) in ec_GFp_simple_group_set_curve()
205 if (group->meth->field_encode) in ec_GFp_simple_group_set_curve()
206 if (!group->meth->field_encode(group, &group->b, &group->b, ctx)) in ec_GFp_simple_group_set_curve()
234 if (group->meth->field_decode) { in ec_GFp_simple_group_get_curve()
241 if (!group->meth->field_decode(group, a, &group->a, ctx)) in ec_GFp_simple_group_get_curve()
245 if (!group->meth->field_decode(group, b, &group->b, ctx)) in ec_GFp_simple_group_get_curve()
295 if (group->meth->field_decode) { in ec_GFp_simple_group_check_discriminant()
296 if (!group->meth->field_decode(group, a, &group->a, ctx)) in ec_GFp_simple_group_check_discriminant()
298 if (!group->meth->field_decode(group, b, &group->b, ctx)) in ec_GFp_simple_group_check_discriminant()
[all …]
/external/openssl/crypto/ec/
Dec_lib.c76 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) in EC_GROUP_new() argument
80 if (meth == NULL) in EC_GROUP_new()
85 if (meth->group_init == 0) in EC_GROUP_new()
98 ret->meth = meth; in EC_GROUP_new()
113 if (!meth->group_init(ret)) in EC_GROUP_new()
127 if (group->meth->group_finish != 0) in EC_GROUP_free()
128 group->meth->group_finish(group); in EC_GROUP_free()
148 if (group->meth->group_clear_finish != 0) in EC_GROUP_clear_free()
149 group->meth->group_clear_finish(group); in EC_GROUP_clear_free()
150 else if (group->meth->group_finish != 0) in EC_GROUP_clear_free()
[all …]
Dec_oct.c74 if (group->meth->point_set_compressed_coordinates == 0 in EC_POINT_set_compressed_coordinates_GFp()
75 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) in EC_POINT_set_compressed_coordinates_GFp()
80 if (group->meth != point->meth) in EC_POINT_set_compressed_coordinates_GFp()
85 if(group->meth->flags & EC_FLAGS_DEFAULT_OCT) in EC_POINT_set_compressed_coordinates_GFp()
87 if (group->meth->field_type == NID_X9_62_prime_field) in EC_POINT_set_compressed_coordinates_GFp()
101 return group->meth->point_set_compressed_coordinates(group, point, x, y_bit, ctx); in EC_POINT_set_compressed_coordinates_GFp()
108 if (group->meth->point_set_compressed_coordinates == 0 in EC_POINT_set_compressed_coordinates_GF2m()
109 && !(group->meth->flags & EC_FLAGS_DEFAULT_OCT)) in EC_POINT_set_compressed_coordinates_GF2m()
114 if (group->meth != point->meth) in EC_POINT_set_compressed_coordinates_GF2m()
119 if(group->meth->flags & EC_FLAGS_DEFAULT_OCT) in EC_POINT_set_compressed_coordinates_GF2m()
[all …]
Dec2_mult.c94 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
95 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err; in gf2m_Mdouble()
96 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err; in gf2m_Mdouble()
97 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
98 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err; in gf2m_Mdouble()
99 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err; in gf2m_Mdouble()
128 if (!group->meth->field_mul(group, x1, x1, z2, ctx)) goto err; in gf2m_Madd()
129 if (!group->meth->field_mul(group, z1, z1, x2, ctx)) goto err; in gf2m_Madd()
130 if (!group->meth->field_mul(group, t2, x1, z1, ctx)) goto err; in gf2m_Madd()
132 if (!group->meth->field_sqr(group, z1, z1, ctx)) goto err; in gf2m_Madd()
[all …]
Dec_cvt.c78 const EC_METHOD *meth; in EC_GROUP_new_curve_GFp() local
103 meth = EC_GFp_mont_method(); in EC_GROUP_new_curve_GFp()
105 meth = EC_GFp_nist_method(); in EC_GROUP_new_curve_GFp()
108 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GFp()
134 meth = EC_GFp_mont_method(); in EC_GROUP_new_curve_GFp()
136 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GFp()
153 const EC_METHOD *meth; in EC_GROUP_new_curve_GF2m() local
156 meth = EC_GF2m_simple_method(); in EC_GROUP_new_curve_GF2m()
158 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GF2m()
Decp_smpl.c207 if (group->meth->field_encode) in ec_GFp_simple_group_set_curve()
208 { if (!group->meth->field_encode(group, &group->a, tmp_a, ctx)) goto err; } in ec_GFp_simple_group_set_curve()
214 if (group->meth->field_encode) in ec_GFp_simple_group_set_curve()
215 if (!group->meth->field_encode(group, &group->b, &group->b, ctx)) goto err; in ec_GFp_simple_group_set_curve()
243 if (group->meth->field_decode) in ec_GFp_simple_group_get_curve()
253 if (!group->meth->field_decode(group, a, &group->a, ctx)) goto err; in ec_GFp_simple_group_get_curve()
257 if (!group->meth->field_decode(group, b, &group->b, ctx)) goto err; in ec_GFp_simple_group_get_curve()
312 if (group->meth->field_decode) in ec_GFp_simple_group_check_discriminant()
314 if (!group->meth->field_decode(group, a, &group->a, ctx)) goto err; in ec_GFp_simple_group_check_discriminant()
315 if (!group->meth->field_decode(group, b, &group->b, ctx)) goto err; in ec_GFp_simple_group_check_discriminant()
[all …]
/external/openssl/crypto/rand/
Drand_lib.c80 int RAND_set_rand_method(const RAND_METHOD *meth) in RAND_set_rand_method() argument
89 default_RAND_meth = meth; in RAND_set_rand_method()
141 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_cleanup() local
142 if (meth && meth->cleanup) in RAND_cleanup()
143 meth->cleanup(); in RAND_cleanup()
149 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_seed() local
150 if (meth && meth->seed) in RAND_seed()
151 meth->seed(buf,num); in RAND_seed()
156 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_add() local
157 if (meth && meth->add) in RAND_add()
[all …]
/external/openssl/crypto/dso/
Ddso_lib.c71 void DSO_set_default_method(DSO_METHOD *meth) in DSO_set_default_method() argument
73 default_DSO_meth = meth; in DSO_set_default_method()
83 return(dso->meth); in DSO_get_method()
86 DSO_METHOD *DSO_set_method(DSO *dso, DSO_METHOD *meth) in DSO_set_method() argument
89 mtmp = dso->meth; in DSO_set_method()
90 dso->meth = meth; in DSO_set_method()
94 DSO *DSO_new_method(DSO_METHOD *meth) in DSO_new_method() argument
118 if(meth == NULL) in DSO_new_method()
119 ret->meth = default_DSO_meth; in DSO_new_method()
121 ret->meth = meth; in DSO_new_method()
[all …]
/external/openssl/crypto/comp/
Dcomp_lib.c7 COMP_CTX *COMP_CTX_new(COMP_METHOD *meth) in COMP_CTX_new() argument
17 ret->meth=meth; in COMP_CTX_new()
18 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) in COMP_CTX_new()
31 if (ctx->meth->finish != NULL) in COMP_CTX_free()
32 ctx->meth->finish(ctx); in COMP_CTX_free()
41 if (ctx->meth->compress == NULL) in COMP_compress_block()
46 ret=ctx->meth->compress(ctx,out,olen,in,ilen); in COMP_compress_block()
60 if (ctx->meth->expand == NULL) in COMP_expand_block()
65 ret=ctx->meth->expand(ctx,out,olen,in,ilen); in COMP_expand_block()
/external/clang/test/Index/
Dcursor-dynamic-call.mm3 virtual void meth(); field
8 this->meth();
9 SB::meth();
14 -(void)meth; method
25 [self meth];
26 [super meth];
34 ss->meth();
35 [is meth];
51 // CHECK: 8:11 MemberRefExpr=meth:3:16 {{.*}} Dynamic-call
53 // CHECK: 25:3 ObjCMessageExpr=meth:14:8 {{.*}} Dynamic-call Receiver-type=ObjCObjectPointer
[all …]
Doverrides.m43 -(void)meth; method in cat
50 -(void)meth { } method
61 -(void)meth; method
72 -(void)meth; method in readwrite
88 -(void)meth; method
92 -(void)meth; method in cat
96 -(void)meth{} method
107 // CHECK: overrides.m:50:8: ObjCInstanceMethodDecl=meth:50:8 (Definition) [Overrides @43:8]
114 // CHECK: overrides.m:72:8: ObjCInstanceMethodDecl=meth:72:8 [Overrides @61:8] Extent=[72:1 - 72:13]
117 // CHECK: overrides.m:92:8: ObjCInstanceMethodDecl=meth:92:8 Extent=[92:1 - 92:13]
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/dsa/
Ddsa.c85 dsa->meth = ENGINE_get_DSA_method(engine); in DSA_new_method()
88 if (dsa->meth == NULL) { in DSA_new_method()
89 dsa->meth = (DSA_METHOD*) &DSA_default_method; in DSA_new_method()
91 METHOD_ref(dsa->meth); in DSA_new_method()
97 METHOD_unref(dsa->meth); in DSA_new_method()
102 if (dsa->meth->init && !dsa->meth->init(dsa)) { in DSA_new_method()
104 METHOD_unref(dsa->meth); in DSA_new_method()
121 if (dsa->meth->finish) { in DSA_free()
122 dsa->meth->finish(dsa); in DSA_free()
124 METHOD_unref(dsa->meth); in DSA_free()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/dh/
Ddh.c83 dh->meth = ENGINE_get_DH_method(engine); in DH_new_method()
86 if (dh->meth == NULL) { in DH_new_method()
87 dh->meth = (DH_METHOD*) &DH_default_method; in DH_new_method()
89 METHOD_ref(dh->meth); in DH_new_method()
97 if (dh->meth->init && !dh->meth->init(dh)) { in DH_new_method()
99 METHOD_unref(dh->meth); in DH_new_method()
116 if (dh->meth->finish) { in DH_free()
117 dh->meth->finish(dh); in DH_free()
119 METHOD_unref(dh->meth); in DH_free()
137 if (dh->meth->generate_parameters) { in DH_generate_parameters_ex()
[all …]
/external/openssl/crypto/dh/
Ddh_lib.c75 void DH_set_default_method(const DH_METHOD *meth) in DH_set_default_method() argument
77 default_DH_method = meth; in DH_set_default_method()
96 int DH_set_method(DH *dh, const DH_METHOD *meth) in DH_set_method() argument
101 mtmp = dh->meth; in DH_set_method()
110 dh->meth = meth; in DH_set_method()
111 if (meth->init) meth->init(dh); in DH_set_method()
131 ret->meth = DH_get_default_method(); in DH_new_method()
147 ret->meth = ENGINE_get_DH(ret->engine); in DH_new_method()
148 if(!ret->meth) in DH_new_method()
172 ret->flags=ret->meth->flags & ~DH_FLAG_NON_FIPS_ALLOW; in DH_new_method()
[all …]
/external/openssl/crypto/ecdh/
Dech_lib.c88 void ECDH_set_default_method(const ECDH_METHOD *meth) in ECDH_set_default_method() argument
90 default_ECDH_method = meth; in ECDH_set_default_method()
109 int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth) in ECDH_set_method() argument
119 mtmp = ecdh->meth; in ECDH_set_method()
130 ecdh->meth = meth; in ECDH_set_method()
132 if (meth->init) in ECDH_set_method()
133 meth->init(eckey); in ECDH_set_method()
151 ret->meth = ECDH_get_default_method(); in ECDH_DATA_new_method()
158 ret->meth = ENGINE_get_ECDH(ret->engine); in ECDH_DATA_new_method()
159 if (!ret->meth) in ECDH_DATA_new_method()
[all …]
/external/clang/test/SemaObjC/
Dmethod-undefined-warn-1.m4 - (void) meth; method
5 - (void) meth : (int) arg1;
14 - (void) meth {} method
15 - (void) meth : (int) arg2{}
20 - (void) meth; method
21 - (void) meth : (int) arg1;
30 - (void) meth {} method
31 - (void) meth : (int) arg2{}
36 - (void) meth; method
37 - (void) meth : (int) arg1;
[all …]
/external/openssl/crypto/dsa/
Ddsa_lib.c81 void DSA_set_default_method(const DSA_METHOD *meth) in DSA_set_default_method() argument
83 default_DSA_method = meth; in DSA_set_default_method()
107 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth) in DSA_set_method() argument
112 mtmp = dsa->meth; in DSA_set_method()
121 dsa->meth = meth; in DSA_set_method()
122 if (meth->init) meth->init(dsa); in DSA_set_method()
136 ret->meth = DSA_get_default_method(); in DSA_new_method()
152 ret->meth = ENGINE_get_DSA(ret->engine); in DSA_new_method()
153 if(!ret->meth) in DSA_new_method()
179 ret->flags=ret->meth->flags & ~DSA_FLAG_NON_FIPS_ALLOW; in DSA_new_method()
[all …]
/external/openssl/crypto/rsa/
Drsa_lib.c85 void RSA_set_default_method(const RSA_METHOD *meth) in RSA_set_default_method() argument
87 default_RSA_meth = meth; in RSA_set_default_method()
113 return rsa->meth; in RSA_get_method()
116 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth) in RSA_set_method() argument
121 mtmp = rsa->meth; in RSA_set_method()
130 rsa->meth = meth; in RSA_set_method()
131 if (meth->init) meth->init(rsa); in RSA_set_method()
146 ret->meth = RSA_get_default_method(); in RSA_new_method()
162 ret->meth = ENGINE_get_RSA(ret->engine); in RSA_new_method()
163 if(!ret->meth) in RSA_new_method()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/rsa/
Drsa.c83 rsa->meth = ENGINE_get_RSA_method(engine); in RSA_new_method()
86 if (rsa->meth == NULL) { in RSA_new_method()
87 rsa->meth = (RSA_METHOD*) &RSA_default_method; in RSA_new_method()
89 METHOD_ref(rsa->meth); in RSA_new_method()
92 rsa->flags = rsa->meth->flags; in RSA_new_method()
95 METHOD_unref(rsa->meth); in RSA_new_method()
100 if (rsa->meth->init && !rsa->meth->init(rsa)) { in RSA_new_method()
102 METHOD_unref(rsa->meth); in RSA_new_method()
121 if (rsa->meth->finish) { in RSA_free()
122 rsa->meth->finish(rsa); in RSA_free()
[all …]
/external/openssl/crypto/store/
Dstr_lib.c122 ret->meth=method; in STORE_new_method()
125 if (ret->meth->init && !ret->meth->init(ret)) in STORE_new_method()
137 const STORE_METHOD *meth = 0; in STORE_new_engine() local
158 meth = ENGINE_get_STORE(e); in STORE_new_engine()
159 if(!meth) in STORE_new_engine()
169 ret = STORE_new_method(meth); in STORE_new_engine()
185 if (store->meth->clean) in STORE_free()
186 store->meth->clean(store); in STORE_free()
198 if (store->meth->ctrl) in STORE_ctrl()
199 return store->meth->ctrl(store, cmd, i, p, f); in STORE_ctrl()
[all …]
/external/openssl/crypto/conf/
Dconf_lib.c84 int CONF_set_default_method(CONF_METHOD *meth) in CONF_set_default_method() argument
86 default_CONF_method = meth; in CONF_set_default_method()
234 CONF *NCONF_new(CONF_METHOD *meth) in NCONF_new() argument
238 if (meth == NULL) in NCONF_new()
239 meth = NCONF_default(); in NCONF_new()
241 ret = meth->create(meth); in NCONF_new()
255 conf->meth->destroy(conf); in NCONF_free()
262 conf->meth->destroy_data(conf); in NCONF_free_data()
273 return conf->meth->load(conf, file, eline); in NCONF_load()
300 return conf->meth->load_bio(conf, bp, eline); in NCONF_load_bio()
[all …]
/external/openssl/crypto/ecdsa/
Decs_lib.c75 void ECDSA_set_default_method(const ECDSA_METHOD *meth) in ECDSA_set_default_method() argument
77 default_ECDSA_method = meth; in ECDSA_set_default_method()
96 int ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth) in ECDSA_set_method() argument
112 ecdsa->meth = meth; in ECDSA_set_method()
130 ret->meth = ECDSA_get_default_method(); in ECDSA_DATA_new_method()
137 ret->meth = ENGINE_get_ECDSA(ret->engine); in ECDSA_DATA_new_method()
138 if (!ret->meth) in ECDSA_DATA_new_method()
148 ret->flags = ret->meth->flags; in ECDSA_DATA_new_method()
151 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) in ECDSA_DATA_new_method()
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
Dmethod.pxd24 PyObject* PyMethod_Class(object meth) except NULL
26 # Return the class object from which the method meth was created;
30 PyObject* PyMethod_GET_CLASS(object meth)
34 PyObject* PyMethod_Function(object meth) except NULL
36 # Return the function object associated with the method meth.
38 PyObject* PyMethod_GET_FUNCTION(object meth)
42 PyObject* PyMethod_Self(object meth) except? NULL
44 # Return the instance associated with the method meth if it is bound, otherwise return NULL.
46 PyObject* PyMethod_GET_SELF(object meth)

12345678