Lines Matching refs:method
35 void *method;
43 METHOD method;
51 METHOD method;
169 static int ossl_method_up_ref(METHOD *method)
171 return (*method->up_ref)(method->method);
174 static void ossl_method_free(METHOD *method)
176 (*method->free)(method->method);
213 ossl_method_free(&impl->method);
221 ossl_method_free(&elem->method);
300 int nid, const char *properties, void *method,
309 if (nid <= 0 || method == NULL || store == NULL)
321 impl->method.method = method;
322 impl->method.up_ref = method_up_ref;
323 impl->method.free = method_destruct;
324 if (!ossl_method_up_ref(&impl->method)) {
382 const void *method)
387 if (nid <= 0 || method == NULL || store == NULL)
407 if (impl->method.method == method) {
468 void (*fn)(int id, void *method, void *fnarg),
471 fn(alg->nid, impl->method.method, fnarg);
482 void (*fn)(int id, void *method, void *fnarg),
517 const OSSL_PROVIDER **prov_rw, void **method)
527 if (nid <= 0 || method == NULL || store == NULL)
586 if (ret && ossl_method_up_ref(&best_impl->method)) {
587 *method = best_impl->method.method;
695 int nid, const char *prop_query, void **method)
715 if (ossl_method_up_ref(&r->method)) {
716 *method = r->method.method;
725 int nid, const char *prop_query, void *method,
748 if (method == NULL) {
761 p->method.method = method;
762 p->method.up_ref = method_up_ref;
763 p->method.free = method_destruct;
764 if (!ossl_method_up_ref(&p->method))
776 ossl_method_free(&p->method);