Lines Matching refs:method

143     void *method = NULL;  in get_decoder_from_store()  local
169 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_decoder_from_store()
171 return method; in get_decoder_from_store()
174 static int put_decoder_in_store(void *store, void *method, in put_decoder_in_store() argument
203 return ossl_method_store_add(store, prov, id, propdef, method, in put_decoder_in_store()
317 void *method = NULL; in construct_decoder() local
320 method = ossl_decoder_from_algorithm(id, algodef, prov); in construct_decoder()
327 if (method == NULL) in construct_decoder()
330 return method; in construct_decoder()
334 static void destruct_decoder(void *method, void *data) in destruct_decoder() argument
336 OSSL_DECODER_free(method); in destruct_decoder()
339 static int up_ref_decoder(void *method) in up_ref_decoder() argument
341 return OSSL_DECODER_up_ref(method); in up_ref_decoder()
344 static void free_decoder(void *method) in free_decoder() argument
346 OSSL_DECODER_free(method); in free_decoder()
357 void *method = NULL; in inner_ossl_decoder_fetch() local
374 || !ossl_method_store_cache_get(store, NULL, id, propq, &method)) { in inner_ossl_decoder_fetch()
390 if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_DECODER, in inner_ossl_decoder_fetch()
402 ossl_method_store_cache_set(store, prov, id, propq, method, in inner_ossl_decoder_fetch()
413 if ((id != 0 || name != NULL) && method == NULL) { in inner_ossl_decoder_fetch()
425 return method; in inner_ossl_decoder_fetch()
432 void *method; in OSSL_DECODER_fetch() local
436 method = inner_ossl_decoder_fetch(&methdata, name, properties); in OSSL_DECODER_fetch()
438 return method; in OSSL_DECODER_fetch()
549 static void do_one(ossl_unused int id, void *method, void *arg) in do_one() argument
553 data->user_fn(method, data->user_arg); in do_one()