Lines Matching refs:method
132 void *method = NULL; in get_decoder_from_store() local
158 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_decoder_from_store()
160 return method; in get_decoder_from_store()
163 static int put_decoder_in_store(void *store, void *method, in put_decoder_in_store() argument
192 return ossl_method_store_add(store, prov, id, propdef, method, in put_decoder_in_store()
303 void *method = NULL; in construct_decoder() local
306 method = ossl_decoder_from_algorithm(id, algodef, prov); in construct_decoder()
313 if (method == NULL) in construct_decoder()
316 return method; in construct_decoder()
320 static void destruct_decoder(void *method, void *data) in destruct_decoder() argument
322 OSSL_DECODER_free(method); in destruct_decoder()
325 static int up_ref_decoder(void *method) in up_ref_decoder() argument
327 return OSSL_DECODER_up_ref(method); in up_ref_decoder()
330 static void free_decoder(void *method) in free_decoder() argument
332 OSSL_DECODER_free(method); in free_decoder()
342 void *method = NULL; in inner_ossl_decoder_fetch() local
370 || !ossl_method_store_cache_get(store, NULL, id, properties, &method)) { in inner_ossl_decoder_fetch()
383 if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_DECODER, in inner_ossl_decoder_fetch()
395 ossl_method_store_cache_set(store, NULL, id, properties, method, in inner_ossl_decoder_fetch()
406 if ((id != 0 || name != NULL) && method == NULL) { in inner_ossl_decoder_fetch()
418 return method; in inner_ossl_decoder_fetch()
425 void *method; in OSSL_DECODER_fetch() local
429 method = inner_ossl_decoder_fetch(&methdata, 0, name, properties); in OSSL_DECODER_fetch()
431 return method; in OSSL_DECODER_fetch()
438 void *method; in ossl_decoder_fetch_by_number() local
442 method = inner_ossl_decoder_fetch(&methdata, id, NULL, properties); in ossl_decoder_fetch_by_number()
444 return method; in ossl_decoder_fetch_by_number()
518 static void do_one(ossl_unused int id, void *method, void *arg) in do_one() argument
522 data->user_fn(method, data->user_arg); in do_one()