Lines Matching refs:method
143 void *method = NULL; in get_encoder_from_store() local
169 if (!ossl_method_store_fetch(store, id, methdata->propquery, prov, &method)) in get_encoder_from_store()
171 return method; in get_encoder_from_store()
174 static int put_encoder_in_store(void *store, void *method, in put_encoder_in_store() argument
203 return ossl_method_store_add(store, prov, id, propdef, method, in put_encoder_in_store()
327 void *method = NULL; in construct_encoder() local
330 method = encoder_from_algorithm(id, algodef, prov); in construct_encoder()
337 if (method == NULL) in construct_encoder()
340 return method; in construct_encoder()
344 static void destruct_encoder(void *method, void *data) in destruct_encoder() argument
346 OSSL_ENCODER_free(method); in destruct_encoder()
349 static int up_ref_encoder(void *method) in up_ref_encoder() argument
351 return OSSL_ENCODER_up_ref(method); in up_ref_encoder()
354 static void free_encoder(void *method) in free_encoder() argument
356 OSSL_ENCODER_free(method); in free_encoder()
367 void *method = NULL; in inner_ossl_encoder_fetch() local
384 || !ossl_method_store_cache_get(store, NULL, id, propq, &method)) { in inner_ossl_encoder_fetch()
400 if ((method = ossl_method_construct(methdata->libctx, OSSL_OP_ENCODER, in inner_ossl_encoder_fetch()
411 ossl_method_store_cache_set(store, prov, id, propq, method, in inner_ossl_encoder_fetch()
422 if ((id != 0 || name != NULL) && method == NULL) { in inner_ossl_encoder_fetch()
434 return method; in inner_ossl_encoder_fetch()
441 void *method; in OSSL_ENCODER_fetch() local
445 method = inner_ossl_encoder_fetch(&methdata, name, properties); in OSSL_ENCODER_fetch()
447 return method; in OSSL_ENCODER_fetch()
540 static void do_one(ossl_unused int id, void *method, void *arg) in do_one() argument
544 data->user_fn(method, data->user_arg); in do_one()