Lines Matching refs:meth

72 void DSO_set_default_method(DSO_METHOD *meth)
74 default_DSO_meth = meth;
84 return (dso->meth);
87 DSO_METHOD *DSO_set_method(DSO *dso, DSO_METHOD *meth)
90 mtmp = dso->meth;
91 dso->meth = meth;
95 DSO *DSO_new_method(DSO_METHOD *meth)
119 if (meth == NULL)
120 ret->meth = default_DSO_meth;
122 ret->meth = meth;
124 if ((ret->meth->init != NULL) && !ret->meth->init(ret)) {
154 if ((dso->meth->dso_unload != NULL) && !dso->meth->dso_unload(dso)) {
159 if ((dso->meth->finish != NULL) && !dso->meth->finish(dso)) {
190 DSO *DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags)
196 ret = DSO_new_method(meth);
228 if (ret->meth->dso_load == NULL) {
232 if (!ret->meth->dso_load(ret)) {
252 if (dso->meth->dso_bind_var == NULL) {
256 if ((ret = dso->meth->dso_bind_var(dso, symname)) == NULL) {
272 if (dso->meth->dso_bind_func == NULL) {
276 if ((ret = dso->meth->dso_bind_func(dso, symname)) == NULL) {
315 if ((dso->meth == NULL) || (dso->meth->dso_ctrl == NULL)) {
319 return (dso->meth->dso_ctrl(dso, cmd, larg, parg));
380 else if (dso->meth->dso_merger != NULL)
381 result = dso->meth->dso_merger(dso, filespec1, filespec2);
403 else if (dso->meth->dso_name_converter != NULL)
404 result = dso->meth->dso_name_converter(dso, filename);
428 DSO_METHOD *meth = default_DSO_meth;
429 if (meth == NULL)
430 meth = DSO_METHOD_openssl();
431 if (meth->pathbyaddr == NULL) {
435 return (*meth->pathbyaddr) (addr, path, sz);
440 DSO_METHOD *meth = default_DSO_meth;
441 if (meth == NULL)
442 meth = DSO_METHOD_openssl();
443 if (meth->globallookup == NULL) {
447 return (*meth->globallookup) (name);