Lines Matching defs: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)) {
153 if ((dso->meth->dso_unload != NULL) && !dso->meth->dso_unload(dso)) {
158 if ((dso->meth->finish != NULL) && !dso->meth->finish(dso)) {
189 DSO *DSO_load(DSO *dso, const char *filename, DSO_METHOD *meth, int flags)
195 ret = DSO_new_method(meth);
227 if (ret->meth->dso_load == NULL) {
231 if (!ret->meth->dso_load(ret)) {
251 if (dso->meth->dso_bind_var == NULL) {
255 if ((ret = dso->meth->dso_bind_var(dso, symname)) == NULL) {
271 if (dso->meth->dso_bind_func == NULL) {
275 if ((ret = dso->meth->dso_bind_func(dso, symname)) == NULL) {
314 if ((dso->meth == NULL) || (dso->meth->dso_ctrl == NULL)) {
318 return (dso->meth->dso_ctrl(dso, cmd, larg, parg));
379 else if (dso->meth->dso_merger != NULL)
380 result = dso->meth->dso_merger(dso, filespec1, filespec2);
402 else if (dso->meth->dso_name_converter != NULL)
403 result = dso->meth->dso_name_converter(dso, filename);
427 DSO_METHOD *meth = default_DSO_meth;
428 if (meth == NULL)
429 meth = DSO_METHOD_openssl();
430 if (meth->pathbyaddr == NULL) {
434 return (*meth->pathbyaddr) (addr, path, sz);
439 DSO_METHOD *meth = default_DSO_meth;
440 if (meth == NULL)
441 meth = DSO_METHOD_openssl();
442 if (meth->globallookup == NULL) {
446 return (*meth->globallookup) (name);