Home
last modified time | relevance | path

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

12345

/external/openssl/crypto/rand/
Drand_lib.c73 int RAND_set_rand_method(const RAND_METHOD *meth) in RAND_set_rand_method() argument
82 default_RAND_meth = meth; in RAND_set_rand_method()
134 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_cleanup() local
135 if (meth && meth->cleanup) in RAND_cleanup()
136 meth->cleanup(); in RAND_cleanup()
142 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_seed() local
143 if (meth && meth->seed) in RAND_seed()
144 meth->seed(buf,num); in RAND_seed()
149 const RAND_METHOD *meth = RAND_get_rand_method(); in RAND_add() local
150 if (meth && meth->add) in RAND_add()
[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 …]
Dec2_mult.c92 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
93 if (!group->meth->field_sqr(group, t1, z, ctx)) goto err; in gf2m_Mdouble()
94 if (!group->meth->field_mul(group, z, x, t1, ctx)) goto err; in gf2m_Mdouble()
95 if (!group->meth->field_sqr(group, x, x, ctx)) goto err; in gf2m_Mdouble()
96 if (!group->meth->field_sqr(group, t1, t1, ctx)) goto err; in gf2m_Mdouble()
97 if (!group->meth->field_mul(group, t1, &group->b, t1, ctx)) goto err; in gf2m_Mdouble()
126 if (!group->meth->field_mul(group, x1, x1, z2, ctx)) goto err; in gf2m_Madd()
127 if (!group->meth->field_mul(group, z1, z1, x2, ctx)) goto err; in gf2m_Madd()
128 if (!group->meth->field_mul(group, t2, x1, z1, ctx)) goto err; in gf2m_Madd()
130 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
81 meth = EC_GFp_nist_method(); in EC_GROUP_new_curve_GFp()
83 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GFp()
109 meth = EC_GFp_mont_method(); in EC_GROUP_new_curve_GFp()
111 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GFp()
128 const EC_METHOD *meth; in EC_GROUP_new_curve_GF2m() local
131 meth = EC_GF2m_simple_method(); in EC_GROUP_new_curve_GF2m()
133 ret = EC_GROUP_new(meth); in EC_GROUP_new_curve_GF2m()
Decp_smpl.c199 if (group->meth->field_encode) in ec_GFp_simple_group_set_curve()
200 { if (!group->meth->field_encode(group, &group->a, tmp_a, ctx)) goto err; } in ec_GFp_simple_group_set_curve()
206 if (group->meth->field_encode) in ec_GFp_simple_group_set_curve()
207 if (!group->meth->field_encode(group, &group->b, &group->b, ctx)) goto err; in ec_GFp_simple_group_set_curve()
235 if (group->meth->field_decode) in ec_GFp_simple_group_get_curve()
245 if (!group->meth->field_decode(group, a, &group->a, ctx)) goto err; in ec_GFp_simple_group_get_curve()
249 if (!group->meth->field_decode(group, b, &group->b, ctx)) goto err; in ec_GFp_simple_group_get_curve()
304 if (group->meth->field_decode) in ec_GFp_simple_group_check_discriminant()
306 if (!group->meth->field_decode(group, a, &group->a, ctx)) goto err; in ec_GFp_simple_group_check_discriminant()
307 if (!group->meth->field_decode(group, b, &group->b, ctx)) goto err; in ec_GFp_simple_group_check_discriminant()
[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/SemaObjC/
Dmethod-undefined-warn-1.m4 - (void) meth; method
5 - (void) meth : (int) arg1;
12 - (void) meth {} method
13 - (void) meth : (int) arg2{}
18 - (void) meth; method
19 - (void) meth : (int) arg1;
26 - (void) meth {} method
27 - (void) meth : (int) arg2{}
32 - (void) meth; method
33 - (void) meth : (int) arg1;
[all …]
Dcheck-dup-decl-methods-1.m4 - (int) meth; method
11 - (int) meth; // expected-note {{previous declaration is here}} method
12 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}} method
35 - (int) meth; // expected-note {{previous declaration is here}} method
36 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}} method
Dmethod-def-1.m4 - (int)meth; method
8 - (int) meth { return [self meth]; } method
/external/openssl/crypto/dh/
Ddh_lib.c71 void DH_set_default_method(const DH_METHOD *meth) in DH_set_default_method() argument
73 default_DH_method = meth; in DH_set_default_method()
83 int DH_set_method(DH *dh, const DH_METHOD *meth) in DH_set_method() argument
88 mtmp = dh->meth; in DH_set_method()
97 dh->meth = meth; in DH_set_method()
98 if (meth->init) meth->init(dh); in DH_set_method()
118 ret->meth = DH_get_default_method(); in DH_new_method()
134 ret->meth = ENGINE_get_DH(ret->engine); in DH_new_method()
135 if(!ret->meth) in DH_new_method()
159 ret->flags=ret->meth->flags; in DH_new_method()
[all …]
/external/openssl/crypto/ecdh/
Dech_lib.c85 void ECDH_set_default_method(const ECDH_METHOD *meth) in ECDH_set_default_method() argument
87 default_ECDH_method = meth; in ECDH_set_default_method()
97 int ECDH_set_method(EC_KEY *eckey, const ECDH_METHOD *meth) in ECDH_set_method() argument
107 mtmp = ecdh->meth; in ECDH_set_method()
118 ecdh->meth = meth; in ECDH_set_method()
120 if (meth->init) in ECDH_set_method()
121 meth->init(eckey); in ECDH_set_method()
139 ret->meth = ECDH_get_default_method(); in ECDH_DATA_new_method()
146 ret->meth = ENGINE_get_ECDH(ret->engine); in ECDH_DATA_new_method()
147 if (!ret->meth) in ECDH_DATA_new_method()
[all …]
/external/openssl/crypto/dsa/
Ddsa_lib.c77 void DSA_set_default_method(const DSA_METHOD *meth) in DSA_set_default_method() argument
79 default_DSA_method = meth; in DSA_set_default_method()
94 int DSA_set_method(DSA *dsa, const DSA_METHOD *meth) in DSA_set_method() argument
99 mtmp = dsa->meth; in DSA_set_method()
108 dsa->meth = meth; in DSA_set_method()
109 if (meth->init) meth->init(dsa); in DSA_set_method()
123 ret->meth = DSA_get_default_method(); in DSA_new_method()
139 ret->meth = ENGINE_get_DSA(ret->engine); in DSA_new_method()
140 if(!ret->meth) in DSA_new_method()
166 ret->flags=ret->meth->flags; in DSA_new_method()
[all …]
/external/openssl/crypto/rsa/
Drsa_lib.c81 void RSA_set_default_method(const RSA_METHOD *meth) in RSA_set_default_method() argument
83 default_RSA_meth = meth; in RSA_set_default_method()
106 return rsa->meth; in RSA_get_method()
109 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth) in RSA_set_method() argument
114 mtmp = rsa->meth; in RSA_set_method()
123 rsa->meth = meth; in RSA_set_method()
124 if (meth->init) meth->init(rsa); in RSA_set_method()
139 ret->meth = RSA_get_default_method(); in RSA_new_method()
155 ret->meth = ENGINE_get_RSA(ret->engine); in RSA_new_method()
156 if(!ret->meth) in RSA_new_method()
[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/ecdsa/
Decs_lib.c72 void ECDSA_set_default_method(const ECDSA_METHOD *meth) in ECDSA_set_default_method() argument
74 default_ECDSA_method = meth; in ECDSA_set_default_method()
84 int ECDSA_set_method(EC_KEY *eckey, const ECDSA_METHOD *meth) in ECDSA_set_method() argument
100 ecdsa->meth = meth; in ECDSA_set_method()
118 ret->meth = ECDSA_get_default_method(); in ECDSA_DATA_new_method()
125 ret->meth = ENGINE_get_ECDSA(ret->engine); in ECDSA_DATA_new_method()
126 if (!ret->meth) in ECDSA_DATA_new_method()
136 ret->flags = ret->meth->flags; in ECDSA_DATA_new_method()
139 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) in ECDSA_DATA_new_method()
/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/apps/
Dciphers.c94 const SSL_METHOD *meth=NULL; in MAIN() local
100 meth=SSLv23_server_method(); in MAIN()
102 meth=SSLv3_server_method(); in MAIN()
104 meth=SSLv2_server_method(); in MAIN()
131 meth=SSLv2_client_method(); in MAIN()
135 meth=SSLv3_client_method(); in MAIN()
139 meth=TLSv1_client_method(); in MAIN()
164 ctx=SSL_CTX_new(meth); in MAIN()
/external/openssl/crypto/ui/
Dui_lib.c87 ret->meth=UI_get_default_method(); in UI_new_method()
89 ret->meth=method; in UI_new_method()
416 if (ui->meth->ui_construct_prompt) in UI_construct_prompt()
417 prompt = ui->meth->ui_construct_prompt(ui, in UI_construct_prompt()
481 if (ui->meth->ui_write_string in print_error()
482 && !ui->meth->ui_write_string(ui, &uis)) in print_error()
491 if (ui->meth->ui_open_session && !ui->meth->ui_open_session(ui)) in UI_process()
501 if (ui->meth->ui_write_string in UI_process()
502 && !ui->meth->ui_write_string(ui, in UI_process()
510 if (ui->meth->ui_flush) in UI_process()
[all …]
/external/openssl/crypto/asn1/
Dx_crl.c224 crl->meth = default_crl_method; in crl_cb()
284 if (crl->meth->crl_init) in crl_cb()
286 if (crl->meth->crl_init(crl) == 0) in crl_cb()
292 if (crl->meth->crl_free) in crl_cb()
294 if (!crl->meth->crl_free(crl)) in crl_cb()
387 if (crl->meth->crl_verify) in X509_CRL_verify()
388 return crl->meth->crl_verify(crl, r); in X509_CRL_verify()
395 if (crl->meth->crl_lookup) in X509_CRL_get0_by_serial()
396 return crl->meth->crl_lookup(crl, ret, serial, NULL); in X509_CRL_get0_by_serial()
402 if (crl->meth->crl_lookup) in X509_CRL_get0_by_cert()
[all …]
/external/openssl/crypto/
Dex_data.c240 STACK_OF(CRYPTO_EX_DATA_FUNCS) *meth;
293 sk_CRYPTO_EX_DATA_FUNCS_pop_free(item->meth, def_cleanup_util_cb); in def_cleanup_cb()
313 gen->meth = sk_CRYPTO_EX_DATA_FUNCS_new_null(); in def_get_class()
314 if(!gen->meth) in def_get_class()
351 while (sk_CRYPTO_EX_DATA_FUNCS_num(item->meth) <= item->meth_num) in def_add_index()
353 if (!sk_CRYPTO_EX_DATA_FUNCS_push(item->meth, NULL)) in def_add_index()
361 (void)sk_CRYPTO_EX_DATA_FUNCS_set(item->meth, toret, a); in def_add_index()
414 mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth); in int_new_ex_data()
421 storage[i] = sk_CRYPTO_EX_DATA_FUNCS_value(item->meth,i); in int_new_ex_data()
458 mx = sk_CRYPTO_EX_DATA_FUNCS_num(item->meth); in int_dup_ex_data()
[all …]
/external/chromium/net/base/
Dcompletion_callback.h22 CompletionCallbackImpl(T* obj, void (T::* meth)(int)) in CompletionCallbackImpl()
24 Tuple1<int> >::CallbackImpl(obj, meth) { in CompletionCallbackImpl()
38 CancelableCompletionCallback(T* obj, void (T::* meth)(int)) in CancelableCompletionCallback()
39 : CompletionCallbackImpl<T>(obj, meth), is_canceled_(false) { in CancelableCompletionCallback()
/external/jdiff/src/jdiff/
DHTMLIndexes.java662 MethodAPI meth = (MethodAPI)(iterMeth.next()); in emitMethodsIndex() local
663 … methNames.add(new Index(meth.name_, 0, pkgName, className, meth.getSignature())); in emitMethodsIndex()
667 MethodAPI meth = (MethodAPI)(iterMeth.next()); in emitMethodsIndex() local
668 Index idx = new Index(meth.name_, 1, pkgName, className, meth.getSignature()); in emitMethodsIndex()
669 idx.doc_ = meth.doc_; // Used for checking @since in emitMethodsIndex()
674 MemberDiff meth = (MemberDiff)(iterMeth.next()); in emitMethodsIndex() local
675 methNames.add(new Index(meth.name_, 2, pkgName, className, meth.newSignature_)); in emitMethodsIndex()
687 public char emitMethodIndexEntry(Index meth, char oldsw, in emitMethodIndexEntry() argument
690 String className = meth.pkgName_ + "." + meth.className_; in emitMethodIndexEntry()
691 String memberRef = meth.pkgName_ + "." + meth.className_; in emitMethodIndexEntry()
[all …]
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java910 Method meth = (Method)e.getValue(); in overrideMethods() local
911 int mod = meth.getModifiers(); in overrideMethods()
913 override(className, meth, prefix, index, in overrideMethods()
922 private void override(String thisClassname, Method meth, String prefix, in override() argument
926 Class declClass = meth.getDeclaringClass(); in override()
927 String delegatorName = prefix + index + meth.getName(); in override()
928 if (Modifier.isAbstract(meth.getModifiers())) in override()
932 = makeDelegator(meth, desc, cp, declClass, delegatorName); in override()
939 = makeForwarder(thisClassname, meth, desc, cp, declClass, in override()
990 private static boolean isVisible(int mod, String from, Member meth) { in isVisible() argument
[all …]
/external/nist-sip/java/gov/nist/javax/sip/header/
DCSeq.java156 public void setMethod(String meth) throws ParseException { in setMethod() argument
157 if (meth == null) in setMethod()
161 this.method = SIPRequest.getCannonicalName(meth); in setMethod()

12345